Metadata-Version: 2.4
Name: openfisca-paraguay
Version: 0.2.1
Summary: OpenFisca Rules as Code model for Paraguay.
License-Expression: AGPL-3.0-or-later
Project-URL: Changelog, https://github.com/openfisca/openfisca-paraguay/blob/main/CHANGELOG.md
Project-URL: Documentation, https://openfisca.org/doc
Project-URL: Homepage, https://github.com/openfisca/openfisca-paraguay
Project-URL: Issues, https://github.com/openfisca/openfisca-paraguay/issues
Project-URL: Repository, https://github.com/openfisca/openfisca-paraguay
Keywords: benefit,microsimulation,rac,rules-as-code,tax,paraguay
Classifier: Development Status :: 5 - Production/Stable
Classifier: Operating System :: POSIX
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Topic :: Scientific/Engineering :: Information Analysis
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: openfisca-core[web-api]>=43
Provides-Extra: dev
Requires-Dist: ipython>=8.18.1; extra == "dev"
Requires-Dist: pdbpp>=0.11.7; extra == "dev"
Requires-Dist: pytest>=8.3.2; extra == "dev"
Requires-Dist: isort<6,>=5.13.2; extra == "dev"
Requires-Dist: ruff<1,>=0.6.9; extra == "dev"
Requires-Dist: yamllint>=1.35.1; extra == "dev"
Dynamic: license-file

# OpenFisca Paraguay

This repository contains the OpenFisca model for the Paraguayan tax and benefit system.

## Setup

This project uses `uv` for dependency management.

### Installation

```bash
uv pip install -e .
```

## Usage

### Running Tests

```bash
uv run openfisca-run-test tests/test_ips.yaml -c openfisca_paraguay
```

### Checking Parameters

You can inspect the parameters using the OpenFisca CLI (ensure it is installed/accessible):

```bash
uv run openfisca-paraguay show-parameters
```

## Structure

- `openfisca_paraguay/paramaters`: Tax and benefit system parameters (rates, thresholds, etc.), organized by domain.
- `openfisca_paraguay/variables`: Python variables defining the logic of the tax and benefit system.
- `tests`: YAML tests to verify the logic.

## Legislation

The model implements legislation based on:
- Law No. 6380/2019 (Tax Modernization)
- Decree Law No. 1860/1950 (Social Security)
- Various other laws and decrees defining social benefits (Tekoporã, PAAM, Hambre Cero).

## Roadmap

To verify and improve the model, please refer to our roadmap:
- [Roadmap (English)](ROADMAP.md)
- [Hoja de Ruta (Español)](ROADMAP_ES.md)
