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.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b181d676286bbbd98ff8bc72507d3128c5f5e834f52832c5030685510ad66c6 |
|
MD5 | 96fad1ca794a66f8b83485b192c7cd2e |
|
BLAKE2b-256 | 8b5881f7245160628d86b0edc57614b66c9c5c2f90af9c2715a8b808c33dc9d6 |
Close
Hashes for socotra_datamart_reports-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 542556694359bb721933adc464860950e1098b31257abff5c8d75599c4bc4cd6 |
|
MD5 | eeceb91ab9ae5f4823a3c28820597fd6 |
|
BLAKE2b-256 | 1f049da1ce006ade0f4b1ec8d35a9ececdbe21e8241b64b520f43065c73fd4ed |