Skip to main content

AVEAS OpenLABEL

Installation and usage

This library can be installed via pip using pip install aveas_openlabel or with poetry using poetry add aveas_openlabel.

For examples and instruction on how to use this library, please clone the repository and generate the documentation. To generate the documentation for this project, install the dependencies with Poetry (see below) and run poetry run pydoctor. Then, open the html page under documentation/index.html.

Development

Poetry

This package uses Poetry, a tool for dependency management and packaging. Please install it via the official installer from here. In the root of the repository, you install all dependencies into a virtual environment using poetry install.

Working with this repository

This repository employs several tools to ensure a constant and good code quality.

Black

Black is a code formatter that we use to assure consistent code style across our projects. Use it in-between, or after your code changes, via poetry run black . in the root directory of this repository. Merge requests will only be merge-able if black has nothing to complain about.

MyPy

Mypy is a static type checker for Python. Is assures type safety throughout our code and is necessary to ensure that our AVEAS OpenLABEL format is consistent with the base ASAM OpenLABEL format. Mypy can be run with poetry run mypy . in the root directory of this repository. Merge requests will only be merge-able if MyPy has nothing to complain about.

Ruff

Ruff is a Python linter and code formatter. It can be run with poetry run ruff . in the root directory of this repository.

Documentation

Please write docstrings for the class itself and each of its class variables. For inspiration of what to write into the docstring, look at the description of the object or field in the official ASAM OpenLABEL spec (link). The docstrings allow the use of reStructuredText (link).

We are using pydoctor to automatically generate documentation from the docstrings in our code. The documentation generation can be run using poetry run pydoctor and is written in the directory documentation/ in the root of this repository.

If administrator privileges required for this operation under MS Windows and poetry is not installed for the administrator account, poetry can be run from Powershell via:

Start-Process poetry -ArgumentList "run pydoctor" -Verb runAs

The documentation is ignored from Git, as it is better to generate it by hand from the latest commit.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aveas_openlabel-0.4.8.tar.gz (30.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aveas_openlabel-0.4.8-py3-none-any.whl (90.7 kB view details)

Uploaded Python 3

File details

Details for the file aveas_openlabel-0.4.8.tar.gz.

File metadata

  • Download URL: aveas_openlabel-0.4.8.tar.gz
  • Upload date:
  • Size: 30.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.8

File hashes

Hashes for aveas_openlabel-0.4.8.tar.gz
Algorithm Hash digest
SHA256 0839ac4c1fb2f583959534d47806bd89629fb73f442b23f4b40449778ae20380
MD5 7934e54091d47f5e341b91786482af27
BLAKE2b-256 1198468ee87baa0f7dc7c576310227ebe4fa643dd5fec1e0e8a4de45a3c5d7c1

See more details on using hashes here.

File details

Details for the file aveas_openlabel-0.4.8-py3-none-any.whl.

File metadata

File hashes

Hashes for aveas_openlabel-0.4.8-py3-none-any.whl
Algorithm Hash digest
SHA256 6a233d938e979482a4e2dcf3945072c8aa4fa34cacd5b55f49545dfb33b308c6
MD5 cefaf50ab317081fe09f52aa68978a6f
BLAKE2b-256 b65410d829caaad3d4f5145057661a53c1310e6c50aab75fd3174e429c183c0a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page