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.4.tar.gz (59.1 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.4-py3-none-any.whl (100.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: funpaybotengine-0.4.4.tar.gz
  • Upload date:
  • Size: 59.1 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.4.tar.gz
Algorithm Hash digest
SHA256 7c89f3fb9d323ebf3e860b52dda93f3d892f3346b8d18f93bd2ab4518d3cc133
MD5 cd2a2b25868067ce3cdcd464380269be
BLAKE2b-256 2f2ec7454d8d744a65a97fc5c371e6deca3775bdc3b171600373aa4cf624d81f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: funpaybotengine-0.4.4-py3-none-any.whl
  • Upload date:
  • Size: 100.6 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 ca3d579637b6e79ccd1190b2e5eff1219241ddeb18766a3841789ca057e1389f
MD5 e77ac8f48bc6a6501e1096fac7ab10cb
BLAKE2b-256 ff967593e3e18c90ba827fc9159cf830049cf9e96d685c26f67f6c830e86d9da

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