{"id":37079663,"url":"https://github.com/aboev/polimer","last_synced_at":"2026-01-14T09:38:23.689Z","repository":{"id":270350898,"uuid":"910062699","full_name":"aboev/polimer","owner":"aboev","description":"Automated call stack synthesis framework (annotations based)","archived":false,"fork":false,"pushed_at":"2024-12-30T13:28:13.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-29T02:25:58.745Z","etag":null,"topics":["annotations","fast-prototyping","framework"],"latest_commit_sha":null,"homepage":"","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/aboev.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":"2024-12-30T11:58:33.000Z","updated_at":"2025-01-04T15:04:17.000Z","dependencies_parsed_at":"2024-12-30T14:25:41.578Z","dependency_job_id":null,"html_url":"https://github.com/aboev/polimer","commit_stats":null,"previous_names":["aboev/polimer"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/aboev/polimer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aboev%2Fpolimer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aboev%2Fpolimer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aboev%2Fpolimer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aboev%2Fpolimer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aboev","download_url":"https://codeload.github.com/aboev/polimer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aboev%2Fpolimer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28416120,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T08:38:59.149Z","status":"ssl_error","status_checked_at":"2026-01-14T08:38:43.588Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["annotations","fast-prototyping","framework"],"created_at":"2026-01-14T09:38:22.974Z","updated_at":"2026-01-14T09:38:23.682Z","avatar_url":"https://github.com/aboev.png","language":"Python","readme":"# polimer\n\n**polimer** is an automated callstack synthesis framework (based on annotations)\n\n## Basic idea\n\n- Define annotations based on payload id (not just type id)\n    - e.g. `l: 'price_list'` insead of `l: list`\n- Automatically invoke argument initializers based on payload id\n    - e.g. call `def get_price_list() -\u003e 'price_list'`\n- Simplify end-user code\n\n## Quick-demo\n\n1. Install **polimer**\n```bash\npip install polimer\n```\n\n2. Annotate your methods with payload ids:\n\n\u003ch5 a\u003e\u003cstrong\u003e\u003ccode\u003eprices.py\u003c/code\u003e\u003c/strong\u003e\u003c/h5\u003e\n\n```python\nimport random\n\ndef get_prices(length=10) -\u003e 'price_list':\n    return [random.random() for _ in range(length)]\n\ndef calc_avg_price(p: 'price_list'):\n    return sum(p) / len(p)\n```\n\n3. Import your entrypoints via **polimer**\n\u003ch5 a\u003e\u003cstrong\u003e\u003ccode\u003edemo.py\u003c/code\u003e\u003c/strong\u003e\u003c/h5\u003e\n\n```python\nfrom prices import *\nfrom polimer import prices\n\nprint(prices.calc_avg_price())\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faboev%2Fpolimer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faboev%2Fpolimer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faboev%2Fpolimer/lists"}