Skip to main content

A small API wrapper for garage doors using the MyQ API.

Project description

MyPythonQ

A functional (probably really bad) Python library for garage doors using myQ API.

Installation

pip install mypythonq

Usage

import mypyq

# Create a MyPythonQ instance
api = mypyq.create(account_id="my_account_id", refresh_token="my_refresh_token")

# Use the API to control garage doors
doors = api.devices()
for door in doors:
    print(door.status())
    door.open()

History

I created this library because I wanted to control my garage door using Python, and for my HomeAssistant integration; existing libraries stopped working becuase of the myQ API changes. This is a personal project and may not be suitable for production use.

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

mypyq-1.0.0.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

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

mypyq-1.0.0-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file mypyq-1.0.0.tar.gz.

File metadata

  • Download URL: mypyq-1.0.0.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.11

File hashes

Hashes for mypyq-1.0.0.tar.gz
Algorithm Hash digest
SHA256 60ac7ffcf05ce37d26758e4a69950921b81b947584b74bb87c1ab6c085e10059
MD5 aa85fa7a73fbaff47f412bda2456058e
BLAKE2b-256 bc3c22c29c801573e08114c02bd194139898a2ce52032ea37ec07927ca5f93aa

See more details on using hashes here.

File details

Details for the file mypyq-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: mypyq-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 5.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.11

File hashes

Hashes for mypyq-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 98ba58e993157230c46cd54df8676b658e314aa2869e96991311ee90454f3e3b
MD5 aeb1d065fe998dcdb9216a9c14cba07c
BLAKE2b-256 70bcd10307ed99ae315aef25add902e5b512307cf12dd91b550c3ed5c4abcf75

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