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.3.tar.gz (57.7 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.3-py3-none-any.whl (95.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for funpaybotengine-0.2.3.tar.gz
Algorithm Hash digest
SHA256 69bc4e2ccb4619834817f61003fbb50df067e9b9160ddb013ae4a00a5e1e3afd
MD5 daffb925b617f5b0fce07ffff2ac0025
BLAKE2b-256 0395e1fcd07888018f2cf9996900974dba6b83801d1540809f69a93278dbea6e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for funpaybotengine-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 8691074c1d61993018b6b9aac56d2da610832fb1608f3c48906cf4e977adc787
MD5 e3e1ee13e97c24cc42bc804c33cb63de
BLAKE2b-256 5fb467a814d78cf8dd99909bf974d3f604be7beeaf50884a29900eea6d9d1752

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