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.4.tar.gz
(15.1 kB
view hashes)
Built Distribution
Close
Hashes for cybergenetics-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e1be0489a97548955dd04920b7ccda179955b33ce17d5c24952b6111810de3c6 |
|
MD5 | feca74f7c3c50e75e05c105f3b194c72 |
|
BLAKE2b-256 | d12c0c2b84ebb910835b55fde7e6246ab36ad5009f7edc7bfb07cd97126ad1d5 |