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.14.1.tar.gz (22.5 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.14.1-py3-none-any.whl (21.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: zombie_squirrel-0.14.1.tar.gz
  • Upload date:
  • Size: 22.5 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.14.1.tar.gz
Algorithm Hash digest
SHA256 06a709ff2cb35f747016e430af4298d914606ab0d3abdb2149f1c352ecac0117
MD5 98d74afdca975b9914f75bf85224e640
BLAKE2b-256 07540736ff17dfb5a284e66fae19731ab25335223ca4f4820c496d2c74a341c4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for zombie_squirrel-0.14.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e9335ac839981712e859177984368b497f399e9a8616b6550a6148f04cb2174b
MD5 b1df4c552017a3bc791202b5fe07c29c
BLAKE2b-256 d59bffc613830fa886a5f259c43ba4a72f07c8007343c40dc70a66c865caa56d

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