Skip to main content

CASParser-ISIN

Ruff GitHub GitHub Workflow Status codecov PyPI - Python Version

ISIN Database for casparser.

Installation

pip install -U casparser-isin

Usage

Mutual fund ISIN search

from casparser_isin import MFISINDb
with MFISINDb() as db:
    scheme_data = db.isin_lookup("Axis Long Term Equity Fund - Growth",  # scheme name
                                 "KFINTECH", # RTA
                                 "128TSDGG", # Scheme RTA code
                                 )
print(scheme_data)
SchemeData(name="axis long term equity fund - direct growth",
           isin="INF846K01EW2",
           amfi_code="120503",
           score=100.0)

Generic ISIN search

from casparser_isin import ISINDb
with ISINDb() as db:
    isin_data = db.isin_lookup('INE009A01021')
ISINData(
    isin='INE009A01021',
    name='INFOSYS LIMITED EQ FV RS 5',
    issuer='INFOSYS LIMITED',
    type='EQUITY SHARES',
    status='ACTIVE',
    symbol='INFY',
    exchange='NSE'
)

For listed equities, symbol / exchange carry the exchange trading ticker (e.g. INFY / NSE), resolved from NSE's equity list — handy for pricing a demat holding that's identified only by ISIN. They are None for instruments with no listed symbol (most bonds / AIFs). To resolve many ISINs in one DB session, use db.batch_isin_lookup([...]).

31-Jan-2018 NAV search

The database also contains NAV values on 31-Jan-2018 for all funds, which can be used for taxable LTCG computation for units purchased before the same date.

from casparser_isin import MFISINDb
with MFISINDb() as db:
    nav = db.nav_lookup("INF846K01EW2")
print(nav)
Decimal('44.8938')

Notes

  • casparser-isin is shipped with a local database which may get obsolete over time. The local database can be updated via the cli tool
casparser-isin --update
  • casparser-isin will try to use the file provided by CASPARSER_ISIN_DB environment variable; if present, and the file exists

Download files

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

Source Distribution

casparser_isin-2026.6.9.tar.gz (9.3 MB view details)

Uploaded Source

Built Distribution

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

casparser_isin-2026.6.9-py3-none-any.whl (9.4 MB view details)

Uploaded Python 3

File details

Details for the file casparser_isin-2026.6.9.tar.gz.

File metadata

  • Download URL: casparser_isin-2026.6.9.tar.gz
  • Upload date:
  • Size: 9.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.19 {"installer":{"name":"uv","version":"0.11.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for casparser_isin-2026.6.9.tar.gz
Algorithm Hash digest
SHA256 f3016463a608107a8ef48b1752fb9d04086dc340595e32f7a833009643693f1b
MD5 d14a53977d1befb758fbbe097cc82bb3
BLAKE2b-256 449edb0f244259c392f7f6e455882245d87c680d64c7125606a46913e36a445b

See more details on using hashes here.

File details

Details for the file casparser_isin-2026.6.9-py3-none-any.whl.

File metadata

  • Download URL: casparser_isin-2026.6.9-py3-none-any.whl
  • Upload date:
  • Size: 9.4 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.19 {"installer":{"name":"uv","version":"0.11.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for casparser_isin-2026.6.9-py3-none-any.whl
Algorithm Hash digest
SHA256 d5d43765a3479f710914b524a452968b72d21aea6ef199ebad1839553ed7ab76
MD5 624b46b7f82b6479a6c8593170c3848b
BLAKE2b-256 c7c6cedc318cf2c9a14e3ce57e2fff09b935a25cbc726390196baa5897aa9f30

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

2026.6.9 This release

2 files

2026.5.1

2 files

2025.3.1

2 files

2025.2.28

2 files

2025.2.27

2 files

2025.2.26

2 files

2024.12.5

2 files

2023.9.10

2 files

2023.9.3

2 files

2023.8.18

2 files

2023.1.16

2 files

2022.6.19

2 files

2022.2.1

2 files

2021.9.1

2 files

2021.7.21

2 files

2021.7.1

2 files

2021.6.1

2 files

2021.5.1

2 files

2021.4.1

2 files

2021.3.1

2 files

2021.1.30

2 files

2020.1.30

2 files

0.1.0

2 files

0

2 files

Supported by

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