A minimal example Python package.
Project description
grumpy
Minimal Python package ready to publish to PyPI.
Install (after publishing)
pip install grumpy
Usage
import grumpy
print(grumpy.__version__)
Development
Recommended: use a virtual environment (python -m venv .venv && source .venv/bin/activate).
Build the distribution
python -m pip install --upgrade build
python -m build
This creates files in dist/ (a wheel and an sdist).
Upload to TestPyPI first
python -m pip install --upgrade twine
twine upload --repository testpypi dist/*
Verify install from TestPyPI:
pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple grumpy
Upload to PyPI
twine upload dist/*
Makefile shortcuts
make build
make publish-test
make publish
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
grumpy_arrays-0.1.3.tar.gz
(1.7 kB
view details)
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 grumpy_arrays-0.1.3.tar.gz.
File metadata
- Download URL: grumpy_arrays-0.1.3.tar.gz
- Upload date:
- Size: 1.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c9a313c99405d366e9fa40c076d7dac5cfccf846b30361702554c4678325a120
|
|
| MD5 |
2c3894fdcb01ccbff9ecee525e0fd13d
|
|
| BLAKE2b-256 |
d0c73c2cdc6ee810547db7cd074a3b2521a7aa77f11d8363469277b5cc77e1fb
|
File details
Details for the file grumpy_arrays-0.1.3-py3-none-any.whl.
File metadata
- Download URL: grumpy_arrays-0.1.3-py3-none-any.whl
- Upload date:
- Size: 1.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d3de9ecac6a44c47c7e29a78f0b6a6aff5ce493fe0fcf8aaa13fe18c7e0f4f51
|
|
| MD5 |
d3a8d4d5a8c1203c2abb6a0b5db6331f
|
|
| BLAKE2b-256 |
845bf8926e579666b0ae03732dcda21677db50fe176d950c369793ae0062d6e8
|