Skip to main content

misc common functionality and useful optimizations

Project description

pypi test coverage Documentation Status

snakeoil

snakeoil is a python library that implements optimized versions of common python functionality. Some classes and functions have cpython equivalents, but they all have native python implementations too.

Contact

For support and development inquiries a mailing list is available or you can join #pkgcore on Freenode.

For bugs and feature requests please create an issue in the issue tracker.

Tests

A standalone test runner is integrated in setup.py; to run, just execute:

python setup.py test

In addition, a tox config is provided so the testsuite can be run in a virtualenv setup against all supported python versions. To run tests for all environments just execute tox in the root directory of a repo or unpacked tarball. Otherwise, for a specific python version execute something similar to the following:

tox -e py27

Note that mock is required for tests if you’re using anything less than python 3.3.

Installing

To build:

tar jxf snakeoil-0.xx.tar.bz2
cd snakeoil-0.xx
python setup.py build

To install:

cd snakeoil-0.xx
python setup.py install

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

snakeoil-0.6.3.tar.gz (192.7 kB view hashes)

Uploaded Source

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