git-props

Determine some properties from a git repository


License
Apache-2.0
Install
pip install git-props==0.3

Documentation

GitHub Workflow Status PyPI version

Git properties

A simple Python package to determine some properties from a git repository.

System requirements

Python:

  • Python 3.6 or newer.

Required library packages:

External Programs:

Optional library packages:

  • git-props

    This package is used to extract some metadata such as the version number out of git, the version control system. All releases embed that metadata in the distribution. So this package is only needed to build out of the plain development source tree as cloned from GitHub, but not to build a release distribution.

  • pytest >= 3.0

    Only needed to run the test suite.

  • distutils-pytest

    Only needed to run the test suite.

  • PyYAML >= 5.1

    Only needed to run the test suite.

Copyright and License

Copyright 2023–2024 Rolf Krahl

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this package except in compliance with the License.

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.