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

Metadata

Release files for socotra-datamart-reports 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for socotra-datamart-reports 0.0.3
File Size Uploaded Provenance
socotra-datamart-reports-0.0.3.tar.gz 9.7 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for socotra-datamart-reports 0.0.3
File Interpreter ABI Platform
socotra_datamart_reports-0.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 22.3 kB

Release files / socotra-datamart-reports-0.0.3.tar.gz

Download URL socotra-datamart-reports-0.0.3.tar.gz
Size 9.7 kB
Tags Source
SHA-256 checksum
How to use checksums
7b181d676286bbbd98ff8bc72507d3128c5f5e834f52832c5030685510ad66c6
BLAKE2b-256 checksum
How to use checksums
8b5881f7245160628d86b0edc57614b66c9c5c2f90af9c2715a8b808c33dc9d6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.6

Release files / socotra_datamart_reports-0.0.3-py3-none-any.whl

Download URL socotra_datamart_reports-0.0.3-py3-none-any.whl
Size 12.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
542556694359bb721933adc464860950e1098b31257abff5c8d75599c4bc4cd6
BLAKE2b-256 checksum
How to use checksums
1f049da1ce006ade0f4b1ec8d35a9ececdbe21e8241b64b520f43065c73fd4ed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.6

Security for socotra-datamart-reports 0.0.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

0.0.3 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page