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

Uploaded Python 3

File details

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

File metadata

  • Download URL: aind_metadata_utils-0.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 598e9124e4458e1f426b7f52e8c5f8d54b0bad1d2861e4889be8e856d3334294
MD5 4a056d6ceb1ce912880044e925147758
BLAKE2b-256 e254e1c89283e7b0a474e99927ba8923f7811c8f81f6614923761fdce925c5a9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aind_metadata_utils-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2c74658715767d4322fda995c73568c0357179683b89bc6726b3f8d8871f9078
MD5 6415a33333655c22e74d826ff4ff1f24
BLAKE2b-256 03e84fa05891669454097765e53e3a8852d1b51dccb489eac8e093bc1e19e3b4

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