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.1.tar.gz (6.3 kB 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.1-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cosmic_sdk-0.2.1.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • 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.1.tar.gz
Algorithm Hash digest
SHA256 ea1169b58f42ef3f4554957af386af9f4e3b4175ef439e8a9c5ad1a20b75a583
MD5 924b95aaa8607205ff3c85b7566c26ab
BLAKE2b-256 6ff09842f50475a084d3a070843ad8f0cf2426eeaeab7ac448928ced2d147660

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cosmic_sdk-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 8.8 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 68268176b148f8fa2ea075de1473b21c8dd3122be8318e3d01385b688a3fa2f7
MD5 ccaf868a275b6f574f7667a5b715d6bc
BLAKE2b-256 536d6ee650dd897b2bda4458f22d1583624988647f5466e8058d4118e0f423de

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