{"id":13729319,"url":"https://github.com/starkware-libs/cairo-lang","last_synced_at":"2025-04-29T18:37:10.773Z","repository":{"id":37028464,"uuid":"308969758","full_name":"starkware-libs/cairo-lang","owner":"starkware-libs","description":null,"archived":false,"fork":false,"pushed_at":"2025-04-21T11:47:56.000Z","size":7281,"stargazers_count":1365,"open_issues_count":143,"forks_count":279,"subscribers_count":36,"default_branch":"master","last_synced_at":"2025-04-21T12:41:14.147Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/starkware-libs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2020-10-31T20:51:23.000Z","updated_at":"2025-04-21T11:48:01.000Z","dependencies_parsed_at":"2023-02-14T12:46:59.823Z","dependency_job_id":"c009da15-010e-479b-8718-80cf792db814","html_url":"https://github.com/starkware-libs/cairo-lang","commit_stats":{"total_commits":70,"total_committers":5,"mean_commits":14.0,"dds":0.1428571428571429,"last_synced_commit":"8e11b8cc65ae1d0959328b1b4a40b92df8b58595"},"previous_names":[],"tags_count":65,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/starkware-libs%2Fcairo-lang","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/starkware-libs%2Fcairo-lang/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/starkware-libs%2Fcairo-lang/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/starkware-libs%2Fcairo-lang/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/starkware-libs","download_url":"https://codeload.github.com/starkware-libs/cairo-lang/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251561114,"owners_count":21609331,"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-03T02:00:58.535Z","updated_at":"2025-04-29T18:37:10.768Z","avatar_url":"https://github.com/starkware-libs.png","language":"Python","readme":"# Introduction\n\n[Cairo](https://cairo-lang.org/) is a programming language for writing provable programs.\n\n# Documentation\n\nThe Cairo documentation consists of two parts: \"Hello Cairo\" and \"How Cairo Works?\".\nBoth parts can be found in https://cairo-lang.org/docs/.\n\nWe recommend starting from [Setting up the environment](https://cairo-lang.org/docs/quickstart.html).\n\n# Installation instructions\n\nYou should be able to download the python package zip file directly from\n[github](https://github.com/starkware-libs/cairo-lang/releases/tag/v0.14.0)\nand install it using ``pip``.\nSee [Setting up the environment](https://cairo-lang.org/docs/quickstart.html).\n\nHowever, if you want to build it yourself, you can build it from the git repository.\nIt is recommended to run the build inside a docker (as explained below),\nsince it guarantees that all the dependencies\nare installed. Alternatively, you can try following the commands in the\n[docker file](https://github.com/starkware-libs/cairo-lang/blob/master/Dockerfile).\n\n## Building using the dockerfile\n\n*Note*: This section is relevant only if you wish to build the Cairo python-package yourself,\nrather than downloading it.\n\nThe root directory holds a dedicated Dockerfile, which automatically builds the package and runs\nthe unit tests on a simulated Ubuntu 18.04 environment.\nYou should have docker installed (see https://docs.docker.com/get-docker/).\n\nClone the repository and initialize the git submodules using:\n\n```bash\n\u003e git clone git@github.com:starkware-libs/cairo-lang.git\n\u003e cd cairo-lang\n```\n\nBuild the docker image:\n\n```bash\n\u003e docker build --tag cairo .\n```\n\nIf everything works, you should see\n\n```bash\nSuccessfully tagged cairo:latest\n```\n\nOnce the docker image is built, you can fetch the python package zip file using:\n\n```bash\n\u003e container_id=$(docker create cairo)\n\u003e docker cp ${container_id}:/app/cairo-lang-0.14.0.zip .\n\u003e docker rm -v ${container_id}\n```\n","funding_links":[],"categories":["Smart Contracts","Python","Other"],"sub_categories":["Cairo"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstarkware-libs%2Fcairo-lang","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstarkware-libs%2Fcairo-lang","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstarkware-libs%2Fcairo-lang/lists"}