ml-toolkit-pro
A tiny publicly installable Python package that demonstrates a clean PyPI release.
Install
python -m pip install ml-toolkit-pro
Use
from ml_toolkit_pro import hello
print(hello()) # Hello, World!
print(hello("Ada")) # Hello, Ada!
It also provides a command-line program:
ml-toolkit-pro
ML2 study material
The package also bundles readable text extracted in order from the three solved notebooks and the Section A theory revision PDF. Notebook cell outputs are not included.
from ml_toolkit_pro import ml2_study_materials
all_notes = ml2_study_materials()
print(all_notes)
Publish to PyPI
-
Create an account at https://pypi.org/account/register/ and enable two-factor authentication.
-
Create a PyPI API token at https://pypi.org/manage/account/token/ with scope restricted to
ml-toolkit-prowhere available. -
Build and verify the distribution:
python -m pip install --upgrade build twine python -m build python -m twine check dist/*
-
Upload without storing the token in source control:
TWINE_USERNAME=__token__ TWINE_PASSWORD='pypi-your-token' python -m twine upload dist/*
-
Confirm a fresh installation:
python -m pip install --upgrade ml-toolkit-pro python -c 'from ml_toolkit_pro import hello; print(hello())'
PyPI package names are global. If the upload reports that ml-toolkit-pro already exists, change the name in pyproject.toml to a unique name.
Metadata
Release files for ml-toolkit-pro 0.1.1
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 | |
|---|---|---|---|---|
| ml_toolkit_pro-0.1.1.tar.gz | 50.3 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ml_toolkit_pro-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 100.4 kB
Release files / ml_toolkit_pro-0.1.1.tar.gz
| Download URL | ml_toolkit_pro-0.1.1.tar.gz |
|---|---|
| Size | 50.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6f04f6a12362b79ec5c2efbbb0812689d1dace814aa5e66f3860fc4e7e1b5833
|
|
BLAKE2b-256 checksum How to use checksums |
1e6e8a045f769a82a6ee7cfa49b07012dff016646be80e751b3f41abaac5fa16
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.3
|
Release files / ml_toolkit_pro-0.1.1-py3-none-any.whl
| Download URL | ml_toolkit_pro-0.1.1-py3-none-any.whl |
|---|---|
| Size | 50.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
aeaca713517872ff808628d2aea232e7045de1d06db44bd75e125ddc500c1feb
|
|
BLAKE2b-256 checksum How to use checksums |
54738e465690f7cbf36b0ed0be5f03e133e3d15fce2764ff19838b381b86cbba
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.3
|
Security for ml-toolkit-pro 0.1.1
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.