Big Data Development Kit for OVO Big Data
Project description
OVO Test Kit
installation
create installer :
python3 setup.py sdist bdist_wheel
installer will be at dist/
directory
install using :
pip3 install dist/<generated-file>.whl
Quickstart
from ovobdkit.testkit import OVOTestKit
import unittest
class TestMlmMerchant(OVOTestKit):
TABLE_NAME = 'ovo_raw.ovo_smp_mlm_merchant'
FIELDS = '''
id BigInt
merchant_code String
grab_id String
'''
def test_having_no_duplicates(self):
self.duplicate_check(TestMlmMerchant.TABLE_NAME)
if __name__ == '__main__':
unittest.main()
more? see examples directories
Functionalities
- Unit Test
- Functional Test
- Communicate to Airflow
- Communicate to OMT
Common case
- get all (example / merchant_owner)
- delta (example / springreward/txn_ledger)
- delta with update (example/springreward/customer_transaction)
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
ovobdkit-1.0.10.tar.gz
(8.3 kB
view details)
Built Distribution
ovobdkit-1.0.10-py3-none-any.whl
(17.1 kB
view details)
File details
Details for the file ovobdkit-1.0.10.tar.gz
.
File metadata
- Download URL: ovobdkit-1.0.10.tar.gz
- Upload date:
- Size: 8.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 99e285a0e0d02502a54c3725a190a66b3980f0b03c5d4ab4c2b668094b50b9c6 |
|
MD5 | 8390cc657ae1f24f5c8e3bf33203ca08 |
|
BLAKE2b-256 | 28dab56168b2c42ad81d5b5fb2002a181d54871cc89302ca51c516907654e952 |
File details
Details for the file ovobdkit-1.0.10-py3-none-any.whl
.
File metadata
- Download URL: ovobdkit-1.0.10-py3-none-any.whl
- Upload date:
- Size: 17.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d0932dc556e76c0f4788a63f9e88692079318cfe2ffadf2736565f3fcbd37694 |
|
MD5 | 842a4cacb837b0e32960f8162795937b |
|
BLAKE2b-256 | 41101a5aeb0f5e27ba283738485202a911e48afa082584ef455ad3080de15ad3 |