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.0.3.tar.gz
(15.1 kB
view hashes)
Built Distributions
fsuipc-1.0.3-cp38-cp38-win32.whl
(18.8 kB
view hashes)
fsuipc-1.0.3-cp37-cp37m-win32.whl
(18.7 kB
view hashes)
fsuipc-1.0.3-cp36-cp36m-win32.whl
(18.7 kB
view hashes)
fsuipc-1.0.3-cp35-cp35m-win32.whl
(18.7 kB
view hashes)
Close
Hashes for fsuipc-1.0.3-cp38-cp38-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 58c94e56a7515a2e3708baeef839ff7e8df2a617a8902f727e60c425f3682e73 |
|
MD5 | b68677561f5dd120fb2ca4c56ff42db1 |
|
BLAKE2b-256 | a91cf877a1f3f16dea54b76807f3882dfa264368a51a941f9974cbb5b195c848 |
Close
Hashes for fsuipc-1.0.3-cp37-cp37m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 73f17a6ac09876402e4a783fb5a2ce13ac023f618048b3e3d07d231f2ce55d7d |
|
MD5 | 35f35f3aef11f54aa59a169433df0ec3 |
|
BLAKE2b-256 | 3bdd53d87935cddcec80f7894de6c7fd44fd2c515a5e3e23f2f64602a238c44c |
Close
Hashes for fsuipc-1.0.3-cp36-cp36m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 84f803a81610144b93d0ad9b3dd10e853e70c0cfa880a9c3807706fd5c9349cb |
|
MD5 | 6d0ba4a76d5c52fe311b5204ac83096a |
|
BLAKE2b-256 | f56c5fca9154ab5f27d89f8043a67b57012137db04ea4fe840e5f481fd52c806 |
Close
Hashes for fsuipc-1.0.3-cp35-cp35m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 394a85335038bcf71ae52f9ec3bb562af6091672dca5b5da8876e1ba93244638 |
|
MD5 | ab402d4100af3274e21896d61e59c2df |
|
BLAKE2b-256 | f48ae5ad7249ca9b8a1145bfdbb1fbb224cbe54e87f0f892020b3fd8730dca1a |