{"id":24559808,"url":"https://github.com/jsmolina/c-api-python","last_synced_at":"2026-05-10T17:19:27.960Z","repository":{"id":21062677,"uuid":"24361996","full_name":"jsmolina/c-api-python","owner":"jsmolina","description":"This repo provides some basic examples of using simplest fib implementation with C code and calling it from Python","archived":false,"fork":false,"pushed_at":"2018-08-30T07:11:57.000Z","size":521,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-23T06:18:52.277Z","etag":null,"topics":["bindings","c","ctypes","ctypes-bindings","cython","fast","fibonacci","python","rust","rustlang","swig"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jsmolina.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-09-23T07:54:40.000Z","updated_at":"2019-01-08T14:26:51.000Z","dependencies_parsed_at":"2022-09-05T05:21:51.852Z","dependency_job_id":null,"html_url":"https://github.com/jsmolina/c-api-python","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsmolina%2Fc-api-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsmolina%2Fc-api-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsmolina%2Fc-api-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsmolina%2Fc-api-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jsmolina","download_url":"https://codeload.github.com/jsmolina/c-api-python/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243922461,"owners_count":20369398,"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":["bindings","c","ctypes","ctypes-bindings","cython","fast","fibonacci","python","rust","rustlang","swig"],"created_at":"2025-01-23T06:18:44.808Z","updated_at":"2026-05-10T17:19:22.933Z","avatar_url":"https://github.com/jsmolina.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"c-api-python\n============\n\nbasic (working) examples of C binding, ... to a very simple iterative fibonacci function.\n\nSometimes the best way to speed up your code it's just to write some C code. \n\nJust run ./compile.sh in each subfolder and you'll see the performance by yourself.\n\n\n# boostexample\nC++ implementation binded with boost.\n\n# rust\nUsed with pyO3 integration.\n\n# native\n'native' implementation in pure python\n\n# manual-binding\npython user-defined integration with c code.\n\n# ctypes\nusing only python code and loading a compiled shared library\n\n# boost\nexample using boost\n\n# cython\npure implementation in cython\n\n# swig\nswig bindings to use C code.\n\n# numba\njust use of jit decorator.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsmolina%2Fc-api-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjsmolina%2Fc-api-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsmolina%2Fc-api-python/lists"}