Skip to main content

Framework for creating FunPay bots.

Project description

FunpayBotEngine logo

FunpayBotEngine

Commit activity

Современная, удобная и функциональная асинхронная API-обёртка для FunPay на Python.

Установка

Необходим Python 3.10 или выше.

# Using uv
uv add funpaybotengine

# Or using pip
pip install funpaybotengine

Пример использования

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(lambda message: message.text.lower() == 'привет')
async def echo(message: Message):
    await message.reply(text='пока')


async def main():
    await bot.listen_events(dp)


if __name__ == '__main__':
    logging.basicConfig(level=logging.INFO, stream=sys.stdout)
    asyncio.run(main())

Экосистема FunPayHub

Если вам нужен готовый, бесплатный и опенсорсный бот для FunPay с расширяемой архитектурой, плагинами и богатым функционалом — обратите внимание на FunPayHub.

FunPayHub — это полноценный бот, построенный с использованием FunpayBotEngine, Aiogram и Eventry, который имеет богатый функционал:

  • автоподнятие лотов;
  • автоответы на сообщения с форматтерами и хуками;
  • автовыдача товаров;
  • удобное расширение с помощью плагинов;
  • гибкие настройки;
  • многое другое.

👉 Репозиторий проекта: https://github.com/funpayhub/funpayhub

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.6.0.tar.gz (60.2 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.6.0-py3-none-any.whl (103.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: funpaybotengine-0.6.0.tar.gz
  • Upload date:
  • Size: 60.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.2 {"installer":{"name":"uv","version":"0.10.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Arch Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for funpaybotengine-0.6.0.tar.gz
Algorithm Hash digest
SHA256 a2fda856841d823d90027a391e067bd036b560db1a7aab312955acec9bde191f
MD5 07149fad118e943c4b1e3325fe938023
BLAKE2b-256 6f098d98d03e0aad0aeb24570b4754a3fd0bdf6158ff0bcf396aa396bbfaa28b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: funpaybotengine-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 103.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.2 {"installer":{"name":"uv","version":"0.10.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Arch Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for funpaybotengine-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7848cd1fb7093200afb75e8035b42b809187640061e7c439ebd30ff81b9b06b1
MD5 3b3fffb4cbeffa4d87acb865d8356629
BLAKE2b-256 d45a7544c92f5ae3f15da0904b205851d3439e104e3a793c00624779e26e1f9d

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