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.2.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.2-py3-none-any.whl (95.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: funpaybotengine-0.2.2.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.2.tar.gz
Algorithm Hash digest
SHA256 15cb318ef3f31af7905dfdc1d19841e8ed02dad502fade8ea572da2cba68d703
MD5 aae67747c5921e130cc60f2ca799a2c4
BLAKE2b-256 767d711311076f373f592590ce3c95295c6374ff7668c525c48f772d9283a46a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for funpaybotengine-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1090392c0b249c1aaedb03a0a54816efb39151a97018933bcc10d5b13fc23e87
MD5 062ffa80c42852308920b84c2ee2b0ac
BLAKE2b-256 224a602bdf66993cea8f0004438f9210abcf0dea6de5f67af2da2271fdefc90e

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