This project has been archived by its maintainers, and is no longer receiving any updates.
flylight-cli
This package has been renamed. Install
flylightnow:pipx install flylight
Agent-friendly local index for Janelia FlyLight Split-GAL4 resources.
Surfaces used:
- CGI site: splitgal4.janelia.org
- Public bucket: janelia-flylight-imagery
- Bucket docs: README.md
Source order:
- release manifest json
- per-line/per-image S3 metadata json
- CGI release summary html
CLI
PyPI with pipx:
pipx install flylight-cli
PyPI with plain pip:
python3 -m pip install flylight-cli
Homebrew:
brew tap gumadeiras/tap
brew install flylight-cli
flylight --version
From source:
python3 -m pip install -e .
Release
Current release: v0.12.2.
Tag pushes like vX.Y.Z run the release workflow: build artifacts, create a
GitHub release, publish to PyPI, and update gumadeiras/homebrew-tap.
Release prerequisites:
- PyPI trusted publishing configured for this repo.
HOMEBREW_TAP_TOKENrepository secret can write togumadeiras/homebrew-tap.
Entry:
flylight --help
python3 janelia_splitgal4.py
Examples:
flylight releases
flylight sync --release 'MB Paper 2014'
flylight sync --all
flylight sync --all --force
flylight sync --all --offline
flylight sync --all --refresh-cache
flylight sync --release 'Descending Neurons 2018' --workers 8
flylight sync-plan --all
flylight sync-plan --release 'MB Paper 2014' --offline
flylight reindex
flylight cache-info
flylight schema --entity line
flylight examples --topic release-diff
flylight snapshot-export --out data/flylight-snapshot.tar.gz
flylight snapshot-import data/flylight-snapshot.tar.gz --force
flylight search --expressed-in DNp04 --ad 31B08 --source-kind line-metadata
flylight search --em-cell-type EPG
flylight search-text 'DNp04 AND 31B08'
flylight search-images --area Brain --objective 20x --robot-id 3007645
flylight search-images --em-cell-type EPG
flylight show-line SS00724 --release 'Descending Neurons 2018'
flylight show-image 6878306
flylight compare-line MB005B
flylight compare-release 'MB Paper 2014' 'MB Paper 2015'
flylight show-release 'MB Paper 2014' --include-lines --genotype 34A03
flylight stats
flylight export-ndjson --entity line --release 'Descending Neurons 2018'
flylight export-ndjson --entity image --term MB005B --out data/mb005b.ndjson
flylight export-ndjson --entity release
flylight export-ndjson --entity compare-line --line MB005B
flylight export-ndjson --entity compare-release --left-release 'MB Paper 2014' --right-release 'MB Paper 2015'
Notes
- HTTP fetches are cache-first by default; cached responses are reused until you pass
--refresh-cache. --offlinedisables network access and uses cached HTTP responses only.- cache path:
data/http_cache sync-planis a dry-run: source kind, cache coverage, db coverage, skip vs sync decision.reindexrebuilds derived searchable fields from stored raw image payloads; use it after schema upgrades on an existing db.snapshot-exportbundles sqlite + raw manifests + HTTP cache for portable offline reuse.snapshot-importrestores that bundle on another machine or working copy.schemashows agent-facing row shapes and producer commands.examplesshows canned command recipes for common agent workflows.sync --allis incremental by default; unchanged releases skip.cache-infoalso reports cache suffix counts and oldest/newest cached timestamps.- missing release manifest: fallback walks line dirs + metadata jsons.
- CGI summary enriches line-level fields like expressed-in, genotype, AD, DBD.
- line/image exports include normalized arrays alongside text fields.
- line/image records now include normalized
em_cell_typesderived from rawem_cell_typemetadata when present. searchsupports field filters over line metadata: AD, DBD, genotype, expressed-in, robot-id, source-kind.searchandsearch-imagesalso support exact--em-cell-typematching.search-textuses SQLite FTS for faster boolean/full-text matching over line text fields.search-imagessupports field filters over image metadata: area, objective, gender, robot-id, roi.compare-lineshows shared fields for the same line across synced releases.compare-releasesummarizes added, removed, changed, and unchanged lines between two synced releases.export-ndjsonalso supportscompare-lineandcompare-releaseentities for agent ingest.- local db path:
data/janelia_splitgal4.sqlite - raw manifest cache:
data/raw_manifests/*.json
Metadata
Release files for flylight-cli 0.12.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| flylight_cli-0.12.3.tar.gz | 31.7 kB | With provenance | Details for flylight_cli-0.12.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| flylight_cli-0.12.3-py3-none-any.whl | Python 3 | none | any | Details for flylight_cli-0.12.3-py3-none-any.whl |
Total release size: 60.9 kB
Release files / flylight_cli-0.12.3.tar.gz
| Download URL | flylight_cli-0.12.3.tar.gz |
|---|---|
| Size | 31.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
10e33bca6096346f815e05b58255859997d5621014b3d2fa052b6ceab2f36563
|
|
BLAKE2b-256 checksum How to use checksums |
8124587aec9f88b95ad63b363dbf06270623e8e7a95c0f5c93bac151b1374e3c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 15, 2026.
Transparency logRelease files / flylight_cli-0.12.3-py3-none-any.whl
| Download URL | flylight_cli-0.12.3-py3-none-any.whl |
|---|---|
| Size | 29.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5e12644fc560bc9368e88a587d16ed629daf7e5bcbb22e30d9446d44837da16a
|
|
BLAKE2b-256 checksum How to use checksums |
e590dace15505504519cb9277afdaa8a1805e03a0566aff5cb5ee9a222c2d3f8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 15, 2026.
Transparency logSecurity for flylight-cli 0.12.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for flylight_cli-0.12.3.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 15, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.