{"id":18482480,"url":"https://github.com/louis030195/tfrecord-builder","last_synced_at":"2025-07-07T07:39:52.014Z","repository":{"id":105957418,"uuid":"201082340","full_name":"louis030195/tfrecord-builder","owner":"louis030195","description":"API Google App Engine + PubSub to build tfrecord","archived":false,"fork":false,"pushed_at":"2024-04-16T23:58:20.000Z","size":21,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-10T17:58:36.706Z","etag":null,"topics":["google-appengine","google-cloud-platform"],"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/louis030195.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":"2019-08-07T15:56:57.000Z","updated_at":"2019-08-09T08:23:46.000Z","dependencies_parsed_at":"2024-04-17T00:41:51.488Z","dependency_job_id":null,"html_url":"https://github.com/louis030195/tfrecord-builder","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/louis030195%2Ftfrecord-builder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/louis030195%2Ftfrecord-builder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/louis030195%2Ftfrecord-builder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/louis030195%2Ftfrecord-builder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/louis030195","download_url":"https://codeload.github.com/louis030195/tfrecord-builder/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239198748,"owners_count":19598657,"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":["google-appengine","google-cloud-platform"],"created_at":"2024-11-06T12:28:44.210Z","updated_at":"2025-02-16T21:27:12.171Z","avatar_url":"https://github.com/louis030195.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Python Google Cloud Pub/Sub for Google App Engine Flexible Environment\n[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/louis030195/tfrecord-builder)\n\n## Setup\n\nBefore you can run or deploy the sample, you will need to do the following:\n\n1. Enable the Cloud Pub/Sub API in the [Google Developers Console](https://console.developers.google.com/project/_/apiui/apiview/pubsub/overview).\n\n2. Create a topic and subscription.\n\n        $ gcloud pubsub topics create topic_tfrecord\n        $ gcloud pubsub subscriptions create sub_tfrecord \\\n            --topic topic_tfrecord \\\n            --push-endpoint \\\n                https://[your-app-id].appspot.com/pubsub/push?token=[your-token] \\\n            --ack-deadline 30\n\n3. Update the environment variables in ``app.yaml``.\n\n## Running locally\n\nInstall dependencies, preferably with a virtualenv:\n\n    virtualenv env\n    source env/bin/activate\n    pip install -r requirements.txt\n\nThen set environment variables before starting your application:\n\n    export GOOGLE_APPLICATION_CREDENTIALS=[path-to-json-cred]\n    export PUBSUB_VERIFICATION_TOKEN=[your-verification-token]\n    export PUBSUB_TOPIC=[your-topic]\n    export BUCKET_NAME=[your-bucket]\n    export PROJECT_ID=[your-project-id]\n    python main.py\n\n### Simulating push notifications\nAssuming you have Frame entities in Datastore with imageUrl property pointing to their storage (on GCS ?)\n\n    export PUBSUB_VERIFICATION_TOKEN=[your-verification-token]\n    python test/call.py\n\n## Running on App Engine\n\n    gcloud app deploy\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flouis030195%2Ftfrecord-builder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flouis030195%2Ftfrecord-builder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flouis030195%2Ftfrecord-builder/lists"}