Skip to main content

Aikar helps in Tax calculations using Python.

Project description

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')

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aikar-0.1.6.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aikar-0.1.6-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

Details for the file aikar-0.1.6.tar.gz.

File metadata

  • Download URL: aikar-0.1.6.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.4

File hashes

Hashes for aikar-0.1.6.tar.gz
Algorithm Hash digest
SHA256 5c2ff38b39ce7b66b4fa6b88a2382a1e9982df4562ddcae77f3d00c21a854ac1
MD5 838c0d1b4e624c1e49b3c5dfc17f2d7b
BLAKE2b-256 2c51ce381a11a9c0315347c2d775b7eacbf77df824de8472a95cfbde183e99ac

See more details on using hashes here.

File details

Details for the file aikar-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: aikar-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 7.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.4

File hashes

Hashes for aikar-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 cd7291bac6a2ce3b3bf0eeca128036a79a539765f5a7247ba819e388fb019d19
MD5 c5bdc3e93420f0b74801153a496be0a3
BLAKE2b-256 716d96bf9560892bd9d29b228857ccb72a78ca0adf967901f85e08d0ead88263

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page