semvec/pypi-packages huggingface dataset:
asyncio-railgun 0.0.3
Library for easier asyncio concurrent tasks.
License: MIT
Requires Python: >=3.6.0
Keywords: asyncio concurrent gather tasks

# Python asyncio railgun
A python3.4+ asyncio library wrapper for utilzing asyncio tasks and gather(*) functionality. Library is meant to make concurrent tasks easier and safer through the use of semaphores.


[![pypi package][pypi-image]][pypi-url]
[![Build Status][travis-image]][travis-url]
[![Python Version][python-version]][pypi-url]
[![codecov][codecov-image]][codecov-url]


## Table of contents


### Requirements
---
This library requires Python 3.6 and above. 

> **Note:** You may need to use `python3` before your commands to ensure you use the correct Python path. e.g. `python3 --version`


```bash
python --version

-- or --

python3 --version
```

### Installation

We recommend using [PyPI][pypi] to install the Slack Developer Kit for Python.


```bash
pip3 install asyncio-railgun==0.0.1
```

### Basic Usage examples
---


#### Run
```python
from asyncio import get_event_loop
from railgun.railgun import Railgun
from http import client

def example_call_api(host='www.google.com', url='/'):
    conn = client.HTTPSConnection(host, port=443, timeout=5)
    conn.request(method='GET', url=url)
    response = conn.getresponse()
    return response.status

rail_gun = Railgun(semaphores_count=10)
results = rail_gun.run([example_call_api(), example_call_api()])
print(results)
```

#### Run async
TBD
#### Repeat
TBD
### Support
---
TBD

Contact me on christogoosen@gmail.com

Otherwise see the examples and log an issue.

<!-- Markdown links -->
[pypi-image]: https://badge.fury.io/py/asyncio-railgun.svg
[pypi-url]: https://pypi.python.org/pypi/asyncio-railgun
[travis-image]: https://api.travis-ci.org/c-goosen/asyncio-railgun.svg?branch=master
[travis-url]: https://travis-ci.org/c-goosen/asyncio-railgun
[codecov-image]: https://codecov.io/gh/c-goosen/asyncio-railgun/branch/master/graph/badge.svg
[codecov-url]: https://codecov.io/gh/c-goosen/asyncio-railgun
[pypi]: https://pypi.python.org/pypi
[pipenv]: https://pypi.org/project/pipenv/
[gh-issues]: https://github.com/c-goosen/asyncio-railgun/issues
[aiohttp]: https://aiohttp.readthedocs.io/
[python-version]: https://img.shields.io/pypi/pyversions/asyncio-railgun.svg
callword 0.11
represent phone numbers as easy to remember words
License: MIT

# Callword
Represent phone numbers as easy to remember words!

## Setup

`pip install callword`

## Usage

### Map digits to possible words

```
>>> word_dict = callword.read_word_dict()
>>> word_dict['7246837']
['PAINTER']
````

### Find wordified version of phone numbers
```
>>> phone_number = '1-800-724-6837'
>>> wordified_number = callword.number_to_words(phone_number, word_dict)
>>> wordified_number
'1-800-PAINTER'
```


### Find _all_ wordified versions of phone numbers
```
>>> all_wordifications = callword.all_wordifications(phone_number, word_dict)
>>> all_wordifications
['1-800-PAINTER',  '1-800-PAINT-DR', '1-800-SAINT-DR', '1-800-PAINT-37', '1-800-SAINT-37', 
 '1-800-RAG-MUDS', '1-800-RAG-OVER', '1-800-SAG-MUDS', '1-800-SAG-OVER' ...]
```

### Convert wordified phone numbers back to numbers

```
>>> callword.words_to_number(wordified_number) 
'1-800-724-6837'
```

### More Examples

**Checkout our [tests](tests/test_callword.py) for more features...**