{"id":15099740,"url":"https://github.com/frc5024/dsinterface","last_synced_at":"2026-01-06T08:31:13.112Z","repository":{"id":57424330,"uuid":"156559223","full_name":"frc5024/DSInterface","owner":"frc5024","description":"A tiny python port of WPILib's driverstation class","archived":false,"fork":false,"pushed_at":"2018-11-08T14:07:41.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-27T13:48:29.522Z","etag":null,"topics":["fms","frc","networktables","python3","wpilib-driverstation"],"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/frc5024.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}},"created_at":"2018-11-07T14:32:03.000Z","updated_at":"2018-12-05T14:12:52.000Z","dependencies_parsed_at":"2022-09-14T08:40:37.648Z","dependency_job_id":null,"html_url":"https://github.com/frc5024/DSInterface","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/frc5024%2FDSInterface","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frc5024%2FDSInterface/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frc5024%2FDSInterface/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frc5024%2FDSInterface/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/frc5024","download_url":"https://codeload.github.com/frc5024/DSInterface/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245858878,"owners_count":20684057,"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":["fms","frc","networktables","python3","wpilib-driverstation"],"created_at":"2024-09-25T17:26:57.339Z","updated_at":"2026-01-06T08:31:13.069Z","avatar_url":"https://github.com/frc5024.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DSInterface\nA tiny python port of WPILib's driverstation class\n\n## Installation\nDSInterface can be installed from pip using the command:\n```\npython3 -m pip install DSInterface\n```\n\nNext, import it in your project:\n```python\nimport DSInterface as DSI\n```\n\n## Usage\nIn order to acces any data from FMS or the DriverStation, the `DriverStation` class must be initalized.\n```python\nds = DSI.DriverStation()\n```\n\n### Pulling data from FMS\nThese are the avalible methods for `DriverStation`:\n\n| Method | What it Does |\n| ------ | ------------ |\n| `getAlliance()` | Returns a `DSI.alliances` enum to represent the alliance |\n| `getStation()` | Returns an int from 1 to 3 that matches with your assigned station for the following match |\n| `getMatchType()` | Returns an int that represents the match type |\n| `getFMSControlData()` | Returns the raw FMS control data |\n| `getReplayNumber()` | Returns the replay number |\n| `getMatchNumber()` | Returns the match number |\n| `getEventName()` | Returns the event name as a string |\n| `getGSM()` | Returns the game specific message as an uppercase string |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrc5024%2Fdsinterface","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffrc5024%2Fdsinterface","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrc5024%2Fdsinterface/lists"}