Client wrapper for FSUIPC
Project description
fsuipc
This project provides a simple Python client class wrapper around the FSUIPC tool, which allows third-party programs to interact with the "inner workings" of popular flight simulator software.
Fsuipc is built on top of (and includes) pyuipc
, by István Váradi
(ivaradi@varadiistvan.hu).
Installation
The easiest way to install this package is using pip
:
pip install fsuipc
Note that fsuipc currently only supports 32-bit Python on Windows platforms.
Basic Usage
from fsuipc import FSUIPC
with FSUIPC() as fsuipc:
prepared = fsuipc.prepare_data([
(0x560, "l"),
(0x568, "l"),
(0x570, "l")
], True)
while True:
latitude, longitude, altitude = prepared.read()
print(f"Latitude: {latitude}")
print(f"Longitude: {longitude}")
print(f"Altitude: {altitude}")
input("Press ENTER to read again")
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
fsuipc-1.1.0.tar.gz
(15.3 kB
view hashes)
Built Distributions
fsuipc-1.1.0-cp38-cp38-win32.whl
(19.0 kB
view hashes)
fsuipc-1.1.0-cp37-cp37m-win32.whl
(18.9 kB
view hashes)
fsuipc-1.1.0-cp36-cp36m-win32.whl
(18.9 kB
view hashes)
fsuipc-1.1.0-cp35-cp35m-win32.whl
(18.9 kB
view hashes)
Close
Hashes for fsuipc-1.1.0-cp38-cp38-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3929a3b5d0fcbcd8910e3b796565b4f7804050d9ebac99265b9e16d555691b91 |
|
MD5 | 2fc13251742a0e28139e4b7d0643d112 |
|
BLAKE2b-256 | 99f10326542e55c4fd416d1464f6efa2aaf52d59f4ff343a8c2dba1b03f2d08b |
Close
Hashes for fsuipc-1.1.0-cp37-cp37m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 632af6ddd8e7f18637a332b8aafc0dcd74db52e79dd26a41d1340e234a0ca2c2 |
|
MD5 | 3777dc1d87cd524c148a83d1277fdde3 |
|
BLAKE2b-256 | dfba1deb12946bc617b8005d9e2def8ea7bc6d1bde60a64546e995b05a047bd3 |
Close
Hashes for fsuipc-1.1.0-cp36-cp36m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a0a3ba641a632b1738e66a1c7caa8a2eb2f6b67dd015c0e67e71321434191c88 |
|
MD5 | b41708a04d4539a1a15d83ade8287987 |
|
BLAKE2b-256 | 721d1233f87e5b827574cb64e3f5705bd6ceeea995b0b1f8640a120390c37d84 |
Close
Hashes for fsuipc-1.1.0-cp35-cp35m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bca0ee6ece03aec578deb7d1e5992f108dec811f4c06fe67b1f802b26a6d57c5 |
|
MD5 | 299c965792ba859f59a2bac6b5fcd29e |
|
BLAKE2b-256 | 0aa4f9f3f261dde86e3d0d56a46198936c2b52d5c5a92bcdd648638123a76a47 |