A friendly hello-world Python package.
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ml_toolkit_pro-0.1.1.tar.gz.
File metadata
- Download URL: ml_toolkit_pro-0.1.1.tar.gz
- Upload date:
- Size: 50.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6f04f6a12362b79ec5c2efbbb0812689d1dace814aa5e66f3860fc4e7e1b5833
|
|
| MD5 |
57d4d8e97882bd0e3b4a4621870e1a4b
|
|
| BLAKE2b-256 |
1e6e8a045f769a82a6ee7cfa49b07012dff016646be80e751b3f41abaac5fa16
|
File details
Details for the file ml_toolkit_pro-0.1.1-py3-none-any.whl.
File metadata
- Download URL: ml_toolkit_pro-0.1.1-py3-none-any.whl
- Upload date:
- Size: 50.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aeaca713517872ff808628d2aea232e7045de1d06db44bd75e125ddc500c1feb
|
|
| MD5 |
e7c18f304b24df6c200f021416326a1c
|
|
| BLAKE2b-256 |
54738e465690f7cbf36b0ed0be5f03e133e3d15fce2764ff19838b381b86cbba
|