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

Uploaded Source

Built Distribution

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

File metadata

  • Download URL: pylumi-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 4906a2b4c823a6f183e8802ec5f63dc7f1d64e07e5e92c58db325a66462ace89
MD5 c551f45448236f2fcfa52c916c17ab35
BLAKE2b-256 26527ee1178e9c1e81740cf5cc45ebc8593436cdef70efec26a592a40450eaed

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pylumi-0.1.1-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.1-cp36-cp36m-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 b83e21b86d2e990461e1300466e0a63d5d449a631e348bab8c28d506cf90a9f7
MD5 ff0810fe9fb4aadd3a4b23a97b46fc1e
BLAKE2b-256 5142b4fb6373032784b1f903c38128c935326839de0c78fdb82cfc0988294caf

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