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.1.tar.gz (3.7 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.1-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: aind_metadata_utils-0.1.1.tar.gz
  • Upload date:
  • Size: 3.7 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.1.tar.gz
Algorithm Hash digest
SHA256 e2e8509baa067ffe26bbeeb34d87531879a4a555144da6417ecb6004e6fdc4f7
MD5 8c48fe8fb6a2cdaf92092dc49cf02fa9
BLAKE2b-256 51f81e97efb7471bc8e6622f706cdc59ecd37686a2084a56dc96b91e11e0fd2e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aind_metadata_utils-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 859f75cc98f9fa8336513266d8bdaffa8ef7b4e765d2a768a24073aab8c18163
MD5 3dbf47829bb6b35211b946941b9f3405
BLAKE2b-256 d06f023fdfd02bc6563613b79a892817ab3485c11783d803a2b97f68efc8b4a7

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