Skip to main content

No project description provided

Project description

It is recommended to use a python virtualenv when creating a new Idem provider plugin. We’ll give some instructions below, but feel free to use what environment tool you’re comfortable with.

Create a virtual env

python -m venv env
source env/bin/activate

Now you should be in your new python virtualenv.

Let’s update to the latest pip inside our virtual env:

pip install -U pip

Install Dependencies

Now we’re going to install “pop-create”.

pip install pop-create

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

Installation

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

pip install -e {project_root}

Install pop-create-idem with pip from PyPi:

pip install pop-create-idem

Generating Idem Cloud Plugin

To generate a new skeleton Idem cloud plugin, run:

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

A new project will have been created with all the necessary directory structure to get started with Idem cloud plugin.

To generate a new idem plugin project with swagger specification, run:

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}

To generate a new Idem plugin project with openapi3 specification, run:

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}

A new project will have been created with all the boilerplate code needed to get started with respective provider.

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.3.1.tar.gz (46.1 kB view hashes)

Uploaded Source

Built Distribution

pop_create_idem-4.3.1-py3-none-any.whl (81.2 kB view hashes)

Uploaded Python 3

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