Skip to main content

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.

Metadata

Release files for rsbox 0.0.15

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rsbox 0.0.15
File Size Uploaded Provenance Actions
rsbox-0.0.15.tar.gz 9.7 kB Without provenance Details for rsbox-0.0.15.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for rsbox 0.0.15
File Interpreter ABI Platform Actions
rsbox-0.0.15-py3-none-any.whl Python 3 none any Details for rsbox-0.0.15-py3-none-any.whl

Total release size: 18.7 kB

Release files / rsbox-0.0.15.tar.gz

Download URL rsbox-0.0.15.tar.gz
Size 9.7 kB
Tags Source
SHA-256 checksum
How to use checksums
de8e7a14ea04575de13afccda8d32a834be03a21261b5eb60ed322401d052256
BLAKE2b-256 checksum
How to use checksums
a23853d4f9c09bf081bb6aeb9d737ee84302f3986b18c6f301a6df67d002c8a9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.8.5

Release files / rsbox-0.0.15-py3-none-any.whl

Download URL rsbox-0.0.15-py3-none-any.whl
Size 9.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dae72b1b66b8b8f33fe062eb871fc4d95185b03af7897a5c868f8af2856c0936
BLAKE2b-256 checksum
How to use checksums
e02be57dac911b725ffe768f4b9412a00a6ba5cf08a018b18517a361f04fc96a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.8.5

Security for rsbox 0.0.15

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page