Skip to main content

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


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

Uploaded Source

Built Distribution

pop_create-3.2-py3-none-any.whl (30.5 kB view details)

Uploaded Python 3

File details

Details for the file pop_create-3.2.tar.gz.

File metadata

  • Download URL: pop_create-3.2.tar.gz
  • Upload date:
  • Size: 22.4 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

Hashes for pop_create-3.2.tar.gz
Algorithm Hash digest
SHA256 48c6ae6c364ead9655d4dadc762d808cb772c18bfcbcf366d5d86755ac96ed0c
MD5 7cca0ef1e2ccc8c0aa756c1b05f6a264
BLAKE2b-256 8c8cd27904fb55c54c92ba6a299d7aa8d019971f571c060a469214257a7db2c8

See more details on using hashes here.

File details

Details for the file pop_create-3.2-py3-none-any.whl.

File metadata

  • Download URL: pop_create-3.2-py3-none-any.whl
  • Upload date:
  • Size: 30.5 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

Hashes for pop_create-3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2bbaad375cc992cf24471bc7210f7a65aabc90d239dc8ee6bf26e987787a5e13
MD5 04f7cb27aa6d39c1a4f41e7d2833d697
BLAKE2b-256 4067c4276e946a1dc0f2e4ed691f36e0ba0be360bddec4866594be01fd824018

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