Epson-projector module
Asynchronous library to control Epson projectors
Requires Python 3.11 or higher.
Created mostly to use with Home Assistant.
Usage
Check out the test_*.py files and const.py to see all posibilities to send to projector.
"""Test and example of usage of Epson module."""
import epson_projector as epson
from epson_projector.const import (POWER)
import asyncio
import aiohttp
async def main():
"""Run main with aiohttp ClientSession."""
async with aiohttp.ClientSession() as session:
await run(session)
async def run(websession):
"""Use Projector class of epson module and check if it is turned on."""
projector = epson.Projector(
host='HOSTNAME',
websession=websession,
encryption=False)
data = await projector.get_property(POWER)
print(data)
asyncio.run(main())
Metadata
Release files for epson-projector 0.6.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| epson_projector-0.6.0.tar.gz | 9.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| epson_projector-0.6.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 21.9 kB
Release files / epson_projector-0.6.0.tar.gz
| Download URL | epson_projector-0.6.0.tar.gz |
|---|---|
| Size | 9.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ffd35cdf13b19d715f4ec4bcb3cdcc5d3915021a8bc2b2a799f47f13ceecf819
|
|
BLAKE2b-256 checksum How to use checksums |
4f2b27474ab3c2748e48135a048b550568dc7bb8c3a7dc9abb9fd9f2a464632c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|
Release files / epson_projector-0.6.0-py3-none-any.whl
| Download URL | epson_projector-0.6.0-py3-none-any.whl |
|---|---|
| Size | 12.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9717ea01e9dab941b56a8fa9017abe4d49e4d810ccc56903bb71fec7337d6791
|
|
BLAKE2b-256 checksum How to use checksums |
b0fff3f6a3de0e8d6388b0efdc4b6c620a749fa6dd3d1ea217fd90c1f74480ee
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|