Skip to main content

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.

Metadata

Release files for skm-pyutils 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for skm-pyutils 1.0.0
File Size Uploaded Provenance Actions
skm_pyutils-1.0.0.tar.gz 35.7 kB Without provenance Details for skm_pyutils-1.0.0.tar.gz

Release files / skm_pyutils-1.0.0.tar.gz

Download URL skm_pyutils-1.0.0.tar.gz
Size 35.7 kB
Tags Source
SHA-256 checksum
How to use checksums
ba9083880a860a75182f4ef83e69f30b89bea3eb685622e09edaff0e7b0ddbba
BLAKE2b-256 checksum
How to use checksums
47c472c2d2a31196baef3353c32919fd0cc3b5e3193f26b7ebfcf73fd38af30c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.10

Security for skm-pyutils 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page