Docstring-Markdown is a fast and easy way to make beautiful documentation markdown files.
Why Docstring-Markdown
It's time to share your awesome new package with the world. And... get ready to spend the next week making your docs. Or, make beautiful docs with Docstring-Markdown in just a few lines of code.
Installation
$ pip install docstr-md
Quickstart
First, clone a test file from the Docstring-Markdown repo.
$ curl https://raw.githubusercontent.com/dsbowen/docstr-md/master/test.py --output test.py
The example test.py uses sklearn formatted docstrings. Let's convert it to markdown.
from docstr_md.python import PySoup, compile_md
from docstr_md.src_href import Github
src_href = Github('https://github.com/dsbowen/docstr-md/blob/master')
soup = PySoup(path='test.py', parser='sklearn', src_href=src_href)
compile_md(soup, compiler='sklearn', outfile='test.md')
You'll now have a test.md file in your current directory. This is what it looks like rendered.
Citation
@software{bowen2020docstr-md,
author = {Dillon Bowen},
title = {Docstring-Markdown},
url = {https://dsbowen.github.io/docstr-md/},
date = {2020-05-15},
}
License
Users must cite Docstring-Markdown in any publications which use this software.
Docstring-Markdown is licensed with the MIT License.
Metadata
Release files for docstr-md 0.0.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| docstr-md-0.0.9.tar.gz | 10.9 kB | Without provenance | Details for docstr-md-0.0.9.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| docstr_md-0.0.9-py3-none-any.whl | Python 3 | none | any | Details for docstr_md-0.0.9-py3-none-any.whl |
Total release size: 25.8 kB
Release files / docstr-md-0.0.9.tar.gz
| Download URL | docstr-md-0.0.9.tar.gz |
|---|---|
| Size | 10.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1d4efd3aee0a605650d8197f1c1b06a97b6f2a3833fe98a9ed0106e4e7aac1b0
|
|
BLAKE2b-256 checksum How to use checksums |
b78e28b59bb77b0496d6b37be1a244f6d6b26ec8ff3307c331cff4071b5bf1e8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.6.8
|
Release files / docstr_md-0.0.9-py3-none-any.whl
| Download URL | docstr_md-0.0.9-py3-none-any.whl |
|---|---|
| Size | 14.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a06859ecfbc11ed07d80a522f64b97a88f65bf5ce2a0dcc6597c4f9cac1912fb
|
|
BLAKE2b-256 checksum How to use checksums |
b1232d2121f9a4a8581f95dd1f441f5d964c99968c2c9e5e8bba2ff62cc96869
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.6.8
|
Security for docstr-md 0.0.9
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.