GmailBox


NameGmailBox JSON
Version 1.0.0 PyPI version JSON
download
home_pageNone
SummaryWith this library, you can create random Gmail and receive messages
upload_time2024-07-07 17:39:48
maintainerNone
docs_urlNone
authorHamo
requires_pythonNone
licenseLGPLv3
keywords gmail mail gmailbox inbox email tempmail tempgmail
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # GmailBox

> With this library, you can create random Gmail and receive messages

## Install :
```commandline
pip install -U GmailBox
```
## How to use?
- Here an example to use it:
```python
from GmailBox import GmailBox

Gmail = GmailBox()

# Create a new gmail
New_Gmail = Gmail.new_email()
email = New_Gmail.email
print(email)

# Start checking the inbox
inbox = Gmail.inbox(email)

# If there are messages in the inbox, print them
if inbox:
    for message in inbox:
        print("=" * 21)
        print(message)
    print("=" * 21)
# If no messages were received, print a message
else:
    print(f' [!] No messages were received.')

```
- Here an async example:
```python
from GmailBox.asyncio import GmailBox
import asyncio

# Define the main function
async def main():
    Gmail = GmailBox()

    # Create a new gmail
    New_Gmail = await Gmail.new_email()
    email = New_Gmail.email
    print(email)
    
    # Start checking the inbox
    inbox = await Gmail.inbox(email)

    # If there are messages in the inbox, print them
    if inbox:
        for message in inbox:
            print("=" * 21)
            print(message)
        print("=" * 21)
    # If no messages were received, print a message
    else:
        print(f' [!] No messages were received.')

# Run the main function
asyncio.run(main())
```
## On GitHub
* <a href="https://github.com/H7AM0/GmailBox">GmailBox</a>

## Author
<p align="center">
    <a href="https://github.com/H7AM0/GmailBox">
        <img src="https://telegra.ph/file/19f7cbbf3959941cda6b5.jpg" alt="Hamo" width="128">
    </a>
    <br>
    <b>Hamo • حـمــو</b>
    <br>
    <a href="https://www.instagram.com/4.4cq/">
        Instagram <img src="https://upload.wikimedia.org/wikipedia/commons/a/a5/Instagram_icon.png" alt="Instagram" width="20">
    </a>
    • 
    <a href="https://t.me/hamo_back">
        <img src="https://upload.wikimedia.org/wikipedia/commons/8/82/Telegram_logo.svg" alt="Telegram" width="20"> Telegram
    </a>
