Skip to main content

Python API for interacting with Pulumi resource plugins.

Project description

Tests Passing Build Passing Documentation Status Latest PyPI version PyPI License

Purpose

Pylumi is a Python API providing the ability to manage pulumi resource plugin contexts and interact with the resource Provider interface.

Usage Example

import pylumi

with pylumi.Context() as ctx, \
     ctx.provider('aws', {'region': 'us-east-1'}) as aws:

    resp = aws.create(
        pylumi.URN('aws:s3/bucketObject:BucketObject'),
        {'bucket': 'some-bucket', 'key': 'some-key', 'content': 'Hello, world!'},
    )

Installation

Before installing pylumi, you must have Go installed on your system. For additional information, see the Go Programming Language Installation Page.

Once that is done, install this package using:

$ pip install pylumi

Compatibility

Tests are passing on Mac OS X and Ubuntu, see recent test runs in Actions for details.

Documentation

Documentation for Pylumi is hosted on Read the Docs: https://pylumi.readthedocs.io/.

Contact

If you have issues using this repository please open a issue or reach out to me at cameron.l.feenstra@gmail.com.

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

pylumi-1.3.0.tar.gz (156.6 kB view hashes)

Uploaded Source

Built Distribution

pylumi-1.3.0-cp36-cp36m-macosx_10_15_x86_64.whl (6.2 MB view hashes)

Uploaded CPython 3.6m macOS 10.15+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page