semvec/pypi-packages huggingface dataset:
aconsole 0.0.8
Async console like GUI built top of tkinter and asyncio.
Requires Python: >=3.6

# aconsole

Asynchorous Commandline like GUI for Python 3.

Provides async await for print and input. It also supports having multiple awaiting inputs, which are queued and then processed one by one.
See: [Multiple inputs awaiting](https://github.com/theMINAD/aconsole/blob/master/examples/multi.py).<br>

Other supported features:
 * Canceling input.
 * Changing color theme
 * Chaging transparency
<hr>

## Controls
Mouse for navigating the output.
Keys for input:

    [Enter] Submits input.
    [Up/Down] Navigates input history.

Keys for output:

    [Ctrl+C] Copy selected content.
    [Ctrl+R] Clears output.
<hr>

## Depencies
Just Python 3.6 or above. For GUI it uses Tkinter, which is built-in module in Python.<br>
Tested on: Mac, Linux and Windows.
<hr>

## A Simple Example
```py
import asyncio
import aconsole

if __name__ == '__main__':
    loop = asyncio.get_event_loop()

    console = AsyncConsole()
    console.title('echo test')

    async def echo():
        while True:
            result = await console.input('echo to out: ')
            console.print('echo:', result)

    run_task = console.run(loop)
    loop.create_task(echo())
    loop.run_until_complete(run_task) # wait until window closed
```

![image](https://raw.githubusercontent.com/theMINAD/aconsole/master/examples/images/echo.gif)
<hr>

## Other Examples
 * [Async Chat Client](https://github.com/theMINAD/aconsole/blob/master/examples/chat_client.py)
 * [Async Chat Server](https://github.com/theMINAD/aconsole/blob/master/examples/chat_server.py)
 * [Simple Math Game](https://github.com/theMINAD/aconsole/blob/master/examples/game.py)
 * [Simple asking program](https://github.com/theMINAD/aconsole/blob/master/examples/asking.py)
 * [Simple asking program using sql](https://github.com/theMINAD/aconsole/blob/master/examples/asking_sql.py)
 * [Multiple inputs awaiting](https://github.com/theMINAD/aconsole/blob/master/examples/multi.py)
onomancer 0.0.5
Lookup and/or predict gender of given first name.
Requires Python: >=3.6
Keywords: gender,predict,names,model,nlp

# onomancer
*onomancer* is an open source python package for inferring gender from first names for feature engineering. Name-Gender mappings are based on lookups in the `F.txt, M.txt, N.txt` files located in the `data` folder created from combining data provided from the [Social Security Administration](https://www.ssa.gov/oact/babynames/limits.html) and [World Intellectual Property Organization](https://ideas.repec.org/s/wip/eccode.html). If a Name-Gender mapping does not exist, the gender is predicted from a pre-trained model named `model.bin` also located in the `data` folder. 

## Requirements
onomancer requires:

- python >= 3.6.x.
- fasttext == 0.9.2 (to load pre-trained model)

## Installing
`$ pip install onomancer`

## Usage

```
$ python
>>> import onomancer as ono
>>> ono.predict(['GALADRIEL', 'GanDALF'])
{'GANDALF': 'M', 'GALADRIEL': 'F'}
```