Skip to main content

Package with general devops code

Project description

CCDCOE package

GitHub Release GPLv3 License

pypi

This package contains generic re-usable code.

Install the full package:

pip install ccdcoe[all]

Package has several modules which can be installed separately by specifying them as an extra requirement. To install the http_apis module only, specify:

pip install ccdcoe[http_apis]

Or for multiple modules:

pip install ccdcoe[http_apis, loggers]

Modules

The following modules are available in the ccdcoe package:

  • http_apis
  • loggers
  • dumpers
  • deployments
  • cli
  • redis_cache

HTTP apis

Baseclass for http api communication is present under ccdcoe.http_apis.base_class.api_base_class.ApiBaseClass

Adding modules and/or groups

Everything for this package is defined in the pyproject.toml file. Dependencies are managed by poetry and grouped in, you guessed it, groups. Every poetry group can be installed as an extra using pip.

Extra extras or group on group/extra dependencies can also be defined in the [tool.ccdcoe.group.dependencies] section. Everything defined here will also become an extra if no group already exists. You can use everything defined here as dependency for another group, order does not matter.

example:

[tool.ccdcoe.group.dependencies]
my_awesome_extra = ["my_awesome_group", "my_other_group"]
my_awesome_group = ["my_logging_group"]

[tool.poetry.group.my_awesome_group.dependencies]
<dependency here>

[tool.poetry.group.my_other_group.dependencies]
<dependency here>

[tool.poetry.group.my_logging_group.dependencies]
<dependency here>

Using this example the following extras exist with the correct dependencies:

pip install ccdcoe[all]
pip install ccdcoe[my-awesome-extra]
pip install ccdcoe[my-awesome-group]
pip install ccdcoe[my-other-group]
pip install ccdcoe[my-logging-group]

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

ccdcoe-0.0.14.tar.gz (93.3 kB view details)

Uploaded Source

Built Distribution

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

ccdcoe-0.0.14-py3-none-any.whl (112.3 kB view details)

Uploaded Python 3

File details

Details for the file ccdcoe-0.0.14.tar.gz.

File metadata

  • Download URL: ccdcoe-0.0.14.tar.gz
  • Upload date:
  • Size: 93.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ccdcoe-0.0.14.tar.gz
Algorithm Hash digest
SHA256 d029acba00f47fe621856c82aa188d94926e0050445d5d5e0181234ab8bab69f
MD5 11ace2326d39ef405a3d4ac641e67acc
BLAKE2b-256 eb0f61c2e88d6aa24f903c53ffa49ed77db6c93547f7ef0f255e0a526a9b113d

See more details on using hashes here.

Provenance

The following attestation bundles were made for ccdcoe-0.0.14.tar.gz:

Publisher: package_to_pypi.yaml on ccdcoe/ccdcoe

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

File details

Details for the file ccdcoe-0.0.14-py3-none-any.whl.

File metadata

  • Download URL: ccdcoe-0.0.14-py3-none-any.whl
  • Upload date:
  • Size: 112.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ccdcoe-0.0.14-py3-none-any.whl
Algorithm Hash digest
SHA256 9bfd6b3f5243568d30c03a58420d0cc721eec5f68d7cfe39e03f48446e2ca82a
MD5 0596a9d5876beed8985efa7ec0933e2e
BLAKE2b-256 2040672dd5b343ec61378b9d5a7bdf0e940ba8748a1cd73056523c91fcc37a8c

See more details on using hashes here.

Provenance

The following attestation bundles were made for ccdcoe-0.0.14-py3-none-any.whl:

Publisher: package_to_pypi.yaml on ccdcoe/ccdcoe

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