Skip to main content

blinkered

Work on one node of a repository while the working tree shows only its dependency closure.

Each node is a directory with a blinkered.toml manifest declaring free-form tags and edges to other nodes. blinkered workspace <node> narrows the working tree, through git's cone-mode sparse checkout, to that node and everything it depends on. The graph can grow arbitrarily large and deep while each piece of work stays small.

Requirements

Python 3.11 or later and git 2.35 or later. Tested with git 2.50.

Usage

# blinkered.toml at the repository root: configuration
always = ["lib"]

[plugins]
python_imports = true
# src/nodes/report/blinkered.toml: a node
tags = ["transform"]

[edges]
reads = ["selection"]
joins = ["lookup"]
blinkered check               # validate manifests, graph and layout
blinkered closure report      # report and its transitive dependencies
blinkered workspace report    # narrow the working tree to that closure
blinkered status              # compare the view with the closure after pulls or edits
blinkered workspace           # resync the stored focus
blinkered workspace --all     # restore the full working tree

See SPEC.md for the model, layout rules and full behaviour.

Scope

blinkered manages what the working tree shows. It does not run tests, install git hooks, use worktrees, cache data or execute nodes.

Caveats

  • workspace --force deletes ignored files inside nodes leaving the view; git removes them and they cannot be recovered. Without --force, blinkered refuses and lists them.
  • Merge conflicts in files outside the view appear on disk; resolve them with git add --sparse, commit, then blinkered workspace.
  • Package __init__.py files must not import sibling nodes, or every import fails in a partial tree.
  • Nodes cannot nest, and directories that group nodes may only hold a README.md by default (grouping_allow); other files there would be visible in every view.

Development

pip install -e '.[dev]'
pytest -q

Metadata

Release files for blinkered 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for blinkered 0.0.1
File Size Uploaded Provenance Actions
blinkered-0.0.1.tar.gz 16.5 kB With provenance Details for blinkered-0.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for blinkered 0.0.1
File Interpreter ABI Platform Actions
blinkered-0.0.1-py3-none-any.whl Python 3 none any Details for blinkered-0.0.1-py3-none-any.whl

Total release size: 30.1 kB

Release files / blinkered-0.0.1.tar.gz

Download URL blinkered-0.0.1.tar.gz
Size 16.5 kB
Tags Source
SHA-256 checksum
How to use checksums
7b76791594f838abddb37cdae2034a7bbd19c04ce242f49e4a4ecd20470a63c1
BLAKE2b-256 checksum
How to use checksums
bd3704908384208f8fb3e1fd2504b54b338590fd61c445f68f77b2ac39120a9f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 26, 2026.

Transparency log

Release files / blinkered-0.0.1-py3-none-any.whl

Download URL blinkered-0.0.1-py3-none-any.whl
Size 13.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bce86281bfeeba41c1d42b149a9200e907ba6532c76df87268406d1fbd38c135
BLAKE2b-256 checksum
How to use checksums
5c681c0efa7d629f3ae4fcfc64422e5d61937ebbac645ee4f816de8a2386884e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 26, 2026.

Transparency log

Security for blinkered 0.0.1

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.

Select from 2 files

Attestation for blinkered-0.0.1.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 Sep 26, 2026.

Transparency log

A 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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page