📝 description
aminolightbots is a modern framework for rapid bot development on the amino platform. built on the optimized aminolightpy library, it provides developers with an intuitive api and rich toolset.
✨ key features
🚀 ease of use
- intuitive api
- minimal code for bot creation
- detailed documentation
⚙️ advanced message processing
- command and regex support
- message filtering by various criteria
- handling all content types (text, images, stickers, etc.)
🔄 extended capabilities
- multithreaded message processing
- middleware system
- convenient dialog and command chain handling
⚡️ quick start
installation
pip install aminolightbots
simple example
from aminolightbots import bot
bot = bot(email="your_email", password="your_password")
@bot.message_handler(commands=['start'])
def start_command(message):
message.reply("👋 hi! im bot in aminolightbots")
@bot.message_handler(regexp=r'hello|hi')
def handle_greeting(message):
message.reply(f"hi, {message.author.nickname}! 😊")
bot.start_websocket_handling()
📚 usage examples
working with commands
@bot.message_handler(commands=['help'])
def help_command(message):
help_text = """
🔍 available commands:
/start - start dialog
/help - show help
/info - bot information
"""
message.reply(help_text)
user dialogs
@bot.message_handler(commands=['register'])
def start_registration(message):
bot.send_message(message.chatId, "what's your name?")
bot.register_next_step_handler(message, process_name)
def process_name(message):
name = message.content
message.reply(f"nice to meet you, {name}! 🤝")
🛠 supported events
| event | description |
|---|---|
text |
text messages |
image |
image messages |
voice |
voice messages |
sticker |
sticker messages |
delete |
deleted messages |
member_join |
member joins the chat |
member_leave |
member leaves the chat |
start_voice_chat |
voice chat started |
end_voice_chat |
voice chat ended |
start_video_chat |
video chat started |
end_video_chat |
video chat ended |
start_screen_room |
screen sharing started |
end_screen_room |
screen sharing ended |
example
@bot.message_handler(func=lambda: True, content_types=["voice"])
def handle_voice(message):
message.reply("nice voice message!")
🤝 contributing
we welcome community contributions to the project!
- fork the repository
- create a branch for your changes
- make changes and create a pull request
📄 license
this project is licensed under the mit license. see the license file for details.
🔗 useful links
created with ❤️ for the amino community
©
Metadata
Release files for amino.light.bots 0.0.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| amino_light_bots-0.0.8.tar.gz | 12.8 kB | Without provenance | Details for amino_light_bots-0.0.8.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| amino_light_bots-0.0.8-py3-none-any.whl | Python 3 | none | any | Details for amino_light_bots-0.0.8-py3-none-any.whl |
Total release size: 27.2 kB
Release files / amino_light_bots-0.0.8.tar.gz
| Download URL | amino_light_bots-0.0.8.tar.gz |
|---|---|
| Size | 12.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5a9e143fdff02d5c29b6038d0e2b9c2b72d035c723f5b34a33530dd3fed6c1cb
|
|
BLAKE2b-256 checksum How to use checksums |
5e7b01eeab927b02cad6c346d25ffc02ca3914475a77e636923100f2996f6456
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.3
|
Release files / amino_light_bots-0.0.8-py3-none-any.whl
| Download URL | amino_light_bots-0.0.8-py3-none-any.whl |
|---|---|
| Size | 14.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
04721b4b55b4341acef2360d449259549f756b3ab27107d322ba4d88811b843f
|
|
BLAKE2b-256 checksum How to use checksums |
d63d3b18112f57f747edc58d959423f1de83c7e00745d2cd44d79e7479ac7dee
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.3
|
Security for amino.light.bots 0.0.8
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.