.. include:: shields.inc .. raw:: latex \part{Introduction} .. code-block:: text __ __ _ _ _ __ _ \ \ / /__ _ __ ___(_) ___ _ __ (_)_ __ __ _ | '_ \| | | \ \ / / _ \ '__/ __| |/ _ \| '_ \| | '_ \ / _` | | |_) | |_| |\ V / __/ | \__ \ | (_) | | | | | | | | (_| | | .__/ \__, | \_/ \___|_| |___/_|\___/|_| |_|_|_| |_|\__, | |_| |___/ |___/ .. only:: html | |SHIELD:svg:pyVersioning-github| |SHIELD:svg:pyVersioning-src-license| |SHIELD:svg:pyVersioning-ghp-doc| |SHIELD:svg:pyVersioning-doc-license| | |SHIELD:svg:pyVersioning-pypi-tag| |SHIELD:svg:pyVersioning-pypi-status| |SHIELD:svg:pyVersioning-pypi-python| | |SHIELD:svg:pyVersioning-gha-test| |SHIELD:svg:pyVersioning-lib-status| |SHIELD:svg:pyVersioning-codacy-quality| |SHIELD:svg:pyVersioning-codacy-coverage| |SHIELD:svg:pyVersioning-codecov-coverage| .. Disabled shields: |SHIELD:svg:pyVersioning-gitter| |SHIELD:svg:pyVersioning-lib-dep| |SHIELD:svg:pyVersioning-lib-rank| .. only:: latex |SHIELD:png:pyVersioning-github| |SHIELD:png:pyVersioning-src-license| |SHIELD:png:pyVersioning-ghp-doc| |SHIELD:png:pyVersioning-doc-license| |SHIELD:png:pyVersioning-pypi-tag| |SHIELD:png:pyVersioning-pypi-status| |SHIELD:png:pyVersioning-pypi-python| |SHIELD:png:pyVersioning-gha-test| |SHIELD:png:pyVersioning-lib-status| |SHIELD:png:pyVersioning-codacy-quality| |SHIELD:png:pyVersioning-codacy-coverage| |SHIELD:png:pyVersioning-codecov-coverage| .. Disabled shields: |SHIELD:svg:pyVersioning-gitter| |SHIELD:png:pyVersioning-lib-dep| |SHIELD:png:pyVersioning-lib-rank| -------------------------------------------------------------------------------- pyVersioning Documentation ########################## The Python package ``pyVersioning`` offers a template tool to write version information for any programming language as a source file that can be included into the normal application build flow. The main idea is to provide a unified tool to collect all necessary version information from a configuration file, user defined parameters, version control systems (e.g. Git) or environment variables. Especially the latter ones can be tricky in CI environments, as every CI service uses different environment variables. .. topic:: Planned features * read template from ``STDIN``. * add VHDL example Use Cases ********* * Integrate version information from e.g. Git, GitHub, GitLab, ... into current software builds. Supported Version Control Systems ********************************* * `Git `__ * `Subversion (SVN) `__ (planned) * more to come Supported CI Services ********************* * `Appveyor `__ * `GitHub Actions `__ * `GitLab `__ * `Travis-CI `__ * more to come Supported Languages ******************* * Any language Tested with ... *************** * ANSI C * C++ * VHDL Examples ******** * ANSI C Example * C++ Example * VHDL Example .. _CONTRIBUTORS: Contributors ************ * `Patrick Lehmann `__ (Maintainer) * `Navid Jalali `__ * `and more... `__ .. _LICENSE: License ******* .. only:: html This Python package (source code) is licensed under `Apache License 2.0 `__. |br| The accompanying documentation is licensed under `Creative Commons - Attribution 4.0 (CC-BY 4.0) `__. .. only:: latex This Python package (source code) is licensed under **Apache License 2.0**. |br| The accompanying documentation is licensed under **Creative Commons - Attribution 4.0 (CC-BY 4.0)**. .. toctree:: :caption: Overview :hidden: Installation Dependency .. raw:: latex \part{Main Documentation} .. toctree:: :caption: Details :hidden: Usage VersionControlSystems CIServices Languages ConfigurationFile .. toctree:: :caption: Templates :hidden: Templates/index Templates/C Templates/CXX .. toctree:: :caption: Examples :hidden: Examples/C Examples/CXX Examples/VHDL .. raw:: latex \part{References and Reports} .. toctree:: :caption: References and Reports :hidden: CommandLineInterface Python Class Reference unittests/index coverage/index CodeCoverage Doc. Coverage Report Static Type Check Report ➚ .. raw:: latex \part{Appendix} .. toctree:: :caption: Appendix :hidden: License Doc-License Glossary genindex Python Module Index TODO