{"id":20578088,"url":"https://github.com/timeplus-io/streamlit_apps","last_synced_at":"2026-01-23T13:48:10.947Z","repository":{"id":45753545,"uuid":"498540381","full_name":"timeplus-io/streamlit_apps","owner":"timeplus-io","description":"a set of streamlit apps to demonstrate how to easily build real-time apps with Timeplus SDK","archived":false,"fork":false,"pushed_at":"2024-08-20T23:18:33.000Z","size":299,"stargazers_count":2,"open_issues_count":1,"forks_count":1,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-21T19:28:03.291Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/timeplus-io.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2022-06-01T00:34:09.000Z","updated_at":"2024-08-20T23:18:36.000Z","dependencies_parsed_at":"2024-05-12T23:31:03.552Z","dependency_job_id":"c1f51e71-1f8b-4a53-9b1b-f6b08dcb2f0f","html_url":"https://github.com/timeplus-io/streamlit_apps","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/timeplus-io/streamlit_apps","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timeplus-io%2Fstreamlit_apps","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timeplus-io%2Fstreamlit_apps/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timeplus-io%2Fstreamlit_apps/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timeplus-io%2Fstreamlit_apps/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/timeplus-io","download_url":"https://codeload.github.com/timeplus-io/streamlit_apps/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timeplus-io%2Fstreamlit_apps/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28693331,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-23T11:01:27.039Z","status":"ssl_error","status_checked_at":"2026-01-23T11:00:26.909Z","response_time":59,"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-11-16T06:10:27.086Z","updated_at":"2026-01-23T13:48:10.929Z","avatar_url":"https://github.com/timeplus-io.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# streamlit_apps\n\nA set of streamlit demo applications to show how to easily build real-time apps with Timeplus Python SDK. Check the live demo at https://timeplus.streamlit.app/\n\n## Basic workflow to call Timeplus API\n\nFirst, you need to sign up an account on https://timeplus.com to create a workspace and get an API key.\n\n* Use Python 3.9 or above. Import Python SDK [timeplus](https://pypi.org/project/timeplus/)\n* To prepare the Timeplus API client,  `env=Environment().address(tp_host).workspace(workspaceId).apikey(tp_apikey)`\n* To run a streaming query, call `q=Query(env=env).sql(query=stream_query).create()`. The column names are available via `q.metadata()[\"result\"][\"header\"]` and you get the results via\n\n```python\nrows=[]\nfor event in q.result():\n    if event.event != \"metrics\" and event.event != \"query\":\n        for row in json.loads(event.data):\n            rows.append(row)\nq.cancel()\nq.delete()\n```\n\nCheck https://pypi.org/project/timeplus/ for more details, or the rest of the sample python code in this repo.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimeplus-io%2Fstreamlit_apps","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftimeplus-io%2Fstreamlit_apps","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimeplus-io%2Fstreamlit_apps/lists"}