Skip to main content

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 Range Tax Rate
Up to ₹4,00,000 Nil
₹4,00,001 – ₹8,00,000 5%
₹8,00,001 – ₹12,00,000 10%
₹12,00,001 – ₹16,00,000 15%
₹16,00,001 – ₹20,00,000 20%
Above ₹20,00,000 30%
  • Standard deduction of ₹75,000 available
  • No exemptions/deductions (except NPS 80CCD(2), EPF, etc.)
  • Marginal relief applies beyond ₹12.75L

Old Regime

Income Range Tax Rate
Up to ₹2,50,000 Nil
₹2,50,001 – ₹5,00,000 5%
₹5,00,001 – ₹10,00,000 20%
Above ₹10,00,000 30%
  • 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')

Metadata

Release files for aikar 0.1.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aikar 0.1.6
File Size Uploaded Provenance Actions
aikar-0.1.6.tar.gz 6.3 kB Without provenance Details for aikar-0.1.6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for aikar 0.1.6
File Interpreter ABI Platform Actions
aikar-0.1.6-py3-none-any.whl Python 3 none any Details for aikar-0.1.6-py3-none-any.whl

Total release size: 13.3 kB

Release files / aikar-0.1.6.tar.gz

Download URL aikar-0.1.6.tar.gz
Size 6.3 kB
Tags Source
SHA-256 checksum
How to use checksums
5c2ff38b39ce7b66b4fa6b88a2382a1e9982df4562ddcae77f3d00c21a854ac1
BLAKE2b-256 checksum
How to use checksums
2c51ce381a11a9c0315347c2d775b7eacbf77df824de8472a95cfbde183e99ac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.4

Release files / aikar-0.1.6-py3-none-any.whl

Download URL aikar-0.1.6-py3-none-any.whl
Size 7.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cd7291bac6a2ce3b3bf0eeca128036a79a539765f5a7247ba819e388fb019d19
BLAKE2b-256 checksum
How to use checksums
716d96bf9560892bd9d29b228857ccb72a78ca0adf967901f85e08d0ead88263
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.4

Security for aikar 0.1.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page