https://github.com/mariatta/restify_me
script that converts text PEP into reST
https://github.com/mariatta/restify_me
Last synced: about 1 month ago
JSON representation
script that converts text PEP into reST
- Host: GitHub
- URL: https://github.com/mariatta/restify_me
- Owner: Mariatta
- Created: 2016-10-31T04:12:07.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-05-27T14:08:55.000Z (about 8 years ago)
- Last Synced: 2025-02-17T08:16:31.928Z (4 months ago)
- Language: Python
- Size: 23.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
Script that converts text PEP into reST
To convert a single text PEP::
python3 restify_me.py /path/to/pep-xxx.txt
To go through all PEPs in python/peps/ repo::
python3 collect_text_peps.py /path/to/peps/
current output::
$ collect_text_peps.py ../peps/
Found 139 PEPs still in plain text
131 text PEPs converted :D
Failed to reSTify 8 PEPs :(
../peps/pep-0100.txt because: string index out of range :(
../peps/pep-0227.txt because: string index out of range :(
../peps/pep-0236.txt because: string index out of range :(
../peps/pep-0308.txt because: string index out of range :(
../peps/pep-0324.txt because: string index out of range :(
../peps/pep-0343.txt because: 'Local Variables:\n' is not in list :(
../peps/pep-0344.txt because: string index out of range :(
../peps/pep-3134.txt because: string index out of range :(