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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file socotra-datamart-reports-0.0.3.tar.gz.
File metadata
- Download URL: socotra-datamart-reports-0.0.3.tar.gz
- Upload date:
- Size: 9.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7b181d676286bbbd98ff8bc72507d3128c5f5e834f52832c5030685510ad66c6
|
|
| MD5 |
96fad1ca794a66f8b83485b192c7cd2e
|
|
| BLAKE2b-256 |
8b5881f7245160628d86b0edc57614b66c9c5c2f90af9c2715a8b808c33dc9d6
|
File details
Details for the file socotra_datamart_reports-0.0.3-py3-none-any.whl.
File metadata
- Download URL: socotra_datamart_reports-0.0.3-py3-none-any.whl
- Upload date:
- Size: 12.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
542556694359bb721933adc464860950e1098b31257abff5c8d75599c4bc4cd6
|
|
| MD5 |
eeceb91ab9ae5f4823a3c28820597fd6
|
|
| BLAKE2b-256 |
1f049da1ce006ade0f4b1ec8d35a9ececdbe21e8241b64b520f43065c73fd4ed
|