Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Convert epytext markup language in RestructuredText

Project Description

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\{(.*?)\}    --> ``...``
Release History

Release History

This version
History Node

1.0.2

History Node

1.0.1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
epytext2rst-1.0.2.tar.gz (1.7 kB) Copy SHA256 Checksum SHA256 Source Apr 7, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting