Skip to main content

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)

Source distribution for epytext2rst 1.0.2
File Size Uploaded
epytext2rst-1.0.2.tar.gz 1.7 kB Details

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

Release history Release notifications | RSS feed

This release

1.0.2 This release

1 release file

1.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page