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.1.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.1-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ccoe_service_utils-2.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 9e90af940cfc5ea35ddfab5088f0d18dac50257cb25e9da0706ddbfc6f457997
MD5 c59f4e8ffe4c572d6d9116508630251f
BLAKE2b-256 46532f713081747bb625eaaf5dc94e2d81dfe5fa793086093b5f029fbcbde289

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ccoe_service_utils-2.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fd22139e7634062c5562fb7b47e40241b7b5e68c56684781107080cb797ce030
MD5 194205a27c528cd9dfef0c9b69b18468
BLAKE2b-256 7b2ce527830730f32d307c27e7da9c9fe22e8fb19b4216c83950bc4f9c79cc17

See more details on using hashes here.

Provenance

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