{"id":16847289,"url":"https://github.com/graup/rusty-python","last_synced_at":"2025-10-17T23:23:49.104Z","repository":{"id":32169510,"uuid":"35742761","full_name":"graup/rusty-python","owner":"graup","description":"Testing Python \u003c\u003e Rust bindings","archived":false,"fork":false,"pushed_at":"2015-05-20T22:37:36.000Z","size":116,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-24T13:44:49.627Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/graup.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":"2015-05-16T22:34:52.000Z","updated_at":"2015-05-20T22:37:37.000Z","dependencies_parsed_at":"2022-09-23T00:00:31.840Z","dependency_job_id":null,"html_url":"https://github.com/graup/rusty-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/graup%2Frusty-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graup%2Frusty-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graup%2Frusty-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graup%2Frusty-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/graup","download_url":"https://codeload.github.com/graup/rusty-python/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244173553,"owners_count":20410300,"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":[],"created_at":"2024-10-13T13:07:23.008Z","updated_at":"2025-10-17T23:23:49.007Z","avatar_url":"https://github.com/graup.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rusty Python\n\nThis is a test repo to try out different ways of interfacing Python and Rust.\n\nI was heavily inspired by [this blogpost](https://avacariu.me/articles/calling-rust-from-python.html) and random googling around. At some point I thought it would be nice to put together everything I had learned.\n\n## How to run\n\n    cargo build --release\n    python test.py\n\n## What this shows\n\n[Rust Inside Other Languages](http://doc.rust-lang.org/1.0.0/book/rust-inside-other-languages.html), the example being Python.\n\nAt the moment this is about using Rust code as a library inside Python, so this does the following:\n\n- Calling a Rust function passing parameters, e.g. pointers to lists\n  - Modifying the referenced objects inplace (i.e. Rust accessing the same memory)\n  - Returning new objects in Rust, passing them back to Python","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgraup%2Frusty-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgraup%2Frusty-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgraup%2Frusty-python/lists"}