ISIN database for casparser
Project description
CASParser-ISIN
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_DBenvironment variable; if present, and the file exists
Project details
Release history Release notifications | RSS feed
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-2025.3.1.tar.gz
(10.3 MB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file casparser_isin-2025.3.1.tar.gz.
File metadata
- Download URL: casparser_isin-2025.3.1.tar.gz
- Upload date:
- Size: 10.3 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.6.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fa79de06b8233d0d0bef874cc58ef6300587eded641443f947e585d72ca16ec0
|
|
| MD5 |
9ad03a8c2983cab196fea1b9299885db
|
|
| BLAKE2b-256 |
ec3876764d753b986849ea2a81154475efd13fc0f694adb91f222f10be89243e
|
File details
Details for the file casparser_isin-2025.3.1-py3-none-any.whl.
File metadata
- Download URL: casparser_isin-2025.3.1-py3-none-any.whl
- Upload date:
- Size: 10.5 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.6.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
70913d3f83309f104d2f69f9f7d7233fc9533df0c700dae1f5960e7891aafe7b
|
|
| MD5 |
15dd184bd2a6f5d07615c5f670eb5b58
|
|
| BLAKE2b-256 |
5f1304eef3faa4ce076906fcc39ca6905fd0a210d5db55b1b231c142847cd5f3
|