ziglang


Nameziglang JSON
Version 0.13.0 PyPI version JSON
download
home_pageNone
SummaryZig is a general-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
upload_time2024-06-26 13:47:34
maintainerNone
docs_urlNone
authorNone
requires_python~=3.5
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            Zig PyPI distribution
=====================

[Zig][] is a general-purpose programming language and toolchain for maintaining robust, optimal, and reusable software. The [ziglang][pypi] Python package redistributes the Zig toolchain so that it can be used as a dependency of Python projects.

[zig]: https://ziglang.org/
[pypi]: https://pypi.org/project/ziglang/

Rationale
---------

Although Zig is useful in itself, the Zig toolchain includes a drop-in C and C++ compiler, [`zig cc`][zigcc], based on [clang][]. Unlike clang itself, `zig cc` is standalone: it does not require additional development files to be installed to target any of the platforms it supports. Through `zig cc`, Python code that generates C or C++ code can build it without any external dependencies.

[clang]: https://clang.llvm.org/
[zigcc]: https://andrewkelley.me/post/zig-cc-powerful-drop-in-replacement-gcc-clang.html

Usage
-----

To run the Zig toolchain from the command line, use:

```shell
python -m ziglang
```

To run the Zig toolchain from a Python program, use `sys.executable` to locate the Python binary to invoke. For example:

```python
import sys, subprocess

subprocess.call([sys.executable, "-m", "ziglang"])
```

License
-------

