Metadata-Version: 2.1
Name: gettextcodecs
Version: 0.0.3
Summary: Get python's text codecs
Home-page: http://gitlab.com/xoristzatziki/gettextcodecs
Author: Ηλίας Ηλιάδης
Author-email: iliadis@kekbay.gr
License: GPLv3
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Description-Content-Type: text/markdown

# Get text codecs

Python library for encodings.

A single `get_text_codecs` method is used for returning a python dict
with all available codec names for encoding or decoding text.
Dictionary keys are the default codec names
and each entry contains a single list with all aliases, if any.

## Installation & Usage

### pip install
```sh
pip3 install 'gettextcodecs>=0.0.3' --upgrade
```

### Usage
After installing the "library" you can import it and use it with:
```python
from gettextcodecs.methods import get_text_codecs
codec_names = get_text_codecs()
```
Variable `codec_names` now contains all available codec names
as dictionary keys and a list of their aliases as their value.
The list will be empty if no aliases exist.

#### Parameters
- as_list: Optional. Get a single list with all possible codec names.


