Metadata-Version: 2.4
Name: ibkr-porez
Version: 3.12.6
Summary: Automated PPDG-3R tax reports for Interactive Brokers. It automatically pulls your data and generates a ready-to-upload XML file with all prices converted to RSD.
Project-URL: Homepage, https://andgineer.github.io/ibkr-porez/
Project-URL: Documentation, https://andgineer.github.io/ibkr-porez/
Author-email: Andrey Sorokin <andrey@sorokin.engineer>
License: Copyright (c) 2026 Andrey Sorokin <andrey@sorokin.engineer>
        
        Permission is hereby granted, free of charge, to any person obtaining a copy of
        this software and associated documentation files (the “Software”), to deal in
        the Software without restriction, including without limitation the rights to use,
        copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the
        Software, and to permit persons to whom the Software is furnished to do so,
        subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND,
        EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
        OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
        NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
        HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
        WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
        FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
        OTHER DEALINGS IN THE SOFTWARE.
License-File: LICENSE.txt
Keywords: one,two
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.12
Requires-Dist: click>=8.2.0
Requires-Dist: holidays>=0.63
Requires-Dist: pandas>=2.0.0
Requires-Dist: platformdirs>=4.3.6
Requires-Dist: pydantic>=2.10.6
Requires-Dist: pyside6<6.8.0,>=6.7.0
Requires-Dist: python-dateutil>=2.8.2
Requires-Dist: requests>=2.32.3
Requires-Dist: rich-click>=1.8.8
Requires-Dist: tenacity>=9.0.0
Description-Content-Type: text/markdown

> **⚠️ This project has been superseded by the [Rust version](https://github.com/andgineer/ibkr-porez).**
> **The Rust version is significantly smaller in install/binary size and is actively maintained.**
>
> This Python version remains functional and database-compatible, but is no longer actively developed.
> If you prefer this Python version, feel free to fork or contribute -- PRs are accepted.

[![Build Status](https://github.com/andgineer/ibkr-porez-py/workflows/CI/badge.svg)](https://github.com/andgineer/ibkr-porez-py/actions)
[![Coverage](https://raw.githubusercontent.com/andgineer/ibkr-porez-py/python-coverage-comment-action-data/badge.svg)](https://htmlpreview.github.io/?https://github.com/andgineer/ibkr-porez-py/blob/python-coverage-comment-action-data/htmlcov/index.html)
# ibkr-porez (Python)

Automated PPDG-3R and PP-OPO tax reports generation for Interactive Brokers.
It automatically fetches your data and generates a ready-to-upload XML files with all prices converted to RSD.

# Quick Start

Graphical installers are available for Windows and macOS but they are large.
The recommended lightweight installation method is [`uv tool`](https://docs.astral.sh/uv/getting-started/installation/):

```bash
uv tool install ibkr-porez
```

If you use the graphical interface, configure your data (the `Config` button),
then just use `Sync` to refresh data and create declarations.

If CLI is your native language (AI agents and brave humans) see [ibkr-porez docs](https://andgineer.github.io/ibkr-porez-py/).

---

# Developers

Do not forget to run `. ./activate.sh`.

For work it need [uv](https://github.com/astral-sh/uv) installed.

Use [pre-commit](https://pre-commit.com/#install) hooks for code quality:

    pre-commit install

## Allure test report

* [Allure report](https://andgineer.github.io/ibkr-porez-py/builds/tests/)

# Scripts

Install [invoke](https://docs.pyinvoke.org/en/stable/) preferably with [uv tool](https://docs.astral.sh/uv/):

    uv tool install invoke

For a list of available scripts run:

    invoke --list

For more information about a script run:

    invoke <script> --help


## Coverage report
* [Codecov](https://app.codecov.io/gh/andgineer/ibkr-porez-py/tree/main/src%2Fibkr_porez)
* [Coveralls](https://coveralls.io/github/andgineer/ibkr-porez-py)

> Created with cookiecutter using [template](https://github.com/andgineer/cookiecutter-python-package)
