Skip to main content

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")

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.

Project details


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.5.0.tar.gz (16.3 kB view details)

Uploaded Source

Built Distributions

fsuipc-1.5.0-cp311-cp311-win_amd64.whl (20.0 kB view details)

Uploaded CPython 3.11 Windows x86-64

fsuipc-1.5.0-cp311-cp311-win32.whl (18.7 kB view details)

Uploaded CPython 3.11 Windows x86

fsuipc-1.5.0-cp310-cp310-win_amd64.whl (20.0 kB view details)

Uploaded CPython 3.10 Windows x86-64

fsuipc-1.5.0-cp310-cp310-win32.whl (18.6 kB view details)

Uploaded CPython 3.10 Windows x86

fsuipc-1.5.0-cp39-cp39-win_amd64.whl (20.0 kB view details)

Uploaded CPython 3.9 Windows x86-64

fsuipc-1.5.0-cp39-cp39-win32.whl (18.7 kB view details)

Uploaded CPython 3.9 Windows x86

fsuipc-1.5.0-cp38-cp38-win_amd64.whl (20.0 kB view details)

Uploaded CPython 3.8 Windows x86-64

fsuipc-1.5.0-cp38-cp38-win32.whl (18.7 kB view details)

Uploaded CPython 3.8 Windows x86

fsuipc-1.5.0-cp37-cp37m-win_amd64.whl (20.0 kB view details)

Uploaded CPython 3.7m Windows x86-64

fsuipc-1.5.0-cp37-cp37m-win32.whl (18.7 kB view details)

Uploaded CPython 3.7m Windows x86

File details

Details for the file fsuipc-1.5.0.tar.gz.

File metadata

  • Download URL: fsuipc-1.5.0.tar.gz
  • Upload date:
  • Size: 16.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.0

File hashes

Hashes for fsuipc-1.5.0.tar.gz
Algorithm Hash digest
SHA256 2ee909691780a93197a6bfb3e0472ed6d54d305971b3bb74558ae50670b950f6
MD5 500c8c0c20c4544133fdbe125d8cdf90
BLAKE2b-256 a330081edb4eb5ba7bf2aad57186fb5c9df25325846dcfb1a74e26211d7016d4

See more details on using hashes here.

File details

Details for the file fsuipc-1.5.0-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: fsuipc-1.5.0-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 20.0 kB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.0

File hashes

Hashes for fsuipc-1.5.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 6510d8bb6168f88da3b642ac13835021a457bc2636cf52a3c77c47d97ca97949
MD5 938242a7fd5a34d29c664d9ddf1f9238
BLAKE2b-256 ad4e4c7a9bf152e7bcb05034a9cc1b0861d5e84376c8d9ec6234c7fcff9c5722

See more details on using hashes here.

File details

Details for the file fsuipc-1.5.0-cp311-cp311-win32.whl.

File metadata

  • Download URL: fsuipc-1.5.0-cp311-cp311-win32.whl
  • Upload date:
  • Size: 18.7 kB
  • Tags: CPython 3.11, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.0

File hashes

Hashes for fsuipc-1.5.0-cp311-cp311-win32.whl
Algorithm Hash digest
SHA256 bddc04a9ad1ba26b2dc8530848125a4221845eb97b160957a89d5c1927dc8d3e
MD5 7b3a7f068bd9fb3e6351488e2f7990ab
BLAKE2b-256 9034cc79ed3794be34af2cafba8ebe9072b341218d976fd10f90c93f01818fcb

See more details on using hashes here.

File details

Details for the file fsuipc-1.5.0-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: fsuipc-1.5.0-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 20.0 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.0

File hashes

Hashes for fsuipc-1.5.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 4db719dd08e426392bd2752e1fcd07fb5e4d5e3fb171a7ea9a5673e0f3d9b693
MD5 3e8007f8e3bbcd590427166a194dc091
BLAKE2b-256 7e68b6a60edf46aad61060a5193759409d943d37a275c2371b192a247fd364f7

See more details on using hashes here.

File details

Details for the file fsuipc-1.5.0-cp310-cp310-win32.whl.

