ZAmino.fix is a modern and optimized fork of amino.fix, designed for building Amino bots, automations, and custom clients with ease and performance in mind.
Project description
ZAminofix ✨
Elegant and powerful Python framework for creating Amino bots and automation scripts.
🚀 Quick Navigation
⚡ Installation
pip install ZAmino.fix
⚙️ Quick Start
from ZAminofix import Client, SubClient, ChatEvent
client = Client()
client.login("your_email@example.com", "your_password")
client.pubkey()
📚 Documentation
Core Components
Client - Main Connection Handler: The Client class manages your connection to Amino services and handles global operations.
Authentication Options:
client.login("email@example.com", "password123")
client.login("+1234567890", "password123")
client.login("your_sid")
Event System:
import ZAminofix
c = ZAminofix.Client()
def on_text_message(data: ZAminofix.objects.Event):
print(f"Message: {data.message.content}")
c.register_events(globals())
SubClient - Community Operations:
sub_client = SubClient(comId=123456)
sub_client.send_message(chatId="chat_id", message="Hello World!")
🧪 Examples
Command Bot
from ZAminofix import Client, SubClient
import random
client = Client()
client.login("email", "password")
client.pubkey()
commands = {
'/help': 'Available commands:\n/dice - Roll a dice\n/joke - Get a random joke',
'/dice': lambda: f'You rolled: {random.randint(1, 6)}!'
}
def handle_command(data):
message = data.message.content.lower()
if message in commands:
sub_client = SubClient(comId=data.comId)
response = commands[message]
if callable(response): response = response()
sub_client.send_message(chatId=data.message.chatId, message=response)
c.register_events(globals())
🛠️ Support
Telegram: @ZAminoZ
🤝 Contributing
Contributions, bug reports, and feature requests are welcome! Please follow the standard GitHub pull request workflow.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file zamino_fix-1.2.2b2.tar.gz.
File metadata
- Download URL: zamino_fix-1.2.2b2.tar.gz
- Upload date:
- Size: 55.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.12.1.2 requests/2.32.3 setuptools/80.9.0 requests-toolbelt/1.0.0 tqdm/4.67.1 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b99d3d4f9f985bba2703c016d927791f3ad06832d30e88f74994704df1b94240
|
|
| MD5 |
d953810862d525f3c048a471eb1a297f
|
|
| BLAKE2b-256 |
d016d021f666bfdf6c4be41587eb20f04ca2e0ca9bace733eefcd847bdf9d0ef
|
File details
Details for the file zamino_fix-1.2.2b2-py3-none-any.whl.
File metadata
- Download URL: zamino_fix-1.2.2b2-py3-none-any.whl
- Upload date:
- Size: 57.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.12.1.2 requests/2.32.3 setuptools/80.9.0 requests-toolbelt/1.0.0 tqdm/4.67.1 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7a81ec549a252dd73a355e415299ea7b5201c8bb679db7d5daa0a0e73aea9bbf
|
|
| MD5 |
cda62c3ad1001c4fa41d8f9fc13a41f1
|
|
| BLAKE2b-256 |
5eb7a377fec35ce18f29a31dcee45fc395a25867207f6091a5e497f7c498a6ab
|