Skip to main content

SplusPy v2.2.11

A fast, minimal, and fully-featured framework for Soroush Plus — self-bots and official bots


About

SplusPy is a Python library designed specifically for building Soroush Plus self-bots (userbots) and official bots. It provides a clean, intuitive API for automating your personal Soroush Plus account or building bots via the official HTTP Bot API.

⚠️ Note: This framework supports both self-bot (personal account) and official bot (Bot API) modes. Please adhere to Soroush's Terms of Service.


Installation

pip install SplusPy

To upgrade to the latest version:

pip install --upgrade Spluspy

Quick Start

Here is a minimal example to get your self-bot up and running:

import spluspy
from spluspy import events

client = spluspy.Client("my_session")

@client.on_message()
async def handler(client, event):
    if event.message.message.lower() == "hello":
        await event.reply("Hi there!")

client.start()
client.run_until_disconnected()

How it works

  1. Create a Client — pass a session name (or path) to store your login.
  2. Register handlers — use @client.on_message() to react to messages.
  3. Start the client — call client.start() to connect and log in.
  4. Run forever — client.run_until_disconnected() keeps the bot alive.

Official Bot (Robot)

You can also build official bots using the HTTP Bot API:

from spluspy import Robot, filters

bot = Robot("YOUR_BOT_TOKEN")

@bot.on_message(filters.text("hello"))
async def hello_handler(client, event):
    await event.reply("Hi there!")

bot.run()

How it works

  1. Create a Robot — pass your bot token.
  2. Register handlers — use @bot.on_message() just like the self-bot.
  3. Run — call bot.run() to start long-polling.

License

MIT License. See LICENSE for details.

Metadata

Release files for spluspy 2.2.11

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

Source distribution (sdist)

Source distribution for spluspy 2.2.11
File Size Uploaded
spluspy-2.2.11.tar.gz 595.4 kB Details

Built distribution (wheel)

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

Total release size: 1.3 MB

Release files / spluspy-2.2.11.tar.gz

Download URL spluspy-2.2.11.tar.gz
Size 595.4 kB
Tags Source
SHA-256 checksum
How to use checksums
0aaa79cf67e22327a32dffe1594f1b6f5d57a0d70cc79b5386099ca365134189
BLAKE2b-256 checksum
How to use checksums
669e681b6460802d51a20251c612bc10955becd6e9e02adbf55c96c175ae452a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.4

Release files / spluspy-2.2.11-py3-none-any.whl

Download URL spluspy-2.2.11-py3-none-any.whl
Size 731.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4ebb829acdf2b8bd7504c98000ab623c472b3fb5572d2bc6fcd6d3775d4e25fb
BLAKE2b-256 checksum
How to use checksums
c9c7c9d0e720847756ded15df51cea72a7fbce3bac28549a0f12ae7e1e6d6a01
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.4

Release history Release notifications | RSS feed

This release

2.2.11 This release

2 release files

2.2.10

2 release files

2.2.9

2 release files

2.2.8

2 release files

2.2.7

2 release files

2.2.6

2 release files

2.2.5

2 release files

2.2.4

2 release files

2.2.3

1 release file

2.2.2

2 release files

2.2.1

2 release files

2.2.0

2 release files

2.1.13

2 release files

2.1.12

2 release files

2.1.11

2 release files

2.1.10

2 release files

2.1.9

2 release files

2.1.8

2 release files

2.1.7

2 release files

2.1.6

2 release files

2.1.5

2 release files

2.1.4

2 release files

2.1.3

2 release files

2.1.2

2 release files

2.1.1

2 release files

2.1.0

2 release files

2.0.9

2 release files

2.0.8

2 release files

2.0.7

2 release files

2.0.6

2 release files

2.0.5

2 release files

2.0.4

2 release files

2.0.3

2 release files

2.0.2

2 release files

2.0.1

2 release files

2.0.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