Metadata-Version: 2.1
Name: ecas
Version: 0.3.2
Summary: A CLI to directly read your PR status
Home-page: https://github.com/pievalentin/ecas
License: MIT
Author: Pierre Valentin
Author-email: pievalentin@gmail.com
Requires-Python: >=3.8,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Requires-Dist: beautifulsoup4 (>=4.9.3,<5.0.0)
Requires-Dist: click (>=8.0.1,<9.0.0)
Requires-Dist: requests (>=2.25.1,<3.0.0)
Project-URL: Repository, https://github.com/pievalentin/ecas
Description-Content-Type: text/markdown

# Ecas RP automation script
This tool has been written to check the status of your PR application in ECAS automatically. This avoid multiple click and form filling. You can set alert using a system like cron.

## Getting started
### From PyPI
```bash
pip3 install ecas
```
### From Source
1. Get poetry

On Linux & MacOS
```bash
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python -
```
On Windows with powershell
```
(Invoke-WebRequest -Uri https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py -UseBasicParsing).Content | python -
```
2. Get the code
```bash
git clone git@github.com:pievalentin/ecas.git && cd ecas
```
3. Build it
```bash
poetry build
```
The previous command will create a dist folder. Now run:
```
pip3 install dist/ecas*.whl
```
Restart your terminal so that `ecas` is available.
## Usage

```bash
ecas lastname iuc_number birthday birth_country_code
```

For example for France:
```bash
ecas Dupont 112245589 "2001-01-31" 022
```

For more details, you can
```bash
ecas --help
```
## Find your country code

To find your country code, you can look it up [in this file](/country_code.csv)

## NB
Use this tool responsibly. Don't spam IRCC server :)

