A small personal example package
Project description
hello-NOO Python Package
This is an example repository for a python package, for my own reference.
PyPI:
GitHub:
Install
Not that you would want to, but you can install with
pip install hello-NOO
Developer install
- Clone this repository and
cdinto it. - Create a virtual environment:
python3 -m venv .venv - Activate the virtual environment: (linux)
source .venv/bin/activate - Install the package locally: (linux)
pip install -e ./[dev,docs]
Building
# Build a source distribution (stored in dist/)
python -m build --sdist
# Build a wheel (stored in dist/)
python -m build --wheel
# Run a test to check all the builds in dist
twine check dist/*
Upload to PyPi
Once your account is set up, run
twine upload --verbose --repository pypi dist/*
Other Notes
To reset the installation
pip freeze --exlucde hello-NOO | xargs pip uninstall -y
pip uninstall hello-NOO
Resources
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#classifiers
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 hello_noo-0.0.3.tar.gz.
File metadata
- Download URL: hello_noo-0.0.3.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
99a464548853eef923ef6e975a4a2fbe1f5cbee538ba0019362ddf0ff223a7ea
|
|
| MD5 |
6a6ba5ac1c1ff80884e75cc0e699dd43
|
|
| BLAKE2b-256 |
f0d9086cf8ffc02ba6e35cb3664a3b304e2f53e36ce9e74ed5d41fc85d241b43
|
File details
Details for the file hello_noo-0.0.3-py3-none-any.whl.
File metadata
- Download URL: hello_noo-0.0.3-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4de009bb6385d0dd2a0b03943bebb7831c0c2b4d0a4d70756130486fc49820fd
|
|
| MD5 |
4a25d798f5cf77a1725dae2070a4bb67
|
|
| BLAKE2b-256 |
f67c68b50b819810092bd4bde0f33448448666c2501d6d56649a8b12050c9470
|