Skip to content

A (test) data generator and scenario simulation framework

License

Notifications You must be signed in to change notification settings

protojour/mikrokosmos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mikrokosmos

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.

Installation

Mikrokosmos requires Python 3.6 or higher, and is tested with PyPy3.

$ pip install --user mikrokosmos

Usage

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

Planned functionality

  • 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

License

Mikrokosmos is copyright © 2020 Protojour AS, and is licensed under MIT. See LICENSE.txt for details.

About

A (test) data generator and scenario simulation framework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages