Skip to main content

ISIN database for casparser

Project description

CASParser-ISIN

code style: black GitHub GitHub Workflow Status codecov PyPI - Python Version

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_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-2021.7.1.tar.gz (1.8 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-2021.7.1-py3-none-any.whl (1.8 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: casparser_isin-2021.7.1.tar.gz
  • Upload date:
  • Size: 1.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.8.10

File hashes

Hashes for casparser_isin-2021.7.1.tar.gz
Algorithm Hash digest
SHA256 674a7c5a68bbdf4bcf55bda5a471c380a7f93e85c2f6a92a771f91d14077dff0
MD5 d60046a538ad0e4bfc14797eebf23ed0
BLAKE2b-256 02878ca2cf80391d3b0275397e831dcdef32a2ac74a4f82da41b80064425409b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: casparser_isin-2021.7.1-py3-none-any.whl
  • Upload date:
  • Size: 1.8 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.8.10

File hashes

Hashes for casparser_isin-2021.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 dd419a7a55243dd88b489dc994dabc63b140408bea6550d3caeefd789ca06632
MD5 a044e6d231cfc414cef4781041856b88
BLAKE2b-256 c1d3b4e5706216ae237999605336b7e8fc8366dc5fd0f72ad64f4d61ec564539

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