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.2.tar.gz (5.6 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.2-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ccoe_service_utils-2.1.2.tar.gz
  • Upload date:
  • Size: 5.6 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.2.tar.gz
Algorithm Hash digest
SHA256 a4287902c6183f653cc8ab4cb92ac283c8e32ae9fa80be19a08c9ff93da59d0e
MD5 4b86ef983b00e0aa6d8204a6e948a59e
BLAKE2b-256 ac40505affd349ee858d9b94f75c5046db1fb6cdd3a5ab62f5ce1cd2547669d8

See more details on using hashes here.

Provenance

The following attestation bundles were made for ccoe_service_utils-2.1.2.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.2-py3-none-any.whl.

File metadata

File hashes

Hashes for ccoe_service_utils-2.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 395ac718363dbd0c764ffa73a231cd331c42f0b2029273af00b07cd46987db7d
MD5 7a6bd13b5a1545e4a605b62b5ecdf8b2
BLAKE2b-256 e2ee6a29532fe8ee57318e634492092e521f1ce84f62ab1c41222802b60d5f05

See more details on using hashes here.

Provenance

The following attestation bundles were made for ccoe_service_utils-2.1.2-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