python dcs mission framework
pydcs is a python framework for creating and editing mission files from digital combat simulator.
Possible use cases are:
- assisting mission creators
- random mission creation
- write an external mission editor on top of it
- data export from existing missions
- ...
Sample
import dcs
m = dcs.Mission()
batumi = m.terrain.batumi()
batumi.set_blue()
usa = m.country("USA")
m.awacs_flight(
usa, "AWACS", dcs.planes.E_3A,
batumi, dcs.Point(batumi.position.x + 20000, batumi.position.y + 80000),
race_distance=120 * 1000, heading=90)
m.save("sample.miz")
This code generates a mission with a AWACS flight starting cold from batumi.
Random mission scripts
pydcs comes with 2 proof of concept scripts:
dcs_random
This script generates a random training mission on the Nevada map: player flight(s) for the A-10C, M-2000C, Ka-50, AV-8B or F/A-18C at Nellis, Creech or Groom Lake, with AWACS, tankers and civil air traffic around them.
For options see the script help with dcs_random --help
dcs_dogfight_wwii
This script randomly generates WWII dogfights with a given number of planes near a random airport.
For options also see the script help dcs_dogfight_wwii --help
Install
pip install pydcs
Documentation
The current documentation can be found here
TODO
- Failures
- More/better documentation
Metadata
Release files for pydcs 1.0.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 | Actions |
|---|---|---|---|---|
| pydcs-1.0.0.tar.gz | 1.0 MB | Without provenance | Details for pydcs-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pydcs-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for pydcs-1.0.0-py3-none-any.whl |
Total release size: 2.1 MB
Release files / pydcs-1.0.0.tar.gz
| Download URL | pydcs-1.0.0.tar.gz |
|---|---|
| Size | 1.0 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
afa91215a6dd3f4d1d67489f441cc77375651ebad93b66d0b531fda959d7903e
|
|
BLAKE2b-256 checksum How to use checksums |
3783d512503669642a3531f231f4afff7b3ec1d2a5a14d65b812841f8827d5aa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.8
|
Release files / pydcs-1.0.0-py3-none-any.whl
| Download URL | pydcs-1.0.0-py3-none-any.whl |
|---|---|
| Size | 1.1 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
584570bf42bbfabbb1257bc737eb232d21aa7814cba7dfe0ba653a36aa993dd5
|
|
BLAKE2b-256 checksum How to use checksums |
925e6881767ae81bc9dca453628a91c15b0e3e0738019cdc4323be85e73f1959
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.8
|
Security for pydcs 1.0.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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.