bfabric
Python client for the B-Fabric API — the system that runs the Functional Genomics Center Zurich (FGCZ), covering project and service management, data production, annotation, search and analysis workflows.
- A general client for all B-Fabric web service operations (CRUD) and configuration management.
- A relational API for low-boilerplate read access to B-Fabric entities.
Installation
pip install bfabric
One extra is available: bfabric[transfer] adds
resource download and upload.
Usage
Credentials are read from ~/.bfabricpy.yml:
from bfabric import Bfabric
client = Bfabric.connect()
results = client.read(endpoint="workunit", obj={}, max_results=5)
for workunit in results:
print(workunit["id"], workunit.get("status"))
See the getting started guide for configuring the client, and the user guides for the relational entity API, caching and error handling.
Links
This package is part of the bfabricPy monorepo, which also publishes bfabric-scripts (command line tools) and bfabric-app-runner (application workflows).
How to cite
Panse, Christian, Trachsel, Christian and Türker, Can. "Bridging data management platforms and visualization tools to enable ad-hoc and smart analytics in life sciences" Journal of Integrative Bioinformatics, 2022, pp. 20220031. doi: 10.1515/jib-2022-0031.
Metadata
Release files for bfabric 1.24.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 | |
|---|---|---|---|
| bfabric-1.24.0.tar.gz | 207.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| bfabric-1.24.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 388.0 kB
Release files / bfabric-1.24.0.tar.gz
| Download URL | bfabric-1.24.0.tar.gz |
|---|---|
| Size | 207.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
415450fcf023ab36fd8ded06e1e02dd49d984b789ba00729d6d256d0960645e4
|
|
BLAKE2b-256 checksum How to use checksums |
f3694c65fbe0fcd8c645517ee6591421c67523e909cc9aebbf9c612266c9e5f7
|
| 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 Oct 5, 2026.
Transparency logRelease files / bfabric-1.24.0-py3-none-any.whl
| Download URL | bfabric-1.24.0-py3-none-any.whl |
|---|---|
| Size | 180.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
37c85b6c9a6422feaa62e06ea62869687adc6da083e375dc2ac932333ec37c38
|
|
BLAKE2b-256 checksum How to use checksums |
2bb973eedd02eacc90d6d499fdc219c6b0f8ed524d6f5006625521622ece9e54
|
| 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 Oct 5, 2026.
Transparency log