Skip to main content

Python API for interacting with Pulumi resource plugins.

Project description

Pylumi

Pylumi is a Python API providing the ability to manage pulumi resource plugin contexts and interact with the resource plugin.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.0.4.tar.gz (62.6 kB view details)

Uploaded Source

Built Distribution

pylumi-0.0.4-cp38-cp38-macosx_10_15_x86_64.whl (12.2 MB view details)

Uploaded CPython 3.8 macOS 10.15+ x86-64

File details

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

File metadata

  • Download URL: pylumi-0.0.4.tar.gz
  • Upload date:
  • Size: 62.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6

File hashes

Hashes for pylumi-0.0.4.tar.gz
Algorithm Hash digest
SHA256 e4a703d044d2347a14f621f8555e332de3c58048cf70851a6434f8942d868eeb
MD5 2c9ef08894667ca5ba4c5e0c904ef58c
BLAKE2b-256 48d0c2f6020f26510e523fadbe430d4fbc0b5b68ada87545330fa96a396e5d41

See more details on using hashes here.

File details

Details for the file pylumi-0.0.4-cp38-cp38-macosx_10_15_x86_64.whl.

File metadata

  • Download URL: pylumi-0.0.4-cp38-cp38-macosx_10_15_x86_64.whl
  • Upload date:
  • Size: 12.2 MB
  • Tags: CPython 3.8, macOS 10.15+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6

File hashes

Hashes for pylumi-0.0.4-cp38-cp38-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 80477b301e62ac4aa7b24fd3272d75264658e338115eb9a5ae8cac8046ed2433
MD5 365ffe91a5bdaf1494654801449c7b04
BLAKE2b-256 ea7d502bafe72ca0ce04be040e75a3958c408bb5a585f138ecc5fcc98601fca7

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