.. _installation: Installation ============ Here's how to install and configure CopulaFurtif in your local environment. βš™οΈ Prerequisites ---------------- - Python >= 3.9 - `poetry` (recommended) or `pip` - Unix-like OS recommended (Linux/macOS) πŸ“¦ Installation with Poetry (recommended) ----------------------------------------- .. code-block:: bash git clone https://github.com/roadto7k/CopulaFurtif.git cd CopulaFurtif poetry install poetry shell πŸ“¦ Installation with pip (alternative) -------------------------------------- .. code-block:: bash git clone https://github.com/roadto7k/CopulaFurtif.git cd CopulaFurtif pip install -r requirements.txt πŸ’‘ (Optional): install `pre-commit` ----------------------------------- .. code-block:: bash pre-commit install This enables automatic linting before each commit (PEP8, isort, black, etc). πŸ§ͺ Run the tests ---------------- .. code-block:: bash make test # or: pytest tests/ make coverage-html # then open htmlcov/index.html πŸ“š Generate the documentation ----------------------------- .. code-block:: bash cd docs make html The documentation will then be available in `docs/_build/html/index.html` πŸ“‚ Simplified folder structure ------------------------------ .. code-block:: text CopulaFurtif/ β”œβ”€β”€ core/ β”‚ └── copulas/ β”‚ β”œβ”€β”€ domain/ β”‚ β”œβ”€β”€ application/ β”‚ └── infrastructure/ β”œβ”€β”€ tests/ β”œβ”€β”€ docs/ └── pyproject.toml βœ… And that’s it β€” you're ready to explore the fascinating world of copulas!