pubsub-emulator-messaging-setup
A small tool to create topics and subscriptions on a PubSub emulator in a simple and quick way.
Usage
Just create a pubsub.yml file with the list of topics and topic's subscriptions like this one:
topics:
- name: my_topic
subscriptions:
- my_subscription_1
- my_subscription_2
Then run pubsub_emu_setup:
pubsub_emu_setup
and it will automatically ensure that all the topics and subscriptions are created in the PubSUb emulator.
Starting a PubSub emulator in Docker
Google provides a very convenient image to start a PubSub emulator locally with Docker.
A simple Docker Compose file like the one below is suffice to have a working Pubsub emulator:
version: "3.8"
services:
pubsub_emulator:
image: google/cloud-sdk:emulators
ports:
- 8085:8085
command: |
gcloud beta emulators pubsub start --project=test-project --host-port=0.0.0.0:8085
Metadata
Release files for pubsub-emulator-messaging-setup 0.1.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 | Provenance | Actions |
|---|---|---|---|---|
| pubsub_emulator_messaging_setup-0.1.0.tar.gz | 4.9 kB | Without provenance | Details for pubsub_emulator_messaging_setup-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pubsub_emulator_messaging_setup-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for pubsub_emulator_messaging_setup-0.1.0-py3-none-any.whl |
Total release size: 11.0 kB
Release files / pubsub_emulator_messaging_setup-0.1.0.tar.gz
| Download URL | pubsub_emulator_messaging_setup-0.1.0.tar.gz |
|---|---|
| Size | 4.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
95ffd56539598593f91d111cda5a6390103d1df6d97c65b5b90d6a36b08cde19
|
|
BLAKE2b-256 checksum How to use checksums |
d5366489c6eff1276e0509d4a1d3a97525b5c4af8d33c0f01e1ed8a50aa5cd76
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.15
|
Release files / pubsub_emulator_messaging_setup-0.1.0-py3-none-any.whl
| Download URL | pubsub_emulator_messaging_setup-0.1.0-py3-none-any.whl |
|---|---|
| Size | 6.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bdd21a04ca5585409d186ddb7b117d8de362f5c0bc3d867d39197f1771dbcf11
|
|
BLAKE2b-256 checksum How to use checksums |
a75fe51f109ea8c6fb5ff41912456e21fd9a2f2c289a28034d7c59b4f8eabf67
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.15
|
Security for pubsub-emulator-messaging-setup 0.1.0
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.