Skip to main content

Framework for creating FunPay bots.

Project description

FunpayBotEngine logo

FunpayBotEngine

Commit activity

A modern, easy to use, feature-rich, and async ready API wrapper for Funpay written in Python.

Installing

Python 3.10 or higher is required.

# Using uv
uv add funpaybotengine

# Or using pip
pip install funpaybotengine

Quick Example

import sys
import asyncio
import logging

from funpaybotengine import Bot, Dispatcher
from funpaybotengine.types import Message

bot: Bot = Bot(golden_key='token')
dp: Dispatcher = Dispatcher()


@dp.on_new_message()
async def echo(message: Message):
    await message.reply(text='echo')


async def main():
    await bot.listen_events(dp)


if __name__ == '__main__':
    logging.basicConfig(level=logging.INFO, stream=sys.stdout)
    asyncio.run(main())

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

funpaybotengine-0.2.0.tar.gz (53.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

funpaybotengine-0.2.0-py3-none-any.whl (95.3 kB view details)

Uploaded Python 3

File details

Details for the file funpaybotengine-0.2.0.tar.gz.

File metadata

  • Download URL: funpaybotengine-0.2.0.tar.gz
  • Upload date:
  • Size: 53.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.30

File hashes

Hashes for funpaybotengine-0.2.0.tar.gz
Algorithm Hash digest
SHA256 ffd218e292c29abdb2e082ba9e217e2947fe8c9a4d2d8c40235168c9a1e18e0e
MD5 e1ca8dc91da4a338d92b41fcab644608
BLAKE2b-256 ec664e2bf1c580c95858163a8301a00514917d6ac370d9e5cdaf0e8888a6ada7

See more details on using hashes here.

File details

Details for the file funpaybotengine-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for funpaybotengine-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8ee65b0093b07632a6c80381b139ba110173447977a013101e7b0687146fed69
MD5 af800bf8a53a51fe55f22bcfd8d0fa6c
BLAKE2b-256 3717f63ffac448cba9a3fc86c12efd1050b14b96e93af585ea608bc0d303343f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page