Skip to main content

No project description provided

Project description

Project description

pop-create-idem is an extension of pop-create that creates boilerplate code for new idem-cloud projects. pop-create-idem includes code that transforms a CloudSpec dictionary into idem states, tools, and exec modules. Your unique pop_create plugin’s purpose is to convert API documentation into the CloudSpec format.

Note: It is recommended that you use a Python virtual environment when creating a new Idem provider plugin.

Create a virtual environment

Before you start, ensure that you installed Python 3.8 or later. If you are running 3.7 or earlier, you might need to use python3 instead of python in the commands in the rest of this tutorial.

To verify your Python version, run the following command:

python -V

Next, create your virtual environment:

python -m venv env
source env/bin/activate

Now you should be in your new Python virtual environment.

Update pip

Next, update to the latest version of pip inside your virtual environment:

pip install -U pip

Install dependencies

Next, you need to install pop-create:

pip install pop-create

You now have access to the pop-create command for creating Idem plugins.

Install pop-create-idem

Install pop-create-idem with pip from the project root:

pip install -e {project_root}

Next, install pop-create-idem with pip from PyPi:

pip install pop-create-idem

Generate an Idem Cloud plugin

To generate a new skeleton Idem Cloud plugin, run the following command:

pop-create idem-cloud --directory /path/to/new/project --project-name=idem-{my_cloud} --simple_cloud_name={my_cloud}

This command creates a new project with the directory structure needed to get started with your plugin.

Generate an Idem plugin with a Swagger specification

To generate a new Idem plugin with a Swagger specification, run the following command:

pop-create swagger --directory /path/to/new/project --specification={swagger-spec-yaml-or-accessible-swagger-spec-json-url} --project-name=idem-{my_cloud} --simple_cloud_name={my_cloud}

Generate an Idem plugin with an OpenAPI3 specification

To generate a new Idem plugin project with an OpenAPI3 specification, run the following command:

pop-create openapi3 --directory /path/to/new/project --specification={openapi3-spec-yaml-or-accessible-openapi3-spec-json-url} --project-name=idem-{my_cloud} --simple_cloud_name={my_cloud}

This command creates a new project with the boilerplate code needed to get started with each respective cloud provider.

Next steps

After you generate your Idem plugin:

  • Try the example Swagger petstore tutorial in the tutorial directory, which walks you through generating an Idem plugin with a Swagger specification.

  • Configure the plugin for your provider. See the pop-create-idem quickstart for instructions.

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

pop-create-idem-4.4.0.tar.gz (48.8 kB view details)

Uploaded Source

Built Distribution

pop_create_idem-4.4.0-py3-none-any.whl (84.4 kB view details)

Uploaded Python 3

File details

Details for the file pop-create-idem-4.4.0.tar.gz.

File metadata

  • Download URL: pop-create-idem-4.4.0.tar.gz
  • Upload date:
  • Size: 48.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.9.6 readme-renderer/40.0 requests/2.31.0 requests-toolbelt/1.0.0 urllib3/2.0.4 tqdm/4.65.0 importlib-metadata/6.8.0 keyring/24.2.0 rfc3986/2.0.0 colorama/0.4.6 CPython/3.9.17

File hashes

Hashes for pop-create-idem-4.4.0.tar.gz
Algorithm Hash digest
SHA256 a26802ee51c9ac6af8a5fb30865f238cd9751a011ff3df0ac8a1d14e117836d7
MD5 fa4b3451a01a2d2a9f7bba87bc25a638
BLAKE2b-256 19d9655f67e06dea136829b90403cf219feeaf653ff1f1a73fc8b197644cd101

See more details on using hashes here.

File details

Details for the file pop_create_idem-4.4.0-py3-none-any.whl.

File metadata

  • Download URL: pop_create_idem-4.4.0-py3-none-any.whl
  • Upload date:
  • Size: 84.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.9.6 readme-renderer/40.0 requests/2.31.0 requests-toolbelt/1.0.0 urllib3/2.0.4 tqdm/4.65.0 importlib-metadata/6.8.0 keyring/24.2.0 rfc3986/2.0.0 colorama/0.4.6 CPython/3.9.17

File hashes

Hashes for pop_create_idem-4.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5ea0af38cd57e6cf6c16da384ee204a4f9b6a9c8c0b59ee78c1416dc7767d959
MD5 7c01316f9366cb7d88066ccd2746dda6
BLAKE2b-256 d254ba3c2b583fac96b22ae8163716b881a30522eaec199daf6cc04e2ba21d42

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