Skip to main content

A pure python implementation of NetworkTables, used for Robot communications in the FIRST Robotics Competition.

Project description

RobotPy NetworkTables Project

https://travis-ci.org/robotpy/pynetworktables.svg

This is a pure python implementation of the NetworkTables protocol, derived from the wpilib ntcore C++ implementation. In FRC, the NetworkTables protocol is used to pass non-Driver Station data to and from the robot across the network.

This implementation is intended to be compatible with python 2.7 and python 3.3+. All commits to the repository are automatically tested on all supported python versions using Travis-CI.

Documentation

For usage, detailed installation information, and other notes, please see our documentation at http://pynetworktables.readthedocs.io

Installation

On the RoboRIO, you don’t install this directly, but use the RobotPy installer to install it on your RoboRIO, or it is installed by pip as part of the pyfrc setup process.

On something like a coprocessor, driver station, or laptop, make sure pip is installed, connect to the internet, and install like so:

pip install pynetworktables

Implementation differences as of 2015

  • Implementation is pure python, no SIP compilation required!

  • API is now based on the Java implementation, methods are now camelCase, instead of CapsCase

  • NetworkTables objects are found in the networktables package, and not in the pynetworktables package

Support

The RobotPy project has a mailing list that you can send emails to for support: robotpy@googlegroups.com. Keep in mind that the maintainers of RobotPy projects are also members of FRC Teams and do this in their free time.

If you find a bug, please file a bug report using github https://github.com/robotpy/pynetworktables/issues/new

Contributing new changes

RobotPy is an open project that all members of the FIRST community can easily and quickly contribute to. If you find a bug, or have an idea that you think others can use:

  1. Fork this git repository to your github account

  2. Create your feature branch (git checkout -b my-new-feature)

  3. Commit your changes (git commit -am ‘Add some feature’)

  4. Push to the branch (git push -u origin my-new-feature)

  5. Create new Pull Request on github

Authors & Contributors

  • Dustin Spicuzza, FRC Team 1418/2423

  • Peter Johnson, FRC Team 294

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pynetworktables-2017.0.2.tar.gz (44.2 kB view details)

Uploaded Source

File details

Details for the file pynetworktables-2017.0.2.tar.gz.

File metadata

File hashes

Hashes for pynetworktables-2017.0.2.tar.gz
Algorithm Hash digest
SHA256 87299bbf9f4fa21247bbcd914c436f09e567dd7a5bd4588aa0f6fe2cf3083937
MD5 b0a1f259c9d85fe98a063a5e03698e20
BLAKE2b-256 4a9c8fa666e20b8c33a9a0c54b651f1391c64d691c9bba34a0b3cb064494283c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page