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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for funpaybotengine-0.2.1.tar.gz
Algorithm Hash digest
SHA256 5b27365e8ad57efa3315c5694a4e3482114a5164ffc3f284bc40dced7a6afcb6
MD5 4a5d7d0c1050ae679a27ee8c6dbd3bf3
BLAKE2b-256 04f29a3d07f49522069556afe667939d204f31ef7a5e1f0eabbcd223d41d64d0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for funpaybotengine-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 663d62821578dd07068e763e77dd413f03bb3b2cb069366ec85b123f03459989
MD5 8d9aea7553d587b90bb1140fc16a5c46
BLAKE2b-256 a146e7144ab38d53299baf36e8d5de2fd72cdcbbb4c70a87de824ff77b7a49b8

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