Skip to content

Python library to communicate with Pinecil V2 soldering irons via Bluetooth

License

Notifications You must be signed in to change notification settings

tr4nt0r/pynecil

Repository files navigation

Pynecil

Python library to communicate with Pinecil V2 soldering irons via Bluetooth

build codecov PyPI version


Documentation: https://tr4nt0r.github.io/pynecil/

Source Code: https://github.com/tr4nt0r/pynecil


Development

Setup environment

We use Hatch to manage the development environment and production build. Ensure it's installed on your system.

Run unit tests

You can run all the tests with:

hatch run test

Format the code

Execute the following command to apply linting and check typing:

hatch run lint

Publish a new version

You can bump the version, create a commit and associated tag with one command:

hatch version patch
hatch version minor
hatch version major

Your default Git text editor will open so you can add information about the release.

When you push the tag on GitHub, the workflow will automatically publish it on PyPi and a GitHub release will be created as draft.

Serve the documentation

You can serve the Mkdocs documentation with:

hatch run docs-serve

It'll automatically watch for changes in your code.

License

This project is licensed under the terms of the MIT license.