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.1.0.tar.gz (5.4 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.1.0-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ccoe_service_utils-2.1.0.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for ccoe_service_utils-2.1.0.tar.gz
Algorithm Hash digest
SHA256 f15780982280d00b528652d4e228b795503bc1ed8102f075cfaccb25e30880cf
MD5 4c1307f70a8c9e7bfe066d4ee8aeee16
BLAKE2b-256 d3e94611d25bb3b450b60f012d1225dd730ffc4233f09cf6a5d0a61539f49f05

See more details on using hashes here.

Provenance

The following attestation bundles were made for ccoe_service_utils-2.1.0.tar.gz:

Publisher: publish-ccoe-service-utils.yml on STARK-Group-IT/cloud-platform-packages

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

File hashes

Hashes for ccoe_service_utils-2.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5e80e3edb2fd29a0c19be7ad4ceb914911feca64663bf68f541e4c584981112f
MD5 d0cb5fa361f314cfc80f2d4ddbd324cf
BLAKE2b-256 b1cc0ce89b8df40d4ffaff82d09ff7ca1aca9a190a0218f3e70ae73371ff3638

See more details on using hashes here.

Provenance

The following attestation bundles were made for ccoe_service_utils-2.1.0-py3-none-any.whl:

Publisher: publish-ccoe-service-utils.yml on STARK-Group-IT/cloud-platform-packages

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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