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.2

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.2.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.2-py3-none-any.whl (75.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: aind_metadata_upgrader-0.3.2.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.2.tar.gz
Algorithm Hash digest
SHA256 c4c71480cd6d12001bd26cd54ea43e2f28bc842d690bef11aa54362659cf75fa
MD5 3b288c5d9ce022b5906e9df23283ae27
BLAKE2b-256 cd2d6be9243dee6dc9218d2007469a7153e0a9a485f44fed3e9fc881918cc186

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aind_metadata_upgrader-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f1524268e6ca8ba641a281088fbd8b4736d463a3689bcc4aefa7c0f482c7cf05
MD5 59c20e6150599c44d655c1bd9b356ede
BLAKE2b-256 cc90b35081a71d5de16732df381539e8281b7d1ce9e9a6f5bbccaf7e5bad47fa

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