Skip to main content
https://raw.githubusercontent.com/MomsFriendlyRobotCompany/pysabertooth/master/docs/pics/Sabertooth2x32Big.jpg

PySabertooth

https://img.shields.io/pypi/l/pysabertooth.svg https://img.shields.io/pypi/pyversions/pysabertooth.svg https://img.shields.io/pypi/wheel/pysabertooth.svg https://img.shields.io/pypi/v/pysabertooth.svg

Install

pip install pysabertooth

Usage

from pysabertooth import Sabertooth

saber = Sabertooth('/dev/tty.usbserial', baudrate=115200, address=128, timeout=0.1)

# drive(number, speed)
# number: 1-2
# speed: -100 - 100
saber.drive(1, 50)
saber.drive(2, -75)
saber.stop()

MIT License

Copyright (c) 2017 Kevin J. Walchko

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Metadata

Release files for pysabertooth 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pysabertooth 0.4.0
File Size Uploaded
pysabertooth-0.4.0.tar.gz 4.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pysabertooth 0.4.0
File Interpreter ABI Platform
pysabertooth-0.4.0-py3-none-any.whl Python 3 none any Details

Total release size: 9.3 kB

Release files / pysabertooth-0.4.0.tar.gz

Download URL pysabertooth-0.4.0.tar.gz
Size 4.3 kB
Tags Source
SHA-256 checksum
How to use checksums
d7cfc0bc79b35148aa161c97efb64982d17ff21e3848a4473c6f13814e2a8871
BLAKE2b-256 checksum
How to use checksums
4dcc5d562709e2ff1e3a88ecf9bef7735608b36579b6e830704a5473bd670a72
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.0.2 CPython/3.8.5 Linux/5.4.0-62-generic

Release files / pysabertooth-0.4.0-py3-none-any.whl

Download URL pysabertooth-0.4.0-py3-none-any.whl
Size 5.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
531f4de2cbadd5828fa3a9b36a318357f22fc2217011778f78b12a4f05bcf9e1
BLAKE2b-256 checksum
How to use checksums
78090e770d2ea79111b2b7ed839aa379083a33b7cc7e2f98b4f826ab1c462e91
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.0.2 CPython/3.8.5 Linux/5.4.0-62-generic

Release history Release notifications | RSS feed

This release

0.4.0 This release

2 release files

0.3.0

3 release files

0.0.2

3 release files

0.0.1

3 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page