{"id":22060305,"url":"https://github.com/ronniechong/php-python","last_synced_at":"2025-03-23T17:19:24.319Z","repository":{"id":34872680,"uuid":"38879572","full_name":"ronniechong/php-python","owner":"ronniechong","description":"Pi generator with Python","archived":false,"fork":false,"pushed_at":"2015-10-21T21:31:53.000Z","size":140,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-28T23:13:56.698Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://phppython.herokuapp.com/","language":"CSS","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/ronniechong.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-07-10T12:37:20.000Z","updated_at":"2015-07-10T13:20:44.000Z","dependencies_parsed_at":"2022-09-03T13:50:16.864Z","dependency_job_id":null,"html_url":"https://github.com/ronniechong/php-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/ronniechong%2Fphp-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ronniechong%2Fphp-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ronniechong%2Fphp-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ronniechong%2Fphp-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ronniechong","download_url":"https://codeload.github.com/ronniechong/php-python/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245136602,"owners_count":20566616,"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-11-30T17:47:23.141Z","updated_at":"2025-03-23T17:19:24.293Z","avatar_url":"https://github.com/ronniechong.png","language":"CSS","readme":"#Pi Generator with Python\n\nThis is my first attempt to use Heroku to host a Python script app. \n\nI created this UI to interact with the Python script instead of doing it via command line. The app basically generates a Pi with the number of decimals you've entered in the field. That's it.\n\nDemo: https://phppython.herokuapp.com/\n\n##pi.py\nThe script is from my Python repo: https://github.com/ronniechong/py-pi\n\n##Build and deploy steps\n\n- Create an empty {} ```package.json``` file for Composer dependencies\n- Create a ```requirements.txt``` for Python dependencies. SymPy 0.7.6 is required.\n- ```heroku create app-name-here```\n- Set the default buildpack to php (I think this is not necessary)\n- Add an additional buildpack ```heroku buildpacks:add --index 1 https://github.com/heroku/heroku-buildpack-python```\n- ```git push heroku master```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fronniechong%2Fphp-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fronniechong%2Fphp-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fronniechong%2Fphp-python/lists"}