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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for funpaybotengine-0.1.14.tar.gz
Algorithm Hash digest
SHA256 7141f3e71cbcad55711d648ec652089ae9bfeeb75c96debb388b35856904585a
MD5 9b9ba512208e7be39a05821f14bf6804
BLAKE2b-256 efca1a467edcd263805c22814d66b5d95d7ec0b94ca8da5fdda37d230a1c7d2c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for funpaybotengine-0.1.14-py3-none-any.whl
Algorithm Hash digest
SHA256 8c2616735d9a61cc6d45dfca01a016701b85ba211d995e70fa8216bf84ec7fe1
MD5 0d90d44caf404f3a702d3e7ecfe3cb19
BLAKE2b-256 495b836fccd25490c309b6b1388d5a43b696f5d50a247fbd67af81e5b4ff4d5d

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