wpilib.deployinfo Package

wpilib.deployinfo.getDeployData() Dict[str, str] | None[source]

Utility function useful for retrieving deploy-related information that pyfrc stores with your robot code. The dictionary has the following keys:

  • deploy-host

  • deploy-user

  • deploy-date

  • code-path

If the code is deployed from a git repo, and the git program is in your path, the following keys will also be present:

  • git-hash

  • git-desc

  • git-branch

Returns:

None in simulation, or a dictionary