Name | cairo-lang JSON |
Version |
0.13.3
JSON |
| download |
home_page | https://cairo-lang.org/ |
Summary | Compiler and runner for the Cairo language |
upload_time | 2024-11-13 15:58:45 |
maintainer | None |
docs_url | None |
author | Starkware |
requires_python | >=3.6 |
license | None |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# Introduction
[Cairo](https://cairo-lang.org/) is a programming language for writing provable programs.
# Documentation
The Cairo documentation consists of two parts: "Hello Cairo" and "How Cairo Works?".
Both parts can be found in https://cairo-lang.org/docs/.
We recommend starting from [Setting up the environment](https://cairo-lang.org/docs/quickstart.html).
# Installation instructions
You should be able to download the python package zip file directly from
[github](https://github.com/starkware-libs/cairo-lang/releases/tag/v0.13.3)
and install it using ``pip``.
See [Setting up the environment](https://cairo-lang.org/docs/quickstart.html).
However, if you want to build it yourself, you can build it from the git repository.
It is recommended to run the build inside a docker (as explained below),
since it guarantees that all the dependencies
are installed. Alternatively, you can try following the commands in the
[docker file](https://github.com/starkware-libs/cairo-lang/blob/master/Dockerfile).
## Building using the dockerfile
*Note*: This section is relevant only if you wish to build the Cairo python-package yourself,
rather than downloading it.
The root directory holds a dedicated Dockerfile, which automatically builds the package and runs
the unit tests on a simulated Ubuntu 18.04 environment.
You should have docker installed (see https://docs.docker.com/get-docker/).
Clone the repository and initialize the git submodules using:
```bash
> git clone git@github.com:starkware-libs/cairo-lang.git
> cd cairo-lang
```
Build the docker image:
```bash
> docker build --tag cairo .
```
If everything works, you should see
```bash
Successfully tagged cairo:latest
```
Once the docker image is built, you can fetch the python package zip file using:
```bash
> container_id=$(docker create cairo)
> docker cp ${container_id}:/app/cairo-lang-0.13.3.zip .
> docker rm -v ${container_id}
```
Raw data
{
"_id": null,
"home_page": "https://cairo-lang.org/",
"name": "cairo-lang",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": null,
"keywords": null,
"author": "Starkware",
"author_email": "info@starkware.co",
"download_url": "https://files.pythonhosted.org/packages/00/ba/213003b107bec47151b58c88cef1a7cbb57785e70400d7c216b91e52e38b/cairo-lang-0.13.3.zip",
"platform": null,
"description": "# 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.13.3)\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> git clone git@github.com:starkware-libs/cairo-lang.git\n> cd cairo-lang\n```\n\nBuild the docker image:\n\n```bash\n> 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> container_id=$(docker create cairo)\n> docker cp ${container_id}:/app/cairo-lang-0.13.3.zip .\n> docker rm -v ${container_id}\n```\n\n",
"bugtrack_url": null,
"license": null,
"summary": "Compiler and runner for the Cairo language",
"version": "0.13.3",
"project_urls": {
"Homepage": "https://cairo-lang.org/"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "00ba213003b107bec47151b58c88cef1a7cbb57785e70400d7c216b91e52e38b",
"md5": "cfe5df5d45ccadf825ce1ba1028e7f16",
"sha256": "fcb01d5cc6f2409f593e2a40249b1f903346785ce7916faaf6f95f120ee3c52d"
},
"downloads": -1,
"filename": "cairo-lang-0.13.3.zip",
"has_sig": false,
"md5_digest": "cfe5df5d45ccadf825ce1ba1028e7f16",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 11008548,
"upload_time": "2024-11-13T15:58:45",
"upload_time_iso_8601": "2024-11-13T15:58:45.540526Z",
"url": "https://files.pythonhosted.org/packages/00/ba/213003b107bec47151b58c88cef1a7cbb57785e70400d7c216b91e52e38b/cairo-lang-0.13.3.zip",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-13 15:58:45",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "cairo-lang"
}