pysignalapi
Simple yet powerful library to work with signal-cli-rest-api. It supports both sync and async modes of Docker container and intends to provide closest to origin API.
Example
import asyncio
from pysignalapi import JsonRPCAPI, Message
api = JsonRPCAPI("localhost:8080")
@api.handler
def on_message(msg: Message):
print(msg)
async def main():
accounts = api.get_accounts()
for account in accounts:
await api.receive(account)
if __name__ in {"__main__", "__mp_main__"}:
asyncio.run(main())
Credits:
This project is heavily inspired by:
Metadata
Release files for pysignalapi 0.2.7
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 |
|---|---|---|---|---|
| pysignalapi-0.2.7.tar.gz | 4.6 kB | Without provenance | Details for pysignalapi-0.2.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pysignalapi-0.2.7-py3-none-any.whl | Python 3 | none | any | Details for pysignalapi-0.2.7-py3-none-any.whl |
Total release size: 10.5 kB
Release files / pysignalapi-0.2.7.tar.gz
| Download URL | pysignalapi-0.2.7.tar.gz |
|---|---|
| Size | 4.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
158ccd26f2382f2b7c4af91bc15b4bdaa92644bab61394a1d74a3b8190c9dac5
|
|
BLAKE2b-256 checksum How to use checksums |
9c062d2c007dca54af6c6f566bde984e7f197ff326c757ea6a57e7531b3e39b1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.21
|
Release files / pysignalapi-0.2.7-py3-none-any.whl
| Download URL | pysignalapi-0.2.7-py3-none-any.whl |
|---|---|
| Size | 5.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0bf4ac6096d1b340bb54b5d66a697c2ad08a3cab98952e4ba92fcf01f37286da
|
|
BLAKE2b-256 checksum How to use checksums |
2b46e7fe99f82c5a6b73bac85487107cc466df8d4162106ae22b0125f8d28935
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.21
|
Security for pysignalapi 0.2.7
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.