Cybergenetics
Cybergenetics is a controlled simulating environment for chemical reaction networks (CRNs) and co-cultures.
Cybergenetics supports
- OpenAI Gym API
.pyconfiguration 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.
Metadata
Release files for cybergenetics 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cybergenetics-0.1.0.tar.gz | 15.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cybergenetics-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 35.0 kB
Release files / cybergenetics-0.1.0.tar.gz
| Download URL | cybergenetics-0.1.0.tar.gz |
|---|---|
| Size | 15.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7d476886c502819eea80a8ac491df0446ae1d856c5836fead42f44e01eca31af
|
|
BLAKE2b-256 checksum How to use checksums |
a7ff036c491c8563328f42e2203545e967933c99908c4a2b718ac79e33933e76
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.4
|
Release files / cybergenetics-0.1.0-py3-none-any.whl
| Download URL | cybergenetics-0.1.0-py3-none-any.whl |
|---|---|
| Size | 19.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d3ccce2ae7351211a214072dd67b24ce7b07ef3c69af32dfd09eb4d0da3ea403
|
|
BLAKE2b-256 checksum How to use checksums |
54164726b5fc374d7cba9161a960eaca63510ee9a78557fb55a3b48937117e9b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.4
|