{"id":13776361,"url":"https://github.com/devinaconley/python-framelib","last_synced_at":"2025-05-11T10:30:59.265Z","repository":{"id":224399189,"uuid":"757420580","full_name":"devinaconley/python-framelib","owner":"devinaconley","description":"framelib is a lightweight library for building farcaster frames using python and flask","archived":false,"fork":false,"pushed_at":"2024-12-02T03:34:32.000Z","size":442,"stargazers_count":21,"open_issues_count":4,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-05T01:41:59.100Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://python-frame.vercel.app","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/devinaconley.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-02-14T13:11:24.000Z","updated_at":"2024-12-05T17:05:41.000Z","dependencies_parsed_at":"2024-04-26T00:40:18.239Z","dependency_job_id":"6e13fffd-c906-4697-8bf9-4715a48f7326","html_url":"https://github.com/devinaconley/python-framelib","commit_stats":null,"previous_names":["devinaconley/python-frames","devinaconley/python-framelib"],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devinaconley%2Fpython-framelib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devinaconley%2Fpython-framelib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devinaconley%2Fpython-framelib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devinaconley%2Fpython-framelib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devinaconley","download_url":"https://codeload.github.com/devinaconley/python-framelib/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253551531,"owners_count":21926311,"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","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-08-03T18:00:23.901Z","updated_at":"2025-05-11T10:30:59.248Z","avatar_url":"https://github.com/devinaconley.png","language":"Python","funding_links":[],"categories":["Useful Tools \u0026 Libraries"],"sub_categories":["Developer libraries for building frames"],"readme":"# framelib\n\nlightweight library for building farcaster frames using python and flask\n\n- easily render frames that conform to the farcaster specification\n- parse and verify frame action messages using neynar or hubs\n- query user profile info from warpcast\n- on-chain frame transactions\n- eip-712 signatures\n- mint tokens\n\n\n## quickstart\n\ninstall `framelib` from pip\n```\npip install framelib\n```\n\nsimple example\n```python\nfrom flask import Flask, url_for\nfrom framelib import frame\n\napp = Flask(__name__)\n\n@app.route('/')\ndef home():\n    return frame(\n        image='https://framelib.s3.us-east-1.amazonaws.com/framelib_logo.png',\n        button1='next',\n        post_url=url_for('second_page', _external=True),\n    )\n```\n\n## examples\n\nsee a complete example using python + flask + vercel [here](https://github.com/devinaconley/python-framelib/tree/main/examples/simple)\n\nfor an example that uses on-chain frame transactions, see the [weth frame](https://github.com/devinaconley/python-framelib/tree/main/examples/transaction)\n\nfor a demo of eip-712 signatures, text inputs, image rendering, and links, see [playground](https://github.com/devinaconley/python-framelib/tree/main/examples/playground)\n\n\nand for a more advanced example involving multiplayer games, supabase integration, dynamic image rendering, and more,\nsee [rock paper scissors](https://github.com/devinaconley/rock-paper-scissors)\n\n\n## roadmap\n\nupcoming features and improvements\n- ~~mint actions~~\n- ~~eip 712 signatures~~\n- generated library documentation\n- ~~dynamic image rendering tools~~\n- compatibility with other web frameworks\n- state signing\n- **frames v2 support**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevinaconley%2Fpython-framelib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevinaconley%2Fpython-framelib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevinaconley%2Fpython-framelib/lists"}