Skip to main content

aylien-message-puller

Google Cloud provides emulators for testing PubSub. Here you will find a tool that will pull messages for subscriptions taking project ID, subscription ID and the maximum number of messages as input.

The retreived messages can be acknowledged using the flag 'ack' (which is turned off by default).

Install using pip (Python 3):

pip install aylien-message-puller

Example

To pull messages from a subscription, you will need to provide the project-id, subscription-id, and the maximum number of messages

import aylien_message_puller
aylien_message_puller.pull_pubsub("project-id", "subscription-id", 10)

The default mechanisn does not the received messages are not acknowledged. However, if you would like to acknowledge them, set the flag as true.

import aylien_message_puller
aylien_message_puller.pull_pubsub("project-id", "subscription-id", 10, true)
```Change Log
==========

0.0.1 (07/11/2022)
------------------
First release

Metadata

Release files for aylien-message-puller 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aylien-message-puller 0.0.1
File Size Uploaded Provenance Actions
aylien_message_puller-0.0.1.tar.gz 3.2 kB Without provenance Details for aylien_message_puller-0.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for aylien-message-puller 0.0.1
File Interpreter ABI Platform Actions
aylien_message_puller-0.0.1-py3-none-any.whl Python 3 none any Details for aylien_message_puller-0.0.1-py3-none-any.whl

Total release size: 7.1 kB

Release files / aylien_message_puller-0.0.1.tar.gz

Download URL aylien_message_puller-0.0.1.tar.gz
Size 3.2 kB
Tags Source
SHA-256 checksum
How to use checksums
a1cd639a040a37879eb80e3216b6d4ca3bb4a85fbdb3d89e90247bcbca263438
BLAKE2b-256 checksum
How to use checksums
8e3b7f34493296d043e5c4784a0d73cf35af5e91e3319521bc5a7f1ad4d6eebc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.7.9

Release files / aylien_message_puller-0.0.1-py3-none-any.whl

Download URL aylien_message_puller-0.0.1-py3-none-any.whl
Size 3.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a411a719eaa12b0e12d972198cc56f2504d781be083c3f8da4794a5c11468e31
BLAKE2b-256 checksum
How to use checksums
3d21f9e6d72197022ce8b1c6435a632726b986033b3eda187c73ae15c092c553
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.7.9

Security for aylien-message-puller 0.0.1

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.

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page