Python module to convert GitHub repositories to markdown files.
Project description
repo2md
repo2md is a python module to convert GitHub repositories into Markdown files.
Platform Supported
Deployments
Installation
pip install repo2md
Usage
import os
import dotenv
import repo2md
repo2md.IGNORE_DIRECTORIES.append("docs_gen")
repo2md.IGNORE_LIST.append("docs_gen")
dotenv.load_dotenv(".env", override=True)
repo2md.convert_repo_to_md(
repo_name="Jarvis",
git_owner="thevickypedia",
git_token=os.getenv("GIT_TOKEN"),
)
CLI
repo2md --help
The CLI exposes fewer options than using the module directly in code.
Coding Standards
Docstring format: Google
Styling conventions: PEP 8 and isort
Release Notes
Requirement
python -m pip install gitverse
Usage
gitverse-release reverse -f release_notes.rst -t 'Release Notes'
Linting
Requirement
python -m pip install pre-commit
Usage
pre-commit run --all-files
Pypi Package
https://pypi.org/project/repo2md/
License & copyright
© Vignesh Rao
Licensed under the MIT License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file repo2md-0.2.1-py3-none-any.whl.
File metadata
- Download URL: repo2md-0.2.1-py3-none-any.whl
- Upload date:
- Size: 13.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.0rc1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7c27e95aca643aa834298301f6c9e4d6f94c29efc147619824906dd9dd2d2ba1
|
|
| MD5 |
b91daabd9be2b4622033cb37f477015f
|
|
| BLAKE2b-256 |
e841ca88a96a78a267d30545f753dfa2ab563945e1c9595783a5f40d2bf57c1f
|