{"id":48432391,"url":"https://github.com/spfunctions/simplefunctions-python","last_synced_at":"2026-04-09T14:00:48.800Z","repository":{"id":348790256,"uuid":"1199913979","full_name":"spfunctions/simplefunctions-python","owner":"spfunctions","description":"Calibrated world model for AI agents. Real-time probabilities from 9,706 prediction markets.","archived":false,"fork":false,"pushed_at":"2026-04-06T08:57:58.000Z","size":30,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-06T11:31:28.941Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/spfunctions.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-02T20:57:24.000Z","updated_at":"2026-04-06T08:58:05.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/spfunctions/simplefunctions-python","commit_stats":null,"previous_names":["spfunctions/simplefunctions-python"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/spfunctions/simplefunctions-python","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spfunctions%2Fsimplefunctions-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spfunctions%2Fsimplefunctions-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spfunctions%2Fsimplefunctions-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spfunctions%2Fsimplefunctions-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spfunctions","download_url":"https://codeload.github.com/spfunctions/simplefunctions-python/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spfunctions%2Fsimplefunctions-python/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31511784,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T03:10:19.677Z","status":"ssl_error","status_checked_at":"2026-04-07T03:10:13.982Z","response_time":105,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":"2026-04-06T11:04:09.143Z","updated_at":"2026-04-07T12:00:35.605Z","avatar_url":"https://github.com/spfunctions.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# simplefunctions-ai\n\nCalibrated world model for AI agents. Real-time probabilities from 30,000+ prediction markets.\n\n```bash\npip install simplefunctions-ai\n```\n\n```python\nfrom simplefunctions import world, index, edges\n\nstate = world()\nprint(state['index']['uncertainty'])   # 35 (0-100)\nprint(state['regimeSummary'])          # \"Risk-off: geo elevated...\"\n\nidx = index()\nprint(f\"Uncertainty: {idx['uncertainty']}/100\")\n\nfor e in edges()['edges'][:3]:\n    print(f\"{e['title']}: {e['executableEdge']}c edge\")\n```\n\n## CLI\n```bash\nsf-world           # World state markdown\nsf-index           # Uncertainty index\nsf-edges           # Actionable edges\nsf-market KXFED    # Market detail\nsf-delta 1h        # Recent changes\n```\n\n## Client class\n```python\nfrom simplefunctions import PredictionMarketClient\nclient = PredictionMarketClient(api_key=\"sk-...\")\nstate = client.world(format=\"json\")\n```\n\n## License\nMIT — [SimpleFunctions](https://simplefunctions.dev)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspfunctions%2Fsimplefunctions-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspfunctions%2Fsimplefunctions-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspfunctions%2Fsimplefunctions-python/lists"}