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

Uploaded Python 3

File details

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

File metadata

  • Download URL: funpaybotengine-0.5.1.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.5.1.tar.gz
Algorithm Hash digest
SHA256 4e12f7fb5f449f694094685755937d643fd21630fe0a6d0276d6683e80a9b38e
MD5 f6bfcea89a6f05095ad79ffd453d1473
BLAKE2b-256 487fd6e2695293042c38653e2aa7bcff69e153053ad98c353c502f510fbe1d2a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: funpaybotengine-0.5.1-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.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0b4780c0ae8e4fc6b42772ca8d96f8a3a1846ef5c875c4ada854d6a738fc5c98
MD5 e87acf629edec4fad5d0a26e0ec082ee
BLAKE2b-256 829516a3277953f9c36dead99509339175815a8d833bfbf8d0533cba7b436d57

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