Questions tagged [cookiecutter]

A command-line utility that creates projects from cookiecutters (project templates), e.g. creating a Python package project from a Python package project template.

A command-line utility that creates projects from cookiecutters (project templates), e.g. creating a Python package project from a Python package project template.

enter image description here

Project home.

132 questions
2
votes
2 answers

bash: cookiecutter: command not found (cookiecutter installed using conda)

I have installed python cookiecutter using conda: conda config --add channels conda-forge conda install coockiecutter In anaconda prompt "cookiecutter --version" shows "1.6.0 from…
2
votes
0 answers

About of original raw data and intermediate data has been transformed

I want to use the Cookiecutter Data science project structure, to my project. I found http://drivendata.github.io/cookiecutter-data-science/ and it looks great. I am analyzing the directory differences on their structure and I have some question…
bgarcial
  • 2,915
  • 10
  • 56
  • 123
2
votes
0 answers

Cookiecutter Django Docker Build Failing

When running docker-compose -f local.yml build or even the prod one I get an error. I tried everything and does not get past this part. StackTrace below.
code_bash
  • 701
  • 1
  • 5
  • 16
2
votes
0 answers

Cannot import 'GDALRaster' when running docker-comopose local.yml

I am trying to bring up web application (based on cookiecutter) with docker. My setup consists of LUbuntu 16.04 as virtual machine on top of Win10Pro. Inside LUbuntu I have Docker, Pyhton3, virtualenv, pip, and docker-compose. When I navigate to…
ncvetkovic
  • 31
  • 6
2
votes
1 answer

Flask cookiecutter models don't generate migrations

New to the world of python, was recommended to try cookiecutter-flask but bumped into a problem: I generated a migration "manually" rather then having it based on a model. After I realised that models can be used to generate migrations like the one…
OwlPaste
  • 87
  • 1
  • 1
  • 7
2
votes
1 answer

Recursive use of cookiecutter

I've been reading about cookiecutter as a way of instantiating project templates. The projects I'm interested in templating typically contain a bunch of different sub-project types such as C++ software, microcontroller-specific firmware, PCB…
1
vote
0 answers

Cookie cutter for packaging Django app as a python package

There is a need of creating a Django project inside a python package and later package it as a python package. Current thought : Can I use poetry-cookie cutter to create python package and django-cookie cutter for the project that is going to be…
1
vote
1 answer

cookiecutter.exceptions.NonTemplatedInputDirException when trying to use cookiecutter from my repo

I have created a cookiecutter template. When I run it using the address from my directory in my computer, it works. However, I want to use cruft to be able to update my projects. It seems to require the template to be in a repository. So I have…
Luisa
  • 11
  • 3
1
vote
0 answers

Call Github Actions in CookieCutter template

I am building a template repo that uses CookieCutter. The template itself will contain github action files that execute the tests in the template. When I make changes to the template itself, in the PR, I want to instantiate the template with the…
josh
  • 1,231
  • 1
  • 12
  • 28
1
vote
1 answer

cookiecutter step when installing Pyramid application throws module not found error

I was trying to create Pyramid application using cookiecutter. After installing cookiecutter in my Debian GNU/linux 10 system and adding the path of ~/local to bash profile, the cookiecutter application is available for use. But when I…
tanzeem
  • 161
  • 1
  • 3
  • 8
1
vote
1 answer

How to use "make" with Windows and Anaconda?

I am attempting to follow this tutorial to learn how to use the Cookiecutter folder structure for data science projects. My machine is running Windows 10 and I am using Anaconda. It seems that the Cookiecutter project structure relies heavily on…
Graham B
  • 11
  • 3
1
vote
1 answer

Cookiecutter: how do you override a dictionary variable using the command-line?

If I have variables in cookiecutter.json like so: { "app": { "name": "myapp", "description": "my app description", "version": "v1", "ecr_data_classification_tag": "non-pii" }, "contact": { "team":…
1
vote
1 answer

How to apply cruft/cookiecutter template to existing Git/GitHub project?

What's the best way to apply a cruft (or cookiecutter) template to an existing Git/GitHub project, which doesn't use any cookiecutter template so far?
Andi
  • 3,196
  • 2
  • 24
  • 44
1
vote
0 answers

how to use kedro.versioning in latest version of kedro?

I have previously used kedro version 0.17.6 in my project. Now i have upgraded my version to 0.18.2. But in latest version of kedro there is no module of kedro.versioning. So i am getting a error that module is not found.
pc01
  • 11
  • 1
1
vote
2 answers

Cannot run cookiecutter after installing with pip in jenkins

Im trying to install the cookiecutter utility using a jenkins pipeline. I try run this stage: stage('Install CookieCutter') { steps{ script { sh''' pip uninstall…
TheWalkingMalteser
  • 561
  • 1
  • 9
  • 25
1 2 3
8 9