-
This commit is contained in:
parent
bfa247e082
commit
1e4d22a2bc
21
LICENSE
21
LICENSE
@ -1,21 +0,0 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2025 Твоё Имя
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
@ -25,7 +25,7 @@ from maxapi.types import BotStarted, Command, MessageCreated
|
||||
|
||||
logging.basicConfig(level=logging.INFO)
|
||||
|
||||
bot = Bot('f9LHodD0cOL5NY7All_9xJRh5ZhPw6bRvq_0Adm8-1bZZEHdRy6_ZHDMNVPejUYNZg7Zhty-wKHNv2X2WJBQ')
|
||||
bot = Bot('тут_ваш_токен')
|
||||
dp = Dispatcher()
|
||||
|
||||
|
||||
|
26
setup.cfg
Normal file
26
setup.cfg
Normal file
@ -0,0 +1,26 @@
|
||||
[metadata]
|
||||
name = maxapi
|
||||
version = 0.5
|
||||
description = Библиотека для разработки чат-бото с помощью API мессенджера MAX
|
||||
long_description = file: README.md
|
||||
long_description_content_type = text/markdown
|
||||
author = Denis
|
||||
url = https://github.com/love-apples/maxapi/tree/main
|
||||
license = MIT
|
||||
keywords =
|
||||
max
|
||||
api
|
||||
bot
|
||||
classifiers =
|
||||
License :: OSI Approved :: MIT License
|
||||
Programming Language :: Python :: 3.10
|
||||
|
||||
[options]
|
||||
packages = find:
|
||||
install_requires =
|
||||
aiohttp>=3.8.0
|
||||
fastapi>=0.68.0
|
||||
magic_filter>=1.0.0
|
||||
pydantic>=1.8.0
|
||||
uvicorn>=0.15.0
|
||||
python_requires = >=3.10
|
23
setup.py
23
setup.py
@ -1,24 +1,3 @@
|
||||
from setuptools import setup, find_packages
|
||||
|
||||
setup(
|
||||
name="maxapi",
|
||||
version="0.4",
|
||||
packages=find_packages(),
|
||||
description="Библиотека для взаимодействия с API мессенджера MAX",
|
||||
long_description=open("README.md", encoding='utf-8').read(),
|
||||
long_description_content_type="text/markdown",
|
||||
author="Денис",
|
||||
url="https://github.com/love-apples/maxapi/tree/main",
|
||||
install_requires=[
|
||||
'aiohttp==3.11.16',
|
||||
'fastapi==0.115.13',
|
||||
'magic_filter==1.0.12',
|
||||
'pydantic==2.11.7',
|
||||
'uvicorn==0.34.3'
|
||||
],
|
||||
license='MIT',
|
||||
classifiers=[
|
||||
'License :: OSI Approved :: MIT License',
|
||||
],
|
||||
python_requires=">=3.10",
|
||||
)
|
||||
setup()
|
Loading…
x
Reference in New Issue
Block a user