semvec/pypi-packages huggingface dataset:
nsmr 0.2.0
Navigation Simulator for Mobile Robot
License: MIT
Requires Python: >3.5.0

# Navigation Simulator for Mobile Robot

[![Python](https://img.shields.io/badge/python-3.5%20%7C%203.6%20%7C%203.7-blue)](https://www.python.org)
[![Build Status](https://travis-ci.com/Jumpei-Arima/Navigation_Simulator_for_Mobile_Robot.svg?branch=master)](https://travis-ci.com/Jumpei-Arima/Navigation_Simulator_for_Mobile_Robot)
[![Coverage Status](https://coveralls.io/repos/github/Jumpei-Arima/Navigation_Simulator_for_Mobile_Robot/badge.svg?branch=master)](https://coveralls.io/github/Jumpei-Arima/Navigation_Simulator_for_Mobile_Robot?branch=master)
[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/Jumpei-Arima/Navigation_Simulator_for_Mobile_Robot)

![nsmr](assets/nsmr.gif)

## Installation
NSMR can be installed by using `pip`.

```
$ pip install nsmr
```

If installing from source code, execute the following commands.
```
$ git clone https://github.com/Jumpei-Arima/Navigation_Simulator_for_Mobile_Robot
$ cd Navigation_Simulator_for_Mobile_Robot
$ pip install -e .
```

For examples see example
```
python examples/run_env.py
```
interactive-input 0.6.1
curses based interactive value input
License: MIT
Requires Python: >=3.6
Keywords: interactive_input 0Delta

# Interactive input

## Useage


### install package

Install by `pip`

```
pip install interactive_input
```

### Cording

1. Import and instantiate.
1. regist keys,messages,hook functions
1. Call `Ask()`, it return key-value pair with value by user input.
1. If call `Ask()` more than once, object save previous input. so it can request only the increased.
1. You can overwrite value data with `overwrite=True` option.

```python
import interactive_input as iin

def main():
    var iinObj = iin.Object()
    iinObj.AddQ("key1")
    iinObj.AddQ("key2", message="Please Input", hook=base64enc)

    # this will delete value of "key1". (not delete key)
    iinObj.AddQ("key1", message="Overwrited", overwrite=True)

def base64enc(v: str) -> str:
    # you can something for user input. (e.g. hashing, encoding)
    return "encoded: " + v
```

### Run and Using

`Ask()` will present input UI like below.

```
Overwrited
Key1: _
Please Input
Key2: 
```

Can move allow-key or `jkl`.
`h` function as [BACKSPACE]. (can use BS normally as well)
[ENTER] can move next value. If hit [ENTER] with last line, Decide values and go next step.


### Bug

* Can't use non ascii character. it will broken data.
* Not support very narrow console.

## LICENCE

MIT