lmliheng-hello
A tiny demo package used to show an end-to-end PyPI release driven by GitHub Actions.
from lmliheng_hello import say_hello
say_hello("PyPI") # prints: Hello, PyPI!
Or from the shell:
$ pip install lmliheng-hello
$ lmliheng-hello PyPI
Hello, PyPI!
Releasing
Pushing a tag that starts with v triggers .github/workflows/publish.yml:
it runs the tests, builds an sdist and a wheel, checks the metadata with
twine check, and publishes the artifacts to PyPI with
pypa/gh-action-pypi-publish.
$ python -m build # build locally
$ git tag v0.1.1 && git push origin v0.1.1 # release
The same workflow can be started by hand from the Actions tab
(workflow_dispatch).
Development
$ python -m pip install -e ".[test]"
$ pytest -q
License
MIT
Metadata
Release files for lmliheng-hello 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| lmliheng_hello-0.1.0.tar.gz | 3.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| lmliheng_hello-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.7 kB
Release files / lmliheng_hello-0.1.0.tar.gz
| Download URL | lmliheng_hello-0.1.0.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1ae6aba064d7ba188c035c6e6fbc1d8d3e14a3d7e6b18317afc64f0ec505c9ae
|
|
BLAKE2b-256 checksum How to use checksums |
3dc418d8e8e3414d76131aaef17e56cf15a81643dfeb98df0c9eff7158d76d24
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / lmliheng_hello-0.1.0-py3-none-any.whl
| Download URL | lmliheng_hello-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0a3a34ee2c4973a08091cbba21c83fd99392e124704fe5f03780d9c23eee1fb1
|
|
BLAKE2b-256 checksum How to use checksums |
1c83a8026aeaf79bb62dea60a3f8871d9b60da74b86caa04fab8ade99e99d14a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|