Create new pop projects
Project description
pop-create was originally an internal function of the pop project named pop-seed.
pop-create will initialize a new pop project.
Geting Started
pip3 install pop-create
Now that you have pop-create installed you can run:
pop-create seed --help
pop-create seed -n poppy
This initial release should have identical functionality as pop-seed as currently provided by the pop project.
Dynamic Name Spaces
You can specify dynamic namespaces that your app will extend with “-d”. In this example we extend the dynamic name spaces of “states”, “exec”, “acct”, and “tool”; All common extensions of the idem project.
pop-create seed -n poppy -d exec states acct tool
Vertically App Merged Project
If your entrypoint will exist in another project, then you are making a vertically app merged project. For example, if you are extending idem to write exec modules or states modules, your project won’t have an entrypoint. The code of your project will be dynamically extended on top of the namespace of those other tools.
Create a vertically app merged project by adding the –vertical flag to pop-create seed
pop-create seed --vertical -n poppy
Tests
Now create the boilerplate code for your project’s tests. This will set your project up with some useful fixtures for testing pop projects and some basic unit/integration tests.
pop-create tests -n poppy
Docs
Now create the boilerplate code for your project’s docs. This will set your project up with a rudimentary docs directory that can be easily added to and built.
pop-create docs -n poppy
Run all core subparsers
If no subparser is specified, all the core subparsers (seed, cicd, docs, tests) will be run.
pop-create -n poppy
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 pop_create-3.tar.gz
.
File metadata
- Download URL: pop_create-3.tar.gz
- Upload date:
- Size: 7.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.0 importlib_metadata/3.7.2 packaging/20.9 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f89144685928b7afcd9e66cb5001ef3587990879fd41949359350233c690cf5 |
|
MD5 | 140f5ded0fff9029b7baed325cd2d646 |
|
BLAKE2b-256 | 27fb11318104f0540dfe08a3026d2c50026b9751391ba0c0ff02324d352e8e30 |
File details
Details for the file pop_create-3-py3-none-any.whl
.
File metadata
- Download URL: pop_create-3-py3-none-any.whl
- Upload date:
- Size: 11.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.0 importlib_metadata/3.7.2 packaging/20.9 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 56abb1e1556358bc7031282cac9c5315771be38c419a45f1fee609d0954d24c5 |
|
MD5 | c83277f8b721e7b1ba03d5cf6555aa8f |
|
BLAKE2b-256 | 51f5c69dc667e47f081cb2016804b3ce4e3d4a916ad10aaa3d5bb47c334279c0 |