Skip to content
This repository has been archived by the owner on May 12, 2023. It is now read-only.

Latest commit

 

History

History
62 lines (38 loc) · 1.29 KB

README.md

File metadata and controls

62 lines (38 loc) · 1.29 KB

odimh5

This package is no longer maintained. Its functionality is entirely included in vptstools.

PyPI version .github/workflows/run-tests.yaml Code style: black

A simple Python package to access data in ODIM HDF5 format.

Limitations:

  • (currently) read-only
  • Python 3.7+

Tutorial

Install from PyPI

$ pip install odimh5

Development instructions

Install the local package

$ pip install -e .

Install dev dependencies

$ pip install -r requirements.txt

Run tests

$ pytest
$ mypy odimh5

Format code

$ black .

Generate and upload a new version

  1. Update version number in setup.py
  2. Make sure everything is commited
  3. Build the package:
$ python3 -m build
  1. Upload it to PyPI:
$ python3 -m twine upload dist/*
  1. Tag it:
$ git tag v0.1.0
$ git push origin --tags