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

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.9.1.tar.gz (975.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.9.1-py3-none-any.whl (80.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: aind_metadata_upgrader-0.9.1.tar.gz
  • Upload date:
  • Size: 975.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.9.1.tar.gz
Algorithm Hash digest
SHA256 4a1557c0340a49181d727274f6650fb84e23c667ebd72ed19cef6d9362ecc405
MD5 97cca9f6fa9d4f45368f6a8dc0356c0d
BLAKE2b-256 b14546607e74bb2ecce0b9f5b58cb347b5913b1a67f66857a7f05e4515afdd8e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aind_metadata_upgrader-0.9.1-py3-none-any.whl
Algorithm Hash digest
SHA256 574c67ce7b7da25ebb6dca9fc3a3426af4323a0dc9916ac3b3c009e986318a2d
MD5 bb2f8a03f66458dda255efd2e89fc2dc
BLAKE2b-256 69cab556a7579ef6f17b9f6d303871863334a612b497b3b77f28ede1687671f6

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