semvec/pypi-packages huggingface dataset:
pysphero 0.0.12
Unofficial library for sphero v2.
License: MIT License
Keywords: sphero,sphero-ble,bolt

# PySphero
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/pysphero.svg)](https://pypi.org/project/pysphero/)
[![Build Status](https://travis-ci.org/EnotYoyo/pysphero.svg?branch=master)](https://travis-ci.org/EnotYoyo/pysphero)

This is an unofficial Sphero library for BLE toys.   
The Sphero protocol is reverse-engineered using the official Sphero Edu application for Android and [this](https://github.com/igbopie/spherov2.js) library. 

> This code is tested only on Sphero Bolt. Probably it will work on the other BLE toys too.

### Install the dependencies
For using this library need bluepy and libgtk2.0-dev.
```bash
# apt-get install libgtk2.0-dev
# pip install bluepy

# To use gatt BT stack, install it manually
# pip install gatt
```

# Install
To install `pysphero` use `pip`:
```bash
# pip install pysphero
```

# Example
```python
from time import sleep

from pysphero.utils import toy_scanner


def main():
    with toy_scanner() as sphero:
        sphero.power.wake()
        sleep(2)
        sphero.power.enter_soft_sleep()


if __name__ == '__main__':
    main()

```

# Tips
While using gatt, if you are facing connection issues
```bash
# Connection failed: Device does not exist, check adapter name and MAC address.
```
You must check if your BLE device is known on your system list (thanks to bluez-tools).
```bash
# bt-device -l
```
If not, used bluetoothctl to do so.
```bash
sudo bluetoothctl
Agent registered
[bluetooth]# power on
Changing power on succeeded
[bluetooth]# scan on
[CHG] Controller AB:CD:EF:12:34:56 Discovering: yes
[NEW] Device 12:34:56:78:90:AB (your Sphero toy)
[bluetooth]# exit
```
BLE device list must have been populated

# Unknown
Packet contains sourceID and targetID. Their meaning is unknown.
aiida-cusp 0.1.0b2
Custodian based VASP Plugin for AiiDA
License: MIT License

# aiida-cusp - a Custodian based VASP Plugin for AiiDA
[![Documentation Status](https://readthedocs.org/projects/aiida-cusp/badge/?version=latest)](https://aiida-cusp.readthedocs.io/en/latest/?badge=latest)
[![tests](https://github.com/aiida-cusp/aiida-cusp/workflows/tests/badge.svg?branch=develop)](https://github.com/aiida-cusp/aiida-cusp/actions)
[![codecov](https://codecov.io/gh/aiida-cusp/aiida-cusp/branch/develop/graph/badge.svg)](https://codecov.io/gh/aiida-cusp/aiida-cusp)

[Custodian](https://materialsproject.github.io/custodian) plugin for VASP enabling automated error correction for [AiiDA](https://www.aiida.net) managed VASP calculations

## Highlights

* Automated error corrections for VASP calculations on the calculation's runtime level (rather than on the workflow level)
* Full compatability with [pymatgen](https://pymatgen.org) and easy access to set of therein implemented tools for pre- and postprocessing of VASP calculations directly from the implemented datatypes
* It's still VASP, but better!

## Installation

Please refer to aiida-cusp's [documentation](https://aiida-cusp.readthedocs.io/) for further information.

## Contributing

Suggestions for useful improvements, feature requests, bug reports and the like are highly welcome and appreciated.
Especially the contribution of new workflows that were developed based on this plugin is highly encouraged to transform this plugin into a powerful tool for the scientific community.

### Bug Reports
If you think you found a bug feel free to open an issue on the plugin's [GitHub repository](https://github.com/astamminger/aiida-cusp/issues).

### Adding new Features and Changes
For changes you would like to add to the plugin please refer to the [`CONTRIBUTING.md`](CONTRIBUTING.md) file located in the repository root.

## License

The `aiida-cusp` plugin for AiiDA is distributed as free and open-source software (FOSS) licensed under the MIT open-source license (see [`LICENSE`](LICENSE)).