Bitswan: A tool for building Pipelines & Automations in Jupyter
You can find example pipelines in the examples directory.
Installation
This library is part of the bitswan suite which is managed by the bitswan workspace cli. You must first install the bitswan workspaces cli before installing and using the bitswan notebooks cli.
$ git clone git@github.com:bitswan-space/BitSwan.git
$ cd BitSwan
$ curl -LsSf https://astral.sh/uv/install.sh | sh
$ uv venv
$ source .venv/bin/activate
$ uv pip install -e ".[dev]"
Running pipelines
You can run a pipeline with a simple command:
$ bitswan notebook examples/WebForms/main.ipynb
When developing web endpoints it can be helpful to instruct the pipeline to automatically restart if the source code changes.
$ bitswan notebook examples/WebForms/main.ipynb --watch
Running Tests
You can find examples for automatically testing pipelines in the testing examples directory.
Run tests with the --test flag.
$ bitswan notebook examples/Testing/InspectError/main.ipynb --test
Running tests for pipeline Kafka2KafkaPipeline.
┌ Testing event: b'foo'
└ Outputs: [b'FOO'] ✔
All tests passed for Kafka2KafkaPipeline.
Running tests for pipeline auto_pipeline_1.
┌ Testing event: b'{"foo":"aaa"}'
└ Outputs: [b'{"foo": "A A A"}'] ✔
┌ Testing event: b'{"foo":"aab"}'
│ Probing after-upper.
└ Outputs: [b'{"foo": "B A A"}'] ✔
┌ Testing event: b'{"foo":"cab"}'
└ Outputs: [b'{"foo": "B A C"}'] ✘
You can combine --test with --watch to automatically rerun tests whenever the source files change.
Licence
Bitswan is open-source software, available under BSD 3-Clause License.
Metadata
Release files for bitswan 2026.4.13.50
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 |
|---|---|---|---|---|
| bitswan-2026.4.13.50.tar.gz | 315.2 kB | Without provenance | Details for bitswan-2026.4.13.50.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| bitswan-2026.4.13.50-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for bitswan-2026.4.13.50-py2.py3-none-any.whl |
Total release size: 768.6 kB
Release files / bitswan-2026.4.13.50.tar.gz
| Download URL | bitswan-2026.4.13.50.tar.gz |
|---|---|
| Size | 315.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a7f8ad2a032e5278a4f79405404ed6c407e1f412087086e3435fb429c957af18
|
|
BLAKE2b-256 checksum How to use checksums |
fccf7378fdf83273beb0f00f78e0c675f4f592cb596a673a7ea67116469600fe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.25
|
Release files / bitswan-2026.4.13.50-py2.py3-none-any.whl
| Download URL | bitswan-2026.4.13.50-py2.py3-none-any.whl |
|---|---|
| Size | 453.4 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
d68a3464517eb82c59962bc81fdb5f06bc373cb622c45bf055dc4dcb9caaecce
|
|
BLAKE2b-256 checksum How to use checksums |
d9477b4371956bdb83b301438c3bec9dcf3cde6dbb042d8a2c2b99d473079de3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.25
|
Security for bitswan 2026.4.13.50
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.