Skip to main content

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.

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.17.6.tar.gz (1.3 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.17.6-py3-none-any.whl (100.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for aind_metadata_upgrader-0.17.6.tar.gz
Algorithm Hash digest
SHA256 c35d6f09738c4af04965ab0b9ca427149e1845f379fc331772f5384c955f6f1b
MD5 9df03b0c845d7a4d855b6075b3ddf052
BLAKE2b-256 ba5a781de18737212a1e6d438107addcbf0bfb868674cc12cf4c4ae7cc70d378

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aind_metadata_upgrader-0.17.6-py3-none-any.whl
Algorithm Hash digest
SHA256 d6d400155bde6d4f223544000d39cd69c2b15a147714e2691675582eb972b70e
MD5 ea45728ff950f83bc815c86e03754089
BLAKE2b-256 39667df9e0cd217375ee7ec871d44c17af6721f7038c7a3c223883bad09baaf6

See more details on using hashes here.

Release history Release notifications | RSS feed

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page