Skip to content

Commit a01f859

Browse files
committed
v0.5.3 - update README.md, CHANGELOG.md
1 parent 708d6ce commit a01f859

File tree

4 files changed

+15
-4
lines changed

4 files changed

+15
-4
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## 0.5.3 - 2021-08-21
4+
- support for generating csv files for capital gains in 112A format for income tax filing
5+
- various bug fixes
6+
37
## 0.5.2 - 2021-08-11
48
- fix crash while generating capital gains reports on dividend payout funds
59
- rework capital gains algorithm

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ Parse Consolidated Account Statement (CAS) PDF files generated from CAMS/KFINTEC
1010

1111
`casparser` also includes a command line tool with the following analysis tools
1212
- `summary`- print portfolio summary
13-
- `gains`- Print capital gains report (summary and detailed)
13+
- (**BETA**) `gains` - Print capital gains report (summary and detailed)
14+
- with option to generate csv files for ITR in schedule 112A format
1415

1516

1617
## Installation
@@ -133,8 +134,10 @@ Usage: casparser [-o output_file.json|output_file.csv] [-p password] [-s] [-a] C
133134
-p PASSWORD CAS password
134135
-a, --include-all Include schemes with zero valuation in the
135136
summary output
136-
-g, --gains Generate Capital Gains Report (BETA) [Debt fund indexation not
137-
considered]
137+
-g, --gains Generate Capital Gains Report (BETA)
138+
--gains-112a ask|FY2020-21 Generate Capital Gains Report - 112A format for
139+
a given financial year - Use 'ask' for a prompt
140+
from available options (BETA)
138141
--force-pdfminer Force PDFMiner parser even if MuPDF is
139142
detected
140143

casparser/cli.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,10 @@ def print_gains(data, output_file_path=None, gains_112a=""):
228228
console.print(f"{'Current Valuation':20s}: [bold]₹{cg.current_value:,.2f}[/]")
229229
pnl = cg.current_value - cg.invested_amount
230230
console.print(f"{'Absolute PnL':20s}: [bold {get_color(pnl)}]₹{pnl:,.2f}[/]")
231+
console.print(
232+
"\n[bold yellow]Warning:[/] Capital gains module is in beta stage. "
233+
"Please verify the generated data manually."
234+
)
231235

232236

233237
def save_gains_112a(capital_gains: CapitalGainsReport, fy, output_path):

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "casparser"
3-
version = "0.5.2"
3+
version = "0.5.3"
44
description = "(Karvy/Kfintech/CAMS) Consolidated Account Statement (CAS) PDF parser"
55
authors = ["Sandeep Somasekharan <codereverser@gmail.com>"]
66
homepage = "https://github.com/codereverser/casparser"

0 commit comments

Comments
 (0)