Skip to main content

Packer for python

Project description

packerpy


I built this module to help automate packer builds in python code. I found it to be nearly impossible to scale packer builds for a pipeline or automated environment without forking the code from packer's golang implementation.


Requirements

Installation

pip install PackerBuilder (PyPi)

Documentation

PackerBuilder: This class is extendable (as shown in packerpy.examples.ami_builder) in order to allow for a custom implementation of any packer builder plugin. The PackerBuilder will generate a json packer configuration file that can be executed by the packer cli.

PackerClient: This is a utility class built to interact with the packer cli.

models: The models submodule contains objects that map to packer config blocks in the .pkr.json file that gets generated.

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

packerbuilder-2.0.1.tar.gz (10.8 kB view details)

Uploaded Source

Built Distribution

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

packerbuilder-2.0.1-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for packerbuilder-2.0.1.tar.gz
Algorithm Hash digest
SHA256 9714945b50b26c3f790cf63dcc79cfafa013781fda60dcda7b5632ea076b8f67
MD5 380dca0aca94c88f68e12f522808625b
BLAKE2b-256 16a11f8a9ee376ea57351c7810e120d1aed89b118a29fd984414357ff4ca91b9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: packerbuilder-2.0.1-py3-none-any.whl
  • Upload date:
  • Size: 9.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for packerbuilder-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0bf9c6ba4cf43848206868a791b4ea7df037d727f4290fbd8eee36b32f0b3fc3
MD5 89dcd719d15825806eb27770206e97f2
BLAKE2b-256 446b4d88f4a23d6a461c4ec19d29f50a8bbdece6f1614b22903dc48930a4d87c

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