Skip to content

A Python wrapper for GitHub's fork of 'cmark', supporting GFM extensions

License

Notifications You must be signed in to change notification settings

jhermann/gfm-cmark-py

Repository files navigation

gfm-cmark-py

Travis CI Coveralls GitHub Issues License Development Status Latest Version Download format Downloads

A Python wrapper for GitHub's fork of cmark, supporting GFM extensions. cmark is a CommonMark parsing and rendering library written in C. This project also includes Debian packaging for it, to simplify deployment to platforms using APT.

THIS IS IN ALPHA STATUS!

TODO

It also features Debian packaging for the underlying cmark library, for easy installation on distros using APT.

TODO

gfm-cmark-py can be installed via pip install gfm-cmark-py as usual, see releases for an overview of available versions. To get a bleeding-edge version from source, use these commands:

repo="jhermann/gfm-cmark-py"
pip install -r "https://raw.githubusercontent.com/$repo/master/requirements.txt"
pip install -UI -e "git+https://github.com/$repo.git#egg=${repo#*/}"

As a developer, to create a working directory for this project, call these commands:

git clone "https://github.com/jhermann/gfm-cmark-py.git"
cd "gfm-cmark-py"
command . .env --yes --develop  # add '--virtualenv /usr/bin/virtualenv' for Python2
invoke build check

You might also need to follow some setup procedures to make the necessary basic commands available on Linux, Mac OS X, and Windows.

Call these commands:

version=0.27.1
curl -sLSo "cmark-gfm_$version.orig.tar.gz" "https://github.com/github/cmark/archive/$version.tar.gz"
cd cmark-gfm

# The "debian/" directorxy wa sinitially made using…
#   dh_make -f "cmark-gfm_$version.orig.tar.gz" --packagename cmark-gfm_$version -c bsd --multi
dpkg-buildpackage -uc -us

dpkg-deb -I ../cmark-gfm_$version-*_amd64.deb
dpkg-deb -I ../libcmark-gfm_$version-*_amd64.deb

About

A Python wrapper for GitHub's fork of 'cmark', supporting GFM extensions

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published