Metadata-Version: 2.1
Name: ezbee
Version: 0.1.5
Summary: english-chinese dualtext aligner
Home-page: https://github.com/ffreemt/ezbee
License: MIT
Author: ffreemt
Requires-Python: >=3.8.3,<4.0.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Provides-Extra: plot
Requires-Dist: Jinja2 (>=3.1.1,<4.0.0)
Requires-Dist: Morfessor (>=2.0.6,<3.0.0)
Requires-Dist: XlsxWriter (>=3.0.3,<4.0.0)
Requires-Dist: cchardet (>=2.1.7,<3.0.0)
Requires-Dist: environs (>=9.5.0,<10.0.0)
Requires-Dist: fast-scores (>=0.1.3,<0.2.0)
Requires-Dist: gen-trace (>=0.1.0,<0.2.0)
Requires-Dist: holoviews (>=1.14.8,<2.0.0); extra == "plot"
Requires-Dist: icecream (>=2.1.1,<3.0.0)
Requires-Dist: install (>=1.3.5,<2.0.0)
Requires-Dist: logzero (>=1.7.0,<2.0.0)
Requires-Dist: plotly (>=5.6.0,<6.0.0); extra == "plot"
Requires-Dist: seaborn (>=0.11.2,<0.12.0); extra == "plot"
Requires-Dist: typer (>=0.4.0,<0.5.0)
Project-URL: Repository, https://github.com/ffreemt/ezbee
Description-Content-Type: text/markdown

# ezbee
[![pytest](https://github.com/ffreemt/ezbee/actions/workflows/routine-tests.yml/badge.svg)](https://github.com/ffreemt/ezbee/actions)[![python](https://img.shields.io/static/v1?label=python+&message=3.8&color=blue)](https://www.python.org/downloads/)[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![PyPI version](https://badge.fury.io/py/ezbee.svg)](https://badge.fury.io/py/ezbee)

Align en/zh texts, fast

## Install it
**Python 3.8 only**

```shell
pip install ezbee
# or poetry add ezbee --alow-prerealeases
# pip install git+https://github.com/ffreemt/ezbee
# poetry add git+https://github.com/ffreemt/ezbee
# git clone https://github.com/ffreemt/ezbee && cd ezbee
```

## Post- or Pre-install
```
pip install fastext
pip install pyicu==2.8 pycld2
pip install https://github.com/ffreemt/ezbee/raw/main/data/artifects/polyglot-16.7.4.tar.gz
```
In linux/macos, you may need to run (if the required packages are not already present in the system) something similar to
```
apt install libicu-dev

# or for macos
brew install icu4c
brew link icu4c --force
export PKG_CONFIG_PATH="/usr/local/opt/icu4c/lib/pkgconfig"
export LDFLAGS="-L/usr/local/opt/icu4c/lib"
export CPPFLAGS="-I/usr/local/opt/icu4c/include"
```

Refer to the pre-install part in workflow file: `routine-tests.yml`

### For Windows without C++
e.g. for Python 3.8
```bash
cd data\artifects
pip install fasttext-0.9.2-cp38-cp38-win_amd64.whl pycld2-0.41-cp38-cp38-win_amd64.whl PyICU-2.8.1-cp38-cp38-win_amd64.whl
pip install https://github.com/ffreemt/ezbee/raw/main/data/artifects/polyglot-16.7.4.tar.gz
```

## Use it
```python
ezbee --help
# or python -m ezbee --help
```

