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.

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
rsbox-0.0.15.tar.gz 9.7 kB Details

Built distribution (wheel)

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

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

Release history Release notifications | RSS feed

This release

0.0.15 This release

2 release files

0.0.14

2 release files

0.0.11

2 release files

0.0.10

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

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