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.1.tar.gz
(15.0 kB
view hashes)
Built Distributions
fsuipc-1.0.1-cp38-cp38-win32.whl
(18.8 kB
view hashes)
fsuipc-1.0.1-cp37-cp37m-win32.whl
(18.7 kB
view hashes)
fsuipc-1.0.1-cp36-cp36m-win32.whl
(18.7 kB
view hashes)
fsuipc-1.0.1-cp35-cp35m-win32.whl
(18.7 kB
view hashes)
Close
Hashes for fsuipc-1.0.1-cp38-cp38-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03294856d8a6b4969145cd0cd0cb7cb088204196dc145a3b00617ddb1115dac5 |
|
MD5 | 0c8bca09072265e7a85b28d0ee3cdcfb |
|
BLAKE2b-256 | a47beb673d02f7fc7c85cc2a7ca85fdd4b9a3b5e6936138bedaadeadd153c71b |
Close
Hashes for fsuipc-1.0.1-cp37-cp37m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c4f24fb6deca7e9a2fb3279773f4886bd8ed012925eb87a0aa770ad5e318cce4 |
|
MD5 | bcf88c4c96fa55a14dc717d1c1609805 |
|
BLAKE2b-256 | 03fd385e3c4537b062444e56a3ed5a3ba9161995b37b98f0f15002bcbe2382b2 |
Close
Hashes for fsuipc-1.0.1-cp36-cp36m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b670487aedec058eaedae3c9c44279ad2c90a265ee3e9ded21d4c6d12056c87 |
|
MD5 | 13073e3566e39051266b222432d1092e |
|
BLAKE2b-256 | 8c0f377e8083b085ae407046703a525e9f921958b40d51cf194c894f531b3aec |
Close
Hashes for fsuipc-1.0.1-cp35-cp35m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a06ce006f26f14dfd3ddbf52028141aabee56b087324e915e2349400e5af0f3 |
|
MD5 | f857c0c62a2ff9c6df5a965663a087f7 |
|
BLAKE2b-256 | dd097e730b81519b3febfa303c158a02be197fc975bd26ef727ef258bfcfc276 |