FastStream SQL broker
Project description
faststream-sqlbroker
A SQL-backed broker for FastStream.
Origings
Originated as a PR to FastStream.
Development
The test suite reuses upstream FastStream's testing primitives (e.g.
BrokerRealConsumeTestcase), which live in the FastStream repo's tests/
tree rather than the published package. As a temporary measure until a
package shipping those tests is published, we pull them in via a git
submodule at ./faststream/; tests/__init__.py extends tests.__path__
so from tests.brokers.base.consume import ... resolves through the
submodule.
git clone --recurse-submodules <repo-url>
# or, after a plain clone:
git submodule update --init
The runtime __path__ trick is invisible to static analyzers, so
basedpyright flags from tests.brokers... import ... as unresolved. If
that bothers you, symlink the upstream subtree into tests/:
ln -s ../faststream/tests/brokers tests/brokers # opt-in
rm tests/brokers # to undo
To point the submodule at a local FastStream working copy (e.g. when co-developing both repos):
git config submodule.faststream.url ../path/to/faststream
git submodule sync
CI fetches the submodule automatically via submodules: recursive on
actions/checkout.
Docs
Docs live under docs/ mirroring upstream FastStream's layout
(docs/mkdocs.yml, pages at docs/docs/sqla/*.md, code samples at
docs/docs_src/sqla/*.py). The upstream FastStream site pulls them in at
build time via
mkdocs-multirepo-plugin:
its navigation_template.txt carries an !import pointing at this repo's
main branch, and edit links / repo URLs on the imported pages resolve to
faststream-community/faststream-sqlbroker via this repo's own
repo_url / edit_uri.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file faststream_sqlbroker-0.1.0a1.tar.gz.
File metadata
- Download URL: faststream_sqlbroker-0.1.0a1.tar.gz
- Upload date:
- Size: 19.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1843627cb7c5cbc48e12704adb04df18a80257e9391351372f56ddd8ce9bd064
|
|
| MD5 |
2f589948a14252a7638f68be36b71967
|
|
| BLAKE2b-256 |
51a44dfe7dfdcf00e4b4745021e402a8cdc86da602a3c0623f8f768a74b22537
|
Provenance
The following attestation bundles were made for faststream_sqlbroker-0.1.0a1.tar.gz:
Publisher:
release_pypi.yaml on faststream-community/faststream-sqlbroker
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
faststream_sqlbroker-0.1.0a1.tar.gz -
Subject digest:
1843627cb7c5cbc48e12704adb04df18a80257e9391351372f56ddd8ce9bd064 - Sigstore transparency entry: 1656776059
- Sigstore integration time:
-
Permalink:
faststream-community/faststream-sqlbroker@117c1290e8069ab8b2139e2a8deb983a890a43f1 -
Branch / Tag:
refs/tags/v0.1.0a1 - Owner: https://github.com/faststream-community
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release_pypi.yaml@117c1290e8069ab8b2139e2a8deb983a890a43f1 -
Trigger Event:
release
-
Statement type:
File details
Details for the file faststream_sqlbroker-0.1.0a1-py3-none-any.whl.
File metadata
- Download URL: faststream_sqlbroker-0.1.0a1-py3-none-any.whl
- Upload date:
- Size: 31.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
36c60a32ea1cc6a1f62e87e371c65cf3eb1f6847abacbf84c86982d829f4f8b6
|
|
| MD5 |
f0d23e3b40050ca81fe1d58ddfccbb95
|
|
| BLAKE2b-256 |
2e06f336a8ddd01ac49dee5c352abd30b9ac203dcad0be7064b2dbbf93e95bf3
|
Provenance
The following attestation bundles were made for faststream_sqlbroker-0.1.0a1-py3-none-any.whl:
Publisher:
release_pypi.yaml on faststream-community/faststream-sqlbroker
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
faststream_sqlbroker-0.1.0a1-py3-none-any.whl -
Subject digest:
36c60a32ea1cc6a1f62e87e371c65cf3eb1f6847abacbf84c86982d829f4f8b6 - Sigstore transparency entry: 1656776200
- Sigstore integration time:
-
Permalink:
faststream-community/faststream-sqlbroker@117c1290e8069ab8b2139e2a8deb983a890a43f1 -
Branch / Tag:
refs/tags/v0.1.0a1 - Owner: https://github.com/faststream-community
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release_pypi.yaml@117c1290e8069ab8b2139e2a8deb983a890a43f1 -
Trigger Event:
release
-
Statement type: