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(
        'urn:pulumi:_::_::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-0.1.3.tar.gz (66.1 kB view details)

Uploaded Source

Built Distribution

pylumi-0.1.3-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-0.1.3.tar.gz.

File metadata

  • Download URL: pylumi-0.1.3.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-0.1.3.tar.gz
Algorithm Hash digest
SHA256 21562b7f852824c4c1af5a13ac401f0ef01c3d8062a2f290e6eb3b3d9e4d5917
MD5 cb717c5b496d78c698707b02757d6253
BLAKE2b-256 96ace68727dd0bc2ef897ad41c17e48b11a17c5abca665723fa25628cc6803b9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pylumi-0.1.3-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-0.1.3-cp36-cp36m-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 b57a67e59aa56e21fa9f331e44c77f8d1712d9b92b6f78898030e44552212c26
MD5 751d34be91e2f933259dff26550ba1e9
BLAKE2b-256 a687b0dd28d64486a5a86b5ad54b95fd467e25e072aa8617224c5dd772aa9d2c

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