## btpy
this is a wrapper around
- [bleak](https://github.com/hbldh/bleak) for low-energy support
- [beacontools](https://github.com/citruz/beacontools) for beacon support
- [bluez](http://www.bluez.org/) for classic support
### how to ...
#### .. install
```shell
pip3 install btpy
# or (this is not guaranteed to be stable)
pip3 install git+https://github.com/nbdy/btpy
```
#### ... to use it
```python
from btpy import LEDevice, Beacon, ClassicDevice
le_results = LEDevice.scan(4)
beacon_results = Beacon.scan(5)
classic_results = ClassicDevice.scan(6)
```
##### TODO
- [ ] Tests
Raw data
{
"_id": null,
"home_page": "https://github.com/nbdy/btpy",
"name": "btpy",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "bluetooth library",
"author": "Pascal Eberlein",
"author_email": "pascal@eberlein.io",
"download_url": "https://files.pythonhosted.org/packages/10/df/8b3c515c30070b927d86a0185b6a47763d6745db74d7b21fae7a258b19c8/btpy-2.0.3.tar.gz",
"platform": null,
"description": "## btpy\nthis is a wrapper around\n- [bleak](https://github.com/hbldh/bleak) for low-energy support\n- [beacontools](https://github.com/citruz/beacontools) for beacon support\n- [bluez](http://www.bluez.org/) for classic support\n\n### how to ...\n#### .. install\n```shell\npip3 install btpy\n# or (this is not guaranteed to be stable)\npip3 install git+https://github.com/nbdy/btpy\n```\n\n#### ... to use it\n```python\nfrom btpy import LEDevice, Beacon, ClassicDevice\n\nle_results = LEDevice.scan(4)\n\nbeacon_results = Beacon.scan(5)\n\nclassic_results = ClassicDevice.scan(6)\n```\n\n##### TODO\n- [ ] Tests\n\n",
"bugtrack_url": null,
"license": "",
"summary": "bluetooth library for beacons, classic and low-energy devices",
"version": "2.0.3",
"split_keywords": [
"bluetooth",
"library"
],
"urls": [
{
"comment_text": "",
"digests": {
"md5": "fdef3e5fcbc6bcf5372ad2eb49babb59",
"sha256": "5cb16752b075ca575f18fd495bc9bb629c1b80649b1865a847d9e61f2a471692"
},
"downloads": -1,
"filename": "btpy-2.0.3.tar.gz",
"has_sig": false,
"md5_digest": "fdef3e5fcbc6bcf5372ad2eb49babb59",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 3739,
"upload_time": "2022-12-23T06:02:51",
"upload_time_iso_8601": "2022-12-23T06:02:51.943897Z",
"url": "https://files.pythonhosted.org/packages/10/df/8b3c515c30070b927d86a0185b6a47763d6745db74d7b21fae7a258b19c8/btpy-2.0.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2022-12-23 06:02:51",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "nbdy",
"github_project": "btpy",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [],
"lcname": "btpy"
}