Introduction
A simple python console script to let me convert epr files to Markdown.
Typical export-pull-requests file that I generate use the following CLI invocation:
epr hasii2011/gittodoistclone --milestone=5 --export=issues --token=myToken --state=closed > release-0.98.0.csv
The various columns are in this format:
Repository,Type,#,User,Title,State,Created,Updated,URL
A CSV line like this:
hasii2011/PyUt,Issue,359,hasii2011,Fix warning in PyutLink.setType,closed,03/23/22 09:50:04,03/23/22 13:56:09,https://github.com/hasii2011/PyUt/issues/359
Gets converted to a Markdown line like this:
* [359](https://github.com/hasii2011/PyUt/issues/359) Fix warning in PyutLink.setType
Overview
The basic command structure is:
Usage: epr2md [OPTIONS]
Options:
--version Show the version and exit.
-i, --input-file TEXT The input .csv file to convert. [required]
-o, --output-file TEXT The output .md file.
--help Show this message and exit.
By default, epr2md assumes that the input file has a .csv suffix and the output file has a .md suffix.
However, epr2md is flexible and can deduce file names and suffixes. The best option is if you do not specify the output file. Then epr2md deduces that the output file is the same as the input file name with the .md suffix. For example:
epr2md -i release-6.5.4.csv
causes pyut2xml to write to a file named TestFileV10.xml
The command line:
epr2md -i release-6.5.4 -o release-6.5.4
reads from release-6.5.4.csv and writes to release-6.5.4.md
Another simple example:
epr2md -i release-6.5.4
causes pyut2xml to reads from a file named TestFileV10.csv and write to a file named release-6.5.4.md
Installation
pip install epr2md
Written by Humberto A. Sanchez II <mailto@humberto.a.sanchez.ii@gmail.com>, (C) 2024
Note
For all kind of problems, requests, enhancements, bug reports, etc., please drop me an e-mail.
I am concerned about GitHub's Copilot project
I urge you to read about the Give up GitHub campaign from the Software Freedom Conservancy.
While I do not advocate for all the issues listed there I do not like that a company like Microsoft may profit from open source projects.
I continue to use GitHub because it offers the services I need for free. But, I continue to monitor their terms of service.
Any use of this project's code by GitHub Copilot, past or present, is done without my permission. I do not consent to GitHub's use of this project's code in Copilot.
Metadata
Release files for epr2md 0.2.1
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 |
|---|---|---|---|---|
| epr2md-0.2.1.tar.gz | 16.5 kB | With provenance | Details for epr2md-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| epr2md-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for epr2md-0.2.1-py3-none-any.whl |
Total release size: 33.6 kB
Release files / epr2md-0.2.1.tar.gz
| Download URL | epr2md-0.2.1.tar.gz |
|---|---|
| Size | 16.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5e559563031a2402e30351b118b2fcdc71fcf02839ac84fdf94a0886d56f0b63
|
|
BLAKE2b-256 checksum How to use checksums |
b03f95101b3194f730d382bb279eae33bc26d9973e0961e80ad7ca851e4b8bb8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 17, 2024.
Transparency logRelease files / epr2md-0.2.1-py3-none-any.whl
| Download URL | epr2md-0.2.1-py3-none-any.whl |
|---|---|
| Size | 17.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8f06ec9cb29c0ad224043248af7ae6dc6a26535854ae2b7f29cd30106be0d226
|
|
BLAKE2b-256 checksum How to use checksums |
d3e70096fe3f5ef6ee92fd2677afa434acdc5b3bca7edee734cdea53367434df
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 17, 2024.
Transparency logSecurity for epr2md 0.2.1
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for epr2md-0.2.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 17, 2024.
Transparency logA 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.