Python utilities for SE research


Keywords
machine-learning, python, software-engineering, utilities
License
Other
Install
pip install seutil==0.8.10

Documentation

Project seutil

PyPI GitHubRelease GitHubWorkflow

Python utilities for SE(+ML) research. This library stays reasonably up-to-date with the latest Python 3, currently supporting 3.8~3.11.

Mature functions:

  • bash: running Bash command;
  • io: loading/dumping files with serialization support, managing files;
  • log: for easy setup logging;
  • project: for batch processing of repositories;

Incubating functions:

  • pbar: improve tqdm's output in emacs-shell like terminals;
  • GitHubUtils: for mining GitHub, using PyGitHub package;
  • MiscUtils: for whatever functions that may not belong to other classes;
  • Stream: similar to java.utils.Stream;
  • TimeUtils: for adding time constrain on an operation;
  • latex.*: for writing macros and tables for latex documents;

Deprecated functions:

  • BashUtils: the previous version of bash;
  • IOUtils: the previous version of io;
  • CliUtils: for command line argument parsing without the need to declare each argument, recommended to use jsonargparse library;
  • LoggingUtils: the previous version of log;

Full documentation can be found at readthedocs.