matrix_stickers_manager
"Its solution for massive upload your stickers into Matrix."
This code using MSC2545 aka native stickers. Cinny and FluffyChat support this specs already.
Config
Just copy example.config.yaml to config.yaml and write your values.
Required room admin token. For protection images also user must be server admin.
Example usage
from matrix_stickers_manager import MatrixStickersManager
manager = MatrixStickersManager()
# Upload multiple images to sticker pack
manager.load_pack_from_folder(
pack_name='My Funny Sticker Pack',
folder_path='stickers/',
room_id='!ahkeeyahPhexohtooh:matrix.your.server',
protect_media=True,
number_as_shortcode=False
)
# Download images from pack
manager.export_pack(
pack_name='My Funny Sticker Pack',
export_folder='stickers/',
room_id='!ahkeeyahPhexohtooh:matrix.your.server',
original_name=True
)
# Delete pack
manager.delete_pack(
pack_name='My Funny Sticker Pack',
room_id='!ahkeeyahPhexohtooh:matrix.your.server',
)
stickers
├── 1.png
├── 2.png
├── 3.png
├── 4.png
Protection media
"Protection works only in Synapse Server API."
Metadata
Release files for matrix_stickers_manager 0.4
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 |
|---|---|---|---|---|
| matrix_stickers_manager-0.4.tar.gz | 71.7 kB | Without provenance | Details for matrix_stickers_manager-0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| matrix_stickers_manager-0.4-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for matrix_stickers_manager-0.4-py2.py3-none-any.whl |
Total release size: 76.6 kB
Release files / matrix_stickers_manager-0.4.tar.gz
| Download URL | matrix_stickers_manager-0.4.tar.gz |
|---|---|
| Size | 71.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
01f1064aec50bf87e376d1b923d56a8dfb78b736c8a0b86ea4dc23b7d4f7747c
|
|
BLAKE2b-256 checksum How to use checksums |
ac06edda7ef2b490ccd82749d93f24f75d6eaef19ac72249ec0c4ff252e30375
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.28.2
|
Release files / matrix_stickers_manager-0.4-py2.py3-none-any.whl
| Download URL | matrix_stickers_manager-0.4-py2.py3-none-any.whl |
|---|---|
| Size | 4.9 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
71387a162b83ba38179e161efbf0c1d63b7a15123f92cdee0b9fc20d5447593b
|
|
BLAKE2b-256 checksum How to use checksums |
70cb0122335dffc40898be36d8a755a50c610e2ddfd523d5e9432ca346ac2cc1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.28.2
|
Security for matrix_stickers_manager 0.4
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.