# pyacmi: TacView ACMI FileParser
[![PyPI Latest Release](https://img.shields.io/pypi/v/pyacmi.svg)](https://pypi.org/project/pyacmi/)
[![License](https://img.shields.io/pypi/l/pyacmi.svg)](https://github.com/wangtong2015/pyacmi)
[![Package Status](https://img.shields.io/pypi/status/pyacmi.svg)](https://pypi.org/project/pyacmi/)
`**.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](https://www.tacview.net/documentation/acmi/)
## Installation
You can install pyacmi via pip or pip3 for Python 3+:
```shell
$ pip3 install pyacmi
```
You can install a specific version of pyacmi by:
```shell
$ pip3 install pyacmi==1.2.3
```
You can upgrade pyacmi to the latest version by:
```shell
$ pip3 install --upgrade pyacmi
```
## Example
```python
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
- [https://github.com/rp-/acmi](https://github.com/rp-/acmi)
Raw data
{
"_id": null,
"home_page": "https://github.com/wangtong2015/pyacmi",
"name": "pyacmi",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "acmi tacview",
"author": "Wang Tong",
"author_email": "astroboythu@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/0e/7d/d7dfd8e35ec9b8df00de26d1472e4f0126e496fbfcc02b469311266e956f/pyacmi-1.2.4.tar.gz",
"platform": null,
"description": "# pyacmi: TacView ACMI FileParser\n\n[![PyPI Latest Release](https://img.shields.io/pypi/v/pyacmi.svg)](https://pypi.org/project/pyacmi/)\n[![License](https://img.shields.io/pypi/l/pyacmi.svg)](https://github.com/wangtong2015/pyacmi)\n[![Package Status](https://img.shields.io/pypi/status/pyacmi.svg)](https://pypi.org/project/pyacmi/)\n\n`**.acmi` is a file used by tacview for creating flight recording from simulators or real world.\n\nThe source code is currently hosted on GitHub at: https://github.com/wangtong2015/pyacmi\n\nACMI file documentation: [Technical Reference - ACMI flight recordings 2.2](https://www.tacview.net/documentation/acmi/)\n\n## Installation\n\nYou can install pyacmi via pip or pip3 for Python 3+:\n\n```shell\n$ pip3 install pyacmi\n```\n\nYou can install a specific version of pyacmi by:\n\n```shell\n$ pip3 install pyacmi==1.2.3\n```\n\nYou can upgrade pyacmi to the latest version by:\n\n```shell\n$ pip3 install --upgrade pyacmi\n```\n\n## Example\n\n```python\n\nfrom pyacmi import Acmi\n\nacmi = Acmi()\nacmi.load_acmi(filepath='test.acmi')\nprint(acmi)\n\nprint(acmi.reference_latitude, acmi.reference_longitude, acmi.reference_time)\n\n# \u6253\u5370\u6240\u6709\u7684object\nfor obj_id in acmi.objects:\n obj = acmi.objects[obj_id]\n print(obj)\n print(obj.id, obj.name, obj.country, obj.tags, obj.type)\n\n# \u5bfc\u51fa\u6210csv\nacmi.export_csv('test.csv', remove_empty=True, export_obj_ids=None)\n```\n\n## Credits\n\n- [https://github.com/rp-/acmi](https://github.com/rp-/acmi)\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "ACMI flight record file parser",
"version": "1.2.4",
"project_urls": {
"Homepage": "https://github.com/wangtong2015/pyacmi"
},
"split_keywords": [
"acmi",
"tacview"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "0de7bc4466c0098fbe63e4af833c59c9c9ebad9503a1702d9cd0c153eb941ce2",
"md5": "bad93f0dbc00e175fb9f3f93b577d9a7",
"sha256": "4b1e32c46fb1d8faf3ecebbc18ca020bae5cf19749ea59307e136009311509ed"
},
"downloads": -1,
"filename": "pyacmi-1.2.4-py3-none-any.whl",
"has_sig": false,
"md5_digest": "bad93f0dbc00e175fb9f3f93b577d9a7",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 15634,
"upload_time": "2023-05-27T12:40:03",
"upload_time_iso_8601": "2023-05-27T12:40:03.978456Z",
"url": "https://files.pythonhosted.org/packages/0d/e7/bc4466c0098fbe63e4af833c59c9c9ebad9503a1702d9cd0c153eb941ce2/pyacmi-1.2.4-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "0e7dd7dfd8e35ec9b8df00de26d1472e4f0126e496fbfcc02b469311266e956f",
"md5": "9e0e77b221235a85c4f21794ca6790ab",
"sha256": "d85892ec1922362024d410cc5c1e15152a7511cfb2fb7daf1eec1a7942e3e8dc"
},
"downloads": -1,
"filename": "pyacmi-1.2.4.tar.gz",
"has_sig": false,
"md5_digest": "9e0e77b221235a85c4f21794ca6790ab",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 16434,
"upload_time": "2023-05-27T12:40:06",
"upload_time_iso_8601": "2023-05-27T12:40:06.200896Z",
"url": "https://files.pythonhosted.org/packages/0e/7d/d7dfd8e35ec9b8df00de26d1472e4f0126e496fbfcc02b469311266e956f/pyacmi-1.2.4.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-05-27 12:40:06",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "wangtong2015",
"github_project": "pyacmi",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [],
"lcname": "pyacmi"
}