flityard
Test project for better understanding of the PEP 518 (a.k.a. pyproject.toml) and release process with flit
Installation
You need to have flit installed.
You also need to have .pypirc file
configured.
How to do a release
In __init__.py we have version number in a __version__ attribute at the top.
Once we do a release we immediately bump the version number by a patch/bugfix
level and append .dev to it. We follow
semantic versioning.
When it comes time to release we can just drop the .dev from __version__ and
the CHANGELOG.md, commit, and run flit publish.
When you drop the .dev from __version__ creata a commit with the following
message: Preparing release <version>
Then publish the release:
$ flit publish
Then "go back to development":
- add the
.devto__version__ - create a commit with the following message:
Back to development: <new_version>
To CHANGELOG.md add new unreleased section:
<new_version> (unreleased)
------------------
- Nothing changed yet.
Usage
$ pip install flintyard
$ python
>>> from flintyard import main
>>> main.hello_world()
Hello world
Further read
- https://flit.readthedocs.io/en/latest/
- https://snarky.ca/clarifying-pep-518/
- https://snarky.ca/how-i-manage-package-version-numbers/
Contributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature - Commit your changes:
git commit -am 'Add some feature' - Push to the branch:
git push origin my-new-feature - Submit a pull request
Metadata
Release files for flityard 0.2.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 | Provenance | Actions |
|---|---|---|---|---|
| flityard-0.2.0.tar.gz | 3.3 kB | Without provenance | Details for flityard-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| flityard-0.2.0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for flityard-0.2.0-py2.py3-none-any.whl |
Total release size: 6.8 kB
Release files / flityard-0.2.0.tar.gz
| Download URL | flityard-0.2.0.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0aead68f25554d1f985f49af6602b91e5b4b1042885caad73b3e046f59141c5c
|
|
BLAKE2b-256 checksum How to use checksums |
43513519ab066033d416de88b917f9fc6f58573d2ff056fd11ab5a27113deab7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / flityard-0.2.0-py2.py3-none-any.whl
| Download URL | flityard-0.2.0-py2.py3-none-any.whl |
|---|---|
| Size | 3.5 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
aa3f5683bf9415fd032728b7dbfa29fb81ce10d4b4c54f9f94d39b6f80d6ed09
|
|
BLAKE2b-256 checksum How to use checksums |
a38af1ed85919bd7f6bd9a2487fe0024fa90503763c6bacd7fbb140b64575839
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for flityard 0.2.0
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.