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

This version

0.6.5

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.6.5.tar.gz (5.1 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.6.5-py3-none-any.whl (77.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for aind_metadata_upgrader-0.6.5.tar.gz
Algorithm Hash digest
SHA256 213fa4c83b74db78b12494585a2df7e7e6aa9eb898be1943385cda0731e65023
MD5 469133025bccc4b1ca9ef175e9abae1f
BLAKE2b-256 ac8a2ee87f0aab5266f3b48fc671d75f9187f6c687a907eb5dde6626e2052b52

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aind_metadata_upgrader-0.6.5-py3-none-any.whl
Algorithm Hash digest
SHA256 70ffa58709a84dcb72cc5cd7da5712162bfcd891c0f37b0833cf84d9605aa7cc
MD5 658c738ea1f18e1049e405a8022215b5
BLAKE2b-256 55346b32d8543a24989f148b75ef3b81b88e6f0f02cf83ab044bb6710cfef5eb

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