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.2.tar.gz
(528.4 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.2.tar.gz.
File metadata
- Download URL: aind_metadata_upgrader-0.2.2.tar.gz
- Upload date:
- Size: 528.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
59ac027f889fe2c8c4cb129be371c98747c1691242ae9486458fe7ebf9f72779
|
|
| MD5 |
038a89186f4d14ff3cc0616537e67d4d
|
|
| BLAKE2b-256 |
737c7a6ff4ba7319c9fc917a265c56e82267a9a55115b57d4c77288307870ca7
|
File details
Details for the file aind_metadata_upgrader-0.2.2-py3-none-any.whl.
File metadata
- Download URL: aind_metadata_upgrader-0.2.2-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 |
1d8bf9904e40baf3b2cc890b6a0bcec5305afe896a2e328a49c0096eb841f7a0
|
|
| MD5 |
268713c3c8a65dbc83f5cb8f1a5aa78e
|
|
| BLAKE2b-256 |
37b043fa52b509b4793dc0a279a0065adebca1aada6b296c6b637b6bcf268dad
|