An unofficial Sphero Python SDK to programmatically control Sphero robots.
# Project Status
**Now Available on PyPi!**
**Early Alpha**\
Many commands have been implemented and we now have early alpha releases.\
Be aware that releases are frequent and breaking changes can happen at this stage of development.
# Supported Platforms
SpheroPy is supported and tested on Windows and Linux.\
SpheroPy is theoretically supported on Mac, but has not been tested on Mac.
# Dependencies
SpheroPy requires Python 3.6 or greater.
SpheroPy needs a low-level bluetooth interface provider in order to talk to Sphero devices.\
You can choose to optionally install a bluetooth interface provider along with SpheroPy (see install).\
SpheroPy has optional depedencies on:
- **pybluez**
- For bluetooth support. Useful for talking to first-gen Sphero devices that don't implement BLE.
- [pybluez github](https://github.com/pybluez/pybluez)
- **pygatt**
- For bluetooth LE support. Supported on linux. Also, supported on any platform with a BGAPI supported adapter.
- Example of BGAPI adapter: https://www.silabs.com/products/wireless/bluetooth/bluetooth-low-energy-modules/bled112-bluetooth-smart-dongle
- [pygatt github](https://github.com/peplin/pygatt)
- **winble**
- For bluetooth LE support on Windows. Winble is a native bluetooth LE library for Windows. Requires VS2017 to build from source, but wheel distribution is available.
- [winble github](https://github.com/irvinec/SpheroPy/tree/master/winble)
# Install
To install SpheroPy:\
```pip install spheropy```
To update SpheroPy:\
```pip install --upgrade spheropy```
To install with optional bluetooth interface dependency:\
```pip install spheropy[<dependency>]```\
Replace `<dependency>` with **pybluez**, **pygatt**, or **winble** (see Dependencies).
# Examples
See files in the [tests](https://github.com/irvinec/SpheroPy/tree/master/tests) directory for examples on how to use the APIs.
# License
This software is made available under the MIT License.
See the license file for more details.
Metadata
Release files for SpheroPy 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| SpheroPy-0.0.4.tar.gz | 19.1 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| SpheroPy-0.0.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 36.3 kB
Release files / SpheroPy-0.0.4.tar.gz
| Download URL | SpheroPy-0.0.4.tar.gz |
|---|---|
| Size | 19.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f97fd9a7d23c8fc7a60236ab7d2236dea1e870c163caae568c24be1ae1683e49
|
|
BLAKE2b-256 checksum How to use checksums |
5be7e93534470130ab225cea630845da9c66e2f9903eee995f4852dbcc86b899
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.0
|
Release files / SpheroPy-0.0.4-py3-none-any.whl
| Download URL | SpheroPy-0.0.4-py3-none-any.whl |
|---|---|
| Size | 17.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
05765eb9b403af0cb545f109a719ff5549cc371bf8dc455d6d5451e6fa7e3b5d
|
|
BLAKE2b-256 checksum How to use checksums |
0b19470013502405761d585f423753e7167c9be768dd69352c1a5e0f0147683b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.0
|
Security for SpheroPy 0.0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.