Python API for interacting with Pulumi resource plugins.
Project description
Purpose
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(
pylumi.URN('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
Compatibility
Tests are passing on Mac OS X and Ubuntu, see recent test runs in Actions for details.
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-1.2.0.tar.gz
.
File metadata
- Download URL: pylumi-1.2.0.tar.gz
- Upload date:
- Size: 124.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.6.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5c770ad12853dfdb1e3c13887abf9ed446b98778e258221f3031a5df2273cfb1 |
|
MD5 | 0deeb9379832169912ab4e8504c9997e |
|
BLAKE2b-256 | 769c3536554af161a548ba7209181c55b814d09a008718d8da3ff06d5f7d3fcf |
File details
Details for the file pylumi-1.2.0-cp36-cp36m-macosx_10_15_x86_64.whl
.
File metadata
- Download URL: pylumi-1.2.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.25.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.6.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b7fd9cedf4ded787369207331ecc553d0f339821f6043965fb3028eb68990abe |
|
MD5 | 99bf95647bcc41b466e1fdde738aea3c |
|
BLAKE2b-256 | d88058b1e3f9614a524078758c472067485286fd8017441709653ced2333ebe3 |