Skip to main content

A package containing utils for ccoe services

Project description

Python Package for CCoE Service Utils

Overview

The CCoE Service Utils package is a comprehensive utility library designed to streamline and enhance the development of services within the Cloud Center of Excellence (CCoE).

Features

  • get_variables_from_env: Retrieves environment variables and returns them as a dictionary.
  • get_authorization_header: Generates an authorization header for the given scope using the provided credentials.
  • get_http_session: Creates and returns an HTTP session with automatic retry mechanisms.
  • strtobool: Convert a string to a boolean.
  • MailContentType: Enum class for specifying mail content types (PLAIN, HTML).
  • EmailMessage: Data class for defining email messages with attributes such as recipients, subject, content, and more.
  • MailQueueService: Class for sending emails using a queue service.
  • get_custom_logger: Creates and returns a custom logger that logs at the info level to stdout.
  • get_admin_account_email: Returns a string containing the email of an admin account.
  • DynamicWorkloadMapping: Data class for mapping dynamic workload mapping.
  • CostManagementService: Class for adding cost allocations to a workload.

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

ccoe_service_utils-2.0.1.tar.gz (6.5 kB view details)

Uploaded Source

Built Distribution

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

ccoe_service_utils-2.0.1-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

Details for the file ccoe_service_utils-2.0.1.tar.gz.

File metadata

  • Download URL: ccoe_service_utils-2.0.1.tar.gz
  • Upload date:
  • Size: 6.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for ccoe_service_utils-2.0.1.tar.gz
Algorithm Hash digest
SHA256 662ecb72462f30f0db88cd6dda77e5a1dc51777eff030879e259cac09afe7e7c
MD5 5a36226a3f0f89b7567992efad51d4f5
BLAKE2b-256 fe8b29839b8199d241a80308cc7f023d8896519bba0d3e9acbd0f1cd04a6822e

See more details on using hashes here.

File details

Details for the file ccoe_service_utils-2.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for ccoe_service_utils-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c95bea00b66f691b6b40369dae11f106921cbafc8c6f114e9f48927c6532ccce
MD5 25bb4cbbaa1a1f5db5f7310fc9c9b6cc
BLAKE2b-256 e3d2346e957fb2aa32289c9d52b02b2acb064ce8591596ff927d9eeeb593f577

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