semvec/pypi-packages huggingface dataset:
rescupybs 0.1.1.4
Band structure plot and wavefunction export from rescuplus *.json and *.h5 file.
License: MIT
Requires Python: >=3.8
Keywords: DFT rescuplus band plot wavefunction

[![rescupybs](https://img.shields.io/pypi/v/rescupybs?style=flat-square)](https://pypi.org/project/rescupybs/)
[![rescupybs](https://img.shields.io/pypi/pyversions/rescupybs?style=flat-square)](https://pypi.org/project/rescupybs/)
[![rescupybs](https://img.shields.io/pypi/l/rescupybs?style=flat-square)](https://pypi.org/project/rescupybs/)
[![rescupybs](https://img.shields.io/pypi/dm/rescupybs?style=flat-square)](https://pypi.org/project/rescupybs/)
[![rescupybs](https://img.shields.io/pypi/wheel/rescupybs?style=flat-square)](https://pypi.org/project/rescupybs/)
[![rescupybs](https://img.shields.io/github/last-commit/lkccrr/rescupybs?style=flat-square)](https://github.com/lkccrr/rescupybs)
[![rescupybs](https://img.shields.io/github/release-date/lkccrr/rescupybs?style=flat-square)](https://github.com/lkccrr/rescupybs)

### rescupybs

The <b style="color:green;"><i>rescupybs</b></i> is used for band structure plotting or isosurface file exporting from ***rescuplus*** calculation result <b style="color:darkred;"><i>\*.json</b></i> and <b style="color:darkred;"><i>\*.h5</b></i> files. The code will provide two scripts, <b style="color:blue;"><i>rescubs</b></i> for band structure plotting using ***rescuplus*** <b style="color:darkred;"><i>\*.json</b></i> or <b style="color:darkred;"><i>\*.dat</b></i> files, and <b style="color:blue;"><i>rescuiso</b></i> for isosurface file exporting in ***VESTA*** format from <b style="color:darkred;"><i>\*.json</b></i> and <b style="color:darkred;"><i>\*.h5</b></i> files.
***
<b style="color:blue;"><i>rescubs</b></i>
* To execute <b style="color:blue;"><i>rescubs</b></i> <b style="color:red;"><i>\-h</b></i> for the parameters to use.
* Example:
```bash
rescubs -h
rescubs -i nano_bs_out_bs.dat -o band.png -l g m k g
rescubs -b -l g m k g -y -1.2 1.2
```
***
<b style="color:blue;"><i>rescuiso</b></i>
* To execute <b style="color:blue;"><i>rescuiso</b></i> <b style="color:red;"><i>\-h</b></i> for the parameters to use.
* Example:
```bash
rescuiso -h
rescuiso -i nano_wvf_out.json -k 1 4 -b 0 3
```
pykinisi 1.0.4.1
Python package for Kinisi Controller
License: MIT
Keywords: motor controller,hardware,robotics,kinisi,kinisi controller

# pykinisi
Python package for kinisi motor controller. This package is used to control the kinisi motor controller via serial interface.\
Description of the commands can be found in [Kinisi Motion Controller framework documentation](https://github.com/szolotykh/kinisi-motor-controller-firmware/blob/main/README.md)

## Installation
Install pykinisi with pip:
```bash
pip install pykinisi
```

## Controlling Single Motor
This example shows how to connect to the motor controller and control a single motor.\
```python
import time
from pykinisi import *

port = "COM3"

controller = KinisiController()
if not controller.connect(port):
    print(f"Can't open serial connection. Port: {port}")
    exit()

# Motor test
motor_index = MotorIndex.Motor0
speed = 40 # Speed in percentage

# Is motor reversed 
is_reversed = False
 
controller.initialize_motor(motor_index, is_reversed)

# Set motor speed to speed
controller.set_motor_speed(motor_index, speed)
time.sleep(5)

# Stop motor
controller.stop_motor(motor_index)
```

## More Examples
There are several examples in the examples folder which show how to use the pykinisi package to control the kinisi motor controller.\
Run the examples with:
```bash
cd examples
python <example_file> <serial_port>
```

## Package Development
Install pykinisi for development:
```bash
pip install -e .
```

Update KinisiCommands.py file:
```bash
cd tools
pip install -r requirements.txt
python update-commands.py --branch=main
```

## Links
- [Kinisi Motion Controller firmware](https://github.com/szolotykh/kinisi-motor-controller-firmware)
- [Kinisi Motion Controller hardware](https://github.com/szolotykh/kinisi-motor-controller-board)
- [JavaScipt package for kinisi motor controller](https://github.com/szolotykh/jskinisi)
- [Python package for kinisi motor controller](https://github.com/szolotykh/pykinisi)