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

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.0.29.tar.gz (520.5 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_upgrader-0.0.29-py3-none-any.whl (74.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: aind_metadata_upgrader-0.0.29.tar.gz
  • Upload date:
  • Size: 520.5 kB
  • 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.0.29.tar.gz
Algorithm Hash digest
SHA256 2d621fdd33faee45d5aaf2e6e1d46772b69426906a3f7e736472a025ad2f51d6
MD5 b34011ec3905c5501c264939a22dc8a2
BLAKE2b-256 dfb99823b4b913c07b1ac8d986384b26fd8219ed7c6e402889e29515d852749a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aind_metadata_upgrader-0.0.29-py3-none-any.whl
Algorithm Hash digest
SHA256 752e7b9bf534f1727b3bf3d20230855a70fd68fd15ed5d6be948b9c740cb1a84
MD5 3d66511904f12771bb6dbbded4a0bc93
BLAKE2b-256 76b2f4ec53b5565f28ffa159019c45cea11c0b8b16af97ffe80a1a07b5efe8c8

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