Skip to main content

Get cytoolz or toolz, whatever's around

Project description

Latest Version Supported Python versions Wheel Status Travis-CI Status

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.

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

zbox-1.0.0.zip (7.9 kB view hashes)

Uploaded Source

zbox-1.0.0.tar.gz (5.5 kB view hashes)

Uploaded Source

Built Distribution

zbox-1.0.0-py2.py3-none-any.whl (3.1 kB view hashes)

Uploaded Python 2 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