pypjlink is a python library and command line utility to interoperate with projectors through pjlink protocol (http://pjlink.jbmia.or.jp/english/)
It is a fork of the work of Peter Ward (https://bitbucket.org/flowblok/pjlink).
Installation
Latest release can be found on pypi and installed with: $ pip install
Command line usage
Querying projector status is simple: $ pjlink -p 10.1.1.1 power
and so it is sending commands: $ pjlink -p 10.1.1.1 power off
A password will be requested if configured on the projector.
Please see help or manpage for complete usage options.
Python library usage
The library supports the following python versions: * python2.7 * python3.4 * python3.5
>>> from pypjlink import Projector
>>> projector = Projector.from_address('10.1.1.1')
>>> projector.get_power()
'off'
>>> projector.set_power('off')
To run tests, you can use tox to run against every supported python versions $ tox
Or you can launch tests in current environment:
$ python -m unittest discover pypjlink.tests
Metadata
Release files for pypjlink 1.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pypjlink-1.1.1.tar.gz | 7.9 kB | Without provenance | Details for pypjlink-1.1.1.tar.gz |
Release files / pypjlink-1.1.1.tar.gz
| Download URL | pypjlink-1.1.1.tar.gz |
|---|---|
| Size | 7.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6651988cbad7ca3f6e63219b0e7b5f2f6b3f49ec2821c7c28d2202f2c308ebf5
|
|
BLAKE2b-256 checksum How to use checksums |
37e1701031b808777a99200ea1e36edfb390deca77eb42a2b179b19d7211e9f4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for pypjlink 1.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.