Skip to main content

An Skybell HD Python library running on Python 3.

Project description

skybell-python Build Status Coverage Status

A thin Python library for the Skybell HD API. Only compatible with Python 3+

Disclaimer:

Published under the MIT license - See LICENSE file for more details.

“Skybell” is a trademark owned by SkyBell Technologies, Inc, see www.skybell.com for more information. I am in no way affiliated with Skybell.

Thank you Skybell for having a relatively simple API to reverse engineer. Hopefully in the future you’ll open it up for official use.

API calls faster than 60 seconds is not recommended as it can overwhelm Skybell’s servers.

Please use this module responsibly.

Installation

From PyPi:

pip3 install skybellpy

Command Line Usage

Simple command line implementation arguments:

$ skybellpy --help
  usage: SkybellPy: Command Line Utility [-h] -u USERNAME -p PASSWORD [--mode]
                                       [--devices] [--device device_id]

  optional arguments:
    -h, --help            show this help message and exit
    -u USERNAME, --username USERNAME
                          Username
    -p PASSWORD, --password PASSWORD
                          Password
    --devices             Output all devices
    --device device_id    Output one device for device_id

You can get all device information:

$ skybellpy -u USERNAME -p PASSWORD --devices

  Output here

Development and Testing

Install the core dependencies:

$ sudo apt-get install python3-pip python3-dev python3-venv

Checkout from github and then create a virtual environment:

$ git clone https://github.com/MisterWil/skybellpy.git
$ cd skybellpy
$ python3 -m venv venv

Activate the virtual environment:

$ source venv/bin/activate

Install requirements:

$ pip install -r requirements.txt -r requirements_test.txt

Install skybellpy locally in “editable mode”:

$ pip3 install -e .

Run the run the full test suite with tox before commit:

$ tox

Alternatively you can run just the tests:

$ tox -e py35

Library Usage

TODO

Class Descriptions

TODO

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

skybellpy-0.5.0.tar.gz (12.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

skybellpy-0.5.0-py3-none-any.whl (14.3 kB view details)

Uploaded Python 3

File details

Details for the file skybellpy-0.5.0.tar.gz.

File metadata

  • Download URL: skybellpy-0.5.0.tar.gz
  • Upload date:
  • Size: 12.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for skybellpy-0.5.0.tar.gz
Algorithm Hash digest
SHA256 e9882768f02697757017110b27310477915f5a39637f4aa5c0927f1c3e07b155
MD5 7877be6564d385d6f1f9daf31aaa884c
BLAKE2b-256 b539628b4ab3a4f3db61acb5bf6011509e22ef65603bf85569a64bc39dbcaf14

See more details on using hashes here.

File details

Details for the file skybellpy-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: skybellpy-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 14.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for skybellpy-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6c87ed324e8a2af6bdb626273110242ba6d319280178b7a41200c72acc8cf4d3
MD5 092ddeaba075a2b57999f1060a448b0e
BLAKE2b-256 a9db1615d1ff609d6ee5440c94ad9795b393ed93bae6dfda72628c3f66071784

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page