Skip to main content

skm_pyutils: Python Utilities

Project description

PythonUtils

Code style: black License: GPL v3

A module containing common scripts that I use in my research. Documentation available at https://seankmartin.github.io/PythonUtils/html/skm_pyutils/index.html.

Installation

pip install skm_pyutils

Update documentation

pdoc --html -o "docs\html" skm_pyutils --force

Command line running

pdf-merge -h
dir-list -h

For example

pdf-merge -d . -r -o merged.pdf
dir-list . -r -e .txt -o txt_file_list.txt
copy-files input_dir output_dir -re .*results.*.png

Modules

  • array : Small numpy style functions.
  • config : Config utils, e.g read a full .py python file as configuration using exec.
  • log: Logging utils, e.g. logging exceptions to disk and stdout.
  • merge : combine csv files together, or grab files of a particular type from recursive folders and merge into one folder
  • path: Path utils, e.g. finding all files in a directory with given extension recursively.
  • pdf : PDF utils, e.g. merging all PDFs files in a directory, or pdfs with given pages
  • plot : Plotting utils, e.g. automatically handled gridding of plots, with color management.
  • print : Printing utils, e.g. pretty printing a dictionary, or HDF5 file.
  • profile : Code profiling, e.g. profiling code for runtime performance.
  • save : Saving outputs, e.g. a full dictionary recursively.
  • stats : Hyptothesis tests etc.
  • tables : Pandas dataframe utils.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

skm_pyutils-1.0.0.tar.gz (35.7 kB view details)

Uploaded Source

File details

Details for the file skm_pyutils-1.0.0.tar.gz.

File metadata

  • Download URL: skm_pyutils-1.0.0.tar.gz
  • Upload date:
  • Size: 35.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.10

File hashes

Hashes for skm_pyutils-1.0.0.tar.gz
Algorithm Hash digest
SHA256 ba9083880a860a75182f4ef83e69f30b89bea3eb685622e09edaff0e7b0ddbba
MD5 255715b49c9fb059b66bf38cdc112b5e
BLAKE2b-256 47c472c2d2a31196baef3353c32919fd0cc3b5e3193f26b7ebfcf73fd38af30c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page