Convenience functions for typical reports run against Socotra Data Mart
Project description
Data Mart Reporting
A library for common Data Mart reporting needs.
Reports
Reports prefaced with platform_
have analogues in the Socotra platform.
You can run reports by passing database credentials to the report class instance, then calling the appropriate execution method.
Example:
from socotra_datamart_reports import TransactionFinancialImpactReport
creds = {
'user': 'my-datamart-username',
'password': 'my-datamart-password',
'port': 'my-datamart-port',
'host': 'my-datamart-host',
'database': 'my-datamart-database'
}
tfir = TransactionFinancialImpactReport(creds)
tfir.write_transaction_financial_impact_report(
'personal-auto', 1659326400000, 1664596800000, 'tx_report.csv')
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
Built Distribution
Close
Hashes for socotra-datamart-reports-0.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2368ec34f61d38a7cad8e9194df7dfed80f9f4664fe6acd730ad14cf1b5dcb1e |
|
MD5 | ffa746f3c5c3712fd927c207a4468ef7 |
|
BLAKE2b-256 | f9e4278055366a5b476125bc11ea2c9d8cfffaa1afe1f69edf01001d82bd04c9 |
Close
Hashes for socotra_datamart_reports-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 26d799554f410b82364479fffbd073252ab540b1a3fc7e2519a248b88a007357 |
|
MD5 | 01965cc357d805c6713f52101a98d840 |
|
BLAKE2b-256 | 829614077686ae8ccf9f8c1d24ec1039eab824eddb6b13b1f5bb875f28e36357 |