zbox is a tiny library to help me use toolz and cytoolz. I frequently use toolz and would like to use cytoolz if it’s available, but don’t want to put a try/except in all my projects. By importing toolz from zbox I always get cytoolz if cytoolz is installed and otherwise I get toolz.
Installation
zbox is on PyPI, install it with: pip install zbox. zbox works on Python 2 and Python 3.
Usage
from zbox import toolz
If cytoolz is installed toolz will be cytoolz, otherwise it will be toolz.
gen
from zbox import gen
gen is a function that converts any iterable into a Python generator object. I use this with Pandas, which sometimes doesn’t expand iterables unless they are first converted to a generator.
Metadata
Release files for zbox 1.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distributions (sdists)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| zbox-1.2.0.zip | 8.3 kB | Without provenance | Details for zbox-1.2.0.zip | |
| zbox-1.2.0.tar.gz | 5.7 kB | Without provenance | Details for zbox-1.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| zbox-1.2.0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for zbox-1.2.0-py2.py3-none-any.whl |
Total release size: 17.4 kB
Release files / zbox-1.2.0.zip
| Download URL | zbox-1.2.0.zip |
|---|---|
| Size | 8.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b4e64e623015ea2cde4e7df688d77c2c5a899f55a2ed40f60aaace50914c83d9
|
|
BLAKE2b-256 checksum How to use checksums |
8e9c0ca5689a6bfd3ffd8be7eb1282a39e9d7f916fdb96bf3cb6cea03049dbd8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / zbox-1.2.0.tar.gz
| Download URL | zbox-1.2.0.tar.gz |
|---|---|
| Size | 5.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d58fb949fae5796062935222ea5695bdcec5c3c4f45c06aa0154e7ca6921e0d9
|
|
BLAKE2b-256 checksum How to use checksums |
909ba29ea42a6a4f7ebcc7dbaf46eff78c9bf2f3b9569779b0a93c46a2cb3915
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / zbox-1.2.0-py2.py3-none-any.whl
| Download URL | zbox-1.2.0-py2.py3-none-any.whl |
|---|---|
| Size | 3.4 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
144ded5d88b67635e5aa636f4ac9f7360a390b5538ebcb86a46ca13beaff2953
|
|
BLAKE2b-256 checksum How to use checksums |
3a2166d167ebe9f0058b1efb487844f5d34e968a3d48ca3b5eac707769863c8a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for zbox 1.2.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.