Skip to main content

Generated from aind-library-template

Project description

ZOMBIE Squirrel

License Code Style semantic-release: angular Interrogate Coverage Python

Logo (image from ChatGPT)

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

zombie_squirrel-0.10.6.tar.gz (18.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

zombie_squirrel-0.10.6-py3-none-any.whl (17.6 kB view details)

Uploaded Python 3

File details

Details for the file zombie_squirrel-0.10.6.tar.gz.

File metadata

  • Download URL: zombie_squirrel-0.10.6.tar.gz
  • Upload date:
  • Size: 18.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for zombie_squirrel-0.10.6.tar.gz
Algorithm Hash digest
SHA256 2c447f17d5e79d062ae24e14efd167fa7f6961367fdd517f48792a26af0b592f
MD5 a44fa465c7e1fb4efbb8495d06ca22f1
BLAKE2b-256 83213a1d310752232626666016f2fe1fc78d85e61b122949a20cd4bf60abb9ea

See more details on using hashes here.

File details

Details for the file zombie_squirrel-0.10.6-py3-none-any.whl.

File metadata

File hashes

Hashes for zombie_squirrel-0.10.6-py3-none-any.whl
Algorithm Hash digest
SHA256 acfd99c1a45a3db4026585102d24fae91a8d2932f649bfe7769d819e992f850b
MD5 7ac0813c8ddb2ef55b144e528426773e
BLAKE2b-256 3e05063b625e2a76de29b5f1e586890c0c2ab4bacb20d2bce5b6055257b7595d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page