A (test) data generator and scenario simulation framework
Mikrokosmos allows you to define and run scenarios of simulated events through its command line client, mikro
. Scenarios are described as YAML files [...]. Simulation data can be output in multiple formats – logs, json data etc.
Mikrokosmos was designed specifically to generate test data, so most of its included functionality is geared towards this. If you have an idea for how its functionality can be extended for other uses, let us know.
Mikrokosmos requires Python 3.6 or higher, and is tested with PyPy3.
$ pip install --user mikrokosmos
Generate static data from a scenario:
$ mikro gen scenario.yml
Generate static data with JSON indentation, redirect to file:
$ mikro gen -n 4 scenario.yml > data.json
- Data generation (random etc.)
- Simple JSON output
- Configurable output (separate JSON files, logs)
- Environments and populations
- Environment state, per-object state, resources
- State machines for processes?
- Activity and events simulated over time
- Realtime simulations
Mikrokosmos is copyright © 2020 Protojour AS, and is licensed under MIT. See LICENSE.txt for details.