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.2.1.tar.gz
(528.3 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.2.1.tar.gz.
File metadata
- Download URL: aind_metadata_upgrader-0.2.1.tar.gz
- Upload date:
- Size: 528.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8a4a8d5f5c2b8e00598191d211ae91879e9fe9c9c32425e3d99503657bbd543d
|
|
| MD5 |
2d6de7b66dc19ce40e324c7960797f37
|
|
| BLAKE2b-256 |
dcefa019407340a7c93cac458a1587f9ef1f19ffdbb45579ed2b11fc72f5e34e
|
File details
Details for the file aind_metadata_upgrader-0.2.1-py3-none-any.whl.
File metadata
- Download URL: aind_metadata_upgrader-0.2.1-py3-none-any.whl
- Upload date:
- Size: 74.6 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 |
3a3201a3c9208cba8c2fdccaeb4d87a4508f36cd1bb9b02e6a8b1c7fe9f5d805
|
|
| MD5 |
72c0fb14153af0833d5439d1eb009a09
|
|
| BLAKE2b-256 |
05e8aa73e8324a8839fe52e393d8348c5e9156e828a79ff278cad7c612d8a57c
|