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

Uploaded Python 3

File details

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

File metadata

  • Download URL: casparser_isin-2022.6.19.tar.gz
  • Upload date:
  • Size: 1.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.12

File hashes

Hashes for casparser_isin-2022.6.19.tar.gz
Algorithm Hash digest
SHA256 837dc28e1e6648b7c2d5daec4b52b4c61b3807d9e30df15c9888eb638364d56a
MD5 c79ea2578c764ab4ea7c3a719c793568
BLAKE2b-256 cd86045c17342614b1e61a8ae9bf3377d9efe6d91f42a0c6f09dfcb2a1d0a1bd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for casparser_isin-2022.6.19-py3-none-any.whl
Algorithm Hash digest
SHA256 3c05fddd4b9f6b983cfbf7cec5f0e759cada7a12680d4de9b4df711c207aa610
MD5 5992e6bb3850a5e7f6669c440157023c
BLAKE2b-256 e69694aea38ff4403d4ca0522195130a8e00e1c504bb921126c1bbfcb1c6beec

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