[![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)](https://GitHub.com/Naereen/StrapDown.js/graphs/commit-activity)
[![forthebadge made-with-python](http://ForTheBadge.com/images/badges/made-with-python.svg)](https://www.python.org/)
# Introduction
A simple python console script to let me convert [epr](https://github.com/sshaw/export-pull-requests) files to [Markdown](https://www.howtogeek.com/448323/what-is-markdown-and-how-do-you-use-it/).
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](https://file.org/extension/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:
```Markdown
* [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.
------
![Humberto's Modified Logo](https://raw.githubusercontent.com/wiki/hasii2011/gittodoistclone/images/SillyGitHub.png)
I am concerned about GitHub's Copilot project
I urge you to read about the
[Give up GitHub](https://GiveUpGitHub.org) campaign from
[the Software Freedom Conservancy](https://sfconservancy.org).
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.
A repository owner may opt out of Copilot by changing Settings --> GitHub Copilot.
I have done so. I have done so
Raw data
{
"_id": null,
"home_page": null,
"name": "epr2md",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": "\"Humberto A. Sanchez II\" <Humbert.A.Sanchez.II@gmail.com>",
"keywords": "epr, issues, python",
"author": null,
"author_email": "\"Humberto A. Sanchez II\" <Humbert.A.Sanchez.II@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/3e/3d/21678149f40cbb9207aa47599d74156e9b62db6986b524539147fca90dee/epr2md-0.2.0.tar.gz",
"platform": null,
"description": "\n[![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)](https://GitHub.com/Naereen/StrapDown.js/graphs/commit-activity)\n[![forthebadge made-with-python](http://ForTheBadge.com/images/badges/made-with-python.svg)](https://www.python.org/)\n\n# Introduction\n\nA simple python console script to let me convert [epr](https://github.com/sshaw/export-pull-requests) files to [Markdown](https://www.howtogeek.com/448323/what-is-markdown-and-how-do-you-use-it/).\n\nTypical export-pull-requests file that I generate use the following CLI invocation:\n\n```\nepr hasii2011/gittodoistclone --milestone=5 --export=issues --token=myToken --state=closed > release-0.98.0.csv \n```\nThe various columns are in this format:\n\n```\nRepository,Type,#,User,Title,State,Created,Updated,URL\n```\n\nA [CSV](https://file.org/extension/csv) line like this:\n\n```\nhasii2011/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\n```\n\nGets converted to a Markdown line like this:\n\n```Markdown\n* [359](https://github.com/hasii2011/PyUt/issues/359) Fix warning in PyutLink.setType\n```\n# Overview\n\nThe basic command structure is:\n\n```\nUsage: epr2md [OPTIONS]\n\nOptions:\n --version Show the version and exit.\n -i, --input-file TEXT The input .csv file to convert. [required]\n -o, --output-file TEXT The output .md file.\n --help Show this message and exit.\n```\n\nBy default, epr2md assumes that the input file has a `.csv` suffix and the output file has a `.md` suffix. \n\nHowever, 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:\n\n```epr2md -i release-6.5.4.csv```\n\ncauses pyut2xml to write to a file named TestFileV10.xml\n\nThe command line:\n\n```epr2md -i release-6.5.4 -o release-6.5.4```\n\nreads from release-6.5.4.csv and writes to release-6.5.4.md\n\n\nAnother simple example:\n\n```epr2md -i release-6.5.4```\n\ncauses pyut2xml to reads from a file named TestFileV10.csv and write to a file named release-6.5.4.md\n\n# Installation\n\n```pip install epr2md```\n\n\n___\n\nWritten by Humberto A. Sanchez II <mailto@humberto.a.sanchez.ii@gmail.com>, (C) 2024\n\n \n\n \n## Note\nFor all kind of problems, requests, enhancements, bug reports, etc.,\nplease drop me an e-mail.\n\n\n------\n\n\n![Humberto's Modified Logo](https://raw.githubusercontent.com/wiki/hasii2011/gittodoistclone/images/SillyGitHub.png)\n\nI am concerned about GitHub's Copilot project\n\n\n\nI urge you to read about the\n[Give up GitHub](https://GiveUpGitHub.org) campaign from\n[the Software Freedom Conservancy](https://sfconservancy.org).\n\nWhile I do not advocate for all the issues listed there I do not like that\na company like Microsoft may profit from open source projects.\n\nI continue to use GitHub because it offers the services I need for free. But, I continue\nto monitor their terms of service.\n\nAny use of this project's code by GitHub Copilot, past or present, is done\nwithout my permission. I do not consent to GitHub's use of this project's\ncode in Copilot.\n\nA repository owner may opt out of Copilot by changing Settings --> GitHub Copilot.\n\nI have done so. I have done so\n\n\n",
"bugtrack_url": null,
"license": "GNU AFFERO GENERAL PUBLIC LICENSE",
"summary": "Converts EPR files to Markdown",
"version": "0.2.0",
"project_urls": {
"Repository": "https://github.com/hasii2011/epr2md"
},
"split_keywords": [
"epr",
" issues",
" python"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "0f21fb6e5ba8ebc34e79758d7f89029b42b9c4c94c95ab08003543c41a061e1a",
"md5": "79c72974c025178612298e1e4b82416e",
"sha256": "f61b1d627ba6f29a1ea0da4f3c174c4f64d7afd010e4ac16a74cc823bb4f26e3"
},
"downloads": -1,
"filename": "epr2md-0.2.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "79c72974c025178612298e1e4b82416e",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 17131,
"upload_time": "2024-09-09T19:29:53",
"upload_time_iso_8601": "2024-09-09T19:29:53.679149Z",
"url": "https://files.pythonhosted.org/packages/0f/21/fb6e5ba8ebc34e79758d7f89029b42b9c4c94c95ab08003543c41a061e1a/epr2md-0.2.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "3e3d21678149f40cbb9207aa47599d74156e9b62db6986b524539147fca90dee",
"md5": "2e4914641b951a623f8a042277e0a6b9",
"sha256": "fd5de7b96be854587424cd1d4d5deef19e3a66ee4fa86ecc3b0d821aa37dbcf6"
},
"downloads": -1,
"filename": "epr2md-0.2.0.tar.gz",
"has_sig": false,
"md5_digest": "2e4914641b951a623f8a042277e0a6b9",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 16622,
"upload_time": "2024-09-09T19:29:54",
"upload_time_iso_8601": "2024-09-09T19:29:54.634429Z",
"url": "https://files.pythonhosted.org/packages/3e/3d/21678149f40cbb9207aa47599d74156e9b62db6986b524539147fca90dee/epr2md-0.2.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-09-09 19:29:54",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "hasii2011",
"github_project": "epr2md",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"circle": true,
"requirements": [],
"lcname": "epr2md"
}