Skip to main content

A collection of commonly used python snippets

Project description

assets/logo.png

This is a collection of useful snippets I find myself to use regularly during prototyping.

Build Status Documentation Status

Most of the functions are especially useful when working on remote machines via jupyter notebooks (e.g. a JupyterHub) with long-running processes (e.g. Deeplearning).

Checkout the Quickstart section for common usecases and example code.

View the complete documentation

View the code

Quickstart

Installation

via pip:

pip install py-toolbox

or via distutils:

git clone https://github.com/dangrie158/py-toolbox.git pytb
cd pytb
python setup.py install

Development

Clone the repo and install the development requirements. After this you can install the package in development mode to just link the sources into your python path.

git clone https://github.com/dangrie158/py-toolbox.git pytb
cd pytb
direnv allow
# if you're not using direnv, you really should
# otherwise create a new virtualenv for the package

pip install -r dev-requirements.txt
python3 setup.py develop

make test

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

py-toolbox-0.7.0.tar.gz (30.7 kB view details)

Uploaded Source

File details

Details for the file py-toolbox-0.7.0.tar.gz.

File metadata

  • Download URL: py-toolbox-0.7.0.tar.gz
  • Upload date:
  • Size: 30.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.8

File hashes

Hashes for py-toolbox-0.7.0.tar.gz
Algorithm Hash digest
SHA256 e9824cad485c314866e868358105eb44539cbaee59cabb31528761e0cd0c9c88
MD5 af8b9b9c6672d8d187d34c4f76e24b59
BLAKE2b-256 87069a397ae4c9bbf41192fea3b36076526a7baa8e3e0c649c04f289b135633d

See more details on using hashes here.

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