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.3.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.3-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: aind_metadata_utils-0.1.3.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.3.tar.gz
Algorithm Hash digest
SHA256 ae04a482f53d79e047a6aaebe8cedbe7b0d8954f02112804a60fef0a109ec3aa
MD5 edd7c0c485dcfae2fe94bd9c8ab29a8a
BLAKE2b-256 1e559df85c58557a520bef9f502d7b19012d98f384db017e264be3b50b85d3d7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aind_metadata_utils-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 601cc13168e0db6547a4b46df5858b32092b172b92d6e021c4d71acd736f46b7
MD5 89b257c82656f92c805b9beb10de4b27
BLAKE2b-256 379657d8fa9391b7826b564709eae5fbc861a25c020066131d73483b68cd94dc

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