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.5.tar.gz (58.0 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.5-py3-none-any.whl (96.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for funpaybotengine-0.2.5.tar.gz
Algorithm Hash digest
SHA256 cd55e8f2e4be901aa5329beb08a503ce2c9a6f2ae876a73ff58859c76d32eddd
MD5 e6e456c63ed9b8c666e20d5c5b0db170
BLAKE2b-256 ce7a62a760260dad6c08b5c6a253331652e57378571b5c36778bb3b3c99d9e91

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for funpaybotengine-0.2.5-py3-none-any.whl
Algorithm Hash digest
SHA256 b8c58368c9e8a9606f910a0563efb64d93822fc418bb6adf39ddfdff04b83fce
MD5 191cc843e734fb4b368c3404d34eefba
BLAKE2b-256 ad6bac8685e64de51a7d65aae0af69825d57442c90c9de95fccced1a73bd716f

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