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.1.0.tar.gz
(15.8 kB
view details)
Built Distribution
File details
Details for the file cybergenetics-0.1.0.tar.gz
.
File metadata
- Download URL: cybergenetics-0.1.0.tar.gz
- Upload date:
- Size: 15.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d476886c502819eea80a8ac491df0446ae1d856c5836fead42f44e01eca31af |
|
MD5 | e0a9a51ea5681a9ed1477367f1283ea8 |
|
BLAKE2b-256 | a7ff036c491c8563328f42e2203545e967933c99908c4a2b718ac79e33933e76 |
File details
Details for the file cybergenetics-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: cybergenetics-0.1.0-py3-none-any.whl
- Upload date:
- Size: 19.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3ccce2ae7351211a214072dd67b24ce7b07ef3c69af32dfd09eb4d0da3ea403 |
|
MD5 | dd56a8fbe4cff3340ac7e8ae6819fd25 |
|
BLAKE2b-256 | 54164726b5fc374d7cba9161a960eaca63510ee9a78557fb55a3b48937117e9b |