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

Uploaded Python 3

File details

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

File metadata

  • Download URL: aind_metadata_utils-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 9ca910acf6a3b07dc664820eb53048fab76739c12dc8c25108f2a399bd380f57
MD5 7c4792bee75b0e1b8fb7c50e7165ed7f
BLAKE2b-256 e1249201a70ab24fbc68767e2a63ab2216b1efcc07b893c36a91339ffab4dfe7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aind_metadata_utils-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c554cb61023475bf00e02b0aa6f5c70bbb12c787c1b47d366cd8cea97fc301c3
MD5 dc64e7aa52cb7964d7c2029f83a4a2e7
BLAKE2b-256 14ed6383c525d77b7231184145f38d8fc6ca2e90c073f98e5fe9a30398ea4346

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