Skip to main content

KAP (Public Disclosure Platform) Documentation Wrapper for Capital Markets Board of Turkey and Borsa Istanbul Public Disclosures

Project description

PyKap

KAP (Public Disclosure Platform) Documentation Wrapper for Capital Markets Board of Turkey and Borsa Istanbul Public Disclosures.

Installation

pip install pykap # currently not an option

From the repository:

pip install git+https://github.com/cemsinano/PyKap.git

Usage

To list all of the BIST Companies

from pykap.bist_company_list import bist_company_list
bist_company_list()

Get General Info for all of the BIST Companies

from pykap.get_bist_companies import get_bist_companies
get_bist_companies(online = False, output_format = 'pandas_df')

Default output format is pandas df (can be json or dict, as well).

online mode enables to get the most up-to-date company list from KAP's website. However, it takes time to parse. It is suggested to use online=False, unless otherwise is necessary.

Get General Info for a specific company

from pykap.get_general_info import get_general_info
get_general_info(tick='AKBNK')

BISTCompany Class:

from pykap.bist import BISTCompany
comp = BISTCompany(ticker='BIMAS') # initialize a BISTCompany object

When A BISTCompany object is initialized, some general information attributes (ticker, name, summary_page, city, auditor) get filled for this company.

Get Expected Disclosures List:
comp.get_expected_disclosure_list(count=10)
Get Historical Disclosures List:
# "4028328c594bfdca01594c0af9aa0057" #for 'finansal rapor'
report_type="4028328d594c04f201594c5155dd0076" #for "faliyet raporu"       
comp.get_historical_disclosure_list(fromdate = "2020-05-21", todate="2021-05-21",disclosure_type="FR", subject=report_type)
Save Operating Review Report PDF File:
cmp.save_operating_review()

Check your current directory for saved pdf document.

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

pykap-0.0.1.tar.gz (34.4 kB view details)

Uploaded Source

File details

Details for the file pykap-0.0.1.tar.gz.

File metadata

  • Download URL: pykap-0.0.1.tar.gz
  • Upload date:
  • Size: 34.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.8.3

File hashes

Hashes for pykap-0.0.1.tar.gz
Algorithm Hash digest
SHA256 b6afdae16fb6d98fd2bded407788af5fb055e8b3aae106932be74dfd3933d066
MD5 f3d2fa09eafd80adf8d62d664681e43b
BLAKE2b-256 46134de32d4d5e62443131082177378a0062890509c4555793b6ab99cd533198

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