A Python SDK for spacemouse functionality
Project description
Spacemouse SDK
A Python SDK for spacemouse functionality.
Installation
You can install the package from PyPI:
pip install spacemouse-sdk
Or install from source:
git clone https://github.com/simonfall/spacemouse.git
cd spacemouse
pip install -e .
Usage
import spacemouse
# Example usage
client = spacemouse.SpacemouseClient()
client.connect()
Development
Setup Development Environment
- Clone the repository:
git clone https://github.com/simonfall/spacemouse.git
cd spacemouse
- Create a virtual environment:
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
- Install development dependencies:
pip install -e ".[dev]"
Running Tests
pytest
Code Formatting
black src tests
isort src tests
Type Checking
mypy src
Contributing
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
License
This project is licensed under the MIT License - see the LICENSE file for details.
Changelog
See CHANGELOG.md for a list of changes.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
spacemouse_sdk-0.1.0.tar.gz
(6.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file spacemouse_sdk-0.1.0.tar.gz.
File metadata
- Download URL: spacemouse_sdk-0.1.0.tar.gz
- Upload date:
- Size: 6.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c63db6d36f34710dfc58a97f7f81f0a5d6f51d7f534301ed78cf2ca16051ecf8
|
|
| MD5 |
fb82903e527c05ec8a0f18db49a08c08
|
|
| BLAKE2b-256 |
c0a83b7abe5a565d4fb847ce488d356220f2f4ad0e16cac8844dd725ce549a45
|
File details
Details for the file spacemouse_sdk-0.1.0-py3-none-any.whl.
File metadata
- Download URL: spacemouse_sdk-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f1eebb710158ae5e1e96971b66306875f4503d43fc46ee89df3c6f4772645f83
|
|
| MD5 |
bf287a22f9b612ba34a80f6bf26786fd
|
|
| BLAKE2b-256 |
badc6e03bc6eb4e97ad890ee81088bdbe36434d261b8baf5fb9ef3df648f2e13
|