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 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.2.0.tar.gz
(15.4 kB
view hashes)
Built Distributions
fsuipc-1.2.0-cp38-cp38-win32.whl
(19.0 kB
view hashes)
fsuipc-1.2.0-cp37-cp37m-win32.whl
(18.9 kB
view hashes)
fsuipc-1.2.0-cp36-cp36m-win32.whl
(19.0 kB
view hashes)
fsuipc-1.2.0-cp35-cp35m-win32.whl
(19.0 kB
view hashes)
Close
Hashes for fsuipc-1.2.0-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c32a05c2eb3acf5968ab09dc274606b9f5bf6103a6761aa44023ae3cf914313d |
|
MD5 | 9d3d7169949510e9121f973b043c7ae9 |
|
BLAKE2b-256 | dbaf48c471d99514de393a867a7749efd4c0e3f0de1bcc4522136fc0c8468dd7 |
Close
Hashes for fsuipc-1.2.0-cp38-cp38-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 430cf74f4de36141222386599661cee0aec32a91dbfa8b1b457a05e5ba4e4fd6 |
|
MD5 | d5b5d8804f260e1c25c73a5de024ddf6 |
|
BLAKE2b-256 | f19bb8f465eb13b83aa0017d2682a5410d37f1c15fc2bc000da7cdeb862b81a2 |
Close
Hashes for fsuipc-1.2.0-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ea8f510d0106bdbb9c0b2391679109e464f465c3aa50d689ebd24ed61d524c8 |
|
MD5 | 90faf4315e51a86d1a21e2164897b94f |
|
BLAKE2b-256 | a13ceb25e74b53a3df9a73e15c92968c331d9cd3ce01eb4e091ce6affb1370e6 |
Close
Hashes for fsuipc-1.2.0-cp37-cp37m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0276de213f8b989c80f5f849bb36c1c06037d011d06f9477f130845293fbaae1 |
|
MD5 | 7a3b540be38cba1152efb7a6f74cb961 |
|
BLAKE2b-256 | e68b7878e6f2b2b2aca8c94cf2ba69df66148218f88d52cbb906ceed6a13b1d7 |
Close
Hashes for fsuipc-1.2.0-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b37fcf6dcf4de135f9bb78638cbaec3c647eabc01234e6d8e37bc8e7ad382c64 |
|
MD5 | 23ea4e59b8e9a4409c9358d14721ef5a |
|
BLAKE2b-256 | 5d818e3cd1ba93ce7796333d2b85b8776cc723fbfb3edd0431fd3c376db52f6d |
Close
Hashes for fsuipc-1.2.0-cp36-cp36m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a867a686175c28cc16dbb73704f9d49b1711c8f7ffd5bec487e1dcd827c9bce |
|
MD5 | a09181752a2e212c3ea33658453192e6 |
|
BLAKE2b-256 | 963ea452a2540f0a6682b0b94cf9120f232baa9c089402ee19dc62bd92c90ee9 |
Close
Hashes for fsuipc-1.2.0-cp35-cp35m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c56e181271f66b6f2eb7fe48a5f9679e7e0189fe2016005c3b4b448bab66f43 |
|
MD5 | 23c479a4c3cfa35b36d9a8c7e88e9575 |
|
BLAKE2b-256 | aab0aebbcd53a9f425ed56e857165b663bdc3af6a854dc3cdbaa9065b68b0a57 |
Close
Hashes for fsuipc-1.2.0-cp35-cp35m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae656c5a09b5cadc477634c2def3f3e9fa7128e292b77743a25db04be1fa82ae |
|
MD5 | 91aab85a2e0cebbecfeffda7a6d7a289 |
|
BLAKE2b-256 | 2a4c7ef8040f283b82e511d909a3f1e8382a4cf0804b581dd961771b0cebfd1a |