Skip to main content

petabunit - Unit annotations in PEtab

GitHub Actions CI/CD Status Current PyPI Version Supported Python Versions GNU Lesser General Public License 3 Zenodo DOI Black mypy

Aim: Provide a means to annotate measurements and observables with units, to facilitate re-use, consistency checks, and automated unit conversion. Proposal: https://docs.google.com/document/d/1shFaFmykaXUxZqCGNFkRoS5WBPgP5yclWQ7bh9St3N0/edit

License

The petabunit source is released under both the GPL and LGPL licenses version 2 or later. You may choose which license you choose to use the software under.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License or the GNU Lesser General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

Installation

petabunit is available from pypi and can be installed via:

pip install petabunit

Develop version

The latest develop version can be installed via:

pip install git+https://github.com/matthiaskoenig/petabunit.git@develop

Or via cloning the repository and installing via:

git clone https://github.com/matthiaskoenig/petabunit.git
cd petabunit
pip install -e .

To install for development use:

pip install -e .[development]

© 2024 Matthias König

Download files

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

Source Distribution

petabunit-0.0.2.tar.gz (7.0 kB view details)

Uploaded Source

Built Distribution

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

petabunit-0.0.2-py2.py3-none-any.whl (7.4 kB view details)

Uploaded Python 2Python 3

File details

Details for the file petabunit-0.0.2.tar.gz.

File metadata

  • Download URL: petabunit-0.0.2.tar.gz
  • Upload date:
  • Size: 7.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for petabunit-0.0.2.tar.gz
Algorithm Hash digest
SHA256 649cc8bc6207a952f11e84be65be53450e98a6218c7a5694f2eb3ea48f2f80d1
MD5 b45a78c1a1f77b1c977579552fe87fe6
BLAKE2b-256 55c8bb585e0c71fed060f8e3683efff3a0a51aaac2b18c5d07e70325b74604c9

See more details on using hashes here.

File details

Details for the file petabunit-0.0.2-py2.py3-none-any.whl.

File metadata

  • Download URL: petabunit-0.0.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 7.4 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for petabunit-0.0.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 7eaddbe0cc42e4cb62007277d9633b850f5090f6815f11d285049f5bd1ccc7f3
MD5 a7404fb8f316a3014e8e29a30964d869
BLAKE2b-256 631d48c4dcd7446b2b0e92274db0e47a23dac060f90127b01ed19187e14c13f5

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 files

Supported by

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