Skip to main content

Python Utilities

Project description

pyutils

When I was writing little tools in Python and found myself implementing a generally useful pattern I stuffed it into a local library. That library grew into pyutils: a set of collections, helpers and utilities that I find useful and hope you will too.

Code is under src/pyutils/. Most code includes inline documentation and doctests. I've tried to organize it into logical packages based on the code's functionality. Note that when words would collide with a Python standard library or reserved word I've used a 'z' at the end, e.g. 'collectionz' instead of 'collections', 'typez' instead of 'type', etc...

There's some example code that uses various features of this project checked in under examples/ that demos some of the library's functionalities.

Unit and integration tests live under tests/. To run all tests:

cd tests/
./run_tests.py --all [--coverage]

See the README under tests/ and the code of run_tests.py for more options / information about running the tests.

This package generates Sphinx docs which are available at https://wannabe.guru.org/pydocs/pyutils/pyutils.html. You can generate them yourself by running make html (with GNU make) under the docs/ folder.

The repo now lives on GitHub but a lot of the development happened against a local git server

For a long time this was just a local library on my machine that my tools imported but I've now decided to release it on PyPi.

The LICENSE and NOTICE files at the root of the project describe reusing this code and where everything came from.

Drop me a line if you are using this, find a bug, have a question, or have a suggestion:

--Scott Gasch (scott.gasch@gmail.com)

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

pyutils-0.0.1-py3-none-any.whl (280.4 kB view hashes)

Uploaded Python 3

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