Skip to main content

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

  1. Clone the repository:
git clone https://github.com/simonfall/spacemouse.git
cd spacemouse
  1. Create a virtual environment:
python -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate
  1. Install development dependencies:
pip install -e ".[dev]"

Running Tests

pytest

Code Formatting

black src tests
isort src tests

Type Checking

mypy src

Contributing

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. 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


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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

spacemouse_sdk-0.1.0-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

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

Hashes for spacemouse_sdk-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c63db6d36f34710dfc58a97f7f81f0a5d6f51d7f534301ed78cf2ca16051ecf8
MD5 fb82903e527c05ec8a0f18db49a08c08
BLAKE2b-256 c0a83b7abe5a565d4fb847ce488d356220f2f4ad0e16cac8844dd725ce549a45

See more details on using hashes here.

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

Hashes for spacemouse_sdk-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f1eebb710158ae5e1e96971b66306875f4503d43fc46ee89df3c6f4772645f83
MD5 bf287a22f9b612ba34a80f6bf26786fd
BLAKE2b-256 badc6e03bc6eb4e97ad890ee81088bdbe36434d261b8baf5fb9ef3df648f2e13

See more details on using hashes here.

Supported by

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