A python wrapper for Israel Electric Company API
- Python 3.10 - pre-requisite
- Docker - pre-requisite
- Docker Compose - pre-requisite
- Poetry - pre-requisite
- Ruff
- Dynaconf
Please pay attention on pre-requisites resources that you must install/configure.
Use this section to explain each env variable available on your application
Variable | Description | Available Values | Default Value | Required |
---|---|---|---|---|
ENV | The application enviroment | development / test / qa / prod |
development |
Yes |
Note: When you run the install command (using docker or locally), a .env file will be created automatically based on env.template
Command | Docker | Locally | Description |
---|---|---|---|
install | make docker/install |
make local/install |
to install |
tests | make docker/tests |
make local/tests |
to run the tests with coverage |
lint | make docker/lint |
make local/lint |
to run static code analysis using ruff |
lint/fix | make docker/lint/fix |
make local/lint/fix |
to fix files using ruff |
run | make docker/run |
make local/run |
to run the project |
Helpful commands
Please, check all available commands in the Makefile for more information.
This project uses a simple way to configure the log with logging.conf to show the logs on the container output console.