Catalog PyPI
PACKAGE EXPLORERView in registry

aikar

PyPI

Aikar helps in Tax calculations using Python.

Versions collected1
Direct dependencies0From release 0.1.6
Last observed21 Oct, 11:05 UTC

README

Version 0.1.6 documentation

Aikar

"Aikar" the name is derived from hindi word "आयकर" which translates to income tax. Aikar is a Python library provides functions helps in Tax calculations using Python.

Indian Govt. collected 27 lakh crore in the form of direct taxes and 21 lakh crore in the form of GST. Tax is a significant finance concept but it's not easy to understand due to lot of nuances and it is quite easy to get confused which regime to choose, where can we invest to save taxes, which deductions are applicable, which ITR form should I use.

Income Tax Slabs for FY 2024-25 (AY 2025-26)

New Regime (Post Budget 2025)

Income RangeTax Rate
Up to ₹4,00,000Nil
₹4,00,001 – ₹8,00,0005%
₹8,00,001 – ₹12,00,00010%
₹12,00,001 – ₹16,00,00015%
₹16,00,001 – ₹20,00,00020%
Above ₹20,00,00030%
  • Standard deduction of ₹75,000 available
  • No exemptions/deductions (except NPS 80CCD(2), EPF, etc.)
  • Marginal relief applies beyond ₹12.75L

Old Regime

Income RangeTax Rate
Up to ₹2,50,000Nil
₹2,50,001 – ₹5,00,0005%
₹5,00,001 – ₹10,00,00020%
Above ₹10,00,00030%
  • Multiple deductions allowed (80C, 80D, HRA, LTA, etc.)
  • Rebate under 87A for income up to ₹5L
  • Surcharge & marginal relief applies beyond ₹50L

Features

  • Calculation of Income Tax (Old and New Regimes)
  • Calculation of Capital Gains Tax (Equity, Debt, Gold)

Installation

pip install aikar

Usage

#import the library 
from aikar import IncomeTaxCalculator
#enter your income,age,regime and deductions under 80C,80CCD2,HRA,Interest paid for Home Loan
income_tax = IncomeTaxCalculator(
    income=1400000,
    age=29,
    regime='new',
    deductions={'80C': 0, 'HRA': 0, '80CCD2': 100000, 'Home Loan': 0}
)
#enter your asset type, profits, buy & sell date for whatever investments you have done eg:- equity, gold, gold etfs, debt, real estate
capital_gains_tax = CapitalGainsCalculator('gold', 125000, '3/1/2023', '3/2/2029')

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.1.68 May 20250

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
debjitl45/aikar

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 21 Oct, 11:05 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:cb68f7273f304eb9342ef9b4c92929b315b724c54a3059ddaaa5605d2ca9217d