Skip to main content

pymetadata are python utilities for working with metadata.

Project description

pymetadata logo

pymetadata: python utilities for metadata and COMBINE archives

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

pymetadata is a collection of python utilities for working with metadata in the context of COMBINE standards with source code available from https://github.com/matthiaskoenig/pymetadata.

Features include among others

  • COMBINE archive version 1 support (OMEX)

  • annotation classes and helpers

  • SBO and KISAO ontology enums

If you have any questions or issues please open an issue.

Documentation

Documentation is still work in progress. For an example usage of the COMBINE archive see src/pymetadata/examples/omex_example.py.

How to cite

Zenodo DOI

Contributing

Contributions are always welcome! Please read the contributing guidelines to get started.

License

The pymetadata 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.

Funding

Matthias König (MK) was supported by the Federal Ministry of Education and Research (BMBF, Germany) within the research network Systems Medicine of the Liver (LiSyM, grant number 031L0054). MK is supported by the Federal Ministry of Education and Research (BMBF, Germany) within ATLAS by grant number 031L0304B and by the German Research Foundation (DFG) within the Research Unit Program FOR 5151 QuaLiPerF (Quantifying Liver Perfusion-Function Relationship in Complex Resection - A Systems Medicine Approach) by grant number 436883643 and by grant number 465194077 (Priority Programme SPP 2311, Subproject SimLivA).

Installation

pymetadata is available from pypi and can be installed via:

pip install pymetadata

Develop version

The latest develop version can be installed via:

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

Or via cloning the repository and installing via:

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

To install for development use:

pip install -e .[development]

Cache path

pymetadata caches some information for faster retrieval. The cache path is set to:

CACHE_PATH: Path = Path.home() / ".cache" / "pymetadata"

To use a custom cache path use:

import pymetadata
pymetadata.CACHE_PATH = <cache_path>

© 2021-2024 Matthias König

Project details


Download files

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

Source Distribution

pymetadata-0.4.4.tar.gz (183.4 kB view details)

Uploaded Source

Built Distribution

pymetadata-0.4.4-py2.py3-none-any.whl (186.9 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file pymetadata-0.4.4.tar.gz.

File metadata

  • Download URL: pymetadata-0.4.4.tar.gz
  • Upload date:
  • Size: 183.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.4

File hashes

Hashes for pymetadata-0.4.4.tar.gz
Algorithm Hash digest
SHA256 a6e264d74b1b6c4b3e9d354429819ab8fa2e3c6349e923ef5d17ccec1ea2524a
MD5 71ccd6963aec93afd4aa4b82703a7208
BLAKE2b-256 8e56977f4900ff85b342519278fd1dee6bf8fd4841b552190cfa5f6d549ef493

See more details on using hashes here.

File details

Details for the file pymetadata-0.4.4-py2.py3-none-any.whl.

File metadata

  • Download URL: pymetadata-0.4.4-py2.py3-none-any.whl
  • Upload date:
  • Size: 186.9 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.4

File hashes

Hashes for pymetadata-0.4.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 ec72ff1eed0255c09e754e042aaa514fcba7dbfc877e4a6fc88fb3e63466c3e0
MD5 acf5b2d2c547c9c2eecc1c2069bb4679
BLAKE2b-256 2b54be04bba7a1aa6f89eafb04d3ae4d245ea1e14ca72ddacbd2f1a23dd84a29

See more details on using hashes here.

Supported by

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