Readme doc generator
Project description
Create README.md doc module
gen_readme is tool for creating README.md doc module.
Developed in python code.
The README is used to introduce the modules and provide instructions on how to install the modules, any machine dependencies it may have and any other information that should be provided before the modules are installed.
Table of Contents
Installation
Currently there are three ways to install package
- Install process based on using pip mechanism
- Install process based on build mechanism
- Install process based on setup.py mechanism
- Install process based on docker mechanism
Install using pip
Python package is located at pypi.org.
You can install by using pip
#python3
pip3 install gen_readme
Install using build
Navigate to release page download and extract release archive.
To install gen_readme type the following
tar xvzf gen_readme-x.y.z.tar.gz
cd gen_readme-x.y.z/
# python3
wget https://bootstrap.pypa.io/get-pip.py
python3 get-pip.py
python3 -m pip install --upgrade setuptools
python3 -m pip install --upgrade pip
python3 -m pip install --upgrade build
pip3 install -r requirements.txt
python3 -m build --no-isolation --wheel
pip3 install ./dist/gen_readme-*-py3-none-any.whl
rm -f get-pip.py
chmod 755 /usr/local/lib/python3.10/dist-packages/usr/local/bin/gen_readme_run.py
ln -s /usr/local/lib/python3.10/dist-packages/usr/local/bin/gen_readme_run.py /usr/local/bin/gen_readme_run.py
Install using py setup
Navigate to release page download and extract release archive.
To install gen_readme locate and run setup.py, type the following
tar xvzf gen_readme-x.y.z.tar.gz
cd gen_readme-x.y.z
#python3
pip3 install -r requirements.txt
python3 setup.py install_lib
python3 setup.py install_egg_info
python3 setup.py install_data
Install using docker
You can use Dockerfile to create image/container.
Dependencies
gen_readme requires next modules and libraries
Tool structure
gen_readme is based on OOP
Generator structure
gen_readme/
├── conf/
│ ├── gen_readme.cfg
│ ├── gen_readme.logo
│ ├── gen_readme_util.cfg
│ ├── project.yaml
│ └── template/
│ ├── README_AVR.template
│ ├── README_CC.template
│ ├── README_C.template
│ ├── README_JS.template
│ ├── README_PL.template
│ ├── README_PY.template
│ ├── README_RPI.template
│ ├── README_SH.template
│ ├── README_STM.template
│ └── README_VALA.template
├── __init__.py
├── log/
│ └── gen_readme.log
├── pro/
│ ├── __init__.py
│ ├── read_template.py
│ └── write_template.py
└── run/
└── gen_readme_run.py
6 directories, 20 files
Code coverage
Name | Stmts | Miss | Cover |
---|---|---|---|
gen_readme/__init__.py |
75 | 14 | 81% |
gen_readme/pro/__init__.py |
62 | 2 | 97% |
gen_readme/pro/read_template.py |
52 | 5 | 90% |
gen_readme/pro/write_template.py |
50 | 2 | 96% |
Total | 239 | 23 | 90% |
Docs
More documentation and info at
Contributing
Copyright and licence
Copyright (C) 2020 - 2024 by vroncevic.github.io/gen_readme
gen_readme is free software; you can redistribute it and/or modify it under the same terms as Python itself, either Python version 3.x or, at your option, any later version of Python 3 you may have available.
Lets help and support PSF.
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 Distribution
Built Distribution
File details
Details for the file gen_readme-1.1.3.tar.gz
.
File metadata
- Download URL: gen_readme-1.1.3.tar.gz
- Upload date:
- Size: 26.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 40ef51f4f0b56363dd367c75025f4352b303f326ba730e68522b22a9f3b1e247 |
|
MD5 | 0269104a90597db9574b815fc448a51c |
|
BLAKE2b-256 | a3ff03e7647a18406a13f39932a98301ac0b6bc69ebf009b6b686bffe5752b19 |
File details
Details for the file gen_readme-1.1.3-py3-none-any.whl
.
File metadata
- Download URL: gen_readme-1.1.3-py3-none-any.whl
- Upload date:
- Size: 41.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d93a8829fc29bd5037bd7a0082df72e4db81216cada807d38680bcde1e9d9478 |
|
MD5 | 563f2824f0305f3fe718ee8a80c2909e |
|
BLAKE2b-256 | 8dee363a8290d8c4604a41cc35b551f6ad4b0aa5b762b6cb133f040b7b6bd6e5 |