eyptext2rst is a command line tool to convert epytext markup language in RestructuredText.
General usage
epytext2rst.py [-h] [-v] [-o OUTPUT] input
positional arguments:
input input file or directory to convert
optional arguments:
-h, --help show this help message and exit
-v, --verbose show changes
-o OUTPUT, --output-dir OUTPUT directory for output of parsed files
To convert all python files (.py, .pyw) in a directory just type this:
python epytext2rst.py mydirectory -o newdirectory
If you just want to know what gets substituted do this:
python epytext2rst.py mydirectory -v
Convention
epytext2rst handles the conversion of the following Epytext components:
Keywords
@(param|type|rtype|return|ivar) --> :(param|type|rtype|return|ivar)
Italics
I\{(.*?)\} --> *..*
Bold
B\{(.*?)\} --> **..**
Code
C\{(.*?)\} --> ``...``
Metadata
Release files for epytext2rst 1.0.2
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 |
|---|---|---|---|---|
| epytext2rst-1.0.2.tar.gz | 1.7 kB | Without provenance | Details for epytext2rst-1.0.2.tar.gz |
Release files / epytext2rst-1.0.2.tar.gz
| Download URL | epytext2rst-1.0.2.tar.gz |
|---|---|
| Size | 1.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9a603b743891b594f5867c5fbd1a70ed602be14e1f2b43b881c3886d004672ad
|
|
BLAKE2b-256 checksum How to use checksums |
af3a73e28e055099592fab1352cce352aa70ec44b542b6673288b0bfee023ad9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for epytext2rst 1.0.2
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.