Skip to main content

This repository contains often used BLE wrappers around bleak.

Project description

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.

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

bluepie-1.0.0.tar.gz (7.2 kB view hashes)

Uploaded Source

Built Distribution

bluepie-1.0.0-py3-none-any.whl (7.5 kB view hashes)

Uploaded Python 3

Supported by

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