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.1.0.tar.gz
(528.1 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.1.0.tar.gz.
File metadata
- Download URL: aind_metadata_upgrader-0.1.0.tar.gz
- Upload date:
- Size: 528.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5440deddd63e473fe256db02d180c849980f5f8a2ae5d2229f2998b4630146a2
|
|
| MD5 |
3057d383b48a5e9cf01ff998f4332db7
|
|
| BLAKE2b-256 |
107bceef7340975ba37450d9f1983bf7e58b4629597b0b8e5f20a7f95666e38d
|
File details
Details for the file aind_metadata_upgrader-0.1.0-py3-none-any.whl.
File metadata
- Download URL: aind_metadata_upgrader-0.1.0-py3-none-any.whl
- Upload date:
- Size: 74.2 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 |
252a6cbd72605563046a8f45e1269ca96a0401a19983ce5a5ade768bcfe8edd8
|
|
| MD5 |
2e7c0a27a52baa3bb91191f1c25d80aa
|
|
| BLAKE2b-256 |
0c732e1f2e5ce869121ce43fe32370b06218c048506ac4d96f3c3ab43c1e64e8
|