Fancy PyPI READMEs with Hatch
Project description
Your ✨Fancy✨ Project Deserves a ✨Fancy✨ PyPI Readme! 🧐
hatch-fancy-pypi-readme is a Hatch metadata plugin for everyone who cares about the first impression of their project’s PyPI landing page. It allows you to define your PyPI project description in terms of concatenated fragments that are based on static strings, files, and most importantly: parts of files defined using cut-off points or regular expressions.
Once you’ve assembled your readme, you can additionally run regular-expression substitutions over it. For instance to make relative links absolute or to linkify users and issue numbers in your changelog.
Do you want your PyPI readme to be the project readme, but without badges, followed by the license file, and the changelog section for only the last release? You’ve come to the right place!
Note “PyPI project description”, “PyPI landing page”, and “PyPI readme” all refer to the same thing. In setuptools it’s called
long_description
and is the text shown on a project’s PyPI page. We refer to it as “readme” because that’s how it’s called in PEP 621-basedpyproject.toml
files.
Showcases
- jsonschema (
pyproject.toml
) - pytermgui (
pyproject.toml
) - And of course hatch-fancy-pypi-readme itself (
pyproject.toml
).
Project Links
- License: MIT
- Documentation: https://github.com/hynek/hatch-fancy-pypi-readme#readme
- Changelog: CHANGELOG.md
- PyPI: https://pypi-hypernode.com/project/hatch-fancy-pypi-readme/
- Source Code: https://github.com/hynek/hatch-fancy-pypi-readme
- Supported Python Versions: 3.7 and later (follows Hatch)
Credits
hatch-fancy-pypi-readme is written and maintained by Hynek Schlawack and released under the MIT license.
The development is kindly supported by Variomedia AG and all my amazing GitHub Sponsors.
A full list of contributors can be found on GitHub’s overview.
Release Information for 22.4.0 - 2022-09-10
Added
Full changelog can be found here.
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
File details
Details for the file hatch_fancy_pypi_readme-22.4.0.tar.gz
.
File metadata
- Download URL: hatch_fancy_pypi_readme-22.4.0.tar.gz
- Upload date:
- Size: 28.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17e22bc66422de67643eba1815c4d77b3f487c354dd6ecef1763a8889efe7092 |
|
MD5 | 3c05a672d7f165a5c2cd02358f577cfa |
|
BLAKE2b-256 | 3c7649e27075ef8d9a1ac0448b86e9a0bfd271f36e7bef1e650021ae74b8a5b2 |
File details
Details for the file hatch_fancy_pypi_readme-22.4.0-py3-none-any.whl
.
File metadata
- Download URL: hatch_fancy_pypi_readme-22.4.0-py3-none-any.whl
- Upload date:
- Size: 14.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac86c2716d95f9e336e71aa98472484091f98d6a7bc6704a4a820276f9947a3a |
|
MD5 | 26f7dc7f6d25dc741edf7cf207912d43 |
|
BLAKE2b-256 | 95261c61c3733a26ce98d2aea1681d33ce21586e5ae11c86f8e05f922995d534 |