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 hashes)

Uploaded Source

Built Distribution

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

Uploaded 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