{"id":16731091,"url":"https://github.com/krastanov/bioreactor","last_synced_at":"2025-07-29T00:34:09.020Z","repository":{"id":147594287,"uuid":"59909892","full_name":"Krastanov/bioreactor","owner":"Krastanov","description":"An automated bioreactor for rapid growth and directed evolution of genetically modified bacteria strains. Applicable in the study of synthesis of biofuels and other organics in modified bacteria.","archived":false,"fork":false,"pushed_at":"2017-09-06T00:30:21.000Z","size":1033,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-02T22:14:22.780Z","etag":null,"topics":["control-systems","embedded","plotting"],"latest_commit_sha":null,"homepage":"https://blog.krastanov.org/2016/11/15/bioreactor/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Krastanov.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-05-28T18:52:57.000Z","updated_at":"2025-02-19T17:57:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"47eda117-c4cf-4948-a73c-ffb0f3a2beaf","html_url":"https://github.com/Krastanov/bioreactor","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Krastanov/bioreactor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Krastanov%2Fbioreactor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Krastanov%2Fbioreactor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Krastanov%2Fbioreactor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Krastanov%2Fbioreactor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Krastanov","download_url":"https://codeload.github.com/Krastanov/bioreactor/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Krastanov%2Fbioreactor/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267610431,"owners_count":24115435,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-28T02:00:09.689Z","response_time":68,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["control-systems","embedded","plotting"],"created_at":"2024-10-12T23:35:50.492Z","updated_at":"2025-07-29T00:34:08.996Z","avatar_url":"https://github.com/Krastanov.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bioreactor\nAutomated bioreactor for bacteria growth.\n\nSee https://blog.krastanov.org/2016/11/15/bioreactor/ for pictures and description.\n\n## Design notes\n\n- The code assumes the existence of a single reactor, hence numerous global\n  variables (`reactor` of class `Reactor`, `db` as an `sqlite3 connection`\n  object, `calibration` as a `json dict`, etc.) spread over submodules\n  (`reactor`, `database`, `calibration`, etc.). The number of wells is hard\n  coded (maybe it will move to `calibration` in the distant future).\n\n- Three threads are created: the scheduler from submodule `scheduler`; the web\n  interface from submodule `web`; the temperature control in `reactor`. The web\n  interface talks to the scheduler from a single location. The scheduler does\n  not talk to anybody.\n\n- An `sqlite` on-disk database is used by most threads. Threads access the\n  database for reading and writing, relying only on `sqlite`'s internal locks.\n  No optimizations of disk access are done (might lead to wear of flash-based\n  drives).\n\n- The templating for the web UI is rudimentary, relying only on `str.format`.\n  The navigation toolbar is hardcoded.\n\n- Not much attention is paid to encoding url parameters. Non ASCII parameters\n  are not guaranteed to work. Special symbols might explode. More testing\n  necessary.\n\n- Temperature control is done with a PID loop in a separate (third) thread.\n  Some protection and resets through `usbdevicesfs` is enabled (requires the\n  compilation of `usbreset.c`) in the case of a hangup. Additional watchdogs\n  are possible in the Arduino, but are not currently enabled.\n\n- Proper database normalization would be to have a single table with data\n  measurements with a column dedicated to measurement type, but the more naive\n  approach with multiple tables (one per measurement type) is good enough for\n  this simple project.\n\nCopyright (C) 2017 Hegarty, Krastanov, Racharaks\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrastanov%2Fbioreactor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkrastanov%2Fbioreactor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrastanov%2Fbioreactor/lists"}