Skip to main content

PySPlusthon

PySPlusthon

A Python library for interacting with the Soroush Plus Bot API (Splus).

Quick Start

from PySPlusthon import Client

bot = Client("YOUR_BOT_TOKEN")

@bot.on_message()
async def on_message(message):
    print(f"Received: {message.text}")

if __name__ == "__main__":
    bot.run()

Key Features

  • Full Bot API Support: Send messages, photos, videos, documents, audio, voice, locations, contacts, and more
  • Update Handling: Polling and webhook support with start_polling() and set_webhook()
  • Conditional Handlers: Message filters using conditions (text, command, document, photo, video, voice, and more)
  • Event Handlers: Connect, disconnect, initialize, shutdown, edited messages, callback queries, errors, and custom events
  • Object Model: Comprehensive Object base class with wrap()/unwrap() for API response parsing
  • Inline Keyboards & Keyboards: InlineKeyboard and ReplyKeyboard with button formatting
  • Media Groups: Send photo/video/audio groups
  • Referral Links: Create referral links with create_referral_link()
  • User/Chat Methods: get_me(), get_chat(), get_chat_member(), get_chat_members_count(), and more
  • Inline Inline Buttons & Keyboards: Full reply markup support
  • Protobuf & Userbot Support: Optional userbot mode with WebSocket integration
  • Error Handling: Custom RPC error types (BadRequestError, FloodError, ForbiddenError, NotFoundError, UnauthorizedError, InternalError, TooManyRequestsError)

Installing

pip install PySPlusthon

Metadata

Release files for PySPlusthon 0.5.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for PySPlusthon 0.5.5
File Size Uploaded
pysplusthon-0.5.5.tar.gz 70.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for PySPlusthon 0.5.5
File Interpreter ABI Platform
pysplusthon-0.5.5-py3-none-any.whl Python 3 none any Details

Total release size: 244.3 kB

Release files / pysplusthon-0.5.5.tar.gz

Download URL pysplusthon-0.5.5.tar.gz
Size 70.3 kB
Tags Source
SHA-256 checksum
How to use checksums
7ef062d11520a8cbce07d90c915768584e8448e85f818d601017beec0e59bea2
BLAKE2b-256 checksum
How to use checksums
014b85204f2ddde609d41a7803d09e9d93093a1b8e4d81c6153cac33d7b15be9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 10, 2026.

Transparency log

Release files / pysplusthon-0.5.5-py3-none-any.whl

Download URL pysplusthon-0.5.5-py3-none-any.whl
Size 174.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4ac08a57eed6dd7476f6314abcd2b51c9da1e7f2b2000d7c4798c656e05a5a05
BLAKE2b-256 checksum
How to use checksums
393ac6a17c5ee47126a24e8429d81b7612da2d4b4ba0586464cda0ffd3f7ca65
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 10, 2026.

Transparency log

Release history Release notifications | RSS feed

0.5.7

2 release files

0.5.6

2 release files

This release

0.5.5 This release

2 release files

0.5.4

2 release files

0.5.3

2 release files

0.5.1

2 release files

0.5.0

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