Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

faststream_sqlbroker-0.1.0a1.tar.gz (19.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

faststream_sqlbroker-0.1.0a1-py3-none-any.whl (31.0 kB view details)

Uploaded Python 3

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

Hashes for faststream_sqlbroker-0.1.0a1.tar.gz
Algorithm Hash digest
SHA256 1843627cb7c5cbc48e12704adb04df18a80257e9391351372f56ddd8ce9bd064
MD5 2f589948a14252a7638f68be36b71967
BLAKE2b-256 51a44dfe7dfdcf00e4b4745021e402a8cdc86da602a3c0623f8f768a74b22537

See more details on using hashes here.

Provenance

The following attestation bundles were made for faststream_sqlbroker-0.1.0a1.tar.gz:

Publisher: release_pypi.yaml on faststream-community/faststream-sqlbroker

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file faststream_sqlbroker-0.1.0a1-py3-none-any.whl.

File metadata

File hashes

Hashes for faststream_sqlbroker-0.1.0a1-py3-none-any.whl
Algorithm Hash digest
SHA256 36c60a32ea1cc6a1f62e87e371c65cf3eb1f6847abacbf84c86982d829f4f8b6
MD5 f0d23e3b40050ca81fe1d58ddfccbb95
BLAKE2b-256 2e06f336a8ddd01ac49dee5c352abd30b9ac203dcad0be7064b2dbbf93e95bf3

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page