Generated from aind-library-template
Project description
ZOMBIE Squirrel
zombie-squirrel is a set of one-line functions that handle the entire process of caching and retrieving data (and metadata) from AIND data assets.
In the background, the ZOMBIE squirrel repackages data/metadata into dataframes and stores them on S3 in a flat bucket, or in memory for testing.
Installation
pip install zombie-squirrel
Usage
Set backend
export FOREST_TYPE='S3'
Options are 'S3', 'MEMORY'.
Scurry (fetch) data
from zombie_squirrel import unique_project_names
project_names = unique_project_names()
| Function | Description | Parameters |
|---|---|---|
unique_project_names |
Fetch unique project names from docdb | |
unique_subject_ids |
Fetch unique subject IDs from docdb | |
asset_basics |
Fetch basic asset metadata including modalities, projects, and subject info | |
source_data |
Fetch source data references for derived records | |
raw_to_derived |
Fetch mapping of raw records to their derived records | |
qc |
Fetch QC dataframe for a single or multiple records | str or list[str] |
Hide the acorns
from zombie_squirrel.sync import hide_acorns
hide_acorns()
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
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 zombie_squirrel-0.9.2.tar.gz.
File metadata
- Download URL: zombie_squirrel-0.9.2.tar.gz
- Upload date:
- Size: 14.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 |
97db5963a61c560f10751ca0016a17d700dbcd284d43ccb4c263e7f2e5ba1b60
|
|
| MD5 |
5e2b95dd14c751bc50bfc2c11ec52890
|
|
| BLAKE2b-256 |
0cc03ba32a9d2ed1fefa9efb913a66c551798a56e13839831f9b155b679efc2a
|
File details
Details for the file zombie_squirrel-0.9.2-py3-none-any.whl.
File metadata
- Download URL: zombie_squirrel-0.9.2-py3-none-any.whl
- Upload date:
- Size: 15.5 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 |
c72e614814b66bd1bf91212b3198fcfbde4caf95b7099ff3d94c3794dfc90ad1
|
|
| MD5 |
6331d5ab3f0199b57c77f67a4c8403bf
|
|
| BLAKE2b-256 |
5a10327b88fc1162f3d8760a613660abcdbe89b81dbeb7b6f97c38a0ae96bd0f
|