StickersDownloader
📌 معرفی (فارسی)
StickersDownloader یک بسته پایتون برای دانلود و تبدیل استیکرهای متحرک تلگرام (TGS) به GIF است. با این ابزار میتوانید کل پک استیکرها را دانلود کنید یا استیکرهای خاص را انتخاب کنید. همچنین در حین پردازش، یک نوار پیشرفت رنگی و زیبا نمایش داده میشود.
ویژگیها
- دانلود استیکرهای متحرک تلگرام (
.tgs) از هر پک استیکر. - تبدیل خودکار استیکرها به GIF.
- امکان دانلود همه استیکرها یا انتخاب استیکرهای خاص.
- خروجی زیبا و رنگی در کنسول با استفاده از
rich. - مدیریت خودکار خطاهای شبکه و محدودیتهای API تلگرام.
نصب
pip install StickersDownloader
نیاز به Python 3.8 یا بالاتر دارد.
استفاده در کد پایتون
from StickersDownloader import TelegramStickerDownloader
import asyncio
TOKEN = "توکن-ربات-تلگرام-شما"
STICKER_PACK_LINK = "https://t.me/addstickers/YourStickerPack"
downloader = TelegramStickerDownloader(TOKEN, STICKER_PACK_LINK)
async def main():
# دانلود همه استیکرها
await downloader.run()
# یا دانلود استیکرهای خاص با شماره شاخص
selected_indexes = [0, 2, 5]
await downloader.run(selected_indexes=selected_indexes)
asyncio.run(main())
استفاده از طریق خط فرمان (CLI)
python -m StickersDownloader <TOKEN> <STICKER_PACK_LINK>
با این دستور، لیست استیکرها نمایش داده میشود و میتوانید انتخاب کنید کدام استیکرها دانلود شوند.
📌 Features (English)
StickersDownloader is a Python package to download and convert Telegram animated stickers (TGS) to GIFs. It allows you to download an entire sticker pack or select specific stickers. A colorful progress bar shows while processing.
Features
- Download Telegram animated stickers (
.tgs) from any sticker pack. - Automatically convert stickers to GIF.
- Download all stickers or select specific ones.
- Beautiful console output with progress bars using
rich. - Handles network errors and Telegram API restrictions.
Installation
pip install StickersDownloader
Requires Python 3.8+.
Usage in Python
from StickersDownloader import TelegramStickerDownloader
import asyncio
TOKEN = "YOUR_TELEGRAM_BOT_TOKEN"
STICKER_PACK_LINK = "https://t.me/addstickers/YourStickerPack"
downloader = TelegramStickerDownloader(TOKEN, STICKER_PACK_LINK)
async def main():
# Download all stickers
await downloader.run()
# Or select specific stickers by index
selected_indexes = [0, 2, 5]
await downloader.run(selected_indexes=selected_indexes)
asyncio.run(main())
CLI Usage
python -m StickersDownloader <TOKEN> <STICKER_PACK_LINK>
It will show a preview of all stickers, letting you select which ones to download.
Dependencies
License
MIT License © Ali Ayati Qaffari
Links
Metadata
Release files for stickers-downloader 0.1.10
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 |
|---|---|---|---|---|
| stickers_downloader-0.1.10.tar.gz | 7.5 kB | Without provenance | Details for stickers_downloader-0.1.10.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| stickers_downloader-0.1.10-py3-none-any.whl | Python 3 | none | any | Details for stickers_downloader-0.1.10-py3-none-any.whl |
Total release size: 14.3 kB
Release files / stickers_downloader-0.1.10.tar.gz
| Download URL | stickers_downloader-0.1.10.tar.gz |
|---|---|
| Size | 7.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1062323bb73754e55a1b4fc98c4b4b34700234d68f4557ec18a69405d59e723c
|
|
BLAKE2b-256 checksum How to use checksums |
3b5d6e7aaabb8bbf98994643a0df7b321800b49319823f27e2ab753f4c92b83a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Release files / stickers_downloader-0.1.10-py3-none-any.whl
| Download URL | stickers_downloader-0.1.10-py3-none-any.whl |
|---|---|
| Size | 6.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0d15b5177f4fe08589cc8f6e5a2b916d024bb896c6588dee73be45039d862744
|
|
BLAKE2b-256 checksum How to use checksums |
0bd3aafcc58145f12f7dbd481e86a04060042001c35890c200aa67b817958eaf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Security for stickers-downloader 0.1.10
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.