Skip to main content

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')

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

socotra-datamart-reports-0.0.3.tar.gz (9.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

socotra_datamart_reports-0.0.3-py3-none-any.whl (12.6 kB view details)

Uploaded Python 3

File details

Details for the file socotra-datamart-reports-0.0.3.tar.gz.

File metadata

File hashes

Hashes for socotra-datamart-reports-0.0.3.tar.gz
Algorithm Hash digest
SHA256 7b181d676286bbbd98ff8bc72507d3128c5f5e834f52832c5030685510ad66c6
MD5 96fad1ca794a66f8b83485b192c7cd2e
BLAKE2b-256 8b5881f7245160628d86b0edc57614b66c9c5c2f90af9c2715a8b808c33dc9d6

See more details on using hashes here.

File details

Details for the file socotra_datamart_reports-0.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for socotra_datamart_reports-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 542556694359bb721933adc464860950e1098b31257abff5c8d75599c4bc4cd6
MD5 eeceb91ab9ae5f4823a3c28820597fd6
BLAKE2b-256 1f049da1ce006ade0f4b1ec8d35a9ececdbe21e8241b64b520f43065c73fd4ed

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.0.3 This release

2 files

0.0.2

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page