Skip to main content

ISIN database for casparser

Project description

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

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

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

casparser_isin-2026.5.1.tar.gz (9.2 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.5.1-py3-none-any.whl (9.3 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: casparser_isin-2026.5.1.tar.gz
  • Upload date:
  • Size: 9.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.16 {"installer":{"name":"uv","version":"0.11.16","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.5.1.tar.gz
Algorithm Hash digest
SHA256 33ee02796a86adc6e52b0deb02631d93e8d1cbfa380f71176d758e4e56cfa36f
MD5 42f198224776c96605eb2b847afb70b3
BLAKE2b-256 896282ac748b5db8429b4c8ccc76002f130a540818841dcdf01edf9e3f318cbe

See more details on using hashes here.

File details

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

File metadata

  • Download URL: casparser_isin-2026.5.1-py3-none-any.whl
  • Upload date:
  • Size: 9.3 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.16 {"installer":{"name":"uv","version":"0.11.16","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.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7b7386000dcfce5cfe31d6dd27f71b8e20c47ea56801a63b78636192cc3aee77
MD5 f7d5d1518d51f3285ccc9a25c8f7ce87
BLAKE2b-256 2389b0dc213b033475bca7224b91040c68202dafda87d3ba5a3e5fe264e58f87

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