Skip to main content

A toolbox of utility functions I commonly use when programming in Python.

Project description

rsbox: Utility Toolbox

(Github | PyPI | Documentation)

A toolbox of utility functions I commonly use when programming in Python. Includes mostly machine learning utilities.

The full API consists of importable functions from modules located in src/rsbox/. Functions are documented via docstrings under the function header. An HTML front-end documentation for the API is available here.

Installation

$ pip install rsbox

Examples

Here are some highlighted functions:

import rsbox
from rsbox import ml, misc

ml.print_model_size(pytorch_net)
current_time_in_string = misc.timestamp()
dataset = ml.image_dir_to_data(dirpath="./data", extension='png')
img_np_array = ml.get_img(url='https://stanford.edu/~rsikand/assets/images/seal.png')  
ml.plot(img_np_array)
image

Modules

The modules are located in src/rsbox/

  • ml.py: machine learning programming utilities.
  • misc.py: misc. utilities.

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

rsbox-0.0.15.tar.gz (9.7 kB view details)

Uploaded Source

Built Distribution

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

rsbox-0.0.15-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

File details

Details for the file rsbox-0.0.15.tar.gz.

File metadata

  • Download URL: rsbox-0.0.15.tar.gz
  • Upload date:
  • Size: 9.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.5

File hashes

Hashes for rsbox-0.0.15.tar.gz
Algorithm Hash digest
SHA256 de8e7a14ea04575de13afccda8d32a834be03a21261b5eb60ed322401d052256
MD5 3c23c6c5d31effbf80265a5d63863ff8
BLAKE2b-256 a23853d4f9c09bf081bb6aeb9d737ee84302f3986b18c6f301a6df67d002c8a9

See more details on using hashes here.

File details

Details for the file rsbox-0.0.15-py3-none-any.whl.

File metadata

  • Download URL: rsbox-0.0.15-py3-none-any.whl
  • Upload date:
  • Size: 9.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.5

File hashes

Hashes for rsbox-0.0.15-py3-none-any.whl
Algorithm Hash digest
SHA256 dae72b1b66b8b8f33fe062eb871fc4d95185b03af7897a5c868f8af2856c0936
MD5 0666d2c7ffe9b1c503f663665f1ea2ae
BLAKE2b-256 e02be57dac911b725ffe768f4b9412a00a6ba5cf08a018b18517a361f04fc96a

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