Skip to main content

Python API for interacting with Pulumi resource plugins.

Project description

############
Pylumi
############

|tests-passing| |build-passing| |docs| |pypi-version| |pypi-license|

Purpose
########

**Pylumi** is a Python API providing the ability to manage `pulumi <https://github.com/pulumi/pulumi>`_ resource plugin contexts and interact with the resource `Provider <https://github.com/pulumi/pulumi/blob/89c956d18942c1fcbf687da3052dd26089d8f486/sdk/go/common/resource/plugin/provider.go#L37>`_ interface.

Usage Example
##############

.. code-block:: python

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 <https://golang.org/doc/install>`_.

Once that is done, install this package using:

.. code-block:: bash

$ pip install pylumi

Compatibility
###############

Tests are passing on Mac OS X and Ubuntu, see recent test runs in `Actions <https://github.com/cfeenstra67/pylumi/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.


.. |docs| image:: https://readthedocs.org/projects/pylumi/badge/?version=latest
:alt: Documentation Status
:scale: 100%
:target: https://pylumi.readthedocs.io/en/latest/?badge=latest

.. |pypi-version| image:: https://pypip.in/v/pylumi/badge.png
:target: https://pypi.org/project/pylumi/
:alt: Latest PyPI version

.. |pypi-downloads| image:: https://pypip.in/d/pylumi/badge.png
:target: https://pypi.org/project/pylumi/
:alt: Number of PyPI downloads

.. |pypi-license| image:: https://img.shields.io/pypi/l/pylumi.svg
:target: https://pypi.org/project/pylumi/
:alt: PyPI License

.. |tests-passing| image:: https://github.com/cfeenstra67/pylumi/workflows/Run%20tests/badge.svg
:target: https://github.com/cfeenstra67/pylumi/actions?query=workflow%3A%22Run+tests%22
:alt: Tests Passing

.. |build-passing| image:: https://github.com/cfeenstra67/pylumi/workflows/Upload%20to%20PyPI/badge.svg
:target: https://github.com/cfeenstra67/pylumi/actions?query=workflow%3A%22Upload+to+PyPI%22
:alt: Build Passing

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

Uploaded Source

Built Distribution

pylumi-1.3.0-cp36-cp36m-macosx_10_15_x86_64.whl (6.2 MB view details)

Uploaded CPython 3.6m macOS 10.15+ x86-64

File details

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

File metadata

  • Download URL: pylumi-1.3.0.tar.gz
  • Upload date:
  • Size: 156.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.3 pkginfo/1.8.2 requests/2.27.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.6.15

File hashes

Hashes for pylumi-1.3.0.tar.gz
Algorithm Hash digest
SHA256 89883e219ae420cd4c4b79ab4f1939b0d64f8904db99742654294f6796bcdec2
MD5 9c86a5e5a650a3616c2358ea01d441ec
BLAKE2b-256 2270d9ff5ab4d3ddc6f8c69bf4d118c8afd9d1d5701bf418fcccba35cd9661c4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pylumi-1.3.0-cp36-cp36m-macosx_10_15_x86_64.whl
  • Upload date:
  • Size: 6.2 MB
  • Tags: CPython 3.6m, macOS 10.15+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.3 pkginfo/1.8.2 requests/2.27.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.6.15

File hashes

Hashes for pylumi-1.3.0-cp36-cp36m-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 8d5506912c1db1f0c79d29b0811de4a36426f4ea1f812c65543a2de1d524eaeb
MD5 ab79cb16f38e8e930cefcd4530ddeab8
BLAKE2b-256 29b3e1e00b6cc09d4dcde2bc8dff6edc91c4ae1e8d37fc6275e89ebf036bcd25

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