gen_readme

Generate README.md doc module


Project maintained by vroncevic Hosted on GitHub Pages — Theme by mattgraham

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.

gen_readme python checker gen_readme package checker GitHub issues open GitHub contributors

Table of Contents

Installation

debian linux os

gen_readme python3 build

Currently there are three ways to install package

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

Documentation Status

More documentation and info at

Contributing

Contributing to gen_readme

License: GPL v3 License

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.

Python Software Foundation

Donate