Generated from aind-library-template
Project description
aind-metadata-upgrader
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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2d621fdd33faee45d5aaf2e6e1d46772b69426906a3f7e736472a025ad2f51d6
|
|
| MD5 |
b34011ec3905c5501c264939a22dc8a2
|
|
| BLAKE2b-256 |
dfb99823b4b913c07b1ac8d986384b26fd8219ed7c6e402889e29515d852749a
|
File details
Details for the file aind_metadata_upgrader-0.0.29-py3-none-any.whl.
File metadata
- Download URL: aind_metadata_upgrader-0.0.29-py3-none-any.whl
- Upload date:
- Size: 74.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
752e7b9bf534f1727b3bf3d20230855a70fd68fd15ed5d6be948b9c740cb1a84
|
|
| MD5 |
3d66511904f12771bb6dbbded4a0bc93
|
|
| BLAKE2b-256 |
76b2f4ec53b5565f28ffa159019c45cea11c0b8b16af97ffe80a1a07b5efe8c8
|