Skip to main content

FabricGate

PyPI Python CI License: MIT

Discover, pull and verify FPGA designs for your board — one command, any runtime.

FabricGate is a package registry for FPGA designs (bitstreams plus the metadata a runtime needs to load them). This repository contains the client side: the fabricgate CLI, the Python SDK, the shared data models, and the public API contracts. The hosted registry lives at https://registry.fabricgate.dev.

Status: alpha (0.1.0). The registry is being seeded with community PYNQ overlays. Interfaces marked stable in docs/specs/ are kept backward compatible; everything else may still change before 1.0.

Install

pip install fabricgate

Python 3.11 or newer. fgate is installed as a short alias of fabricgate.

Three steps to a running design

# 1. Find a design for your board
fabricgate search --platform pynq-z2/pynq adder

# 2. Pull it (bitstream + hwh + manifest, digests verified on download)
fabricgate pull example/adder-demo:1.0.0 --platform pynq-z2/pynq

# 3. Load it with the runtime you already use
python -c "from pynq import Overlay; ol = Overlay('adder-demo/adder.bit')"

example/adder-demo is a placeholder name; run fabricgate search to see what is actually published. The --platform value is <board>/<runtime>; run fabricgate pull --help for the resolution rules, including the generic-<device> fallback.

What the CLI can do

Command Purpose
search, info, diff, stats, watch discover designs and track updates
pull, verify, list download with digest verification, re-verify, inspect the local cache
build, push, yank, deprecate publish your own designs (build generates the Platform Manifest and Design Index from a build directory)
login, token, quota, webhook, license-check account, automation and policy helpers

fabricgate --json gives machine-readable output for every command.

Supported boards and runtimes

The bundled Board DB (src/fabricgate/data/board-db/official.yaml) currently knows these boards:

Board Device Runtime
pynq-z2 xc7z020 pynq
zcu104 xczu7ev pynq, linux-fpgamgr
pico-ice iCE40UP5K nanopynq (Phase 3, forward reference)
generic-xc7z020, generic-xczu7ev — device-level fallback for boards not yet listed

Adding a board is a data change; see CONTRIBUTING.md.

SDK

from fabricgate.sdk import api

result = api.pull("example/adder-demo:1.0.0", platform="pynq-z2/pynq")
print(result.artifacts)

The SDK wraps the same client the CLI uses. See docs/specs/client-behavior.md for the resolution and caching rules.

Public contracts

docs/contracts/ is the source of truth for the registry's public API:

  • openapi.yaml / openapi.json — Registry HTTP API
  • schemas/design-index.schema.json, schemas/platform-manifest.schema.json, schemas/board-db.schema.json — wire formats
  • CHANGELOG.md — contract changes and migration notes

Specifications for the CLI, client behaviour and data formats are in docs/specs/.

Self-hosting and the registry implementation

The registry server is operated as a hosted service and its implementation is not published at this stage (see docs/specs/ for the distribution policy summary in client-behavior.md). Everything a client needs to interoperate — API, schemas, error formats — is in this repository, so alternative implementations are possible.

Contributing, security, license

Verifying what you install

Every release is published from this repository via PyPI Trusted Publishing and carries a GitHub build-provenance attestation:

pip download --no-deps fabricgate==0.1.0
gh attestation verify fabricgate-0.1.0-py3-none-any.whl --repo harurun78/fabricgate

Release files for fabricgate 0.1.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 fabricgate 0.1.1
File Size Uploaded
fabricgate-0.1.1.tar.gz 317.4 kB Details

Built distribution (wheel)

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

Total release size: 408.2 kB

Release files / fabricgate-0.1.1.tar.gz

Download URL fabricgate-0.1.1.tar.gz
Size 317.4 kB
Tags Source
SHA-256 checksum
How to use checksums
0b6513b2496d87b92d10caaf38751663705708909a133c59302162a3b19aa69a
BLAKE2b-256 checksum
How to use checksums
17050c77f1a31ce4a81672d9af8f3ef36333dc5d4f6a0feae4ddd6c9ab013fcb
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 15, 2026.

Transparency log

Release files / fabricgate-0.1.1-py3-none-any.whl

Download URL fabricgate-0.1.1-py3-none-any.whl
Size 90.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
07395a62498fa34e866af8c1013267a4a14086ab165dff6b4af40043e7f1cddb
BLAKE2b-256 checksum
How to use checksums
0c1cad7731e6004c5d25e3de291184847294119e4df1893002f696074e22fae7
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 15, 2026.

Transparency log

Release history Release notifications | RSS feed

0.1.3

2 release files

0.1.2

2 release files

This release

0.1.1 This release

2 release files

0.1.0

2 release files

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