{"id":13448149,"url":"https://github.com/cython/cython","last_synced_at":"2026-10-18T22:10:40.277Z","repository":{"id":1193975,"uuid":"1099265","full_name":"cython/cython","owner":"cython","description":"The most widely used Python to C compiler","archived":false,"fork":false,"pushed_at":"2026-10-11T17:50:35.000Z","size":82303,"stargazers_count":10863,"open_issues_count":1531,"forks_count":1639,"subscribers_count":227,"default_branch":"master","last_synced_at":"2026-10-12T05:17:34.838Z","etag":null,"topics":["big-data","c","cpp","cpython","cpython-extensions","cython","performance","python"],"latest_commit_sha":null,"homepage":"https://cython.org","language":"Cython","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/cython.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGES.rst","contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"COPYING.txt","code_of_conduct":".github/code-of-conduct.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"claude":null,"gemini":null,"cursor":null,"copilot":null,"dco":null,"cla":null,"disclosure":null},"funding":{"github":"scoder","patreon":null,"open_collective":null,"ko_fi":null,"tidelift":"pypi/Cython","community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2010-11-21T07:44:20.000Z","updated_at":"2026-10-11T17:50:40.000Z","dependencies_parsed_at":"2026-09-27T04:39:08.805Z","dependency_job_id":null,"html_url":"https://github.com/cython/cython","commit_stats":{"total_commits":16479,"total_committers":541,"mean_commits":30.46025878003697,"dds":0.4275138054493598,"last_synced_commit":"4201ff0b97058b8cdf607f458226b0b939e0712d"},"previous_names":[],"tags_count":242,"template":false,"template_full_name":null,"purl":"pkg:github/cython/cython","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cython%2Fcython","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cython%2Fcython/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cython%2Fcython/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cython%2Fcython/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cython","download_url":"https://codeload.github.com/cython/cython/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cython%2Fcython/sbom","scorecard":{"id":192648,"data":{"date":"2025-08-11","repo":{"name":"github.com/cython/cython","commit":"01df2099b97a72f120e7b7a932241b8147aa4c20"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.6,"checks":[{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":10,"reason":"30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":2,"reason":"Found 6/30 approved changesets -- score normalized to 2","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Token-Permissions","score":10,"reason":"GitHub workflow tokens follow principle of least privilege","details":["Warn: jobLevel 'contents' permission set to 'write': .github/workflows/wheels.yml:163","Info: topLevel 'contents' permission set to 'read': .github/workflows/ci.yml:21","Info: topLevel 'contents' permission set to 'read': .github/workflows/nightly-wheels.yml:28","Info: found token with 'none' permissions: .github/workflows/wheels.yml:1"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.txt:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE.txt:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:291: update your workflow using https://app.stepsecurity.io/secureworkflow/cython/cython/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:294: update your workflow using https://app.stepsecurity.io/secureworkflow/cython/cython/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:307: update your workflow using https://app.stepsecurity.io/secureworkflow/cython/cython/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:323: update your workflow using https://app.stepsecurity.io/secureworkflow/cython/cython/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:328: update your workflow using https://app.stepsecurity.io/secureworkflow/cython/cython/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:341: update your workflow using https://app.stepsecurity.io/secureworkflow/cython/cython/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:358: update your workflow using https://app.stepsecurity.io/secureworkflow/cython/cython/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:364: update your workflow using https://app.stepsecurity.io/secureworkflow/cython/cython/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:372: update your workflow using https://app.stepsecurity.io/secureworkflow/cython/cython/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:404: update your workflow using https://app.stepsecurity.io/secureworkflow/cython/cython/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:415: update your workflow using https://app.stepsecurity.io/secureworkflow/cython/cython/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:417: update your workflow using https://app.stepsecurity.io/secureworkflow/cython/cython/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:244: update your workflow using https://app.stepsecurity.io/secureworkflow/cython/cython/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:249: update your workflow using https://app.stepsecurity.io/secureworkflow/cython/cython/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:254: update your workflow using https://app.stepsecurity.io/secureworkflow/cython/cython/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:267: update your workflow using https://app.stepsecurity.io/secureworkflow/cython/cython/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:274: update your workflow using https://app.stepsecurity.io/secureworkflow/cython/cython/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/nightly-wheels.yml:43: update your workflow using https://app.stepsecurity.io/secureworkflow/cython/cython/nightly-wheels.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/nightly-wheels.yml:45: update your workflow using https://app.stepsecurity.io/secureworkflow/cython/cython/nightly-wheels.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/nightly-wheels.yml:54: update your workflow using https://app.stepsecurity.io/secureworkflow/cython/cython/nightly-wheels.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/wheels.yml:65: update your workflow using https://app.stepsecurity.io/secureworkflow/cython/cython/wheels.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/wheels.yml:105: update your workflow using https://app.stepsecurity.io/secureworkflow/cython/cython/wheels.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/wheels.yml:109: update your workflow using https://app.stepsecurity.io/secureworkflow/cython/cython/wheels.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/wheels.yml:116: update your workflow using https://app.stepsecurity.io/secureworkflow/cython/cython/wheels.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/wheels.yml:133: update your workflow using https://app.stepsecurity.io/secureworkflow/cython/cython/wheels.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/wheels.yml:136: update your workflow using https://app.stepsecurity.io/secureworkflow/cython/cython/wheels.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/wheels.yml:147: update your workflow using https://app.stepsecurity.io/secureworkflow/cython/cython/wheels.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/wheels.yml:152: update your workflow using https://app.stepsecurity.io/secureworkflow/cython/cython/wheels.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/wheels.yml:182: update your workflow using https://app.stepsecurity.io/secureworkflow/cython/cython/wheels.yml/master?enable=pin","Warn: pipCommand not pinned by hash: Tools/ci-run.sh:94","Warn: pipCommand not pinned by hash: Tools/ci-run.sh:97","Warn: pipCommand not pinned by hash: Tools/ci-run.sh:101","Warn: pipCommand not pinned by hash: Tools/ci-run.sh:104","Warn: pipCommand not pinned by hash: Tools/ci-run.sh:107","Warn: pipCommand not pinned by hash: Tools/ci-run.sh:110","Warn: pipCommand not pinned by hash: Tools/ci-run.sh:113","Warn: pipCommand not pinned by hash: Tools/ci-run.sh:118","Warn: pipCommand not pinned by hash: Tools/ci-run.sh:125","Warn: pipCommand not pinned by hash: Tools/ci-run.sh:129","Warn: pipCommand not pinned by hash: .github/workflows/nightly-wheels.yml:51","Warn: pipCommand not pinned by hash: .github/workflows/wheels.yml:143","Info:   2 out of  25 GitHub-owned GitHubAction dependencies pinned","Info:   1 out of   7 third-party GitHubAction dependencies pinned","Info:   0 out of  12 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact 3.1.3 not signed: https://api.github.com/repos/cython/cython/releases/239547116","Warn: release artifact 3.1.2 not signed: https://api.github.com/repos/cython/cython/releases/223912517","Warn: release artifact 3.1.1 not signed: https://api.github.com/repos/cython/cython/releases/219450580","Warn: release artifact 3.1.0-1 not signed: https://api.github.com/repos/cython/cython/releases/217428073","Warn: release artifact 3.1.0 not signed: https://api.github.com/repos/cython/cython/releases/217389038","Warn: release artifact 3.1.3 does not have provenance: https://api.github.com/repos/cython/cython/releases/239547116","Warn: release artifact 3.1.2 does not have provenance: https://api.github.com/repos/cython/cython/releases/223912517","Warn: release artifact 3.1.1 does not have provenance: https://api.github.com/repos/cython/cython/releases/219450580","Warn: release artifact 3.1.0-1 does not have provenance: https://api.github.com/repos/cython/cython/releases/217428073","Warn: release artifact 3.1.0 does not have provenance: https://api.github.com/repos/cython/cython/releases/217389038"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Vulnerabilities","score":0,"reason":"38 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2024-230 / GHSA-248v-346w-9cwc","Warn: Project is vulnerable to: PYSEC-2024-60 / GHSA-jjg7-2v4v-x38h","Warn: Project is vulnerable to: GHSA-cpwx-vrp4-4pq7","Warn: Project is vulnerable to: GHSA-gmj6-6f8f-6699","Warn: Project is vulnerable to: GHSA-h75v-3vvj-5mfj","Warn: Project is vulnerable to: GHSA-q2x7-8rv6-6q7h","Warn: Project is vulnerable to: GHSA-33p9-3p43-82vq","Warn: Project is vulnerable to: GHSA-4qhp-652w-c22x","Warn: Project is vulnerable to: PYSEC-2024-165 / GHSA-hrw6-wg82-cm62","Warn: Project is vulnerable to: GHSA-44cc-43rp-5947","Warn: Project is vulnerable to: GHSA-4m77-cmpx-vjc4","Warn: Project is vulnerable to: GHSA-9q39-rmj3-p4r2","Warn: Project is vulnerable to: GHSA-9hjg-9r4m-mvj7","Warn: Project is vulnerable to: GHSA-9wx4-h78v-vm56","Warn: Project is vulnerable to: GHSA-753j-mpmx-qq6g","Warn: Project is vulnerable to: GHSA-7cx3-6m66-7c5m","Warn: Project is vulnerable to: GHSA-8w49-h785-mj3c","Warn: Project is vulnerable to: GHSA-w235-7p84-xx57","Warn: Project is vulnerable to: GHSA-34jh-p97f-mpxf","Warn: Project is vulnerable to: GHSA-pq67-6m6q-mj2v","Warn: Project is vulnerable to: GHSA-jfmj-5v4g-7637","Warn: Project is vulnerable to: GHSA-29gw-9793-fvw7","Warn: Project is vulnerable to: PYSEC-2015-24 / GHSA-4vwq-x64q-j4cj","Warn: Project is vulnerable to: PYSEC-2017-46 / GHSA-66gw-5xpf-gfp5","Warn: Project is vulnerable to: PYSEC-2015-25 / GHSA-92mr-v722-f48m","Warn: Project is vulnerable to: PYSEC-2022-12 / GHSA-pq7m-3gw7-gq5x","Warn: Project is vulnerable to: PYSEC-2017-47","Warn: Project is vulnerable to: PYSEC-2018-34 / GHSA-2fc2-6r4j-p65h","Warn: Project is vulnerable to: PYSEC-2021-856 / GHSA-5545-2q6w-2gh6","Warn: Project is vulnerable to: PYSEC-2019-108 / GHSA-9fq2-x9r6-wfmf","Warn: Project is vulnerable to: PYSEC-2018-33 / GHSA-cw6w-4rcx-xphc","Warn: Project is vulnerable to: PYSEC-2021-857 / GHSA-f7c7-j99h-c22f","Warn: Project is vulnerable to: GHSA-fpfv-jqm9-f5jm","Warn: Project is vulnerable to: PYSEC-2017-1 / GHSA-frgw-fgh6-9g52","Warn: Project is vulnerable to: PYSEC-2013-22 / GHSA-27x4-j476-jp5f","Warn: Project is vulnerable to: PYSEC-2025-49 / GHSA-5rjg-fvgr-3xxf","Warn: Project is vulnerable to: GHSA-cx63-2mw6-8hw5","Warn: Project is vulnerable to: PYSEC-2022-43012 / GHSA-r9hx-vwmv-q579"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 18 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-16T21:07:04.839Z","repository_id":1193975,"created_at":"2025-08-16T21:07:04.839Z","updated_at":"2025-08-16T21:07:04.839Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":343843146,"owners_count":38231083,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-10-03T21:59:58.778Z","status":"online","status_checked_at":"2026-10-12T02:00:06.297Z","response_time":96,"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":["big-data","c","cpp","cpython","cpython-extensions","cython","performance","python"],"created_at":"2024-07-31T05:01:37.055Z","updated_at":"2026-10-18T22:10:39.178Z","avatar_url":"https://github.com/cython.png","language":"Cython","funding_links":["https://github.com/sponsors/scoder","https://tidelift.com/funding/github/pypi/Cython","https://tidelift.com/subscription/pkg/pypi-cython"],"categories":["📚 项目宗旨","Scripting","Python","Language and Tooling","Cython","\u003ca id=\"tag-dev\" href=\"#tag-dev\"\u003eDev\u003c/a\u003e","Static","HarmonyOS","Basic Components","实现","Software","正则表达式","Python / C++","Compilers","Implementations"],"sub_categories":["脚本","Compilers and Interpreters","\u003ca id=\"tag-dev-other\" href=\"#tag-dev-other\"\u003eOther Dev projects\u003c/a\u003e","Windows Manager","Python Performance Booster","Cython implementation","Other dialects and variants","Mojo🔥FastAPI Client"],"readme":"Welcome to Cython!\n==================\n\nCython is an optimising Python compiler that makes writing C extensions for\nPython as easy as Python itself.\n\nCython translates Python code to C/C++ code, but additionally supports calling\nC functions and declaring C types on variables and class attributes.\nThis allows broad to fine-grained manual tuning that lets the compiler\ngenerate very efficient C code from Cython code.\n\nThis makes Cython the ideal language for wrapping external C libraries, and\nfor fast C modules that speed up the execution of Python code.\n\n* Official website: https://cython.org/\n* Documentation: https://docs.cython.org/\n* Github repository: https://github.com/cython/cython\n* Wiki: https://github.com/cython/cython/wiki\n\nCython has `more than 70 million downloads \u003chttps://pypistats.org/packages/cython\u003e`_\nper month on PyPI.  You can **support the Cython project** via\n`Github Sponsors \u003chttps://github.com/users/scoder/sponsorship\u003e`_ or\n`Tidelift \u003chttps://tidelift.com/subscription/pkg/pypi-cython\u003e`_.\n\n\nInstallation:\n-------------\n\nIf you already have a C compiler, just run following command::\n\n   pip install Cython\n\notherwise, see `the installation page \u003chttps://docs.cython.org/en/latest/src/quickstart/install.html\u003e`_.\n\n\nLicense:\n--------\n\nThe original Pyrex program, which Cython is based on, was licensed \"free of restrictions\" (see below).\nCython itself is licensed under the permissive **Apache License**.\n\nSee `LICENSE.txt \u003chttps://github.com/cython/cython/blob/master/LICENSE.txt\u003e`_.\n\n\nContributing:\n-------------\n\nWant to contribute to the Cython project?\nHere is some `help to get you started \u003chttps://github.com/cython/cython/blob/master/docs/CONTRIBUTING.rst\u003e`_.\n\n\nDifferences to other Python compilers\n-------------------------------------\n\nStarted as a project in the early 2000s, Cython has outlived\n`most other attempts \u003chttps://wiki.python.org/moin/PythonImplementations#Compilers\u003e`_\nat producing static compilers for the Python language.\n\nSimilar projects that have a relevance today include:\n\n* `PyPy \u003chttps://www.pypy.org/\u003e`_, a Python implementation with a JIT compiler.\n\n  * Pros: JIT compilation with runtime optimisations, fully language compliant,\n    good integration with external C/C++ code\n  * Cons: non-CPython runtime, relatively large resource usage of the runtime,\n    limited compatibility with CPython extensions, non-obvious performance results\n\n* `Numba \u003chttp://numba.pydata.org/\u003e`_, a Python extension that features a\n  JIT compiler for a subset of the language, based on the LLVM compiler\n  infrastructure (probably best known for its ``clang`` C compiler).\n  It mostly targets numerical code that uses NumPy.\n\n  * Pros: JIT compilation with runtime optimisations\n  * Cons: limited language support, relatively large runtime dependency (LLVM),\n    non-obvious performance results\n\n* `Pythran \u003chttps://pythran.readthedocs.io/\u003e`_, a static Python-to-C++\n  extension compiler for a subset of the language, mostly targeted\n  at numerical computation.  Pythran can be (and is probably best) used\n  as an additional\n  `backend for NumPy code \u003chttps://cython.readthedocs.io/en/latest/src/userguide/numpy_pythran.html\u003e`_\n  in Cython.\n\n* `mypyc \u003chttps://mypyc.readthedocs.io/\u003e`_, a static Python-to-C extension\n  compiler, based on the `mypy \u003chttp://www.mypy-lang.org/\u003e`_ static Python\n  analyser.  Like Cython's\n  `pure Python mode \u003chttps://cython.readthedocs.io/en/latest/src/tutorial/pure.html\u003e`_,\n  mypyc can make use of PEP-484 type annotations to optimise code for static types.\n\n  * Pros: good support for language and PEP-484 typing, good type inference,\n    reasonable performance gains\n  * Cons: no support for low-level optimisations and typing,\n    opinionated Python type interpretation, reduced Python compatibility\n    and introspection after compilation\n\n* `Nuitka \u003chttps://nuitka.net/\u003e`_, a static Python-to-C extension compiler.\n\n  * Pros: highly language compliant, reasonable performance gains,\n    support for static application linking (similar to\n    `cython_freeze \u003chttps://github.com/cython/cython/blob/master/bin/cython_freeze\u003e`_\n    but with the ability to bundle library dependencies into a self-contained\n    executable)\n  * Cons: no support for low-level optimisations and typing\n\nIn comparison to the above, Cython provides\n\n* fast, efficient and highly compliant support for almost all\n  Python language features, including dynamic features and introspection\n* full runtime compatibility with all still-in-use and future versions\n  of CPython\n* \"generate once, compile everywhere\" C code generation that allows for\n  reproducible performance results and testing\n* C compile time adaptation to the target platform and Python version\n* support for other C-API implementations, including PyPy and Pyston\n* seamless integration with C/C++ code\n* broad support for manual optimisation and tuning down to the C level\n* a large user base with thousands of libraries, packages and tools\n* more than two decades of bug fixing and static code optimisations\n\n\nThe following is from Pyrex:\n------------------------------------------------------\nCython was originally based on `Pyrex \u003chttps://www.cosc.canterbury.ac.nz/~greg/python/Pyrex/\u003e`_\nby Greg Ewing, with the following written in the Pyrex readme document:\n\nThis is a development version of Pyrex, a language\nfor writing Python extension modules.\n\nFor more info, take a look at:\n\n* Doc/About.html for a description of the language\n* INSTALL.txt    for installation instructions\n* USAGE.txt      for usage instructions\n* Demos          for usage examples\n\nComments, suggestions, bug reports, etc. are most\nwelcome!\n\nCopyright stuff: Pyrex is free of restrictions. You\nmay use, redistribute, modify and distribute modified\nversions.\n\nThe latest version of Pyrex can be found `here \u003chttps://www.cosc.canterbury.ac.nz/~greg/python/Pyrex/\u003e`_.\n\n| Greg Ewing, Computer Science Dept\n| University of Canterbury\n| Christchurch, New Zealand\n\n A citizen of NewZealandCorp, a wholly-owned subsidiary of USA Inc.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcython%2Fcython","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcython%2Fcython","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcython%2Fcython/lists"}