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 only supports 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.0.tar.gz
(14.9 kB
view hashes)
Built Distributions
fsuipc-1.0.0-cp38-cp38-win32.whl
(18.7 kB
view hashes)
fsuipc-1.0.0-cp37-cp37m-win32.whl
(18.7 kB
view hashes)
fsuipc-1.0.0-cp36-cp36m-win32.whl
(18.7 kB
view hashes)
fsuipc-1.0.0-cp35-cp35m-win32.whl
(18.7 kB
view hashes)
Close
Hashes for fsuipc-1.0.0-cp38-cp38-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f8fc880ce13d3e3e1adfe276b0e6758ac6be8f774064bc4a78d6b62aa378e58d |
|
MD5 | bd073ca5b31095dbf9552f35fafdc249 |
|
BLAKE2b-256 | fcb356899fabf89ab75cd9c7907e82f2353fb4b07a3b49cc1685095a63226c98 |
Close
Hashes for fsuipc-1.0.0-cp37-cp37m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a4f7e19aa3465ff26d0579725ac4af9a26176bc38d94d269b38be18f70ce39d6 |
|
MD5 | b98f8a5f1342972f235d4188f9069d42 |
|
BLAKE2b-256 | e4b3bd966072486c1016e917ff8bebfb9e2ddadb5022f5ae45717cfed4afdc93 |
Close
Hashes for fsuipc-1.0.0-cp36-cp36m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 462266e36b39f87630e3f4c532f33796b320594ced4595e5438affbef584f310 |
|
MD5 | d7329c440be39f96c59c768d4eefd4b3 |
|
BLAKE2b-256 | 4d22c4bc73c37cc80ff3b80b4e45d7fb4207261c5a32495ad5d7351c2118d1b3 |
Close
Hashes for fsuipc-1.0.0-cp35-cp35m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 729ef89aef294d4e636b993d451ffc8b8e3ee45f93f303a7031b018cc04c9a90 |
|
MD5 | ae1dd2b87039b16a051232559da79a36 |
|
BLAKE2b-256 | 8ad1169b7a70a9a82a30a3e7cf8816de6d2a3aa9d3f35575777a99b4d2a76a26 |