Torch Utilities
Torch Utilities is a collection of tools and utilities for working with PyTorch in the audio domain.
Disclaimer
Torch Utilities is developed as a personal set of tools and is provided as-it-is, without any warranties or guarantees. The API and utilities may change in the future as the module continues to evolve. While effort is made to maintain compatibility with previous versions, users are advised to carefully consider the stability of the API before using Torch Utilities in production environments.
Installation
You can install Torch Utilities using pip.
pip install torch_utilities
Running The Tests
To run the tests you need to clone the repository locally and run use pytest.
git clone git@github.com:FedericoDiMarzo/torch_utilities.git
pip install -e torch_utilities[dev]
pytest torch_utilities/tests
If any tests fail, it may indicate that there is a bug in the code or that some aspect of the API has changed. In such cases, we encourage you to open an issue on the repository so that we can help resolve the problem.
Module Documentation
To read the API documentation of the module after cloning the repository, you can use pdoc to generate the documentation and serve it locally.
pdoc --docformat numpy torch_utilities/torch_utilities
The documentation will then be accessible at the address http://localhost:8080 .
How to explore the tools
The most relevant function and classes are available in the main namespace of the module. You can import them directly and use them in your code.
The source code is divided into
audio: Utilities working mostly on waveformsaugmentation: Data augmentation for audio signalsio: Input/output utilitiesmetrics: Various metrics for audio signalsmodules: PyTorch modules for audio processingutilities: General utilities.
Metadata
Release files for torch-utilities 1.2.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| torch_utilities-1.2.4.tar.gz | 1.1 MB | Without provenance | Details for torch_utilities-1.2.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| torch_utilities-1.2.4-py3-none-any.whl | Python 3 | none | any | Details for torch_utilities-1.2.4-py3-none-any.whl |
Total release size: 2.2 MB
Release files / torch_utilities-1.2.4.tar.gz
| Download URL | torch_utilities-1.2.4.tar.gz |
|---|---|
| Size | 1.1 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
58b0bb7e5d57fec65d9737aab41f240a44c12bb76e546466a08a1741de5410de
|
|
BLAKE2b-256 checksum How to use checksums |
904cb53ec9a64ca38577bd137d44666e1e5cf145ebf100fbf5ede16cc3fe6857
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.12
|
Release files / torch_utilities-1.2.4-py3-none-any.whl
| Download URL | torch_utilities-1.2.4-py3-none-any.whl |
|---|---|
| Size | 1.1 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f1a13f37fae6a7c51ed1b5cf16dacbd8667382c13e31bc186d6861b5d77f2474
|
|
BLAKE2b-256 checksum How to use checksums |
cc488b0acba3e1d269ba88ad00fe5d8b593f85c7e1c418905bc77a53fbbf9ed0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.12
|
Security for torch-utilities 1.2.4
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.