Skip to main content

Generated from aind-library-template

Project description

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.

Project details


Release history Release notifications | RSS feed

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.13.10.tar.gz (1.2 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.13.10-py3-none-any.whl (89.2 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for aind_metadata_upgrader-0.13.10.tar.gz
Algorithm Hash digest
SHA256 10b3178744f0df5fcc6d0eaa8825ba3e79610d4ad4c947c1f08ccfde1c81323d
MD5 b241b1623c307b04178e45d8ea137bcf
BLAKE2b-256 c21fd16590da9a0d6897e0742477e3ec39abdce79ea534efe22f9f08550d4f98

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aind_metadata_upgrader-0.13.10-py3-none-any.whl
Algorithm Hash digest
SHA256 0bb15363b2ae09905a54da4bb7a734b12d4f94269e7dbf0a0ab83ba948984c8f
MD5 fcacdf8417fe4f44c9bd7828ecd221c2
BLAKE2b-256 96f26c1f811c5f3f4cb84d93de64a381ec6d889d2a67aa7c6180898cfd7e9dc8

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