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 git+https://github.com/cfeenstra67/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.1.tar.gz (62.6 kB view details)

Uploaded Source

Built Distribution

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

File metadata

  • Download URL: pylumi-0.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 06048b25476138a028e55cb48243e270733788d020fcf06fff4c80623d602c4f
MD5 c90cb1dd46355e7ffb063add003ddc3e
BLAKE2b-256 9d94be56fac21e464c09e7e30efe29dedc78b3071a022e9e2b9bee74a476d8ab

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pylumi-0.0.1-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.1-cp38-cp38-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 67cfac503c405b64dac3b808154c21b2bfdd4569c69cb6b8dcef38c624031524
MD5 11d047fc2e14a0c24c2f636ee0c530ac
BLAKE2b-256 441fe7051190a3dcbfc35bc0d8a257c27c1136316336cf9bb78ab121a12229f0

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