Skip to main content

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


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 hashes)

Uploaded Source

Built Distribution

cybergenetics-0.1.0-py3-none-any.whl (19.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page