Skip to main content

Python API for interacting with Pulumi resource plugins.

Project description

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

Note: since the build for this package requires compiling a go extension and a c extension that depends on it, the script is slightly fragile and may not work properly with all platforms. It has been tested on OS X and Ubuntu, but not exhaustively on either.

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.0.0.tar.gz (66.1 kB view details)

Uploaded Source

Built Distribution

pylumi-1.0.0-cp36-cp36m-macosx_10_15_x86_64.whl (12.2 MB view details)

Uploaded CPython 3.6m macOS 10.15+ x86-64

File details

Details for the file pylumi-1.0.0.tar.gz.

File metadata

  • Download URL: pylumi-1.0.0.tar.gz
  • Upload date:
  • Size: 66.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.6.12

File hashes

Hashes for pylumi-1.0.0.tar.gz
Algorithm Hash digest
SHA256 7028541e779c43e41d09c6c36df102cb41a76a1b22b841d2076c14bb800d7804
MD5 a9047700f63edbd025265f766e5a67ce
BLAKE2b-256 5be93e7cec3c758ba8c1e323cc479db603a5358c95dc2adcbcb7ca0ab4001295

See more details on using hashes here.

File details

Details for the file pylumi-1.0.0-cp36-cp36m-macosx_10_15_x86_64.whl.

File metadata

  • Download URL: pylumi-1.0.0-cp36-cp36m-macosx_10_15_x86_64.whl
  • Upload date:
  • Size: 12.2 MB
  • Tags: CPython 3.6m, macOS 10.15+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.6.12

File hashes

Hashes for pylumi-1.0.0-cp36-cp36m-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 4073588861d69dcf88e7495e15cc935963cede390cd9b85888e59eaa9b7a45db
MD5 b68dcf4c0ff243e548d39c083e1d4610
BLAKE2b-256 b1f5f1c304b69ed6d0256f8f7140a19872313482ef0de488f2dc9966c3e97627

See more details on using hashes here.

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