{"id":20905093,"url":"https://github.com/panda-official/driftpythonclient","last_synced_at":"2025-07-31T08:05:03.651Z","repository":{"id":44839532,"uuid":"513049629","full_name":"panda-official/DriftPythonClient","owner":"panda-official","description":"Python Client to access data from Drift Platform","archived":false,"fork":false,"pushed_at":"2024-06-06T12:04:18.000Z","size":397,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"develop","last_synced_at":"2025-05-13T05:41:17.071Z","etag":null,"topics":["ai","drift","python"],"latest_commit_sha":null,"homepage":"https://driftpythonclient.readthedocs.io/en/latest/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/panda-official.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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-07-12T07:53:38.000Z","updated_at":"2024-07-23T12:26:10.000Z","dependencies_parsed_at":"2023-12-14T12:25:45.825Z","dependency_job_id":"e3a20818-4284-4115-9869-49d1d83e42cf","html_url":"https://github.com/panda-official/DriftPythonClient","commit_stats":{"total_commits":42,"total_committers":6,"mean_commits":7.0,"dds":"0.11904761904761907","last_synced_commit":"91c28d52f13fe683d554838415343e728de21373"},"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"purl":"pkg:github/panda-official/DriftPythonClient","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/panda-official%2FDriftPythonClient","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/panda-official%2FDriftPythonClient/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/panda-official%2FDriftPythonClient/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/panda-official%2FDriftPythonClient/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/panda-official","download_url":"https://codeload.github.com/panda-official/DriftPythonClient/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/panda-official%2FDriftPythonClient/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268009926,"owners_count":24180458,"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","status":"online","status_checked_at":"2025-07-31T02:00:08.723Z","response_time":66,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["ai","drift","python"],"created_at":"2024-11-18T13:21:51.540Z","updated_at":"2025-07-31T08:05:03.628Z","avatar_url":"https://github.com/panda-official.png","language":"Python","readme":"# Drift Python Client\n\n\n[![PyPI](https://img.shields.io/pypi/v/drift-python-client)](https://pypi.org/project/drift-python-client/)\n[![PyPI - Downloads](https://img.shields.io/pypi/dm/drift-python-client)](https://pypi.org/project/drift-python-client/)\n[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/panda-official/DriftPythonClient/ci.yml?branch=develop)](https://github.com/panda-official/DriftPythonClient/actions)\n\nPython Client to access data of [PANDA|Drift](docs/panda_drift.md)\n\n## Description\n\nDrift Python Client is a high level library to get current or historical data with minimal knowledge about **PANDA|Drift**\ninfrastructure.\n\n## Features\n\n* Access to live Drift data\n* Access to history of input data\n* Access to history of metrics\n* Cross-platform\n\n## Requirements\n\n* Python \u003e= 3.8\n\n## Installing\n\n```\npip install drift-python-client\n```\n\nIf you need the latest version from GitHub:\n\n```\npip install git+https://github.com/panda-official/DriftPythonClient.git\n```\n\n## Usage Example\n\n```python\nimport os\nfrom datetime import datetime\n\nfrom drift_client import DriftClient\n\ndrift_client = DriftClient(\"10.0.0.153\", os.getenv(\"DRIFT_PASSWORD\"))\n# Download list of history\n\npackages = drift_client.get_package_names(\n    \"acc-5\",\n    datetime.strptime(\"2022-01-01 00:00:00\", \"%Y-%m-%d %H:%M:%S\"),\n    datetime.strptime(\"2022-01-02 00:00:00\", \"%Y-%m-%d %H:%M:%S\")\n)\n\nprint(packages)\nfor path in packages:\n    data = drift_client.get_item(path).as_np(scale_factor=2)\n    print(data)\n```\n\n## References:\n\n* [Documentation](https://driftpythonclient.readthedocs.io/en/latest/)\n* [DriftProtocol](https://github.com/panda-official/DriftProtocol)\n* [WaveletBuffer](https://github.com/panda-official/WaveletBuffer)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpanda-official%2Fdriftpythonclient","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpanda-official%2Fdriftpythonclient","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpanda-official%2Fdriftpythonclient/lists"}