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

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:
# report_type: "4028328c594bfdca01594c0af9aa0057" or 'financial report' for financial reports
# report_type: "4028328d594c04f201594c5155dd0076" or "operation report" for operation reports  
report_type="operating report"
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:
comp.save_operating_review(output_dir='OperatingReviews')

Check the self-specified output_dir 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.2.0.tar.gz (46.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pykap-0.2.0-py3-none-any.whl (44.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pykap-0.2.0.tar.gz
  • Upload date:
  • Size: 46.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for pykap-0.2.0.tar.gz
Algorithm Hash digest
SHA256 0d5cf376ab2f55918439ed6e46c240b69178975d40b5a6295b0f9bf9a3f47257
MD5 3e1d0c4c71694e515b74b4a424b3a777
BLAKE2b-256 b8d622b15475e09b58b29830583c906c7196c61857c2f6efa2d4c7170bbfa487

See more details on using hashes here.

File details

Details for the file pykap-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: pykap-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 44.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for pykap-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ef5322ac71387f3aafd71eebb3f5754e3cee9333649a7f3154971145152f1768
MD5 8d55f20069bc21a06e2880890ef14f44
BLAKE2b-256 af5a96732201035f31d62386d4de101202a47ec9ded3cdf0163b22daed1fa272

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