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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pylumi-0.1.0.tar.gz
.
File metadata
- Download URL: pylumi-0.1.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | a893a88e74596e7e3cd7693cf161bc65183c744f19e011e48f49a6077489fa0a |
|
MD5 | ccea767fc87590af9bf4253e41ee7fd2 |
|
BLAKE2b-256 | 68d24f08d8fc2a71f732f85fb08701dfc706582b2bf274a9afe2d3d7ef6effe1 |
File details
Details for the file pylumi-0.1.0-cp36-cp36m-macosx_10_15_x86_64.whl
.
File metadata
- Download URL: pylumi-0.1.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef4a796b96215f5e95dcecf66b5827639c17f37c5ed5421949be14e505ee2af6 |
|
MD5 | 4ba4ff2329be8e43883a2606ecc460c8 |
|
BLAKE2b-256 | 740a7ccaf0a1cdac7df30ba8d5d85363546a761042c3ba437267cdb4ba7f7a09 |