The [Zig license](https://github.com/ziglang/zig#license).

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "ziglang",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "~=3.5",
    "maintainer_email": null,
    "keywords": null,
    "author": null,
    "author_email": null,
    "download_url": null,
    "platform": null,
    "description": "Zig PyPI distribution\n=====================\n\n[Zig][] is a general-purpose programming language and toolchain for maintaining robust, optimal, and reusable software. The [ziglang][pypi] Python package redistributes the Zig toolchain so that it can be used as a dependency of Python projects.\n\n[zig]: https://ziglang.org/\n[pypi]: https://pypi.org/project/ziglang/\n\nRationale\n---------\n\nAlthough Zig is useful in itself, the Zig toolchain includes a drop-in C and C++ compiler, [`zig cc`][zigcc], based on [clang][]. Unlike clang itself, `zig cc` is standalone: it does not require additional development files to be installed to target any of the platforms it supports. Through `zig cc`, Python code that generates C or C++ code can build it without any external dependencies.\n\n[clang]: https://clang.llvm.org/\n[zigcc]: https://andrewkelley.me/post/zig-cc-powerful-drop-in-replacement-gcc-clang.html\n\nUsage\n-----\n\nTo run the Zig toolchain from the command line, use:\n\n```shell\npython -m ziglang\n```\n\nTo run the Zig toolchain from a Python program, use `sys.executable` to locate the Python binary to invoke. For example:\n\n```python\nimport sys, subprocess\n\nsubprocess.call([sys.executable, \"-m\", \"ziglang\"])\n```\n\nLicense\n-------\n\nThe [Zig license](https://github.com/ziglang/zig#license).\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Zig is a general-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.",
    "version": "0.13.0",
    "project_urls": {
        "Bug Tracker": "https://github.com/ziglang/zig-pypi/issues",
        "Homepage": "https://ziglang.org",
        "Source Code": "https://github.com/ziglang/zig-pypi"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e6143587387c715175ed5bb103c94c0df554fabac5bc97de153e9eec2fa905aa",
                "md5": "614370d802a4ca1309ede2aec96dcbf4",
                "sha256": "5408ad3a6cb342fb4e4e2351a3725adfcae82eaadebe85fdbbdad9c0ac8b1e24"
            },
            "downloads": -1,
            "filename": "ziglang-0.13.0-py3-none-macosx_12_0_arm64.whl",
            "has_sig": false,
            "md5_digest": "614370d802a4ca1309ede2aec96dcbf4",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "~=3.5",
            "size": 81237662,
            "upload_time": "2024-06-26T13:47:34",
            "upload_time_iso_8601": "2024-06-26T13:47:34.003403Z",
            "url": "https://files.pythonhosted.org/packages/e6/14/3587387c715175ed5bb103c94c0df554fabac5bc97de153e9eec2fa905aa/ziglang-0.13.0-py3-none-macosx_12_0_arm64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "4b384f2ef2b1d727d7317b08ef309e52d8c90089272b57d5d940c74524cc4315",
                "md5": "f0fc5caad7d618b1bf869b17cd987796",
                "sha256": "d1b00173b8a5bfbaccb255240b8c091bd523c13743178bc248355ec6484fced7"
            },
            "downloads": -1,
            "filename": "ziglang-0.13.0-py3-none-macosx_12_0_x86_64.whl",
            "has_sig": false,
            "md5_digest": "f0fc5caad7d618b1bf869b17cd987796",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "~=3.5",
            "size": 83910175,
            "upload_time": "2024-06-26T13:48:04",
            "upload_time_iso_8601": "2024-06-26T13:48:04.721789Z",
            "url": "https://files.pythonhosted.org/packages/4b/38/4f2ef2b1d727d7317b08ef309e52d8c90089272b57d5d940c74524cc4315/ziglang-0.13.0-py3-none-macosx_12_0_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d062dbd21b026cbe8f5299f8c2d5e9f5963557d3ca928389c7187738726fab5b",
                "md5": "301130aeea7a8bec890f76a9cad0deda",
                "sha256": "d7feb1b8cd09e17a24a2218e5b4a1ff7463390cf653e9dbaf54d5f2e4c55c3e5"
            },
            "downloads": -1,
            "filename": "ziglang-0.13.0-py3-none-manylinux_2_12_i686.manylinux2010_i686.musllinux_1_1_i686.whl",
            "has_sig": false,
            "md5_digest": "301130aeea7a8bec890f76a9cad0deda",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "~=3.5",
            "size": 88249460,
            "upload_time": "2024-06-26T13:48:33",
            "upload_time_iso_8601": "2024-06-26T13:48:33.665142Z",
            "url": "https://files.pythonhosted.org/packages/d0/62/dbd21b026cbe8f5299f8c2d5e9f5963557d3ca928389c7187738726fab5b/ziglang-0.13.0-py3-none-manylinux_2_12_i686.manylinux2010_i686.musllinux_1_1_i686.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0cb7ecfdce6368cc3664d301f7f52db4fe1004aa7da7a12c4a9bf1de534ff6ab",
                "md5": "74303ce9624b07ddbdbd463a4fb92ac0",
                "sha256": "3ce0c9f16547e5d61b32e0d226926e9a2552ef4b91fccf7ab5ea1a623a77824b"
            },
            "downloads": -1,
            "filename": "ziglang-0.13.0-py3-none-manylinux_2_12_x86_64.manylinux2010_x86_64.musllinux_1_1_x86_64.whl",
            "has_sig": false,
            "md5_digest": "74303ce9624b07ddbdbd463a4fb92ac0",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "~=3.5",
            "size": 80896325,
            "upload_time": "2024-06-26T13:48:50",
            "upload_time_iso_8601": "2024-06-26T13:48:50.822423Z",
            "url": "https://files.pythonhosted.org/packages/0c/b7/ecfdce6368cc3664d301f7f52db4fe1004aa7da7a12c4a9bf1de534ff6ab/ziglang-0.13.0-py3-none-manylinux_2_12_x86_64.manylinux2010_x86_64.musllinux_1_1_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b8d9d5e808cbfa20d6b566c27f3445fea30b5ec86d7b45dad237fdc7a8754f53",
                "md5": "e169cae6db6ff61f257d1b19e189127e",
                "sha256": "5714a4d46f9246ba6180a0930e23df2bc8bc26e62b5fe0dc798b4afca1903308"
            },
            "downloads": -1,
            "filename": "ziglang-0.13.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_1_aarch64.whl",
            "has_sig": false,
            "md5_digest": "e169cae6db6ff61f257d1b19e189127e",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "~=3.5",
            "size": 77819666,
            "upload_time": "2024-06-26T13:49:04",
            "upload_time_iso_8601": "2024-06-26T13:49:04.606737Z",
            "url": "https://files.pythonhosted.org/packages/b8/d9/d5e808cbfa20d6b566c27f3445fea30b5ec86d7b45dad237fdc7a8754f53/ziglang-0.13.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_1_aarch64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3ba4dab4ddb824033b369db78235aeaa5b92f710ec01bf1e255edcb9730097a3",
                "md5": "c6ee2c6f3322f99dad78fdb56495170f",
                "sha256": "64458dbe4f8c09ae3f99897d5bf2ac343be5366079dce383e286832f17747e94"
            },
            "downloads": -1,
            "filename": "ziglang-0.13.0-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.musllinux_1_1_armv7l.whl",
            "has_sig": false,
            "md5_digest": "c6ee2c6f3322f99dad78fdb56495170f",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "~=3.5",
            "size": 78762501,
            "upload_time": "2024-06-26T13:49:23",
            "upload_time_iso_8601": "2024-06-26T13:49:23.332484Z",
            "url": "https://files.pythonhosted.org/packages/3b/a4/dab4ddb824033b369db78235aeaa5b92f710ec01bf1e255edcb9730097a3/ziglang-0.13.0-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.musllinux_1_1_armv7l.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "28e21501b497dbdd10300a47729466a30cb78dc11dae952ff01588426947f9cf",
                "md5": "02e81d45c5c0da04dfe7a3b6b9b5a1bf",
                "sha256": "36e797eebe1c75e978fb14c4ca5a42f9350cdda1850c173c036573bc480e37e8"
            },
            "downloads": -1,
            "filename": "ziglang-0.13.0-py3-none-win32.whl",
            "has_sig": false,
            "md5_digest": "02e81d45c5c0da04dfe7a3b6b9b5a1bf",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "~=3.5",
            "size": 84675514,
            "upload_time": "2024-06-26T13:49:48",
            "upload_time_iso_8601": "2024-06-26T13:49:48.648444Z",
            "url": "https://files.pythonhosted.org/packages/28/e2/1501b497dbdd10300a47729466a30cb78dc11dae952ff01588426947f9cf/ziglang-0.13.0-py3-none-win32.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e00c66f4710aedf5544e15779ff9c6e770322986e15daf9299b1a4df0be19e09",
                "md5": "c77d11ca76b0eca2e7f9fe5f4cd6bfa8",
                "sha256": "b64b2aa936ebbfeecfbb2611df331a5474edebe1246b98c2f56d6ae4d58b71fc"
            },
            "downloads": -1,
            "filename": "ziglang-0.13.0-py3-none-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "c77d11ca76b0eca2e7f9fe5f4cd6bfa8",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "~=3.5",
            "size": 80418705,
            "upload_time": "2024-06-26T13:50:00",
            "upload_time_iso_8601": "2024-06-26T13:50:00.513267Z",
            "url": "https://files.pythonhosted.org/packages/e0/0c/66f4710aedf5544e15779ff9c6e770322986e15daf9299b1a4df0be19e09/ziglang-0.13.0-py3-none-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-06-26 13:47:34",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "ziglang",
    "github_project": "zig-pypi",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "ziglang"
}
        
Elapsed time: 1.13118s