Skip to main content

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)

Source distribution for matrix_stickers_manager 0.4
File Size Uploaded
matrix_stickers_manager-0.4.tar.gz 71.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for matrix_stickers_manager 0.4
File Interpreter ABI Platform
matrix_stickers_manager-0.4-py2.py3-none-any.whl Python 3, Python 2 none any Details

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

Release history Release notifications | RSS feed

This release

0.4 This release

2 release files

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