Skip to main content

Generated from aind-library-template

Project description

aind-metadata-utils

License Code Style semantic-release: angular Interrogate Coverage Python

Usage

pip install aind-metadata-utils

Examples

from aind_metadata_utils.data_assets import name_to_qc_view_link, name_to_metadata_view_link, co_id_to_co_link

# Convert a data asset name to a QC view HTML link
qc_link = name_to_qc_view_link("my-asset-name")
# Returns: '<a href="https://qc.allenneuraldynamics-test.org/view?name=my-asset-name" target="_blank">QC view</a>'

# Convert a data asset name to a Metadata view HTML link
metadata_link = name_to_metadata_view_link("my-asset-name")
# Returns: '<a href="https://metadata.allenneuraldynamics-test.org/view?name=my-asset-name" target="_blank">Metadata view</a>'

# Convert a Code Ocean ID to a Code Ocean HTML link
co_link = co_id_to_co_link("abc123-def456")
# Returns: '<a href="https://codeocean.allenneuraldynamics.org/data-assets/abc123-def456" target="_blank">CO link</a>'

Level of Support

Please indicate a level of support:

  • Supported: We are releasing this code to the public as a tool we expect others to use. Issues are welcomed, and we expect to address them promptly; pull requests will be vetted by our staff before inclusion.

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

aind_metadata_utils-0.1.4.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

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

aind_metadata_utils-0.1.4-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file aind_metadata_utils-0.1.4.tar.gz.

File metadata

  • Download URL: aind_metadata_utils-0.1.4.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for aind_metadata_utils-0.1.4.tar.gz
Algorithm Hash digest
SHA256 0037d324eef878c4f6314f4450aa210514993b5f27fc861a63fac03e93a9d9b1
MD5 6fc5a941b775c267d8a9496ff324e1cc
BLAKE2b-256 43032a12ffe6c1adafb5b9bc6daf30ba0c5c2f8525ec9f909f9503610c3c1599

See more details on using hashes here.

File details

Details for the file aind_metadata_utils-0.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for aind_metadata_utils-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 040d0d80a34f57e559ec9c98f32a0ebef225f4d6a5c92b06da984f2b021f9ad7
MD5 1a8f59b851ce678ecc57f387f504028a
BLAKE2b-256 8e391b8fc9a5a5822d3e13ee3c181eb710d41f43a533cf89ed50426cd01c712f

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