amino.light.py


Nameamino.light.py JSON
Version 0.1.8 PyPI version JSON
download
home_pagehttps://github.com/AugustLigh/AminoLightPy
SummaryBest Amino.py alternative
upload_time2024-04-28 16:42:28
maintainerNone
docs_urlNone
authorAugustLight
requires_pythonNone
licenseMIT
keywords amino aminoapps amino.fix amino.light amino.ligt.py aminolightpy amino-bot narvii medialab api python python3 python3.x minori august augustlight aminolightpy amino.py
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <h1 align="center">AmioLightPy</h1>

![IMG_1363](https://github.com/AugustLigh/AminoLightPy/assets/125802350/ba1ae102-dee9-45ab-95c4-f5c5e0249d26)


<p align="center">
AminoApps python framework to create bots and scripts easily.
</p>

<p align="center">
    <a href="https://github.com/AugustLigh/AminoLightPy/releases"><img src="https://img.shields.io/github/release/AugustLigh/AminoLightPy.svg" alt="GitHub release" />
    <a href="https://aminopy.readthedocs.io/en/latest/index.html"><img src="https://img.shields.io/website?down_message=failing&label=docs&up_color=green&up_message=passing&url=https://aminopy.readthedocs.io/en/latest/index.html" alt="Docs" /></a>
    <a href="https://github.com/AugustLigh/AminoLightPy/blob/main/LICENSE"><img src="https://img.shields.io/badge/License-MIT-yellow.svg" alt="licence" /></a>
</p>

<p align="center">
  <a href="#features">Features</a> •
  <a href="#usage">Usage</a> •
  <a href="#example">Example</a> •
  <a href="#notes">Notes</a>
  <br>
  <a href="https://aminopy.readthedocs.io/en/latest/index.html" target="_blank">Documentation</a>
</p>

<h2 align="center">Features</h2>

* ⚡ **Optimization** : Most of the code has been rewritten.
* ⚙ **Backward compatibility** : Write code with correct syntax.
* 🎮 **Commands support** : Go even further with new requests.
* 🍎 **Supported on iPhones** : free, and without jailbreak.

<h2 align="center">Usage</h2>

Install the package :

`pip install amino.light.py`

---

Import the `Client` and `SubClient` objects into your bot's code, and create your own help manual :

```py
from AminoLightPy import Client, SubClient
# Your help message
help_message = """
Welcome!
This is help page.
"""
# Create Client object
client = Client()
# Login into account
client.login("example_mail@gmail.com", "example_password")
# And display the help !
@client.event("on_text_message")
def on_message(data):
	if data.message.author.userId != client.profile.userId:  # Do not answer to myself
		# Create SubClient object
		sub_client = SubClient(comId=data.comId, profile=client.profile)
		if data.message.content.startswith('/help'):
			sub_client.send_message(chatId=data.message.chatId, message=help_message)
```

<h2 align="center">Example</h2>

Simply copy code above, and type `/help` in the chat.

Also, take a look at the code for this interactive help !

---

If you can't find what you're looking for or need help with this library, you can [telegram me](https://t.me/augustlight) or an Discord - *engineer48*. We will be glad to help !


<h2 align="center">Notes</h2>

* *This is not my project. Amino libraries already existed before me. I just wanted to create a simple and effective way to support bots*

* *This is working only with the Python.*

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/AugustLigh/AminoLightPy",
    "name": "amino.light.py",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "amino, aminoapps, amino.fix, amino.light, amino.ligt.py, AminoLightPy, amino-bot, narvii, medialab, api, python, python3, python3.x, minori, august, augustlight, aminolightpy, amino.py",
    "author": "AugustLight",
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/cb/c8/423f5303ab9146d291bccb0aba1f4495ba3a2a56f44e123ba94e65361cab/amino.light.py-0.1.8.tar.gz",
    "platform": null,
    "description": "<h1 align=\"center\">AmioLightPy</h1>\r\n\r\n![IMG_1363](https://github.com/AugustLigh/AminoLightPy/assets/125802350/ba1ae102-dee9-45ab-95c4-f5c5e0249d26)\r\n\r\n\r\n<p align=\"center\">\r\nAminoApps python framework to create bots and scripts easily.\r\n</p>\r\n\r\n<p align=\"center\">\r\n    <a href=\"https://github.com/AugustLigh/AminoLightPy/releases\"><img src=\"https://img.shields.io/github/release/AugustLigh/AminoLightPy.svg\" alt=\"GitHub release\" />\r\n    <a href=\"https://aminopy.readthedocs.io/en/latest/index.html\"><img src=\"https://img.shields.io/website?down_message=failing&label=docs&up_color=green&up_message=passing&url=https://aminopy.readthedocs.io/en/latest/index.html\" alt=\"Docs\" /></a>\r\n    <a href=\"https://github.com/AugustLigh/AminoLightPy/blob/main/LICENSE\"><img src=\"https://img.shields.io/badge/License-MIT-yellow.svg\" alt=\"licence\" /></a>\r\n</p>\r\n\r\n<p align=\"center\">\r\n  <a href=\"#features\">Features</a> \u2022\r\n  <a href=\"#usage\">Usage</a> \u2022\r\n  <a href=\"#example\">Example</a> \u2022\r\n  <a href=\"#notes\">Notes</a>\r\n  <br>\r\n  <a href=\"https://aminopy.readthedocs.io/en/latest/index.html\" target=\"_blank\">Documentation</a>\r\n</p>\r\n\r\n<h2 align=\"center\">Features</h2>\r\n\r\n* \u26a1 **Optimization** : Most of the code has been rewritten.\r\n* \u2699 **Backward compatibility** : Write code with correct syntax.\r\n* \ud83c\udfae **Commands support** : Go even further with new requests.\r\n* \ud83c\udf4e **Supported on iPhones** : free, and without jailbreak.\r\n\r\n<h2 align=\"center\">Usage</h2>\r\n\r\nInstall the package :\r\n\r\n`pip install amino.light.py`\r\n\r\n---\r\n\r\nImport the `Client` and `SubClient` objects into your bot's code, and create your own help manual :\r\n\r\n```py\r\nfrom AminoLightPy import Client, SubClient\r\n# Your help message\r\nhelp_message = \"\"\"\r\nWelcome!\r\nThis is help page.\r\n\"\"\"\r\n# Create Client object\r\nclient = Client()\r\n# Login into account\r\nclient.login(\"example_mail@gmail.com\", \"example_password\")\r\n# And display the help !\r\n@client.event(\"on_text_message\")\r\ndef on_message(data):\r\n\tif data.message.author.userId != client.profile.userId:  # Do not answer to myself\r\n\t\t# Create SubClient object\r\n\t\tsub_client = SubClient(comId=data.comId, profile=client.profile)\r\n\t\tif data.message.content.startswith('/help'):\r\n\t\t\tsub_client.send_message(chatId=data.message.chatId, message=help_message)\r\n```\r\n\r\n<h2 align=\"center\">Example</h2>\r\n\r\nSimply copy code above, and type `/help` in the chat.\r\n\r\nAlso, take a look at the code for this interactive help !\r\n\r\n---\r\n\r\nIf you can't find what you're looking for or need help with this library, you can [telegram me](https://t.me/augustlight) or an Discord - *engineer48*. We will be glad to help !\r\n\r\n\r\n<h2 align=\"center\">Notes</h2>\r\n\r\n* *This is not my project. Amino libraries already existed before me. I just wanted to create a simple and effective way to support bots*\r\n\r\n* *This is working only with the Python.*\r\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Best Amino.py alternative",
    "version": "0.1.8",
    "project_urls": {
        "Homepage": "https://github.com/AugustLigh/AminoLightPy"
    },
    "split_keywords": [
        "amino",
        " aminoapps",
        " amino.fix",
        " amino.light",
        " amino.ligt.py",
        " aminolightpy",
        " amino-bot",
        " narvii",
        " medialab",
        " api",
        " python",
        " python3",
        " python3.x",
        " minori",
        " august",
        " augustlight",
        " aminolightpy",
        " amino.py"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "cbc8423f5303ab9146d291bccb0aba1f4495ba3a2a56f44e123ba94e65361cab",
                "md5": "e0cc5881dcf565a2131b89525dddd35f",
                "sha256": "c8b2d3c9d293c1e1b16bef3b4f183f6d82915f5015bdb28f4ade9f782e84f7ae"
            },
            "downloads": -1,
            "filename": "amino.light.py-0.1.8.tar.gz",
            "has_sig": false,
            "md5_digest": "e0cc5881dcf565a2131b89525dddd35f",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 49633,
            "upload_time": "2024-04-28T16:42:28",
            "upload_time_iso_8601": "2024-04-28T16:42:28.416356Z",
            "url": "https://files.pythonhosted.org/packages/cb/c8/423f5303ab9146d291bccb0aba1f4495ba3a2a56f44e123ba94e65361cab/amino.light.py-0.1.8.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-28 16:42:28",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "AugustLigh",
    "github_project": "AminoLightPy",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "amino.light.py"
}
        
Elapsed time: 0.34786s