Skip to main content

CookApps Data Center SDK

Installation

$ pip3 install --upgrade cookapps-datacenter

Examples

from cookapps_datacenter import DataCenter
from cookapps_datacenter.config import *

""" Athena Query Test """
if __name__ == "__main__":
    ## Athena Config - cookapps_datacenter.config.AthenaConfig
    athena_config = AthenaConfig(
        s3_bucket       = '{S3_BUCKET}',
        s3_output_uri   = '{ATHENA_RESULT_S3_URI}',
        region          = '{ATHENA_REGION}',
        tmp_local_path  = '/path/to/dir'
    )

    ## SDK
    dc = DataCenter(
        aws_profile_name='{AWS_CREDENTIAL_PROFILE}',
        athena_config=athena_config
    )
    df = dc.athena.run_query('SELECT * FROM "users"', 'test_db')
    print(df)

Metadata

Release files for cookapps-datacenter 0.0.22

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

Built distribution (wheel)

Table of built distributions (wheels) for cookapps-datacenter 0.0.22
File Interpreter ABI Platform Actions
cookapps_datacenter-0.0.22-py3-none-any.whl Python 3 none any Details for cookapps_datacenter-0.0.22-py3-none-any.whl

Release files / cookapps_datacenter-0.0.22-py3-none-any.whl

Download URL cookapps_datacenter-0.0.22-py3-none-any.whl
Size 4.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d520338dc139070d38d57fe03467392bf208140d26e7e033b6e5940fb5f457e4
BLAKE2b-256 checksum
How to use checksums
2fe8f1537a6b9b28437e7e4eece184accc34ad6cc59ce1216854f72e0035f39f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.9

Security for cookapps-datacenter 0.0.22

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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