Skip to main content

Pyloxone-api

A Python API for communicating with a Loxone miniserver.    

PyPI - Python Version PyPI - License PyPI      

Development

We use Poetry for package and environment management, Black and isort for code formatting, and Pytest for testing.

  • Install Poetry

  • Clone the project from Github, and use Poetry to install a virtual environment and all dependencies:

    > git clone https://github.com/jodehli/pyloxone-api
    > cd pyloxone-api
    > poetry install
    
  • Activate the virtual environment and create a shell:

    > poetry shell
    
  • To test, make sure the virtual environment is activiated, and run pytest:

    > pytest
    
  • There are some tests which require a live miniserver on the network. They are slower, and are not run by default. Be careful with these tests—they might make your miniserver behave oddly. To run them, you must specify appropriate credentials, eg:

    > pytest --host=192.168.1.100 --port=80  --username=admin --password=admin
    

Release files for pyloxone-api 0.2.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyloxone-api 0.2.4
File Size Uploaded
pyloxone_api-0.2.4.tar.gz 19.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyloxone-api 0.2.4
File Interpreter ABI Platform
pyloxone_api-0.2.4-py3-none-any.whl Python 3 none any Details

Total release size: 41.1 kB

Release files / pyloxone_api-0.2.4.tar.gz

Download URL pyloxone_api-0.2.4.tar.gz
Size 19.5 kB
Tags Source
SHA-256 checksum
How to use checksums
ef0fccd696a4e781e60295f9801314499dc20f8a889638c73dc27a260ee8c084
BLAKE2b-256 checksum
How to use checksums
edccc2de72946e850f27b2c134af635c1920c934829be7e96b8976050337a9f5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.6 CPython/3.9.7 Linux/5.10.79-1-MANJARO

Release files / pyloxone_api-0.2.4-py3-none-any.whl

Download URL pyloxone_api-0.2.4-py3-none-any.whl
Size 21.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
59cadbaf927205c41caba9e47123ce309dddc12681cc09a192b29c89a41ab99c
BLAKE2b-256 checksum
How to use checksums
9ef1f8ec2aabba7a70dd938462ed483ea72702e07ca27e6250f27134453c4411
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.6 CPython/3.9.7 Linux/5.10.79-1-MANJARO

Release history Release notifications | RSS feed

This release

0.2.4 This release

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page