Skip to main content

ACMI flight record file parser

Project description

pyacmi: TacView ACMI FileParser

PyPI Latest Release License Package Status

**.acmi is a file used by tacview for creating flight recording from simulators or real world.

The source code is currently hosted on GitHub at: https://github.com/wangtong2015/pyacmi

ACMI file documentation: Technical Reference - ACMI flight recordings 2.2

Installation

You can install pyacmi via pip or pip3 for Python 3+:

$ pip3 install pyacmi

You can install a specific version of pyacmi by:

$ pip3 install pyacmi==1.2.3

You can upgrade pyacmi to the latest version by:

$ pip3 install --upgrade pyacmi

Example

from pyacmi import Acmi

acmi = Acmi()
acmi.load_acmi(filepath='test.acmi')
print(acmi)

print(acmi.reference_latitude, acmi.reference_longitude, acmi.reference_time)

# 打印所有的object
for obj_id in acmi.objects:
    obj = acmi.objects[obj_id]
    print(obj)
    print(obj.id, obj.name, obj.country, obj.tags, obj.type)

# 导出成csv
acmi.export_csv('test.csv', remove_empty=True, export_obj_ids=None)

Credits

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

pyacmi-1.2.4.tar.gz (16.4 kB view details)

Uploaded Source

Built Distribution

pyacmi-1.2.4-py3-none-any.whl (15.6 kB view details)

Uploaded Python 3

File details

Details for the file pyacmi-1.2.4.tar.gz.

File metadata

  • Download URL: pyacmi-1.2.4.tar.gz
  • Upload date:
  • Size: 16.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.13

File hashes

Hashes for pyacmi-1.2.4.tar.gz
Algorithm Hash digest
SHA256 d85892ec1922362024d410cc5c1e15152a7511cfb2fb7daf1eec1a7942e3e8dc
MD5 9e0e77b221235a85c4f21794ca6790ab
BLAKE2b-256 0e7dd7dfd8e35ec9b8df00de26d1472e4f0126e496fbfcc02b469311266e956f

See more details on using hashes here.

File details

Details for the file pyacmi-1.2.4-py3-none-any.whl.

File metadata

  • Download URL: pyacmi-1.2.4-py3-none-any.whl
  • Upload date:
  • Size: 15.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.13

File hashes

Hashes for pyacmi-1.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 4b1e32c46fb1d8faf3ecebbc18ca020bae5cf19749ea59307e136009311509ed
MD5 bad93f0dbc00e175fb9f3f93b577d9a7
BLAKE2b-256 0de7bc4466c0098fbe63e4af833c59c9c9ebad9503a1702d9cd0c153eb941ce2

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