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.9.tar.gz
(15.7 kB
view hashes)
Built Distribution
Close
Hashes for cybergenetics-0.0.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f5dc78e5ccf8364ac5833c4331150743eb1108736e9d265da238fd555b6ced62 |
|
MD5 | 48907348584549999a98c5fbe8a5d6b9 |
|
BLAKE2b-256 | c62c555cebc18aa3c828ec93ccfd23e0b1bb62021f397f039391024f53c09e2d |