Skip to main content

Collection of Python utilities intended to be useful for machine learning research and experiments

Project description

jutility

Collection of Python utilities intended to be useful for machine learning research and experiments.

Contents

Install with pip

The jutility package is available as a Python package on PyPI, and can be installed with pip using the following commands:

python -m pip install -U pip
python -m pip install -U jutility

Usage examples

Coming soon

(in the meantime, see unit tests for util, plotting, and sweep)

Unit tests

To run unit all unit tests, install pytest, and run the following command (at the time of writing, this takes about 17 seconds to run 42 unit tests, because several unit tests involve saving images or GIFs to disk, using pytest version 5.4.1):

pytest

Build package locally

jutility can be built and installed locally using the following commands, replacing $WHEEL_NAME with the name of the wheel built by the python -m build command (for example, jutility-0.0.3-py3-none-any.whl):

python -m build
python -m pip install --force-reinstall dist/$WHEEL_NAME

Updating package on PyPI

This package was uploaded to PyPI following the Packaging Python Projects tutorial in the official Python documentation.

To update PyPI with a newer version, update the version tag in pyproject.toml, and then use the following commands:

rm -rf dist/*
python -m build
python -m twine upload dist/*

When prompted by twine, enter __token__ as the username, and paste an API token from the PyPI account management webpage as the password (including the pypi- prefix).

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

jutility-0.0.4.tar.gz (17.4 kB view details)

Uploaded Source

Built Distribution

jutility-0.0.4-py3-none-any.whl (13.7 kB view details)

Uploaded Python 3

File details

Details for the file jutility-0.0.4.tar.gz.

File metadata

  • Download URL: jutility-0.0.4.tar.gz
  • Upload date:
  • Size: 17.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.6

File hashes

Hashes for jutility-0.0.4.tar.gz
Algorithm Hash digest
SHA256 a8292a0affbd020ec21b5e553e9aa0e1959ddc7c18dc0f55efbdf532be72be67
MD5 f39ec67b51edf856764d55c017a72f92
BLAKE2b-256 da933ff038adf574c29a3bde326b489ff3aa11f54af437ff8abc1a8eb0f16534

See more details on using hashes here.

File details

Details for the file jutility-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: jutility-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 13.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.6

File hashes

Hashes for jutility-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 d443af50a4fd097f612295ebcad8b3ce8d51e9460d2900c0f88523cbc88524b9
MD5 85c375d63fd8820b98b4124592747a72
BLAKE2b-256 80f14ecd31be8ce4df958ac939adcb5ac3c121c8765d44a9483dab9e46ca673f

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