</p>

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "GmailBox",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "gmail, mail, GmailBox, inbox, email, Tempmail, Tempgmail",
    "author": "Hamo",
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/1b/40/de64b54db106302ca74bbd0e3fac6887336e32d9e5e12a5fec0be2570bae/gmailbox-1.0.0.tar.gz",
    "platform": null,
    "description": "# GmailBox\r\n\r\n> With this library, you can create random Gmail and receive messages\r\n\r\n## Install :\r\n```commandline\r\npip install -U GmailBox\r\n```\r\n## How to use?\r\n- Here an example to use it:\r\n```python\r\nfrom GmailBox import GmailBox\r\n\r\nGmail = GmailBox()\r\n\r\n# Create a new gmail\r\nNew_Gmail = Gmail.new_email()\r\nemail = New_Gmail.email\r\nprint(email)\r\n\r\n# Start checking the inbox\r\ninbox = Gmail.inbox(email)\r\n\r\n# If there are messages in the inbox, print them\r\nif inbox:\r\n    for message in inbox:\r\n        print(\"=\" * 21)\r\n        print(message)\r\n    print(\"=\" * 21)\r\n# If no messages were received, print a message\r\nelse:\r\n    print(f' [!] No messages were received.')\r\n\r\n```\r\n- Here an async example:\r\n```python\r\nfrom GmailBox.asyncio import GmailBox\r\nimport asyncio\r\n\r\n# Define the main function\r\nasync def main():\r\n    Gmail = GmailBox()\r\n\r\n    # Create a new gmail\r\n    New_Gmail = await Gmail.new_email()\r\n    email = New_Gmail.email\r\n    print(email)\r\n    \r\n    # Start checking the inbox\r\n    inbox = await Gmail.inbox(email)\r\n\r\n    # If there are messages in the inbox, print them\r\n    if inbox:\r\n        for message in inbox:\r\n            print(\"=\" * 21)\r\n            print(message)\r\n        print(\"=\" * 21)\r\n    # If no messages were received, print a message\r\n    else:\r\n        print(f' [!] No messages were received.')\r\n\r\n# Run the main function\r\nasyncio.run(main())\r\n```\r\n## On GitHub\r\n* <a href=\"https://github.com/H7AM0/GmailBox\">GmailBox</a>\r\n\r\n## Author\r\n<p align=\"center\">\r\n    <a href=\"https://github.com/H7AM0/GmailBox\">\r\n        <img src=\"https://telegra.ph/file/19f7cbbf3959941cda6b5.jpg\" alt=\"Hamo\" width=\"128\">\r\n    </a>\r\n    <br>\r\n    <b>Hamo \u2022 \u062d\u0640\u0645\u0640\u0640\u0648</b>\r\n    <br>\r\n    <a href=\"https://www.instagram.com/4.4cq/\">\r\n        Instagram <img src=\"https://upload.wikimedia.org/wikipedia/commons/a/a5/Instagram_icon.png\" alt=\"Instagram\" width=\"20\">\r\n    </a>\r\n    \u2022 \r\n    <a href=\"https://t.me/hamo_back\">\r\n        <img src=\"https://upload.wikimedia.org/wikipedia/commons/8/82/Telegram_logo.svg\" alt=\"Telegram\" width=\"20\"> Telegram\r\n    </a>\r\n</p>\r\n",
    "bugtrack_url": null,
    "license": "LGPLv3",
    "summary": "With this library, you can create random Gmail and receive messages",
    "version": "1.0.0",
    "project_urls": null,
    "split_keywords": [
        "gmail",
        " mail",
        " gmailbox",
        " inbox",
        " email",
        " tempmail",
        " tempgmail"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3947c341b14eb7d998cab8e56414b9021ab8cbc199c4505d8adf95d2db46bb4c",
                "md5": "ced71e28581116a345bef18ab4074861",
                "sha256": "9494fc6a5a27ff6307511c2fb4d7460eb862b0bb08fc9cf0b27758a4fe601656"
            },
            "downloads": -1,
            "filename": "GmailBox-1.0.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "ced71e28581116a345bef18ab4074861",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 7718,
            "upload_time": "2024-07-07T17:39:47",
            "upload_time_iso_8601": "2024-07-07T17:39:47.309715Z",
            "url": "https://files.pythonhosted.org/packages/39/47/c341b14eb7d998cab8e56414b9021ab8cbc199c4505d8adf95d2db46bb4c/GmailBox-1.0.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "1b40de64b54db106302ca74bbd0e3fac6887336e32d9e5e12a5fec0be2570bae",
                "md5": "4bbc6ccb15793a11133faa75f309e6bd",
                "sha256": "c1b9ee5084b550c4c149f315d91dfc3ce0f6ad56505d4057a4e7433ef4fe9695"
            },
            "downloads": -1,
            "filename": "gmailbox-1.0.0.tar.gz",
            "has_sig": false,
            "md5_digest": "4bbc6ccb15793a11133faa75f309e6bd",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 5496,
            "upload_time": "2024-07-07T17:39:48",
            "upload_time_iso_8601": "2024-07-07T17:39:48.716842Z",
            "url": "https://files.pythonhosted.org/packages/1b/40/de64b54db106302ca74bbd0e3fac6887336e32d9e5e12a5fec0be2570bae/gmailbox-1.0.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-07-07 17:39:48",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "gmailbox"
}
        
Elapsed time: 4.01642s