{"id":16410236,"url":"https://github.com/danasilver/pythonsampleapp","last_synced_at":"2026-05-12T23:07:28.028Z","repository":{"id":152244015,"uuid":"104846209","full_name":"danasilver/PythonSampleApp","owner":"danasilver","description":"Python + iOS. Why not? :wink:","archived":false,"fork":false,"pushed_at":"2017-09-27T05:26:54.000Z","size":18,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-24T02:30:48.982Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Swift","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/danasilver.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-09-26T06:42:36.000Z","updated_at":"2023-12-05T15:43:20.000Z","dependencies_parsed_at":"2023-07-01T14:01:06.276Z","dependency_job_id":null,"html_url":"https://github.com/danasilver/PythonSampleApp","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/danasilver/PythonSampleApp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danasilver%2FPythonSampleApp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danasilver%2FPythonSampleApp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danasilver%2FPythonSampleApp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danasilver%2FPythonSampleApp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danasilver","download_url":"https://codeload.github.com/danasilver/PythonSampleApp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danasilver%2FPythonSampleApp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32960368,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-12T09:19:52.626Z","status":"ssl_error","status_checked_at":"2026-05-12T09:17:33.438Z","response_time":102,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-10-11T06:23:35.849Z","updated_at":"2026-05-12T23:07:28.010Z","avatar_url":"https://github.com/danasilver.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Python + iOS\n\nRun Python in your Swift app!\n\n### Install and Run\n\nClone the repo and run `./bootstrap`. You should be ready to build and run the\nproject in Xcode and see some results from Python in the console.\n\n### But why?\n\nBecause you can!\n\nIt's fun to pick apart software and make two unexpected pieces work with each other.\n\nSome serious reasons you might want to do this:\n\n* A legacy Python codebase with your app's business logic\n* A library that only exists in Python\n* A Python developer new to iOS (see [PyObjC](https://pythonhosted.org/pyobjc/index.html))\n\n### Okay, but how?\n\n1. Patch Python for iOS\n2. Compile for all your architectures and make Python.framework, OpenSSL.framework, etc.\n3. Follow the Python/C API Reference Manual to put setup Python in your Swift app (mostly working in Obj-C/C)\n4. Write Python!\n\n### Helpful Scripts\n\n**bootstrap**: Install Python.framework, its dependencies, and your Python packages.\nPython.framework is too large to check into VCS.\n\n**lock-packages**: Write out a requirements.txt with the exact package versions for your project's installed packages.\n\n**Install a new Python dependency**: `pip install --target python/packages \u003cpackage name\u003e`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanasilver%2Fpythonsampleapp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanasilver%2Fpythonsampleapp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanasilver%2Fpythonsampleapp/lists"}