Skip to main content

readme_renderer is a library for rendering "readme" descriptions for Warehouse

Project description

Readme Renderer is a library that will safely render arbitrary README files into HTML. It is designed to be used in Warehouse to render the long_description for packages. It can handle Markdown, reStructuredText (.rst), and plain text.

Check Description Locally

reStructuredText

To locally check whether your reStructuredText long descriptions will render on PyPI, simply install the readme_renderer library using:

$ pip install readme_renderer
$ python setup.py check -r -s
running check

If there’s a problem rendering your long_description, the check will tell you. If your long_description is fine, you’ll get no output.

Markdown

Checking your Markdown long descriptions is unecessary, because unlike rST, where a properly rendered description is all-or-nothing, PyPI will still render your Markdown description as Markdown if it has some invalid or incorrect syntax.

Code of Conduct

Everyone interacting in the readme_renderer project’s codebases, issue trackers, chat rooms, and mailing lists is expected to follow the PyPA Code of Conduct.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

readme_renderer-19.0.tar.gz (20.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

readme_renderer-19.0-py2.py3-none-any.whl (10.5 kB view details)

Uploaded Python 2Python 3

File details

Details for the file readme_renderer-19.0.tar.gz.

File metadata

File hashes

Hashes for readme_renderer-19.0.tar.gz
Algorithm Hash digest
SHA256 fd63b4c56fb9e1448a3e4eef0e5a6d0d85de2a1be9514794401f47e4f728d0d0
MD5 719e96e6f337dcd5c698803a9f2f0c5e
BLAKE2b-256 c12fbc4cb54ae0f7f7960774dcfa1cb42c5955acd254022957b4df754949dd20

See more details on using hashes here.

File details

Details for the file readme_renderer-19.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for readme_renderer-19.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 89f8979dcfeadf707cc31322822ef48315253164bfb227adfad8186b201a7103
MD5 852358de115cfd7f303f8fac1abc0227
BLAKE2b-256 e8fe80af919ab2c07fc503e0843687433440f1067871feab9e82b5a8775eb04a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page