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.

Installing

Installing latest pypi release in a virtualenv:

pip install snakeoil

Installing from git in a virtualenv:

pip install https://github.com/pkgcore/snakeoil/archive/master.tar.gz

Installing from a tarball or git repo:

python setup.py install

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 when using python-2.7.

Contact

For support and development inquiries join #pkgcore on Freenode.

For bugs and feature requests please create an issue on Github.

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.7.4.tar.gz (301.9 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

snakeoil-0.7.4-cp36-cp36m-manylinux1_x86_64.whl (346.9 kB view details)

Uploaded CPython 3.6m

snakeoil-0.7.4-cp36-cp36m-manylinux1_i686.whl (337.4 kB view details)

Uploaded CPython 3.6m

snakeoil-0.7.4-cp35-cp35m-manylinux1_x86_64.whl (344.5 kB view details)

Uploaded CPython 3.5m

snakeoil-0.7.4-cp35-cp35m-manylinux1_i686.whl (338.1 kB view details)

Uploaded CPython 3.5m

snakeoil-0.7.4-cp34-cp34m-manylinux1_x86_64.whl (347.4 kB view details)

Uploaded CPython 3.4m

snakeoil-0.7.4-cp34-cp34m-manylinux1_i686.whl (341.8 kB view details)

Uploaded CPython 3.4m

snakeoil-0.7.4-cp27-cp27mu-manylinux1_x86_64.whl (347.3 kB view details)

Uploaded CPython 2.7mu

snakeoil-0.7.4-cp27-cp27mu-manylinux1_i686.whl (338.5 kB view details)

Uploaded CPython 2.7mu

snakeoil-0.7.4-cp27-cp27m-manylinux1_x86_64.whl (347.4 kB view details)

Uploaded CPython 2.7m

snakeoil-0.7.4-cp27-cp27m-manylinux1_i686.whl (338.5 kB view details)

Uploaded CPython 2.7m

File details

Details for the file snakeoil-0.7.4.tar.gz.

File metadata

  • Download URL: snakeoil-0.7.4.tar.gz
  • Upload date:
  • Size: 301.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for snakeoil-0.7.4.tar.gz
Algorithm Hash digest
SHA256 67280c86e4b02c34100603d7525270c0017e0d182df54ad31ec2e5c145e69ceb
MD5 514c448d9e27b297a9e2895d2fdb246f
BLAKE2b-256 a4fb37a990a92d68e5ea98da4bb63c15dca38826948fbdec17d129009ffd697a

See more details on using hashes here.

File details

Details for the file snakeoil-0.7.4-cp36-cp36m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for snakeoil-0.7.4-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 124c30ca657574ea47c004cd42e4e5cad7b415374ae7e559b0b385d771eac876
MD5 19d6f46a623f25753e577b89ff0ce540
BLAKE2b-256 fc8f8eeb45512a979f474b36c43a884e1775e65faf6542d0b8fe8dfe042b4beb

See more details on using hashes here.

File details

Details for the file snakeoil-0.7.4-cp36-cp36m-manylinux1_i686.whl.

File metadata

File hashes

Hashes for snakeoil-0.7.4-cp36-cp36m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 602170acf009b1db9ff86eb38d34722e0ce99b91c7910fc7372bb32b395fca77
MD5 6a3a96559b3c9076e226213e16da9ada
BLAKE2b-256 534389485d51a976d5afefde227921838c45eb4d7d722d46cd022dfbc7ca326f

See more details on using hashes here.

File details

Details for the file snakeoil-0.7.4-cp35-cp35m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for snakeoil-0.7.4-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 6676cddbf330761d4582a0fd218d4a959322feaddf06e33a7e2c044c14a7d68d
MD5 1fe3f3d5525eec70ea0c969c31960303
BLAKE2b-256 6d647d72269fe26e1fb18dff9c28bbf1d5f5c5dadd4882f42bcb5fa65d08e577

See more details on using hashes here.

File details

Details for the file snakeoil-0.7.4-cp35-cp35m-manylinux1_i686.whl.

File metadata

File hashes

Hashes for snakeoil-0.7.4-cp35-cp35m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 4722c4b206bbb346a8ecd834b2caa9883e2542bf2909c28934b0705c07de434e
MD5 1b5fa5d85c85815e803c8bab5bfbcc68
BLAKE2b-256 fca9053135cae85339a01597c4d8fff0695ac5fd42a8804c14f3415f4c8619a3

See more details on using hashes here.

File details

Details for the file snakeoil-0.7.4-cp34-cp34m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for snakeoil-0.7.4-cp34-cp34m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 70ace07d7c1938720b7247bfd1ac77745df8c8ea5f19b56ff2edde4da2c25f81
MD5 074fa585e9ae62cfd2b2fcc2dc497fe1
BLAKE2b-256 02a937b0fc6061fecd46b69fbcde5b3e889eb389541bceed605dbb6a87784858

See more details on using hashes here.

File details

Details for the file snakeoil-0.7.4-cp34-cp34m-manylinux1_i686.whl.

File metadata

File hashes

Hashes for snakeoil-0.7.4-cp34-cp34m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 119a4d74027077ede5fc42c17427d97b557820d507d7eef3d7e2aec6b0754a70
MD5 73de25d50cc2e1a587bd009492fe70ac
BLAKE2b-256 d6704dedfac78d55389a0cb1aed61d30b59ebab1eb88afe9f04fe4820b40ed26

See more details on using hashes here.

File details

Details for the file snakeoil-0.7.4-cp27-cp27mu-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for snakeoil-0.7.4-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 f702d3cd40f4d884926f3e475ca8d4b0787ece3029a35517825e002de3024b87
MD5 bc9339bedee4f38a424473c02edadc10
BLAKE2b-256 7917c54b25015b0eac6f11ef5d4519d4ddae3d370f685e58201115536d9ce622

See more details on using hashes here.

File details

Details for the file snakeoil-0.7.4-cp27-cp27mu-manylinux1_i686.whl.

File metadata

File hashes

Hashes for snakeoil-0.7.4-cp27-cp27mu-manylinux1_i686.whl
Algorithm Hash digest
SHA256 c5a912314167f00257d228762f7bfcdf5f340e54dacaa5d02c360a10d2b57d8e
MD5 88c190e48fe415912a3a55fab15132b9
BLAKE2b-256 3301ff5a7d9819d7bd2635092c518a59892fa8b61ddbc7af776917c8d0886eac

See more details on using hashes here.

File details

Details for the file snakeoil-0.7.4-cp27-cp27m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for snakeoil-0.7.4-cp27-cp27m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 018af88cc4bad99d03462816f85cbf808d4767029a1318720dcba5551078b413
MD5 f67e9478c24071e6c6c8d84ee9f52c77
BLAKE2b-256 e26653eac4dc8481649968277ae17aebfd499c93bfd4247f50b8090db91f258c

See more details on using hashes here.

File details

Details for the file snakeoil-0.7.4-cp27-cp27m-manylinux1_i686.whl.

File metadata

File hashes

Hashes for snakeoil-0.7.4-cp27-cp27m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 90f428142fc266247baa4fe66cbca3e7d82ce21e0b5ef7af69758224646f9636
MD5 081d77461754ae2563c5ac8fa8ea1264
BLAKE2b-256 c094cfceb00b446dd235ebcbb552c516582e449429a693f97dc81ecf7ae842fb

See more details on using hashes here.

Supported by

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