Last updated:
0 purchases
bluepie 1.0.0
Irnas Bluepie Software
This repository contains often used BLE wrappers around bleak.
Installation and updating
Use the package manager pip to install BluePie like below.
Rerun this command to check for and install updates.
pip install bluepie
Developing
For development and testing the use of virtualenv is suggested.
Install virtualenv:
pip install virtualenv
Create and activate virtualenv, run this from project root:
virtualenv venv
. /venv/bin/activate
To make development of the python package more smooth you can run below command from the project root directory.
Changes that you make in the source code will be automatically available instead of running pip install . all time.
pip install --editable .
Creating a PyPi package
Important: bump version in setup.py file.
Twine package is needed:
pip install twine
Create a wheel:
python3 setup.py sdist bdist_wheel
Check if everything is ok:
twine check dist/*
Upload to Test PyPi:
twine upload --repository-url https://test.pypi.org/legacy/ dist/*
After you made sure that everything is ok you can upload to PyPi:
twine upload dist/*
License
Firmware and software originating from this repository is licensed under the GNU General Public License v2.0.
Open-source licensing means the hardware, firmware, software and documentation may be used without paying a royalty, and knowing one will be able to use their version forever. One is also free to make changes, but if one shares these changes, they have to do so under the same conditions they are using themselves. The name IRNAS is a mark of IRNAS LTD. This name and term may only be used to attribute the appropriate entity as required by the Open Licence referred to above. The names and marks may not be used in any other way, and in particular may not be used to imply endorsement or authorization of any hardware one is designing, making or selling.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.