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/sqlbroker/*.md, code samples at docs/docs_src/sqlbroker/*.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.0a2.tar.gz (19.4 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.0a2-py3-none-any.whl (31.4 kB view details)

Uploaded Python 3

File details

Details for the file faststream_sqlbroker-0.1.0a2.tar.gz.

File metadata

  • Download URL: faststream_sqlbroker-0.1.0a2.tar.gz
  • Upload date:
  • Size: 19.4 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.0a2.tar.gz
Algorithm Hash digest
SHA256 b2fdb5469df9c3650947658288db8902aec5de8f7f35d163ceb16b3b924122a3
MD5 ac7aa1727aabb4cfa73c7bb683cd7c0c
BLAKE2b-256 b0dee11ee6c5f9b9014e3c0e0d8f0a3d10aedcc863ac30b80f186cd33378cb07

See more details on using hashes here.

Provenance

The following attestation bundles were made for faststream_sqlbroker-0.1.0a2.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.0a2-py3-none-any.whl.

File metadata

File hashes

Hashes for faststream_sqlbroker-0.1.0a2-py3-none-any.whl
Algorithm Hash digest
SHA256 bb25153b8b3e00630eed67dc00635695e6001c97e81810bc23cad73d15728138
MD5 8074a5589b5c622e7fdda50b74b1f2a1
BLAKE2b-256 ad740bb217cb418e2daef6500d7c5f05870f998eb3b37c67ad0c2b70df2960d9

See more details on using hashes here.

Provenance

The following attestation bundles were made for faststream_sqlbroker-0.1.0a2-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