lullaby


Namelullaby JSON
Version 0.2 PyPI version JSON
download
home_pagehttps://github.com/andrekornyk/Lullaby-Library-by-DexTeam/
SummaryTelegram Bot API Python wrapper.
upload_time2024-03-01 19:34:30
maintainer
docs_urlNone
authorDexTeam
requires_python
license
keywords telegram bot api lullaby
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ================================================================
Framework for extract data from vk.com (russian social network).
================================================================

This is a Python wrapper for Telegram Bot API.

Quickstart
==========

Install
-------

.. code:: bash

    pip install lullaby

Usage
-----

.. code:: python

    >>> from lullaby import Lullaby
    >>> from lullaby.long_polling import get_updates
    >>>
    >>> token = '123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11'
    >>> lullaby_bot = Lullaby(token)
    >>>
    >>> print(lullaby_bot.getMe())
    >>>
    >>> def on_updates(updates):
    ...    print(updates)
    ...
    >>> get_updates(lullaby_bot, on_updates, timeout=10)

See https://core.telegram.org/bots/api for detailed API guide.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/andrekornyk/Lullaby-Library-by-DexTeam/",
    "name": "lullaby",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "telegram bot api lullaby",
    "author": "DexTeam",
    "author_email": "bankcommandoofficial@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/e9/77/3cc725b9bda696e6e24c980d2dd80dac8f66d58ee804b3989b6ef51da018/lullaby-0.2.tar.gz",
    "platform": null,
    "description": "================================================================\r\nFramework for extract data from vk.com (russian social network).\r\n================================================================\r\n\r\nThis is a Python wrapper for Telegram Bot API.\r\n\r\nQuickstart\r\n==========\r\n\r\nInstall\r\n-------\r\n\r\n.. code:: bash\r\n\r\n    pip install lullaby\r\n\r\nUsage\r\n-----\r\n\r\n.. code:: python\r\n\r\n    >>> from lullaby import Lullaby\r\n    >>> from lullaby.long_polling import get_updates\r\n    >>>\r\n    >>> token = '123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11'\r\n    >>> lullaby_bot = Lullaby(token)\r\n    >>>\r\n    >>> print(lullaby_bot.getMe())\r\n    >>>\r\n    >>> def on_updates(updates):\r\n    ...    print(updates)\r\n    ...\r\n    >>> get_updates(lullaby_bot, on_updates, timeout=10)\r\n\r\nSee https://core.telegram.org/bots/api for detailed API guide.\r\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "Telegram Bot API Python wrapper.",
    "version": "0.2",
    "project_urls": {
        "Homepage": "https://github.com/andrekornyk/Lullaby-Library-by-DexTeam/"
    },
    "split_keywords": [
        "telegram",
        "bot",
        "api",
        "lullaby"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "aaae82b1f68aa75f73c3835e556b8145ffb40eefef3f80ef16c65d5531689b37",
                "md5": "000609d361d1563e24ca280bde4bae8f",
                "sha256": "eef5907edf6e659d134351c4580a798fa066be26a18950728404fda7aedf4e5e"
            },
            "downloads": -1,
            "filename": "lullaby-0.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "000609d361d1563e24ca280bde4bae8f",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 2655,
            "upload_time": "2024-03-01T19:34:28",
            "upload_time_iso_8601": "2024-03-01T19:34:28.780907Z",
            "url": "https://files.pythonhosted.org/packages/aa/ae/82b1f68aa75f73c3835e556b8145ffb40eefef3f80ef16c65d5531689b37/lullaby-0.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e9773cc725b9bda696e6e24c980d2dd80dac8f66d58ee804b3989b6ef51da018",
                "md5": "a5199ba786af6841a20144a227df01ce",
                "sha256": "ba80180b2ab3e9720d2ba14e6df84cb427138f4d6f65e8aa9e45ac66c3a86240"
            },
            "downloads": -1,
            "filename": "lullaby-0.2.tar.gz",
            "has_sig": false,
            "md5_digest": "a5199ba786af6841a20144a227df01ce",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 2425,
            "upload_time": "2024-03-01T19:34:30",
            "upload_time_iso_8601": "2024-03-01T19:34:30.088738Z",
            "url": "https://files.pythonhosted.org/packages/e9/77/3cc725b9bda696e6e24c980d2dd80dac8f66d58ee804b3989b6ef51da018/lullaby-0.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-01 19:34:30",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "andrekornyk",
    "github_project": "Lullaby-Library-by-DexTeam",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "lullaby"
}
        
Elapsed time: 4.92873s