semvec/pypi-packages huggingface dataset:
h3converter 0.1.0
This package helps you convert h3 hec code directly to geojson and a GeoJSON entity to h3 hex code
Requires Python: >=3.6

# Convert H3

This package helps you convert h3 hec code directly to geojson and a GeoJSON entity to h3 hex code.

Sample:

H3 to GeoJSON:

`from h3converter import h3converter`

`h3converter.h3_to_geojson(['89be455030bffff','89be455030cffff'])`

GeoJSON to H3:

`from h3converter import h3converter`

`h3converter.polyfill({'type':'Polygon','coordinates':[[[144.244589, -36.810689], [144.244246, -36.808741], [144.241989, -36.807999], [144.240075, -36.809205], [144.240418, -36.811153], [144.242676, -36.811895], [144.244589, -36.810689]]]},9)`

where polyfill has (geojson, precision).
pyKamibot 0.15
A Python Library For Kamibot
Requires Python: >=3.7
Keywords: Kamibot,Robot

## Package for Kamibot

### install
```
pip install pyserial==3.5
```

### check version
```
import pyKamibot as kamibot

# check version
print(kamibot.__version__)

```

### exmaple
1. LED  

```
from pyKamibot import Kamibot

kamibot = Kamibot('COM3', 57600)

# LED (r, g, b)
kamibot.turn_led(200, 0, 0)

# ---------------------------------------------------
# Move on mapboard
# ---------------------------------------------------
for i in range(0, 100):
    kamibot.turn_led(200, 0, 0)
    kamibot.delay(1)
    kamibot.turn_led(0, 200, 0)
    kamibot.delay(1)
```  

2. Mapboard
```
kamibot.move_forward(1)

while True:
    kamibot.move_forward(1)
    kamibot.turn_left()
```

- turn_right()
- turn_back()

3. Control Mode

-  go_forward_with_speed(right=100, left=100)
```
kamibot.go_forward_with_speed(right=0, left=100)
kamibot.delay(1)
kamibot.stop()
```

-  go_backward_with_speed(right=0, left=100)
```
kamibot.go_backward_with_speed(right=100, left=100)
kamibot.delay(1)
kamibot.stop()
```

-  go_with_speed(right=100, left=100, r_dir=0, l_dir=0)
0 : forward, 1: backward, 2: stop
```
kamibot.go_with_speed(right=100, left=100, r_dir=0x00, l_dir=0x00)
kamibot.delay(1)
kamibot.stop()
```

-  set_server_motor(pos=90)
pos : degree
```
for i in range(0, 10):
    kamibot.set_server_motor(0)
    kamibot.delay(1)
    kamibot.set_server_motor(90)
    kamibot.delay(1)
```

-  ultrasonic()
unit is cm
```
while True:
    val = kamibot.ultrasonic()
    print('distance :', val)
    kamibot.delay(1)

```

-  ir()
```
while True:
    val = kamibot.ir()
    print('ir :', val)
    kamibot.delay(1)

```

## Contact
Part of the MoyaLab project - http://moyalab.com
Copyright (C) 2019 Moyalab (immoyalab@gmail.com)