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-22.0.tar.gz (23.4 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-22.0-py2.py3-none-any.whl (14.7 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: readme_renderer-22.0.tar.gz
  • Upload date:
  • Size: 23.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.3.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.7.0

File hashes

Hashes for readme_renderer-22.0.tar.gz
Algorithm Hash digest
SHA256 237ca8705ffea849870de41101dba41543561da05c0ae45b2f1c547efa9843d2
MD5 72c19dc0cfa0ea6525a13f0ebb8e8354
BLAKE2b-256 aab6384c1dfe9b3ac3404817ac32fa44abbe0b51c2494ba118e0ad7ff3e72efb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: readme_renderer-22.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 14.7 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.3.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.7.0

File hashes

Hashes for readme_renderer-22.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 f75049a3a7afa57165551e030dd8f9882ebf688b9600535a3f7e23596651875d
MD5 2e94825fd74591cb2ce7a271f8cc4428
BLAKE2b-256 a8a16f474ee3be067328e11faa3c6391823ceb687cabd54ac6801c8db346d6e4

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