File metadata

  • Download URL: fsuipc-1.5.0-cp310-cp310-win32.whl
  • Upload date:
  • Size: 18.6 kB
  • Tags: CPython 3.10, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.0

File hashes

Hashes for fsuipc-1.5.0-cp310-cp310-win32.whl
Algorithm Hash digest
SHA256 9fb6abfade7d18815f876001f8871139616dfa387cec0b5f2d9239e35a685b1c
MD5 02beb476ae744fe806db691093480e63
BLAKE2b-256 2015098024962faac7164d051e8f4209a5de30b1cb44d075cd820bf8031569c1

See more details on using hashes here.

File details

Details for the file fsuipc-1.5.0-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: fsuipc-1.5.0-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 20.0 kB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.0

File hashes

Hashes for fsuipc-1.5.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 a4a0449db9e653b4cbfb2608610357cf4e592ef190d2f7b9b187f89b157a2dee
MD5 2a4ba3b11d77a2addc315e4819de7045
BLAKE2b-256 4c26fd566b304e20c2f2fef5108b0d93d46ed137773596e3b3f16406828855a7

See more details on using hashes here.

File details

Details for the file fsuipc-1.5.0-cp39-cp39-win32.whl.

File metadata

  • Download URL: fsuipc-1.5.0-cp39-cp39-win32.whl
  • Upload date:
  • Size: 18.7 kB
  • Tags: CPython 3.9, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.0

File hashes

Hashes for fsuipc-1.5.0-cp39-cp39-win32.whl
Algorithm Hash digest
SHA256 39450ca27ad932deddb51a03858112e344fc2a7813afbff75c186edaeae9266f
MD5 8b704cf33d8c368398275369f49dc1e4
BLAKE2b-256 131992869de96ec9d01e625a5a7e9a7ca81d5856a11e9144685f0582c52989f8

See more details on using hashes here.

File details

Details for the file fsuipc-1.5.0-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: fsuipc-1.5.0-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 20.0 kB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.0

File hashes

Hashes for fsuipc-1.5.0-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 1e1aa9afaa8ee915450b666a9eddcf22a2e3a20514585f172d8f9b9d6368df35
MD5 fe15e0b20157bc914b6aa355bc955f56
BLAKE2b-256 8d10cdffb08446e82eca287e647f0988a7fa71c19d586bbed723cc352b88a443

See more details on using hashes here.

File details

Details for the file fsuipc-1.5.0-cp38-cp38-win32.whl.

File metadata

  • Download URL: fsuipc-1.5.0-cp38-cp38-win32.whl
  • Upload date:
  • Size: 18.7 kB
  • Tags: CPython 3.8, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.0

File hashes

Hashes for fsuipc-1.5.0-cp38-cp38-win32.whl
Algorithm Hash digest
SHA256 ce93e7ce929a41ca23d4c7d5349778551e8c2fe8856dce9a393a399cb2f4756e
MD5 b501d555d39c0f701c70baa686b632ac
BLAKE2b-256 dace11fc42879027f99d96fad8e4cdd9e68b9a4718ff74c4a21e1b62e64f7886

See more details on using hashes here.

File details

Details for the file fsuipc-1.5.0-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: fsuipc-1.5.0-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 20.0 kB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.0

File hashes

Hashes for fsuipc-1.5.0-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 1c8d897ce97177ccd1ffd2700d9d8b67eb0bb7bb77d25552840f957a34825e71
MD5 cce46b03d1335be4fa8d872a892f617a
BLAKE2b-256 7c820de89e7cc953aba7259b53f58c586cb141e943a582538aa6622e5817dc7e

See more details on using hashes here.

File details

Details for the file fsuipc-1.5.0-cp37-cp37m-win32.whl.

File metadata

  • Download URL: fsuipc-1.5.0-cp37-cp37m-win32.whl
  • Upload date:
  • Size: 18.7 kB
  • Tags: CPython 3.7m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.0

File hashes

Hashes for fsuipc-1.5.0-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 48aadb09f9685a69be45240ee48713d27849888c75dd94dd875b677f8eba49de
MD5 81b2f30122cc358066759ac4bd4a9e46
BLAKE2b-256 9f889207f0283ecb8462f709de6f7c6780d54533e8c5bbf54e9c2dc24f3094b3

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page