btpy


Namebtpy JSON
Version 2.0.4 PyPI version JSON
download
home_pagehttps://github.com/nbdy/btpy
Summarybluetooth library for beacons, classic and low-energy devices
upload_time2024-07-19 18:23:31
maintainerNone
docs_urlNone
authorPascal Eberlein
requires_pythonNone
licenseNone
keywords bluetooth library
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ## 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": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "bluetooth library",
    "author": "Pascal Eberlein",
    "author_email": "pascal@eberlein.io",
    "download_url": "https://files.pythonhosted.org/packages/a3/12/d51e4cd541adf496353c2b1099ac5b261eaa5d81ca28b54680c2184212a0/btpy-2.0.4.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",
    "bugtrack_url": null,
    "license": null,
    "summary": "bluetooth library for beacons, classic and low-energy devices",
    "version": "2.0.4",
    "project_urls": {
        "Homepage": "https://github.com/nbdy/btpy"
    },
    "split_keywords": [
        "bluetooth",
        "library"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a312d51e4cd541adf496353c2b1099ac5b261eaa5d81ca28b54680c2184212a0",
                "md5": "38d19abc2646fa0a863238f3e15e1884",
                "sha256": "874181d0045f83e461ae937f07c19af724e91e169a1b17ea387e807178dd9c38"
            },
            "downloads": -1,
            "filename": "btpy-2.0.4.tar.gz",
            "has_sig": false,
            "md5_digest": "38d19abc2646fa0a863238f3e15e1884",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 3753,
            "upload_time": "2024-07-19T18:23:31",
            "upload_time_iso_8601": "2024-07-19T18:23:31.908247Z",
            "url": "https://files.pythonhosted.org/packages/a3/12/d51e4cd541adf496353c2b1099ac5b261eaa5d81ca28b54680c2184212a0/btpy-2.0.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-07-19 18:23:31",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "nbdy",
    "github_project": "btpy",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "btpy"
}
        
Elapsed time: 4.46599s