semvec/pypi-packages huggingface dataset:
nspektr 0.5.1
package inspector
Requires Python: >=3.8

.. image:: https://img.shields.io/pypi/v/nspektr.svg
   :target: https://pypi.org/project/nspektr

.. image:: https://img.shields.io/pypi/pyversions/nspektr.svg

.. image:: https://github.com/jaraco/nspektr/actions/workflows/main.yml/badge.svg
   :target: https://github.com/jaraco/nspektr/actions?query=workflow%3A%22tests%22
   :alt: tests

.. image:: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v2.json
    :target: https://github.com/astral-sh/ruff
    :alt: Ruff

.. image:: https://readthedocs.org/projects/nspektr/badge/?version=latest
   :target: https://nspektr.readthedocs.io/en/latest/?badge=latest

.. image:: https://img.shields.io/badge/skeleton-2024-informational
   :target: https://blog.jaraco.com/skeleton


nspektr is a distribution package dependency inspector.

It combines functionality from ``importlib.metadata`` and ``packaging``
to provide routines to resolve and validate dependencies for a package
or entry point.

Highlights:

- ``resolve`` takes a requirement and returns a distribution satisfying
  that requirement (disregarding dependencies).
- ``find_dependencies`` takes a metadata.Distribution and generates all
  dependencies transitively as installed in the environment, avoiding
  loops.
- ``missing`` takes an entry point and identifies all unsatisfied
  dependencies for that entry point.
remla24-team8-lib-version 1.0.0
A version-aware library that can can be asked for the version of the library
Requires Python: <4.0,>=3.12

# lib-version

A version-aware library that can can be asked for the version of the library. This can be useful, for example, for verbose system information in log messages or data records. The library may also contain other logic.

• Create a VersionUtil class that can be asked for its version.
(Try to parse meta-data that is included in the package or explicitly store the version in a separate file.)

• The library is versioned automatically, e.g., by picking-up on the corresponding Git version tag.

• A workflow is used to automatically release the library in a package registry that matches the language.(As stated before, this includes either supported package registries on GitHub or repository tags in languages that support it.)

## Installation
The package is avaiable on pypi and can be installed directly using:

```shell
pip install remla24-team8-lib-version
```

## Usage

To get the current version include the following lines:

```python
from remla24_team8_lib_version import versioning

print(versioning.VersionUtil().version)
```
or from command-line

```bash
python3 -m remla24_team8_lib_version
```