Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/imyizhang/cybergenetics
Cybergenetics is a controlled simulating environment for chemical reaction networks (CRNs) and co-cultures
https://github.com/imyizhang/cybergenetics
Last synced: 10 days ago
JSON representation
Cybergenetics is a controlled simulating environment for chemical reaction networks (CRNs) and co-cultures
- Host: GitHub
- URL: https://github.com/imyizhang/cybergenetics
- Owner: imyizhang
- License: bsd-3-clause
- Created: 2022-07-28T17:49:00.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-08-05T01:16:07.000Z (over 2 years ago)
- Last Synced: 2024-11-07T22:08:46.892Z (2 months ago)
- Language: Python
- Homepage: https://pypi.org/project/cybergenetics/
- Size: 145 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Cybergenetics
Cybergenetics is a controlled simulating environment for chemical reaction networks (CRNs) and co-cultures.
Cybergenetics supports
* OpenAI Gym API
* `.py` configuration file## Installation
```bash
pip install cybergenetics
```## Quick Start
Write your own configuration file `config.py` under working directory.
```python
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:
breakenv.close()
```### Tutorial
> * [Guide to Cybergenetics](https://colab.research.google.com/drive/1-tp5uV4ONEG8qzlEgtnrdxNNN_RLICSm?usp=sharing)
## Contributing
## License
Cybergenetics has an BSD-3-Clause license, as found in the [LICENSE](https://github.com/imyizhang/cybergenetics/blob/main/LICENSE) file.