CASParser-ISIN
ISIN Database for casparser.
Installation
pip install -U casparser-isin
Usage
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)
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
Metadata
Release files for casparser_isin 0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| casparser_isin-0.tar.gz | 2.0 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| casparser_isin-0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 4.0 MB
Release files / casparser_isin-0.tar.gz
| Download URL | casparser_isin-0.tar.gz |
|---|---|
| Size | 2.0 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
542776400197d8e48bc165bf4ea26680a42082d0714692b7f7722ce8d0912b31
|
|
BLAKE2b-256 checksum How to use checksums |
cce17e71debcd02751153a1c914c48d9f4fffec6c3ad06af8ea79d696b5dfba0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.17
|
Release files / casparser_isin-0-py3-none-any.whl
| Download URL | casparser_isin-0-py3-none-any.whl |
|---|---|
| Size | 2.0 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5377a19dc6c71cb9c4482d9dc2361ca2de9122ac8d79ec753dd8f80701af82c1
|
|
BLAKE2b-256 checksum How to use checksums |
850e8e976607af8549c97753089f5e70eaedd9fbe4074d10cf11c0412312a118
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.17
|