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
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
Hashes for pop_create_idem-4.3.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 68ff24c14f8bb7c0d93769fb2e698ee37e8362d15190562ec596189a6651b610 |
|
MD5 | 80017d0b7859f9d815bd69cbbb14a843 |
|
BLAKE2b-256 | 0565a3efcd786edfa716a2f015928e1b5f8b3c89eac287cd920ddf5d8f87ead8 |