Light Python 3 Wrapper for IVAO Network
Project description
IVAOWrapper
Light Python 3 Wrapper for IVAO Network
Install and use
- Simply run
pip install IVAOWrapper
- Basic structure :
from ivao import Server
server = Server()
# You event handlers go here
server.run_update_stream(delay=4)
Examples
- Examples can be found the the example.py file
- Some personal scripts are located Tchekda/IVAO-Utils
Build
You are free to open an issue if you have a problem, and welcome to make a PR to improve the wrapper
Tested with some versions of Python 3.x, might work with newer ones.
Tests with Python 3.4 aren't working but module should work
Dev Requirements
requests
to grab whazzup filepdoc3
to generate html documentation
Events List
update
: When new data is parsed, given with clients listconnect
: When a client connects to the network, given with client type objectdisconnect
: When a client disconnects from the network, given with client type objectatis_update
: When an ATC updates ATIS, given with ATC objecttakeoff
: When a pilot takeoff, given with pilot objectland
: When a pilot lands, given with pilot objectstatic
: When pilot's position didn't changed since last update, given with pilot objectmoving
: When pilot's position changed since last update, given with pilot object
Further documentation can be found in the docs
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
IVAOWrapper-0.1.2.tar.gz
(6.3 kB
view hashes)