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 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 you can check out.

Unit and integration tests are 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 tests.

This package generates Sphinx docs which are available at https://wannabe.guru.org/pydocs/pyutils/pyutils.html

Package code is checked into a local git server and available to clone from git at https://wannabe.guru.org/git/pyutils.git or to view in a web browser at https://wannabe.guru.org/gitweb/?p=pyutils.git;a=summary

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. Earlier development happened in a different git repo https://wannabe.guru.org/gitweb/?p=python_utils.git;a=summary

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.1b16-py3-none-any.whl (274.7 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