{"id":19672023,"url":"https://github.com/michelp/pgfsm","last_synced_at":"2025-11-21T15:03:55.107Z","repository":{"id":145541053,"uuid":"56452292","full_name":"michelp/pgfsm","owner":"michelp","description":"Simple SQL finite state machine for Postgres","archived":false,"fork":false,"pushed_at":"2025-05-14T01:01:08.000Z","size":845,"stargazers_count":70,"open_issues_count":1,"forks_count":8,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-14T02:53:13.200Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/michelp.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-04-17T18:40:44.000Z","updated_at":"2025-05-14T01:01:00.000Z","dependencies_parsed_at":"2023-03-24T00:17:22.827Z","dependency_job_id":null,"html_url":"https://github.com/michelp/pgfsm","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/michelp/pgfsm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michelp%2Fpgfsm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michelp%2Fpgfsm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michelp%2Fpgfsm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michelp%2Fpgfsm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/michelp","download_url":"https://codeload.github.com/michelp/pgfsm/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michelp%2Fpgfsm/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":285636559,"owners_count":27205878,"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-11-21T02:00:06.175Z","response_time":61,"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":[],"created_at":"2024-11-11T17:10:38.021Z","updated_at":"2025-11-21T15:03:55.051Z","avatar_url":"https://github.com/michelp.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pgfsm\nSimple SQL finite state machine for Postgres\n\nThis is some example code on how to store a simple state machine in\nSQL.\n\nThere are two tables, fsm.machine and fsm.transition.  The machine\ntable has insert and update triggers to ensure that every row is in a\nvalid state.  The transition table is where transition between states\nare defined.\n\nThere is a pgtap test in test.sql that illustrates the technique.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichelp%2Fpgfsm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmichelp%2Fpgfsm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichelp%2Fpgfsm/lists"}