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
Built Distribution
File details
Details for the file pykap-0.0.2.3.tar.gz
.
File metadata
- Download URL: pykap-0.0.2.3.tar.gz
- Upload date:
- Size: 35.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.12.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8db92da174e303662327b472f127e34151d04235c8f7cbd541782cd6d23fa0b4 |
|
MD5 | 868d3cf7701594269f9fb10a6e61225d |
|
BLAKE2b-256 | 4d0791a0e0b14147078421a7fd1a3ca534c7ca085327614f84a1ff0e6d943cab |
File details
Details for the file pykap-0.0.2.3-py3-none-any.whl
.
File metadata
- Download URL: pykap-0.0.2.3-py3-none-any.whl
- Upload date:
- Size: 35.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.12.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 49d50b6a98759ab626ab45a29a31b34f8450a7e4a957ccb327035df49559ec56 |
|
MD5 | 8aa9040dff488b1a019123e80269ce28 |
|
BLAKE2b-256 | e967821929264e24709beac898afc31659017fc38f8f2b91182d7567cd5512ad |