pytonika


Namepytonika JSON
Version 0.1.0 PyPI version JSON
download
home_pageNone
SummaryPython wrapper for the Teltonika API.
upload_time2025-10-09 14:31:03
maintainerNone
docs_urlNone
authorNone
requires_python>=3.10
licenseMIT License Copyright (c) 2025 Iker García Calviño Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
keywords teltonika api python networking routers gateways access-points switches
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Pytonika

Pytonika is a lightweight Python client library to interact with **Teltonika Networks devices** via their Web API.
It provides simple device abstractions and grouped endpoint interfaces to make automation and scripting straightforward.

- Lightweight, synchronous HTTP client built on top of [httpx](https://www.python-httpx.org/).
- Device wrappers for routers, gateways, access points and switches.

> [!IMPORTANT]
> Pytonika is **not an official Teltonika library**.
> This project is maintained by the community and is not affiliated with or endorsed by Teltonika Networks.

## Installation

### Requirements

- Python **3.10+**
- [httpx](https://pypi.org/project/httpx/) >= **0.28.1**

### Install from PyPI

```bash
pip install pytonika
```

### Basic usage

```python
>>> from pytonika import Router
>>> router = Router("http://192.168.1.1/")
>>> router.authentication.login("admin", "admin01")
{'success': 'boolean', 'data': {'username': 'string', 'group': 'string', 'token': 'string', 'expires': 'integer'}}
>>> router.authentication.get_session_status()
{'success': 'boolean', 'data': {'active': 'boolean'}}
>>> router.authentication.logout()
{'success': 'boolean', 'data': {'response': 'string'}}
```

## Contribute

If you want to contribute with Pytonika check out the [Contributing guidelines](CONTRIBUTING.md).

## License

[MIT License](LICENSE)

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "pytonika",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": null,
    "keywords": "teltonika, api, python, networking, routers, gateways, access-points, switches",
    "author": null,
    "author_email": "Iker Garc\u00eda Calvi\u00f1o <iker.gcalvino@udc.es>",
    "download_url": "https://files.pythonhosted.org/packages/8f/df/bf6797b700e0c10be211ae1c27a8145fae3f2da9a02ebac1ee5e60498d55/pytonika-0.1.0.tar.gz",
    "platform": null,
    "description": "# Pytonika\n\nPytonika is a lightweight Python client library to interact with **Teltonika Networks devices** via their Web API.\nIt provides simple device abstractions and grouped endpoint interfaces to make automation and scripting straightforward.\n\n- Lightweight, synchronous HTTP client built on top of [httpx](https://www.python-httpx.org/).\n- Device wrappers for routers, gateways, access points and switches.\n\n> [!IMPORTANT]\n> Pytonika is **not an official Teltonika library**.\n> This project is maintained by the community and is not affiliated with or endorsed by Teltonika Networks.\n\n## Installation\n\n### Requirements\n\n- Python **3.10+**\n- [httpx](https://pypi.org/project/httpx/) >= **0.28.1**\n\n### Install from PyPI\n\n```bash\npip install pytonika\n```\n\n### Basic usage\n\n```python\n>>> from pytonika import Router\n>>> router = Router(\"http://192.168.1.1/\")\n>>> router.authentication.login(\"admin\", \"admin01\")\n{'success': 'boolean', 'data': {'username': 'string', 'group': 'string', 'token': 'string', 'expires': 'integer'}}\n>>> router.authentication.get_session_status()\n{'success': 'boolean', 'data': {'active': 'boolean'}}\n>>> router.authentication.logout()\n{'success': 'boolean', 'data': {'response': 'string'}}\n```\n\n## Contribute\n\nIf you want to contribute with Pytonika check out the [Contributing guidelines](CONTRIBUTING.md).\n\n## License\n\n[MIT License](LICENSE)\n",
    "bugtrack_url": null,
    "license": "MIT License\n        \n        Copyright (c) 2025 Iker Garc\u00eda Calvi\u00f1o\n        \n        Permission is hereby granted, free of charge, to any person obtaining a copy\n        of this software and associated documentation files (the \"Software\"), to deal\n        in the Software without restriction, including without limitation the rights\n        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n        copies of the Software, and to permit persons to whom the Software is\n        furnished to do so, subject to the following conditions:\n        \n        The above copyright notice and this permission notice shall be included in all\n        copies or substantial portions of the Software.\n        \n        THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n        SOFTWARE.\n        ",
    "summary": "Python wrapper for the Teltonika API.",
    "version": "0.1.0",
    "project_urls": {
        "Homepage": "https://github.com/ikergcalvino/pytonika",
        "Issues": "https://github.com/ikergcalvino/pytonika/issues",
        "Repository": "https://github.com/ikergcalvino/pytonika.git"
    },
    "split_keywords": [
        "teltonika",
        " api",
        " python",
        " networking",
        " routers",
        " gateways",
        " access-points",
        " switches"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "b22ee7f8c00a24c2bfce42901c0000fb1245c5ae4d7caca9043852ecb645fcea",
                "md5": "71c13f1634902f6b70c02544c07588c2",
                "sha256": "6075561af41263311008b80f3c7b0abe16e7f2eded5bc0bd83c84f4236cac587"
            },
            "downloads": -1,
            "filename": "pytonika-0.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "71c13f1634902f6b70c02544c07588c2",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 13814,
            "upload_time": "2025-10-09T14:31:01",
            "upload_time_iso_8601": "2025-10-09T14:31:01.906017Z",
            "url": "https://files.pythonhosted.org/packages/b2/2e/e7f8c00a24c2bfce42901c0000fb1245c5ae4d7caca9043852ecb645fcea/pytonika-0.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "8fdfbf6797b700e0c10be211ae1c27a8145fae3f2da9a02ebac1ee5e60498d55",
                "md5": "8cae6dbe3ca159315b257092b700130c",
                "sha256": "95b217f910de552e954e79facedf988b79b8f3640febfcd5c7b25fdabe99334d"
            },
            "downloads": -1,
            "filename": "pytonika-0.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "8cae6dbe3ca159315b257092b700130c",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 8338,
            "upload_time": "2025-10-09T14:31:03",
            "upload_time_iso_8601": "2025-10-09T14:31:03.441290Z",
            "url": "https://files.pythonhosted.org/packages/8f/df/bf6797b700e0c10be211ae1c27a8145fae3f2da9a02ebac1ee5e60498d55/pytonika-0.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-10-09 14:31:03",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "ikergcalvino",
    "github_project": "pytonika",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "pytonika"
}
        
Elapsed time: 1.70262s