Skip to main content

aind-metadata-upgrader

License Code Style semantic-release: angular Interrogate Coverage Python

I want to run the upgrader...

On my local data

from aind_metadata_upgrader.upgrade import Upgrade

# <Your code here: load your data as a dictionary, e.g. json.load(f)>

upgraded_record = Upgrade(data)
upgraded_record.save()

On a single record in V1 DocDB

from aind_metadata_upgrader.sync import run_one
run_one(record_id="<docdb_id>")

On all records in V1 DocDB

from aind_metadata_upgrader.sync import run
run()

I want to develop new upgraders

Add a new CoreUpgrader class, then include it in the MAPPINGS object.

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_upgrader-0.17.5.tar.gz (1.3 MB view details)

Uploaded Source

Built Distribution

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

aind_metadata_upgrader-0.17.5-py3-none-any.whl (100.0 kB view details)

Uploaded Python 3

File details

Details for the file aind_metadata_upgrader-0.17.5.tar.gz.

File metadata

  • Download URL: aind_metadata_upgrader-0.17.5.tar.gz
  • Upload date:
  • Size: 1.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for aind_metadata_upgrader-0.17.5.tar.gz
Algorithm Hash digest
SHA256 cd1afb7cca007dd4adc2b53a203403759dc469bc703ff7480080d0b5f1f3ddbc
MD5 39d37f715e030511a819daf0674766c9
BLAKE2b-256 7e4a7f50f50d3e5bc8d86f02c57fcaf2405dfb1e8f9e04f580be7c66163c798f

See more details on using hashes here.

File details

Details for the file aind_metadata_upgrader-0.17.5-py3-none-any.whl.

File metadata

File hashes

Hashes for aind_metadata_upgrader-0.17.5-py3-none-any.whl
Algorithm Hash digest
SHA256 2ef3742cedec130e77dce4b65c6d021ecddba56df95fd2c38621374e1fe0d0dc
MD5 b4b2f74c31f2e534358b685dcb534433
BLAKE2b-256 ad0b2b759475c0049f9c517bda39f13181a67e23bec53020520f694ae17d4e79

See more details on using hashes here.

Release history Release notifications | RSS feed

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page