{"id":16654735,"url":"https://github.com/zuzu-typ/python-c-api-extension-template","last_synced_at":"2025-05-12T21:30:56.920Z","repository":{"id":97960297,"uuid":"124797143","full_name":"Zuzu-Typ/Python-C-API-extension-template","owner":"Zuzu-Typ","description":"A template for the Python c-api","archived":false,"fork":false,"pushed_at":"2019-04-01T16:16:49.000Z","size":17,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-01T11:01:50.592Z","etag":null,"topics":["c-api","example","extension","library","python","python-c-api","template"],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Zuzu-Typ.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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":"2018-03-11T20:36:34.000Z","updated_at":"2024-04-23T12:56:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"6f5ca76f-96b9-461f-80d9-f62c327767c8","html_url":"https://github.com/Zuzu-Typ/Python-C-API-extension-template","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zuzu-Typ%2FPython-C-API-extension-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zuzu-Typ%2FPython-C-API-extension-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zuzu-Typ%2FPython-C-API-extension-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zuzu-Typ%2FPython-C-API-extension-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Zuzu-Typ","download_url":"https://codeload.github.com/Zuzu-Typ/Python-C-API-extension-template/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253824991,"owners_count":21970113,"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":["c-api","example","extension","library","python","python-c-api","template"],"created_at":"2024-10-12T09:50:54.034Z","updated_at":"2025-05-12T21:30:56.615Z","avatar_url":"https://github.com/Zuzu-Typ.png","language":"C++","readme":"# Python C\\+\\+ extension template  \n## A template for a Python C\\-API based extension  \n**Why** would you want to have a **Python C\\+\\+\\-extension** in the first place?  \nThe answer is quite simple: **Performance**\\.  \nAlthough you can achieve improved performance using [Cython](http://cython.org/), you can never beat **C/C\\+\\+ level performance**\\.  \n  \n## About this template  \n### Introduction  \nThis template provides a very basic Python extension written in C/C\\+\\+\\.  \nThe extension module \"*template*\" contains a function \"*test*\" and a class \"*example\\_class*\"\\.  \nThe \"*example\\_class*\" has a single member \"*value*\" \\(of type double =\u003e float\\),  and supports a lot of operations\\.  \nIt also shows how to import a module \\(\"math\\.pi\" in this case\\)\\.  \n  \n*Work in progress*\\. ","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzuzu-typ%2Fpython-c-api-extension-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzuzu-typ%2Fpython-c-api-extension-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzuzu-typ%2Fpython-c-api-extension-template/lists"}