CCF streamlines
This package supports projection of Allen Common Coordinate Framework (CCF) mouse brain volumetric data and coordinate data on to 2D representations. It also enables other operations that make use of the "streamlines" between the top and bottom of the isocortex in the CCF.
Running the tests
The test suite needs no data files and finishes in seconds:
uv sync
uv run pytest
It builds a miniature but structurally faithful atlas into a temporary
directory and constructs the real classes from it, so contributors without
access to Allen Institute storage can run the whole suite. See
docs/decisions/0001-mini-ccf-fixtures.md for why.
A second, opt-in tier runs the same public interfaces against the real assets, to catch the fixtures drifting from the files users actually download. It is skipped unless you point an environment variable at them:
CCF_STREAMLINES_TEST_DATA=/path/to/assets uv run pytest -m real_data
Tests marked xfail are pinned to a known open bug or an open pull request.
They assert the correct behaviour, so the suite stays green while the bug
exists and reports an unexpected pass the moment it is fixed - which is the
signal to remove the marker.
Level of support
This code is an important part of the internal Allen Institute code base and we are actively using and maintaining it. Issues are encouraged, but because this tool is so central to our mission pull requests might not be accepted if they conflict with our existing plans.
Metadata
Release files for ccf-streamlines 1.3.0
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 |
|---|---|---|---|---|
| ccf_streamlines-1.3.0.tar.gz | 23.0 kB | With provenance | Details for ccf_streamlines-1.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ccf_streamlines-1.3.0-py3-none-any.whl | Python 3 | none | any | Details for ccf_streamlines-1.3.0-py3-none-any.whl |
Total release size: 47.9 kB
Release files / ccf_streamlines-1.3.0.tar.gz
| Download URL | ccf_streamlines-1.3.0.tar.gz |
|---|---|
| Size | 23.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
14e68e1db340b7cd5b4f6cebfffd5ee087d2456001e9038117393c66152b81b8
|
|
BLAKE2b-256 checksum How to use checksums |
85b1ea99547e8b0ff95efa4e8c3a38830bdfa6949073fb6700fc975744000649
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Oct 24, 2026.
Transparency logRelease files / ccf_streamlines-1.3.0-py3-none-any.whl
| Download URL | ccf_streamlines-1.3.0-py3-none-any.whl |
|---|---|
| Size | 24.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
34c9a4dfe3bad923fef7579c060d7cfb09aa0bd561e865a7fe00696debed66ab
|
|
BLAKE2b-256 checksum How to use checksums |
77ee43b50a12c1df6afc115e90923d022ecd0d77b34e4caa32915bea47a90d5e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Oct 24, 2026.
Transparency logSecurity for ccf-streamlines 1.3.0
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
All 2 files in this release have been uploaded with provenance metadata.
Attestation for ccf_streamlines-1.3.0.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 Oct 24, 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.