aioskybellgen


Nameaioskybellgen JSON
Version 0.1.3 PyPI version JSON
download
home_pageNone
SummaryA Skybell Gen5 API Python library running on Python 3.
upload_time2025-08-12 12:40:58
maintainerNone
docs_urlNone
authorNone
requires_python>=3.11
licenseNone
keywords aioskybellgen skybellgen
VCS
bugtrack_url
requirements aiofiles aiohttp aresponses black build isort flake8 flake8-docstrings freezegun mypy pylint pytest-cov pytest-asyncio pytest-freezer pytest types-aiofiles
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # aioskybellgen
_Asynchronous python communication driver for Skybell Cloud APIs_

![python version](https://img.shields.io/badge/Python->=3.11-blue.svg)
[![PyPI](https://img.shields.io/pypi/v/aioskybellgen)](https://pypi.org/project/aioskybellgen)

## Installation

```bash
python3 -m pip install aioskybellgen
```

## Example usage

More examples can be found in the `tests` directory.

```python
    """Provide an example usage of aioskybellgen."""
    # Sign on to Skybell API
    async with Skybell(
        username=USER_NAME, password=PASSWORD, get_devices=True
    ) as client:
        # Update the user and session cache
        await client.async_update_cache({CONST.ACCESS_TOKEN: ""})
        # Get the initial set of devices without events and activities
        devices = await client.async_initialize()
        for device in devices:
            # Update/refresh the activities and events
            await device.async_update()
            print(f"Device: {device.device_id}, Status: {device.status}")


loop = asyncio.new_event_loop()
asyncio.set_event_loop(loop)
try:
    loop.run_until_complete(async_example())
except KeyboardInterrupt:
    pass
```

## Contribute

**All** contributions are welcome!

1. Fork the repository
2. Clone the repository locally and open the devcontainer or use GitHub codespaces
3. Do your changes
4. Lint the files with `make lint`
5. Ensure all tests passes with `make test`
6. Ensure 100% coverage with `make coverage`
7. Commit your work, and push it to GitHub
8. Create a PR against the `develop` branch

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "aioskybellgen",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.11",
    "maintainer_email": "Tim Carey <tlcareyintx@gmail.com>",
    "keywords": "aioskybellgen, skybellgen",
    "author": null,
    "author_email": "Tim Carey <tlcareyintx@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/94/57/69a8bbaef2d8560a8ec7fc64d52b777a098629cc6199013f43c751590b87/aioskybellgen-0.1.3.tar.gz",
    "platform": null,
    "description": "# aioskybellgen\n_Asynchronous python communication driver for Skybell Cloud APIs_\n\n![python version](https://img.shields.io/badge/Python->=3.11-blue.svg)\n[![PyPI](https://img.shields.io/pypi/v/aioskybellgen)](https://pypi.org/project/aioskybellgen)\n\n## Installation\n\n```bash\npython3 -m pip install aioskybellgen\n```\n\n## Example usage\n\nMore examples can be found in the `tests` directory.\n\n```python\n    \"\"\"Provide an example usage of aioskybellgen.\"\"\"\n    # Sign on to Skybell API\n    async with Skybell(\n        username=USER_NAME, password=PASSWORD, get_devices=True\n    ) as client:\n        # Update the user and session cache\n        await client.async_update_cache({CONST.ACCESS_TOKEN: \"\"})\n        # Get the initial set of devices without events and activities\n        devices = await client.async_initialize()\n        for device in devices:\n            # Update/refresh the activities and events\n            await device.async_update()\n            print(f\"Device: {device.device_id}, Status: {device.status}\")\n\n\nloop = asyncio.new_event_loop()\nasyncio.set_event_loop(loop)\ntry:\n    loop.run_until_complete(async_example())\nexcept KeyboardInterrupt:\n    pass\n```\n\n## Contribute\n\n**All** contributions are welcome!\n\n1. Fork the repository\n2. Clone the repository locally and open the devcontainer or use GitHub codespaces\n3. Do your changes\n4. Lint the files with `make lint`\n5. Ensure all tests passes with `make test`\n6. Ensure 100% coverage with `make coverage`\n7. Commit your work, and push it to GitHub\n8. Create a PR against the `develop` branch\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "A Skybell Gen5 API Python library running on Python 3.",
    "version": "0.1.3",
    "project_urls": {
        "Bug Tracker": "https://github.com/tcareyintx/aioskybellgen/issues",
        "Repository": "https://github.com/tcareyintx/aioskybellgen.git"
    },
    "split_keywords": [
        "aioskybellgen",
        " skybellgen"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "099658e865527fbd16e7dfbdc9d408f7aa568ccc4e3a6adee39d6df719e0923a",
                "md5": "6c685988427a4a43be6afb60270a35dc",
                "sha256": "f7ffe172919f4e937c42b4cd5955167e3fac3abbb45595ac94957bdf097de0be"
            },
            "downloads": -1,
            "filename": "aioskybellgen-0.1.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "6c685988427a4a43be6afb60270a35dc",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.11",
            "size": 18417,
            "upload_time": "2025-08-12T12:40:56",
            "upload_time_iso_8601": "2025-08-12T12:40:56.834723Z",
            "url": "https://files.pythonhosted.org/packages/09/96/58e865527fbd16e7dfbdc9d408f7aa568ccc4e3a6adee39d6df719e0923a/aioskybellgen-0.1.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "945769a8bbaef2d8560a8ec7fc64d52b777a098629cc6199013f43c751590b87",
                "md5": "5f64a24db3a978a05da42745fba102f7",
                "sha256": "aec3d74f21a09aacfc09cdf5ed72dacd5b3060623757514c503ab4fd47acff80"
            },
            "downloads": -1,
            "filename": "aioskybellgen-0.1.3.tar.gz",
            "has_sig": false,
            "md5_digest": "5f64a24db3a978a05da42745fba102f7",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.11",
            "size": 34042,
            "upload_time": "2025-08-12T12:40:58",
            "upload_time_iso_8601": "2025-08-12T12:40:58.180271Z",
            "url": "https://files.pythonhosted.org/packages/94/57/69a8bbaef2d8560a8ec7fc64d52b777a098629cc6199013f43c751590b87/aioskybellgen-0.1.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-08-12 12:40:58",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "tcareyintx",
    "github_project": "aioskybellgen",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [
        {
            "name": "aiofiles",
            "specs": [
                [
                    ">=",
                    "0.3.0"
                ]
            ]
        },
        {
            "name": "aiohttp",
            "specs": [
                [
                    ">=",
                    "3.6.1"
                ],
                [
                    "<",
                    "4.0"
                ]
            ]
        },
        {
            "name": "aresponses",
            "specs": [
                [
                    ">=",
                    "2.1.4"
                ]
            ]
        },
        {
            "name": "black",
            "specs": [
                [
                    ">=",
                    "21.11b1"
                ]
            ]
        },
        {
            "name": "build",
            "specs": [
                [
                    ">=",
                    "1.2.1"
                ]
            ]
        },
        {
            "name": "isort",
            "specs": [
                [
                    ">=",
                    "5.10.1"
                ]
            ]
        },
        {
            "name": "flake8",
            "specs": [
                [
                    ">=",
                    "4.0.1"
                ]
            ]
        },
        {
            "name": "flake8-docstrings",
            "specs": [
                [
                    ">=",
                    "1.6.0"
                ]
            ]
        },
        {
            "name": "freezegun",
            "specs": [
                [
                    ">=",
                    "1.5.1"
                ]
            ]
        },
        {
            "name": "mypy",
            "specs": [
                [
                    ">=",
                    "0.910"
                ]
            ]
        },
        {
            "name": "pylint",
            "specs": [
                [
                    ">=",
                    "2.12.1"
                ]
            ]
        },
        {
            "name": "pytest-cov",
            "specs": [
                [
                    ">=",
                    "3.0.0"
                ]
            ]
        },
        {
            "name": "pytest-asyncio",
            "specs": [
                [
                    ">=",
                    "0.16.0"
                ]
            ]
        },
        {
            "name": "pytest-freezer",
            "specs": [
                [
                    ">=",
                    "0.4.8"
                ]
            ]
        },
        {
            "name": "pytest",
            "specs": [
                [
                    ">=",
                    "6.2.4"
                ]
            ]
        },
        {
            "name": "types-aiofiles",
            "specs": [
                [
                    ">=",
                    "0.8.3"
                ]
            ]
        }
    ],
    "lcname": "aioskybellgen"
}
        
Elapsed time: 0.73693s