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

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()

I want to develop new upgraders

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

I want to run the upgrader in sync mode, i.e. to upgrade all assets to DocDB

from aind_metadata_upgrader.sync import run
run()

Project details


Release history Release notifications | RSS feed

This version

0.3.3

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.3.3.tar.gz (4.9 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.3.3-py3-none-any.whl (74.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: aind_metadata_upgrader-0.3.3.tar.gz
  • Upload date:
  • Size: 4.9 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.3.3.tar.gz
Algorithm Hash digest
SHA256 3aa3c7340988095c1b9baeec55232f17a2eba3d8226df6e80eab664bbf01ee8e
MD5 380a87fcd5bac07e6c7a436fb3f7c7b5
BLAKE2b-256 99a9dbdbf47a80a2fcc1897d027ff84f932c4be343c52982f5a5ae8d58e9d87c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aind_metadata_upgrader-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a29fe8d14ed0425d51e7d7ab8dfd60d0250c8408ccb5f096f931d1b7c91aa389
MD5 91aed14d3a0a115166ae38f3e6dff944
BLAKE2b-256 b8ffb4e41474708f1b647b8d7e346056433fe365fdf69a738d67f4812d24b1aa

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