Pylons / pyramid-cookiecutter-starter

A Cookiecutter (project template) for creating a Pyramid starter project with choices for template language (Jinja2, Chameleon, or Mako), persistent backend (none, SQLAlchemy with SQLite, or ZODB), and mapping of URLs to routes (URL dispatch or traversal)
95 stars 53 forks source link

Supporting YAML configuration with cookiecutter #136

Open kpinc opened 4 months ago

kpinc commented 4 months ago

Hi,

I'd like to have cookiecutter support for YAML configuration files. This would use plaster-yaml.

Would you accept a patch that asks whether to use YAML, JSON, or PasteDeploy .ini config files? This would have to be based on the "main" branch. Besides main being the development branch, it is the only branch which packages with a pyproject.toml file.

Alternately, I can fork the pyramid-cookiecutter-starter.

kpinc commented 4 months ago

See also, the pyramid_cookbook PR #233, a tutorial on using YAML config files.

kpinc commented 4 months ago

FYI. There's a branch here that patches the cookiecutter to support yaml config files.

I've not submitted a PR because it depends on other project's acceptance of other PRs. (See: plaster PR #37) If it makes sense to submit the PR now I'll go ahead and do that.

kpinc commented 4 months ago

See PR #137.