Skip to main content

A metadata framework package for the Data Tier Data Manager service. The im-data-manager-metadata package is a set of utilities employed by the Informatics Matters Data-Manager service as a metadata framework for molecular datasets.

Data Manager Metadata Classes

Dependencies

  • PyYAML>=6.0.1,<7.0

Running the Unit Tests

>>> python -m venv venv
>>> source venv/bin/activate
>>> pip install --upgrade pip
>>> pip install -r package-requirements.txt
>>> python -m unittest test.test_metadata
>>> python -m unittest test.test_api

Running the Command Line Interface md-manage.py

The data manager metadata command line interface can be used by applications to add annotations to the Metadata by means of an annotations.json files that can be uploaded.

  • help functions. Note that the annotation_type (lb, fd or se) is required.

>>> python md_manage.py -h
>>> python md_manage.py lb -h
>>> python md_manage.py fd -h
>>> python md_manage.py se -h
  • Creates a label annotation in an annotations.json file placed in test/output. Note that the label is required. Running the command again will create a second annotation in the same file (i.e. a list of two).

>>> python md_manage.py lb test/output/results.sdf 'foo' -lv='bar'
  • Creates a FieldsDescriptorAnnotation in an annotations.json file placed in test/output. If the annotations.json file exists it will add it to the list of annotations in the file.

>>> python md_manage.py fd test/output/results.sdf -fo='squonk2-job'
                        -fp='minimizedAffinity,number,Binding affinity
                        predicted by smina using the vinardo scoring function,true,true'
                        -fd='Run smina docking'
  • Creates a service execution annotation in an annotations.json file placed in test/output.

>>> python md_manage.py se test/output/results.sdf -su=bob -sys='run-smina'
                       -sy='test/input/virtual-screening.yaml'
                       -sp param1=val1 param2=val2 -fo='squonk2-job'
                       -fp='minimizedAffinity,number,Binding affinity predicted,true,true'
                       -fd='Run smina docking'

Contributing

The project uses: -

  • pre-commit to enforce linting of files prior to committing them to the upstream repository

  • Commitizen to enforce a [Convention Commit] commit message format

  • Black as a code formatter

You MUST comply with these choices in order to contribute to the project.

To get started review the pre-commit utility and the conventional commit style and then set-up your local clone by following the Installation and Quick Start sections: -

>>> pip install -r package-requirements.txt
>>> pre-commit install -t commit-msg -t pre-commit

Now the project’s rules will run on every commit, and you can check the current health of your clone with: -

>>> pre-commit run --all-files

Metadata

Release files for im-data-manager-metadata 3.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for im-data-manager-metadata 3.0.0
File Interpreter ABI Platform Actions
im_data_manager_metadata-3.0.0-py3-none-any.whl Python 3 none any Details for im_data_manager_metadata-3.0.0-py3-none-any.whl

Release files / im_data_manager_metadata-3.0.0-py3-none-any.whl

Download URL im_data_manager_metadata-3.0.0-py3-none-any.whl
Size 18.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d8fe5128c83d0b2198c6ce5dfa57e70298f53e46f68f0ba25d3b3b1ac06a589f
BLAKE2b-256 checksum
How to use checksums
41963270f80de8784dfbfde017f3ad21adfe4de247386c1219a8cb867b2c0c12
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.8

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 28, 2025.

Transparency log

Security for im-data-manager-metadata 3.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

1 file in this release has been uploaded with provenance metadata.

Attestation for im_data_manager_metadata-3.0.0-py3-none-any.whl

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 28, 2025.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

3.0.0 This release

1 release file Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page