Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

zamino_fix-1.2.3.tar.gz (55.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

zamino_fix-1.2.3-py3-none-any.whl (57.2 kB view details)

Uploaded Python 3

File details

Details for the file zamino_fix-1.2.3.tar.gz.

File metadata

  • Download URL: zamino_fix-1.2.3.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

Hashes for zamino_fix-1.2.3.tar.gz
Algorithm Hash digest
SHA256 28386822a48816606c7781ba919f4c2c8970997f8d27981444e89759cb098e91
MD5 4b2c837b90f1d04a3010a07fa9fdefdb
BLAKE2b-256 59588f79ac36ede24d6bc70966823e06b67e83513256b99316bca06ad66f9ce4

See more details on using hashes here.

File details

Details for the file zamino_fix-1.2.3-py3-none-any.whl.

File metadata

  • Download URL: zamino_fix-1.2.3-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

Hashes for zamino_fix-1.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 48ba678d0bbb429c6fe53a3862e08473a12897bc70a7c31988576d166a6c0b87
MD5 aba169ebd643f5dc764caa8e62150d96
BLAKE2b-256 ec745f3b71e05c57c7cdc596b76a0cc729fcf17b1b69e4684229a78a0f7be42d

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