Skip to main content

Collection of service connectors

Project description

cosmic_sdk

python package for cosmic

Installation

pip install cosmic_sdk

Example

from cosmic_sdk.secrets import SecretsManager
from cosmic_sdk.connectors import PostHogService

secrets_manager = SecretsManager()

credentials = secrets_manager.get_secrets(org_id="org_123", connector_type="posthog")
posthog_service = PostHogService(credentials)

posthog_service.get_user_logins("2024-01-01")

TODO

  • Move to uv package manager
  • Support doc per connector
  • Add github actions deploy to pypi

Project details


Download files

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

Source Distribution

cosmic_sdk-0.2.8.tar.gz (1.9 MB view details)

Uploaded Source

Built Distribution

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

cosmic_sdk-0.2.8-py3-none-any.whl (12.2 kB view details)

Uploaded Python 3

File details

Details for the file cosmic_sdk-0.2.8.tar.gz.

File metadata

  • Download URL: cosmic_sdk-0.2.8.tar.gz
  • Upload date:
  • Size: 1.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.9

File hashes

Hashes for cosmic_sdk-0.2.8.tar.gz
Algorithm Hash digest
SHA256 c8aad38a47c4a7ee03923cd7aa781ecccf6b060b5248d97931c579df0582256f
MD5 120b2086485d384ea0d9079bee38de94
BLAKE2b-256 91b2753b7610d526c9592de7bf3671467b03ef04ae0c34e1922f95e01d4f693b

See more details on using hashes here.

File details

Details for the file cosmic_sdk-0.2.8-py3-none-any.whl.

File metadata

  • Download URL: cosmic_sdk-0.2.8-py3-none-any.whl
  • Upload date:
  • Size: 12.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.9

File hashes

Hashes for cosmic_sdk-0.2.8-py3-none-any.whl
Algorithm Hash digest
SHA256 71fcb1f17ca5e7eb520ab6ec3b83cd2e63cbb03c8a89ed77259a30727ed68909
MD5 2c2ec73d5d374d227bed5a17ac0037bc
BLAKE2b-256 59ef26e950648763de7834c4546601ed9b356ffc013c57ceaef2d5bcafed4c77

See more details on using hashes here.

Supported by

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