Skip to content

ThatsTheEnd/sdk_development

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python 3.9 Python 3.10 License: MIT Documentation Status Test and Build

Hawaii sdk_development - A Streamlined SDK for our Devices over Websocket Communication

Welcome to sdk_development!

Here, we're building a versatile SDK for our devices. It's designed to be efficient, readable, and a touch of fun.

Features

  • Communication: Our foundational layer to manage all kinds of interactions.
  • WebSocketClient: A WebSocket-based communication module.
  • Message Parsing: Tools for message structuring and error handling.
  • Devices: Interfaces and implementations for various devices like CCD Cameras and Monochromators.

Getting Started

Prerequesits

These code pieces rely on an installed version of the SDK.

  1. Log into hawaii.com with your user account or create a new account

  2. Enter your hawaii hardware serial number(s) to see if you have access to the SDK

  3. Download and install the SDK

  4. You can a successful installation by running the following commands in a shell:

    MySDK --version

    This must return a version string, e.g. "1.7.3"

  5. Run one of the hello world examples in the examples section of this repo.

As a SDK user

Code examples for different programming languages like Python, LabVIEW and C# can be found in the examples Instruction videos on how to use the SDK can be found on the hawaii youtube channel The full documentation of the APi can be found on Read the docs

As Contributor to the SDK

This package is built with poetry, so make sure to head over to Poetry to get started.

  1. Installation:

    cd /PathWhereYouWantThisRepo 
    git clone https://github.com/ThatsTheEnd/sdk_development.git .
    cd sdk_development
    pip install poetry
    poetry install
  2. Running Tests:

    poetry run pytest
  3. Documentation: Navigate to the docs directory for in-depth information.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

Structure

  • sdk_development: Core source code.
  • tests: Unit tests to ensure everything runs smoothly.
  • scripts: Utility scripts.
  • docs: Comprehensive documentation.

Contributing

  1. Bug Reports & Feature Requests: Use GitHub issues to report any bugs or suggest features.
  2. Pull Requests: Always welcome! Ensure tests pass before submitting.

License

MIT. See the LICENSE file for details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published