Memealerts async/sync client
Project description
Memealerts Python Client
This project is a library which provides you clients for interaction with memealerts.
Install
pip install memealerts
Usage
Using sync client
from memealerts import MemealertsClient
token = "<Your bearer token>"
cli = MemealertsClient(token)
supporters = cli.get_supporters()
first_supporter = supporters.data[0].supporterId
cli.give_bonus(first_supporter, 5)
Using async client
import asyncio
from memealerts import MemealertsAsyncClient
token = "<Your bearer token>"
cli = MemealertsAsyncClient(token)
async def main():
supporters = await cli.get_supporters()
first_supporter = supporters.data[0].supporterId
await cli.give_bonus(first_supporter, 5)
asyncio.run(main())
Badges
License
TODO
- handle errors from api
- iterator for all supporters
- user/find
- other methods and schemas
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 memealerts-1.0.2.tar.gz.
File metadata
- Download URL: memealerts-1.0.2.tar.gz
- Upload date:
- Size: 7.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5cb84e85d96cab1a571b4ca477e37991e190aff39c5f8f7221fa3583f6c683a7
|
|
| MD5 |
44ed193423fb6ba1e8ce795994fe6943
|
|
| BLAKE2b-256 |
e3004a103225ddd53bee74c58492fc328e92edbfa055df75a4b0a3becf7c411c
|
Provenance
The following attestation bundles were made for memealerts-1.0.2.tar.gz:
Publisher:
ci-cd.yaml on Quantum-0/memealerts
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
memealerts-1.0.2.tar.gz -
Subject digest:
5cb84e85d96cab1a571b4ca477e37991e190aff39c5f8f7221fa3583f6c683a7 - Sigstore transparency entry: 250953482
- Sigstore integration time:
-
Permalink:
Quantum-0/memealerts@d369bd984bf92f55af48a69ac93ac3c5ae40226f -
Branch / Tag:
refs/tags/1.0.2 - Owner: https://github.com/Quantum-0
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci-cd.yaml@d369bd984bf92f55af48a69ac93ac3c5ae40226f -
Trigger Event:
push
-
Statement type:
File details
Details for the file memealerts-1.0.2-py3-none-any.whl.
File metadata
- Download URL: memealerts-1.0.2-py3-none-any.whl
- Upload date:
- Size: 6.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
07493807b7d9a40b88bc632cb06e99e0ed580a92409f2c51bdc87eb3ddabc156
|
|
| MD5 |
7b7a66232669d2bfba3ea10c9ef7f2dc
|
|
| BLAKE2b-256 |
ec13c3bd0526ea59b5ff75d819eb927639396d2663fbbdad8925c36d7103fab3
|
Provenance
The following attestation bundles were made for memealerts-1.0.2-py3-none-any.whl:
Publisher:
ci-cd.yaml on Quantum-0/memealerts
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
memealerts-1.0.2-py3-none-any.whl -
Subject digest:
07493807b7d9a40b88bc632cb06e99e0ed580a92409f2c51bdc87eb3ddabc156 - Sigstore transparency entry: 250953497
- Sigstore integration time:
-
Permalink:
Quantum-0/memealerts@d369bd984bf92f55af48a69ac93ac3c5ae40226f -
Branch / Tag:
refs/tags/1.0.2 - Owner: https://github.com/Quantum-0
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci-cd.yaml@d369bd984bf92f55af48a69ac93ac3c5ae40226f -
Trigger Event:
push
-
Statement type: