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")
Troubleshooting
IPC request contains bad data
This error can be caused by a word length mismatch between the client and server processes. If your flight simulator software is 32-bit, you probably need to be running a 32-bit version of Python. Similarly, if your flight simulator is 64-bit, you need to run a 64-bit version of Python.
You can check if your Python is 32-bit or 64-bit by running the command:
python -VV
IPC sendmessage failed all retries
This error can occur if you need to run your Python script as an administrator in order to communicate with the server process.
Metadata
Release files for fsuipc 1.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| fsuipc-1.5.0.tar.gz | 16.3 kB | Without provenance | Details |
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| fsuipc-1.5.0-cp311-cp311-win_amd64.whl | CPython 3.11 | CPython 3.11 | Windows x86-64 | Details |
| fsuipc-1.5.0-cp311-cp311-win32.whl | CPython 3.11 | CPython 3.11 | Windows x86-32 | Details |
| fsuipc-1.5.0-cp310-cp310-win_amd64.whl | CPython 3.10 | CPython 3.10 | Windows x86-64 | Details |
| fsuipc-1.5.0-cp310-cp310-win32.whl | CPython 3.10 | CPython 3.10 | Windows x86-32 | Details |
| fsuipc-1.5.0-cp39-cp39-win_amd64.whl | CPython 3.9 | CPython 3.9 | Windows x86-64 | Details |
| fsuipc-1.5.0-cp39-cp39-win32.whl | CPython 3.9 | CPython 3.9 | Windows x86-32 | Details |
| fsuipc-1.5.0-cp38-cp38-win_amd64.whl | CPython 3.8 | CPython 3.8 | Windows x86-64 | Details |
| fsuipc-1.5.0-cp38-cp38-win32.whl | CPython 3.8 | CPython 3.8 | Windows x86-32 | Details |
| fsuipc-1.5.0-cp37-cp37m-win_amd64.whl | CPython 3.7 | CPython 3.7 pymalloc | Windows x86-64 | Details |
| fsuipc-1.5.0-cp37-cp37m-win32.whl | CPython 3.7 | CPython 3.7 pymalloc | Windows x86-32 | Details |
Total release size: 209.6 kB
Release files / fsuipc-1.5.0.tar.gz
| Download URL | fsuipc-1.5.0.tar.gz |
|---|---|
| Size | 16.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2ee909691780a93197a6bfb3e0472ed6d54d305971b3bb74558ae50670b950f6
|
|
BLAKE2b-256 checksum How to use checksums |
a330081edb4eb5ba7bf2aad57186fb5c9df25325846dcfb1a74e26211d7016d4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.11.0
|
Release files / fsuipc-1.5.0-cp311-cp311-win_amd64.whl
| Download URL | fsuipc-1.5.0-cp311-cp311-win_amd64.whl |
|---|---|
| Size | 20.0 kB |
| Tags | CPython 3.11 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
6510d8bb6168f88da3b642ac13835021a457bc2636cf52a3c77c47d97ca97949
|
|
BLAKE2b-256 checksum How to use checksums |
ad4e4c7a9bf152e7bcb05034a9cc1b0861d5e84376c8d9ec6234c7fcff9c5722
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.11.0
|
Release files / fsuipc-1.5.0-cp311-cp311-win32.whl
| Download URL | fsuipc-1.5.0-cp311-cp311-win32.whl |
|---|---|
| Size | 18.7 kB |
| Tags | CPython 3.11 Windows x86-32 |
|
SHA-256 checksum How to use checksums |
bddc04a9ad1ba26b2dc8530848125a4221845eb97b160957a89d5c1927dc8d3e
|
|
BLAKE2b-256 checksum How to use checksums |
9034cc79ed3794be34af2cafba8ebe9072b341218d976fd10f90c93f01818fcb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.11.0
|
Release files / fsuipc-1.5.0-cp310-cp310-win_amd64.whl
| Download URL | fsuipc-1.5.0-cp310-cp310-win_amd64.whl |
|---|---|
| Size | 20.0 kB |
| Tags | CPython 3.10 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
4db719dd08e426392bd2752e1fcd07fb5e4d5e3fb171a7ea9a5673e0f3d9b693
|
|
BLAKE2b-256 checksum How to use checksums |
7e68b6a60edf46aad61060a5193759409d943d37a275c2371b192a247fd364f7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.11.0
|
Release files / fsuipc-1.5.0-cp310-cp310-win32.whl
| Download URL | fsuipc-1.5.0-cp310-cp310-win32.whl |
|---|---|
| Size | 18.6 kB |
| Tags | CPython 3.10 Windows x86-32 |
|
SHA-256 checksum How to use checksums |
9fb6abfade7d18815f876001f8871139616dfa387cec0b5f2d9239e35a685b1c
|
|
BLAKE2b-256 checksum How to use checksums |
2015098024962faac7164d051e8f4209a5de30b1cb44d075cd820bf8031569c1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.11.0
|
Release files / fsuipc-1.5.0-cp39-cp39-win_amd64.whl
| Download URL | fsuipc-1.5.0-cp39-cp39-win_amd64.whl |
|---|---|
| Size | 20.0 kB |
| Tags | CPython 3.9 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
a4a0449db9e653b4cbfb2608610357cf4e592ef190d2f7b9b187f89b157a2dee
|
|
BLAKE2b-256 checksum How to use checksums |
4c26fd566b304e20c2f2fef5108b0d93d46ed137773596e3b3f16406828855a7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.11.0
|
Release files / fsuipc-1.5.0-cp39-cp39-win32.whl
| Download URL | fsuipc-1.5.0-cp39-cp39-win32.whl |
|---|---|
| Size | 18.7 kB |
| Tags | CPython 3.9 Windows x86-32 |
|
SHA-256 checksum How to use checksums |
39450ca27ad932deddb51a03858112e344fc2a7813afbff75c186edaeae9266f
|
|
BLAKE2b-256 checksum How to use checksums |
131992869de96ec9d01e625a5a7e9a7ca81d5856a11e9144685f0582c52989f8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.11.0
|
Release files / fsuipc-1.5.0-cp38-cp38-win_amd64.whl
| Download URL | fsuipc-1.5.0-cp38-cp38-win_amd64.whl |
|---|---|
| Size | 20.0 kB |
| Tags | CPython 3.8 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
1e1aa9afaa8ee915450b666a9eddcf22a2e3a20514585f172d8f9b9d6368df35
|
|
BLAKE2b-256 checksum How to use checksums |
8d10cdffb08446e82eca287e647f0988a7fa71c19d586bbed723cc352b88a443
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.11.0
|
Release files / fsuipc-1.5.0-cp38-cp38-win32.whl
| Download URL | fsuipc-1.5.0-cp38-cp38-win32.whl |
|---|---|
| Size | 18.7 kB |
| Tags | CPython 3.8 Windows x86-32 |
|
SHA-256 checksum How to use checksums |
ce93e7ce929a41ca23d4c7d5349778551e8c2fe8856dce9a393a399cb2f4756e
|
|
BLAKE2b-256 checksum How to use checksums |
dace11fc42879027f99d96fad8e4cdd9e68b9a4718ff74c4a21e1b62e64f7886
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.11.0
|
Release files / fsuipc-1.5.0-cp37-cp37m-win_amd64.whl
| Download URL | fsuipc-1.5.0-cp37-cp37m-win_amd64.whl |
|---|---|
| Size | 20.0 kB |
| Tags | CPython 3.7 CPython 3.7 pymalloc Windows x86-64 |
|
SHA-256 checksum How to use checksums |
1c8d897ce97177ccd1ffd2700d9d8b67eb0bb7bb77d25552840f957a34825e71
|
|
BLAKE2b-256 checksum How to use checksums |
7c820de89e7cc953aba7259b53f58c586cb141e943a582538aa6622e5817dc7e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.11.0
|
Release files / fsuipc-1.5.0-cp37-cp37m-win32.whl
| Download URL | fsuipc-1.5.0-cp37-cp37m-win32.whl |
|---|---|
| Size | 18.7 kB |
| Tags | CPython 3.7 CPython 3.7 pymalloc Windows x86-32 |
|
SHA-256 checksum How to use checksums |
48aadb09f9685a69be45240ee48713d27849888c75dd94dd875b677f8eba49de
|
|
BLAKE2b-256 checksum How to use checksums |
9f889207f0283ecb8462f709de6f7c6780d54533e8c5bbf54e9c2dc24f3094b3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.11.0
|
Security for fsuipc 1.5.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.