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.4.5.tar.gz (59.4 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.4.5-py3-none-any.whl (100.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: funpaybotengine-0.4.5.tar.gz
  • Upload date:
  • Size: 59.4 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.4.5.tar.gz
Algorithm Hash digest
SHA256 8aedf1bf4fd407f0b3bf7e9d16e424a8ad3c7d88257db34a53e95fb340a1886b
MD5 71a61ced71b473db03d193284faf7b4d
BLAKE2b-256 b9b3f75e2871e484587df00936758e4ef123b574087dcd20cb8947d8a565a8e5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: funpaybotengine-0.4.5-py3-none-any.whl
  • Upload date:
  • Size: 100.9 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.4.5-py3-none-any.whl
Algorithm Hash digest
SHA256 606bcfc31f8000b9a5fbbb63719b2bc2d2afcc4551574c898c3b9900681dff62
MD5 c224042ce618ba7b7ff1a253da83693e
BLAKE2b-256 ef86c8fa9a5f438e5f95afd40d105fecb47815307fdaf6e978e7dee416abd3b1

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