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.6.tar.gz
(15.7 kB
view hashes)
Built Distribution
Close
Hashes for cybergenetics-0.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ddedaf8fd831b92205070e7dc1ade7a614a0496d71f3c6bb91311ca4087df31 |
|
MD5 | 61474eb964a7ca6006de91af21bdff6c |
|
BLAKE2b-256 | 1534c29b57e78ccef8d14847a6f5d1aa9b4e74276bab5db8dc55a2a76438deee |