minuteinbox


Nameminuteinbox JSON
Version 0.3.0 PyPI version JSON
download
home_pagehttps://github.com/fedecalendino/minuteinbox
SummaryUnofficial python wrapper for minuteinbox.com
upload_time2023-01-03 06:08:28
maintainer
docs_urlNone
authorFede Calendino
requires_python>=3.8,<4.0
licenseMIT
keywords minuteinbox.com
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
             # minuteinbox

[![Version](https://img.shields.io/pypi/v/minuteinbox?logo=pypi)](https://pypi.org/project/minuteinbox)
[![Quality Gate Status](https://img.shields.io/sonar/alert_status/fedecalendino_minuteinbox?logo=sonarcloud&server=https://sonarcloud.io)](https://sonarcloud.io/dashboard?id=fedecalendino_minuteinbox)
[![CodeCoverage](https://img.shields.io/sonar/coverage/fedecalendino_minuteinbox?logo=sonarcloud&server=https://sonarcloud.io)](https://sonarcloud.io/dashboard?id=fedecalendino_minuteinbox)

Unofficial python wrapper for minuteinbox.com


### usage

```python
from minuteinbox import Inbox

# use without parameters to create a new inbox
# inbox = Inbox()

# use with address and token to reuse an existing inbox
inbox = Inbox(
    address="maximo.kayo@moontrack.net",
    token="86d6b9308a1a482ba348533a457146c4",
)

address = inbox.address
token = inbox.token

print(address, "(", token, ")")
print()

# extend the expiration of the inbox by 10 minutes
inbox.extend_10m()

print("Expires in:", inbox.expires_in, "seconds")
print()

# fetch all emails in the inbox
for mail in inbox.mails:
    print("FROM:", mail.sender.name, mail.sender.address)
    print("SUBJECT:", mail.subject)
    print("SENT AT:", mail.sent_at)
    print("IS NEW:", mail.is_new)

    print("CONTENT")
    print(mail.content)
```
            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/fedecalendino/minuteinbox",
    "name": "minuteinbox",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8,<4.0",
    "maintainer_email": "",
    "keywords": "minuteinbox.com",
    "author": "Fede Calendino",
    "author_email": "fede@calendino.com",
    "download_url": "https://files.pythonhosted.org/packages/dc/e4/b56e8e46b5831ed1c038001e836dec2d7b11eef3ff875b4d5dd287ffb1e9/minuteinbox-0.3.0.tar.gz",
    "platform": null,
    "description": " # minuteinbox\n\n[![Version](https://img.shields.io/pypi/v/minuteinbox?logo=pypi)](https://pypi.org/project/minuteinbox)\n[![Quality Gate Status](https://img.shields.io/sonar/alert_status/fedecalendino_minuteinbox?logo=sonarcloud&server=https://sonarcloud.io)](https://sonarcloud.io/dashboard?id=fedecalendino_minuteinbox)\n[![CodeCoverage](https://img.shields.io/sonar/coverage/fedecalendino_minuteinbox?logo=sonarcloud&server=https://sonarcloud.io)](https://sonarcloud.io/dashboard?id=fedecalendino_minuteinbox)\n\nUnofficial python wrapper for minuteinbox.com\n\n\n### usage\n\n```python\nfrom minuteinbox import Inbox\n\n# use without parameters to create a new inbox\n# inbox = Inbox()\n\n# use with address and token to reuse an existing inbox\ninbox = Inbox(\n    address=\"maximo.kayo@moontrack.net\",\n    token=\"86d6b9308a1a482ba348533a457146c4\",\n)\n\naddress = inbox.address\ntoken = inbox.token\n\nprint(address, \"(\", token, \")\")\nprint()\n\n# extend the expiration of the inbox by 10 minutes\ninbox.extend_10m()\n\nprint(\"Expires in:\", inbox.expires_in, \"seconds\")\nprint()\n\n# fetch all emails in the inbox\nfor mail in inbox.mails:\n    print(\"FROM:\", mail.sender.name, mail.sender.address)\n    print(\"SUBJECT:\", mail.subject)\n    print(\"SENT AT:\", mail.sent_at)\n    print(\"IS NEW:\", mail.is_new)\n\n    print(\"CONTENT\")\n    print(mail.content)\n```",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Unofficial python wrapper for minuteinbox.com",
    "version": "0.3.0",
    "split_keywords": [
        "minuteinbox.com"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c747a3934e7d8bbe99d065155745f433a2b09606865478be20bb477a5f88e887",
                "md5": "ead38256bbdb84ed7c65ed318d5d79c3",
                "sha256": "b2f6189e341465c11c0949070fad5ab3bce7e14d8e091a79fdbf5529414b30a7"
            },
            "downloads": -1,
            "filename": "minuteinbox-0.3.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "ead38256bbdb84ed7c65ed318d5d79c3",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8,<4.0",
            "size": 4208,
            "upload_time": "2023-01-03T06:08:27",
            "upload_time_iso_8601": "2023-01-03T06:08:27.407593Z",
            "url": "https://files.pythonhosted.org/packages/c7/47/a3934e7d8bbe99d065155745f433a2b09606865478be20bb477a5f88e887/minuteinbox-0.3.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "dce4b56e8e46b5831ed1c038001e836dec2d7b11eef3ff875b4d5dd287ffb1e9",
                "md5": "0874eaa0036c38d3374758bbe5174fa7",
                "sha256": "ab6f76923fd04aef33815d62f81b4bccd10f6058de2d2228358ced1dbb06da76"
            },
            "downloads": -1,
            "filename": "minuteinbox-0.3.0.tar.gz",
            "has_sig": false,
            "md5_digest": "0874eaa0036c38d3374758bbe5174fa7",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8,<4.0",
            "size": 3770,
            "upload_time": "2023-01-03T06:08:28",
            "upload_time_iso_8601": "2023-01-03T06:08:28.516100Z",
            "url": "https://files.pythonhosted.org/packages/dc/e4/b56e8e46b5831ed1c038001e836dec2d7b11eef3ff875b4d5dd287ffb1e9/minuteinbox-0.3.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-01-03 06:08:28",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "fedecalendino",
    "github_project": "minuteinbox",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "minuteinbox"
}
        
Elapsed time: 0.02896s