TorchBlaze
Link to Documentation
A CLI-based python package that provides a suite of functionalities to perform end-to-end ML using PyTorch.
The following are the set of functionalities provided by the tool:
-
Flask-API Template: Set up the basic PyTorch project sturcture and an easily tweakable flask-RESTful API with a single CLI command. Deploying your ML models has never been so easy.
-
Test ML API: Once you have set up your API, test all the API end-points to ensure you get the expected results before pushing your API to deployment.
-
Dockerizing: A simplified, single-command, easy dockerization for your ML API.
-
ML Model Test Suite: The package comes with a built-in test suite that evaluates your PyTorch models over a set of tests to look for any errors that otherwise might not be traceable easily.
Here are the available list of commands:
- Setting-up the Template Project:
foo@bar:~$ torchblaze generate_template --project_name example
- Building Docker Image (Requires Docker Installed):
First cd to the root project directory containing app.py file.
foo@bar:~$ torchblaze generate_docker --image_name example_image
- Run Docker Image (Requires Docker Installed):
foo@bar:~$ torchblaze run_docker --image_name example
- Performing API Tests:
First cd to the root project directory containing app.py file.
foo@bar:~$ torchblaze api_tests
- Performing Model Testing:
Import the mltests package
import torchblaze.mltests as mls
Then use the variety of testing methods available in the mltests package. Run the following command to get the list of available methods.
dir(mls)
To check the documentation for any of the available tests, use the help method:
help(mls.<method_name>)
Metadata
Release files for torchblaze 1.0.6
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 | |
|---|---|---|---|---|
| torchblaze-1.0.6.tar.gz | 13.3 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| torchblaze-1.0.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 29.5 kB
Release files / torchblaze-1.0.6.tar.gz
| Download URL | torchblaze-1.0.6.tar.gz |
|---|---|
| Size | 13.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e52e336f4998f51381a5a8d4dffbcc094e3cec79a1060702b574390d2b0910ab
|
|
BLAKE2b-256 checksum How to use checksums |
3504632e594c4ad9767eb5d9a6d5c62ec5df237585bddf0bcfcf218ec0d113a2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2
|
Release files / torchblaze-1.0.6-py3-none-any.whl
| Download URL | torchblaze-1.0.6-py3-none-any.whl |
|---|---|
| Size | 16.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4330fefd2752aefddbbac6256e5a6b94ba582a6ae0d859e40a6e6f3c09b57405
|
|
BLAKE2b-256 checksum How to use checksums |
483a475bbffa5bbc91eabdf16fcfa7e7606c72444947eba987eb755bfb1dafd8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2
|
Security for torchblaze 1.0.6
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.