{"id":13425622,"url":"https://github.com/algorandfoundation/beaker","last_synced_at":"2026-05-02T08:11:36.894Z","repository":{"id":43383555,"uuid":"511270668","full_name":"algorandfoundation/beaker","owner":"algorandfoundation","description":"A framework for writing Smart Contracts on Algorand","archived":false,"fork":false,"pushed_at":"2024-10-22T15:16:40.000Z","size":43285,"stargazers_count":96,"open_issues_count":20,"forks_count":35,"subscribers_count":9,"default_branch":"master","last_synced_at":"2026-03-09T15:34:35.484Z","etag":null,"topics":["algorand","cryptocurrency","python","smart-contracts"],"latest_commit_sha":null,"homepage":"https://beaker.algo.xyz","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/algorandfoundation.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.MD","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":"2022-07-06T19:42:04.000Z","updated_at":"2026-02-09T14:41:29.000Z","dependencies_parsed_at":"2024-01-03T05:17:23.457Z","dependency_job_id":"1e352f18-c63d-4774-abb9-ffce514e1a63","html_url":"https://github.com/algorandfoundation/beaker","commit_stats":{"total_commits":715,"total_committers":18,"mean_commits":39.72222222222222,"dds":"0.10629370629370627","last_synced_commit":"9a5f61bcc8a02ce6c3d103d813a35bdfa46934f2"},"previous_names":["algorandfoundation/beaker","algorand-devrel/beaker"],"tags_count":56,"template":false,"template_full_name":null,"purl":"pkg:github/algorandfoundation/beaker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/algorandfoundation%2Fbeaker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/algorandfoundation%2Fbeaker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/algorandfoundation%2Fbeaker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/algorandfoundation%2Fbeaker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/algorandfoundation","download_url":"https://codeload.github.com/algorandfoundation/beaker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/algorandfoundation%2Fbeaker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32527187,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-02T01:12:54.858Z","status":"online","status_checked_at":"2026-05-02T02:00:05.923Z","response_time":132,"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":["algorand","cryptocurrency","python","smart-contracts"],"created_at":"2024-07-31T00:01:15.684Z","updated_at":"2026-05-02T08:11:36.859Z","avatar_url":"https://github.com/algorandfoundation.png","language":"Python","funding_links":[],"categories":["Development \u0026 Tools","Development Tools"],"sub_categories":["Smart Contract Development","Other Development Tools"],"readme":"Beaker\n------\n\u003cimg align=\"left\" src=\"https://raw.githubusercontent.com/algorand-devrel/beaker/master/beaker.png\" margin=\"10px\" \u003e\n\nBeaker is a smart contract development framework for [PyTeal](https://github.com/algorand/pyteal).\n\n\u0026nbsp;\n\n\u0026nbsp;\n\n\u0026nbsp;\n\n## Hello, Beaker\n\n```py\nfrom pyteal import *\nfrom beaker import *\n\n\nhello_app = Application(\"HelloBeaker\")\n\n\n@hello_app.external\ndef hello(name: abi.String, *, output: abi.String) -\u003e Expr:\n    # Set output to the result of `Hello, `+name\n    return output.set(Concat(Bytes(\"Hello, \"), name.get()))\n\n\n# Create an Application client\napp_client = client.ApplicationClient(\n    # Get sandbox algod client\n    client=sandbox.get_algod_client(),\n    # Pass instance of app to client\n    app=hello_app,\n    # Get acct from sandbox and pass the signer\n    signer=sandbox.get_accounts().pop().signer,\n)\n\n# Deploy the app on-chain\napp_id, app_addr, txid = app_client.create()\nprint(\n    f\"\"\"Deployed app in txid {txid}\n    App ID: {app_id}\n    Address: {app_addr}\n\"\"\"\n)\n\n# Call the `hello` method\nresult = app_client.call(hello, name=\"Beaker\")\nprint(result.return_value)  # \"Hello, Beaker\"\n\n```\n\n## Install\n\n    Beaker requires Python \u003e= 3.10\n\nYou can install from pip:\n\n`pip install beaker-pyteal`\n\nOr from github directly (no promises on stability):\n\n`pip install git+https://github.com/algorand-devrel/beaker`\n\n# Dev Environment\n\nRequires a local network running to compile and test contracts.\n\nInstall [AlgoKit](https://github.com/algorandfoundation/algokit-cli#install)\n\nand start it\n\n```sh\n$ algokit localnet start\n$ algokit localnet status\n```\n\n## Front End\n\nSee [Beaker TS](https://github.com/algorand-devrel/beaker-ts) to generate a front end client for a Beaker App.\n\n## Testing\n\nYou can run tests from the root of the project using `pytest`\n\n## Use\n\n[Examples](/examples/)\n\n[Docs](https://beaker.algo.xyz)\n\n**Please report bugs and get any contracts audited**\n\nWe recommend that any production smart contracts be audited by a professional before deployment. Beaker has been thoroughly tested, but we cannot guarantee that it is entirely free of bugs.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falgorandfoundation%2Fbeaker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falgorandfoundation%2Fbeaker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falgorandfoundation%2Fbeaker/lists"}