mdorrst
Tell appart Markdown and reStructuredText.
Free software: MIT license
Usage
The package exposes a single function, sniff(content), trying to deduce the format used, returning it as a string: md, rst or txt:
>>> import mdorrst
>>> mdorrst.sniff("[hey](http://example.com)")
'md'
>>> mdorrst.sniff("`hey <http://example.com>`__")
'rst'
Credits
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
History
0.4.0 (2017-04-27)
Simplify API.
0.3.0 (2017-04-26)
Python 2.7 support.
0.2.0 (2017-04-26)
Expose from_text().
0.1.0 (2017-04-26)
First release on PyPI.
Metadata
Release files for mdorrst 0.4.0
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 |
|---|---|---|---|---|
| mdorrst-0.4.0.tar.gz | 2.6 MB | Without provenance | Details for mdorrst-0.4.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mdorrst-0.4.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for mdorrst-0.4.0-py2.py3-none-any.whl |
Total release size: 2.6 MB
Release files / mdorrst-0.4.0.tar.gz
| Download URL | mdorrst-0.4.0.tar.gz |
|---|---|
| Size | 2.6 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
02b8a7f6d7fd0b13a9c010aa07ad42b6b15bda12043cb45f91923a9a880c22e7
|
|
BLAKE2b-256 checksum How to use checksums |
53eb7e582e27724b8b71c5675d9eb6b2522a2972deb05ae4e862b1b9159f240d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / mdorrst-0.4.0-py2.py3-none-any.whl
| Download URL | mdorrst-0.4.0-py2.py3-none-any.whl |
|---|---|
| Size | 4.9 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
c9a4c6f7d5db30d21b8849df5ed7cb1d75ae444e3bc0d6d92247a81b5d680d32
|
|
BLAKE2b-256 checksum How to use checksums |
1815061c13f04b26fe2209c1d231e6783264f5a5d6e38653ebbb10212d48178c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for mdorrst 0.4.0
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.