Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
"A python library for controlling a JVC Projector over a network connection."
A python library for controlling a JVC Projector over a network connection.
https://pypi.org/project/pyjvcprojector/
A full reference to the available commands is available from JVC here http://pro.jvc.com/pro/attributes/PRESENT/Manual/External%20Command%20Spec%20for%20D-ILA%20projector_V3.0.pdf.
JvcProjector::power_on()
turns on power.JvcProjector::power_off()
turns off power.JvcProjector::get_power()
gets power state (standby, on, cooling, warming, error)JvcProjector::get_input()
get current input (hdmi1, hdmi2).JvcProjector::get_signal()
get signal state (signal, nosignal).JvcProjector::get_state()
returns {power, input, signal}.JvcProjector::get_info()
returns {model, mac address}.A wrapper for calling JvcProjector::op(f"RC{code}")
JvcProjector::remote(code)
sends remote control command.JvcProjector::ref(code)
sends reference commands to read data. code
is formatted f"{cmd}"
.JvcProjector::op(code)
sends operation commands to write data. code
is formatted f"{cmd}{val}"
.pip install pyjvcprojector
import asyncio
from jvcprojector.projector import JvcProjector
from jvcprojector import const
async def main():
jp = JvcProjector("127.0.0.1")
await jp.connect()
print("Projector info:")
print(await jp.get_info())
if await jp.get_power() != const.ON:
await jp.power_on()
print("Waiting for projector to warmup...")
while await jp.get_power() != const.ON:
await asyncio.sleep(3)
print("Current state:")
print(await jp.get_state())
#
# Example sending remote code
#
print("Showing info window")
await jp.remote(const.REMOTE_INFO)
await asyncio.sleep(5)
print("Hiding info window")
await jp.remote(const.REMOTE_BACK)
#
# Example sending reference command (reads value from function)
#
print("Picture mode info:")
print(await jp.ref("PMPM"))
#
# Example sending operation command (writes value to function)
#
# await jp.ref("PMPM01") # Sets picture mode to Film
await jp.disconnect()
Password authentication is also supported for both older and newer models.
JvcProjector("127.0.0.1", password="1234567890")
FAQs
"A python library for controlling a JVC Projector over a network connection."
We found that pyjvcprojector demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.