Skip to content
A Python implementation of John Gruber’s Markdown with Extension support.
Python Other
  1. Python 99.5%
  2. Other 0.5%
Branch: master
Clone or download

Latest commit

bluetech Avoid importing packaging or pkg_resources for version validation (#948)
Importing the `pkg_resources` module has high memory and startup time
cost. A recent change in 102e01c already avoided it for loading extensions,
but it's still used for validating that __version__ is correctly formatted.

It is possible to avoid it by installing the `packaging` package, but
that adds a dependency for something quite trivial.

Instead, remove the validation and add tests which check the output is
as expected.

Since `setuptools` is no longer required at runtime, remove it from
`install_required`.
Latest commit 82d2b25 Apr 27, 2020

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs Avoid importing packaging or pkg_resources for version validation (#948) Apr 27, 2020
markdown Avoid importing packaging or pkg_resources for version validation (#948) Apr 27, 2020
tests Avoid importing packaging or pkg_resources for version validation (#948) Apr 27, 2020
.codecov.yml Switch to codecov from coveralls Sep 9, 2017
.coveragerc Use a PEP562 implementation for deprecating attributes (#757) Dec 22, 2018
.gitattributes Exclude all nested test data from stats Apr 25, 2017
.gitignore 3.0 cleanup Sep 22, 2018
.spell-dict Link test tools and development env documentation. Feb 6, 2020
.travis.yml Add support for Python 3.8 (#867) Oct 24, 2019
CODE_OF_CONDUCT.md Use https:// links where available Jun 12, 2019
INSTALL.md Switch docs to MKDocs (#602) Dec 7, 2017
LICENSE.md Switch docs to MKDocs (#602) Dec 7, 2017
MANIFEST.in Remove tox.ini from MANIFEST Nov 26, 2019
README.md Use https:// links where available Jun 12, 2019
checkspelling.sh docs: Remove references to header_id.md page. Jan 13, 2018
doc-requirements.txt Update for MkDocs 1.0. Aug 3, 2018
makefile Ensure clean builds May 21, 2019
mkdocs.yml legacy_attr => legacy_attrs. (#870) Oct 29, 2019
pyproject.toml pyproject.toml: Bump minimal setuptools version to 36.6 Oct 21, 2018
setup.cfg Remove universal flag from setup.cfg Mar 11, 2020
setup.py Avoid importing packaging or pkg_resources for version validation (#948) Apr 27, 2020
tox.ini Add support for Python 3.8 (#867) Oct 24, 2019

README.md

Python-Markdown

Build Status Coverage Status Latest Version Python Versions BSD License Code of Conduct

This is a Python implementation of John Gruber's Markdown. It is almost completely compliant with the reference implementation, though there are a few known issues. See Features for information on what exactly is supported and what is not. Additional features are supported by the Available Extensions.

Documentation

Installation and usage documentation is available in the docs/ directory of the distribution and on the project website at https://Python-Markdown.github.io/.

See the change log at https://Python-Markdown.github.io/change_log.

Support

You may report bugs, ask for help, and discuss various other issues on the bug tracker.

Code of Conduct

Everyone interacting in the Python-Markdown project's codebases, issue trackers, and mailing lists is expected to follow the Code of Conduct.

You can’t perform that action at this time.