Skip to main content

PJLink is a standard for controlling data projectors.

Project description

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

Project details


Release history Release notifications

This version
History Node

1.1.1

History Node

1.1

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
pypjlink-1.1.1.tar.gz (7.9 kB) Copy SHA256 hash SHA256 Source None Mar 1, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page