Skip to content

Pyrubi is a powerful library for building self robots in Rubika

License

Notifications You must be signed in to change notification settings

AliGanji1/Pyrubi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

pyrubi image

Fast & powerfull Rubika API library
GitHubDocuments

Pyrubi 3.6.0

Downloads

Fast and powerfull Rubika API library for building self bots.


Install or Update:

pip install -U pyrubi

Quick start:

from pyrubi import Client
from pyrubi.types import Message

client = Client("mySelf")

@client.on_message(regexp="hello")
def send_hello(message: Message):
    message.reply("**hello** __from__ ##pyrubi##")

client.run()

also you can enter your session data manually:

from pyrubi import Client
from pyrubi.types import Message

auth_key = "abcdefghijklnopkrstuvwxyzazxcqwe"
private_key = "-----BEGIN RSA PRIVATE KEY-----\n..."

client = Client(auth=auth_key, private=private_key)

@client.on_message(regexp="hello")
def send_hello(message: Message):
    message.reply("**hello** __from__ ##pyrubi##")

client.run()

Features:

  • Fast : The requests are very fast and optimize.

  • Powerful : While the library is simple, it has high speed and features that make your work easier and faster

  • Easy : All methods and features are designed as easy and optimal as possible


Social Media:


🌟 Star History

Star History Chart

About

Pyrubi is a powerful library for building self robots in Rubika

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages