Cybergenetics is a controlled simulating environment for chemical reaction networks (CRNs) and co-cultures.
Project description
Cybergenetics
Cybergenetics is a controlled simulating environment for chemical reaction networks (CRNs) and co-cultures.
Cybergenetics supports
- OpenAI Gym API
.py
configuration file
Installation
pip install cybergenetics
Quick Start
Write your own configuration file config.py
under working directory.
import cybergenetics
from config import configs
env = crn.make('CRN-v0', configs)
env.seed(42)
env.action_space.seed(42)
observation = env.reset()
while True:
action = env.action_space.sample()
observation, reward, terminated, info = env.step(action)
if terminated:
break
env.close()
Tutorial
Contributing
License
Cybergenetics has an BSD-3-Clause license, as found in the LICENSE file.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cybergenetics-0.0.7.tar.gz
(15.7 kB
view hashes)
Built Distribution
Close
Hashes for cybergenetics-0.0.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2c55ed98f245625b6a12a0e6d657ddf46b6973bd7377883f2d7743bb159ff866 |
|
MD5 | d6d75e674f05dbf1d6e1dd04bc10003c |
|
BLAKE2b-256 | 6621fd33ae8c4e41aa2173ccad120d41756681069cf511c684ad7c02931a393c |