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.2b1.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.2b1-py3-none-any.whl (57.2 kB view details)

Uploaded Python 3

File details

Details for the file zamino_fix-1.2.2b1.tar.gz.

File metadata

  • Download URL: zamino_fix-1.2.2b1.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.2b1.tar.gz
Algorithm Hash digest
SHA256 0a1cadb8ef167b6f9a6bdc9f6b10b7ebf1164df9300c08c1efe9ab014666e3cc
MD5 0459e2fc595463b1e2248612859b9486
BLAKE2b-256 82c99bac5563851903dd7884d4bc65f718dc13bcefcd497103a3cfded6577151

See more details on using hashes here.

File details

Details for the file zamino_fix-1.2.2b1-py3-none-any.whl.

File metadata

  • Download URL: zamino_fix-1.2.2b1-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.2b1-py3-none-any.whl
Algorithm Hash digest
SHA256 9e1eea0cb4c2537ef7b8b0f8f195adc495988b0ff8f47028c0a05114b4106681
MD5 72844401d61441b91eb4465705131e36
BLAKE2b-256 ac2461d55724a9667c8ccb26c82c97afe370e7c3a3ccb41c1b2ecfd2df94b835

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