Giter Site home page Giter Site logo

codaliza / python-bale-bot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from python-bale-bot/python-bale-bot

0.0 0.0 0.0 1.63 MB

An API wrapper for Bale written in Python.

Home Page: https://python-bale-bot.ir

License: GNU General Public License v2.0

Python 100.00%

python-bale-bot's Introduction

python-bale-bot Library

python-bale-bot image
An API wrapper for Bale written in Python.

Python Version PyPi Version Codacy Badge python-bale-bot score Project License API Version Documentation Status

Introduction

What is Bale?

The "Bale" is a messenger-platform for send and receive messages. it's provides services for developers, and they can send or receive messages through bots like normal users and These services are provided by web services (API).

What is python-bale-bot?

The "python-bale-bot" is a Python language package optimized for developers to use web services provided by "Bale".

Installing

You can install or update python-bale-bot via:

PyPi

$ pip install python-bale-bot -U

Git

git clone https://github.com/python-bale-bot/python-bale-bot
cd python-bale-bot
python setup.py install

Quick Start

To get started, learn how the library works through the library. In addition, there are examples in the "Examples" section of the library.

from bale import Bot, Message
from bale.handlers import CommandHandler

client = Bot(token="YOUR TOKEN")

@client.listen('on_ready')
async def on_ready_handler():
    print(client.user, "is Ready!")

@client.handle(CommandHandler("start"))
async def start_command(message: Message):
    await message.reply(f'Hi {message.author.first_name}!')

client.run()

Documentation

The package documentation is the technical reference for python-bale-bot. It contains descriptions of all available classes, modules, methods and arguments as well as the changelog.

Contact to Developers

Email Discord Telegram Channel Our Site

python-bale-bot's People

Contributors

kian-ahmadian avatar dependabot[bot] avatar codaliza avatar codingwithmohsen avatar snyk-bot avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.