Bundle for getting open data from some KZ sites.
Project description
Tcomapi
Bundle for getting open data from some KZ sites.
KGD
Retrieving information on tax payments by Kazakhstan companies.
Features
- progressbar with additional info
- max output file size limitation
Usage
$ kgd --help
usage: kgd [-h] [-t TIMEOUT] [-f FSIZE] token fpath date_range
positional arguments:
token KGD API secret token
fpath input file with BINs
date_range date range for which we retrieve data
optional arguments:
-h, --help show this help message and exit
-w TIMEOUT, --timeout TIMEOUT
server connect and failure timeout (default: 3.0)
-f FSIZE, --fsize FSIZE
size limit for output file (default: 50000000)
Usage examples
kgd sdfgggw5gsdg4g4g4435dg /home/user/bins.txt -t 3 2018-01-01:2019-01-01 -f 500000000
Note: In this example secret token is fake. To run command successfully you need get them from KGD government agency.
Installation
Python 3.6.1+ required.
From PyPI:
pip install kgd
SGOV
Retrieving information on Kazakhstan by business ID(IIN/BIN).
Features
- progressbar with additional info
- max output file size limitation
Usage
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tcomapi-0.1.13.tar.gz
(20.5 kB
view details)
File details
Details for the file tcomapi-0.1.13.tar.gz
.
File metadata
- Download URL: tcomapi-0.1.13.tar.gz
- Upload date:
- Size: 20.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9cea63bb0fb26daeccf649e03824f6f8bbc1b652bdb6da2051f250e8a70c49fd |
|
MD5 | 07a0702514713a4251765bc75639b5ee |
|
BLAKE2b-256 | 085ffe474bbdb3d2618962729784ae059642269324d9ce86cc043a7679fe3c3e |