wiki/tools.cookiecutter.html
2022-07-29 15:41:17 +00:00

19 lines
8.7 KiB
HTML

<!DOCTYPE html><html><head><meta name="viewport" content="width=device-width"/><meta charSet="utf-8"/><title>Cookiecutter</title><script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script><script id="MathJax-script" async="" src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script><script type="text/x-mathjax-config">
MathJax = {
tex: {
inlineMath: [ [&#x27;$&#x27;,&#x27;$&#x27;], [&#x27;\(&#x27;,&#x27;\)&#x27;] ],
displayMath: [ [&#x27;$$&#x27;,&#x27;$$&#x27;], [&#x27;[&#x27;,&#x27;]&#x27;] ]
},
options = {
processHtmlClass = &quot;math&quot;
}
}
</script><meta name="next-head-count" content="6"/><link rel="preload" href="/wiki/_next/static/css/52fc2ba29703df73922c.css" as="style"/><link rel="stylesheet" href="/wiki/_next/static/css/52fc2ba29703df73922c.css" data-n-g=""/><noscript data-n-css=""></noscript><link rel="preload" href="/wiki/_next/static/chunks/main-ae4733327bd95c4ac325.js" as="script"/><link rel="preload" href="/wiki/_next/static/chunks/webpack-50bee04d1dc61f8adf5b.js" as="script"/><link rel="preload" href="/wiki/_next/static/chunks/framework.9d524150d48315f49e80.js" as="script"/><link rel="preload" href="/wiki/_next/static/chunks/commons.0e1c3f9aa780c2dfe9f0.js" as="script"/><link rel="preload" href="/wiki/_next/static/chunks/pages/_app-8e3d0c58a60ec788aa69.js" as="script"/><link rel="preload" href="/wiki/_next/static/chunks/940643274e605e7596ecea1f2ff8d83317a3fb76.4841a16762f602a59f00.js" as="script"/><link rel="preload" href="/wiki/_next/static/chunks/pages/%5B%5B...slug%5D%5D-1aa198f87ede1cd0e1dc.js" as="script"/></head><body><div id="__next"><main><h1>Cookiecutter</h1><section class="post-metadata"><span>Date: <!-- -->2021-07-16 16:40:44 +08:00</span><span>Date modified: <!-- -->2021-07-20 01:59:09 +08:00</span></section><nav class="toc"><ol class="toc-level toc-level-1"><li class="toc-item toc-item-h1"><a href="/wiki/tools.cookiecutter#features" class="toc-link toc-link-h1">Features</a></li><li class="toc-item toc-item-h1"><a href="/wiki/tools.cookiecutter#ecosystem" class="toc-link toc-link-h1">Ecosystem</a></li></ol></nav><p>A project scaffolding tool enabling to create projects instantly.
You can generate projects from your own Cookiecutter template or <a href="https://github.com/topics/cookiecutter-template">others&#x27; template</a>.
</p><h1 id="features">Features</h1><ul><li><p>The tool makes use of Jinja2 for templating.
</p></li><li><p>Template files and directories name.
</p></li><li><p>Hooks either with a shell or Python script.
</p></li></ul><h1 id="ecosystem">Ecosystem</h1><ul><li><p><a href="https://github.com/topics/cookiecutter-template">Cookiecutter has plenty of templates available online</a></p></li><li><p><a href="https://github.com/cruft/cruft">Cruft</a> is a boilerplate manager allowing you to update templates after scaffolding, check and validate the templates, and 100% compatibility with Cookiecutter templates
</p></li><li><p>a couple of Cookiecutter templates maintained by the team includes <a href="https://github.com/pydanny/cookiecutter-django">cookiecutter-django</a> and <a href="https://github.com/audreyfeldroy/cookiecutter-pypackage">cookiecutter-pypackage</a>;
good examples to get started presenting how complex a template can be
</p></li></ul><section><h2>Backlinks</h2><ul><li><a href="/wiki/packages.python">Python packages</a></li></ul></section></main></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{"metadata":{"date":"\"2021-07-16 16:40:44 +08:00\"","date_modified":"\"2021-07-20 01:59:09 +08:00\"","language":"en","source":""},"title":"Cookiecutter","hast":{"type":"root","children":[{"type":"element","tagName":"nav","properties":{"className":"toc"},"children":[{"type":"element","tagName":"ol","properties":{"className":"toc-level toc-level-1"},"children":[{"type":"element","tagName":"li","data":{"hookArgs":[{"type":"element","tagName":"h1","properties":{"id":"features"},"children":[{"type":"text","value":"Features"}]}]},"properties":{"className":"toc-item toc-item-h1"},"children":[{"type":"element","tagName":"a","properties":{"className":"toc-link toc-link-h1","href":"/tools.cookiecutter#features"},"children":[{"type":"text","value":"Features"}]}]},{"type":"element","tagName":"li","data":{"hookArgs":[{"type":"element","tagName":"h1","properties":{"id":"ecosystem"},"children":[{"type":"text","value":"Ecosystem"}]}]},"properties":{"className":"toc-item toc-item-h1"},"children":[{"type":"element","tagName":"a","properties":{"className":"toc-link toc-link-h1","href":"/tools.cookiecutter#ecosystem"},"children":[{"type":"text","value":"Ecosystem"}]}]}]}]},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"A project scaffolding tool enabling to create projects instantly.\nYou can generate projects from your own Cookiecutter template or "},{"type":"element","tagName":"a","properties":{"href":"https://github.com/topics/cookiecutter-template"},"children":[{"type":"text","value":"others' template"}]},{"type":"text","value":".\n"}]},{"type":"element","tagName":"h1","properties":{"id":"features"},"children":[{"type":"text","value":"Features"}]},{"type":"element","tagName":"ul","properties":{},"children":[{"type":"element","tagName":"li","properties":{},"children":[{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"The tool makes use of Jinja2 for templating.\n"}]}]},{"type":"element","tagName":"li","properties":{},"children":[{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"Template files and directories name.\n"}]}]},{"type":"element","tagName":"li","properties":{},"children":[{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"Hooks either with a shell or Python script.\n"}]}]}]},{"type":"element","tagName":"h1","properties":{"id":"ecosystem"},"children":[{"type":"text","value":"Ecosystem"}]},{"type":"element","tagName":"ul","properties":{},"children":[{"type":"element","tagName":"li","properties":{},"children":[{"type":"element","tagName":"p","properties":{},"children":[{"type":"element","tagName":"a","properties":{"href":"https://github.com/topics/cookiecutter-template"},"children":[{"type":"text","value":"Cookiecutter has plenty of templates available online"}]}]}]},{"type":"element","tagName":"li","properties":{},"children":[{"type":"element","tagName":"p","properties":{},"children":[{"type":"element","tagName":"a","properties":{"href":"https://github.com/cruft/cruft"},"children":[{"type":"text","value":"Cruft"}]},{"type":"text","value":" is a boilerplate manager allowing you to update templates after scaffolding, check and validate the templates, and 100% compatibility with Cookiecutter templates\n"}]}]},{"type":"element","tagName":"li","properties":{},"children":[{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"a couple of Cookiecutter templates maintained by the team includes "},{"type":"element","tagName":"a","properties":{"href":"https://github.com/pydanny/cookiecutter-django"},"children":[{"type":"text","value":"cookiecutter-django"}]},{"type":"text","value":" and "},{"type":"element","tagName":"a","properties":{"href":"https://github.com/audreyfeldroy/cookiecutter-pypackage"},"children":[{"type":"text","value":"cookiecutter-pypackage"}]},{"type":"text","value":";\n good examples to get started presenting how complex a template can be\n"}]}]}]}]},"backlinks":[{"path":"/packages.python","title":"Python packages"}]},"__N_SSG":true},"page":"/[[...slug]]","query":{"slug":["tools.cookiecutter"]},"buildId":"Ie9t5zutrXP6Of75Cb5xF","assetPrefix":"/wiki","nextExport":false,"isFallback":false,"gsp":true}</script><script nomodule="" src="/wiki/_next/static/chunks/polyfills-99d808df29361cf7ffb1.js"></script><script src="/wiki/_next/static/chunks/main-ae4733327bd95c4ac325.js" async=""></script><script src="/wiki/_next/static/chunks/webpack-50bee04d1dc61f8adf5b.js" async=""></script><script src="/wiki/_next/static/chunks/framework.9d524150d48315f49e80.js" async=""></script><script src="/wiki/_next/static/chunks/commons.0e1c3f9aa780c2dfe9f0.js" async=""></script><script src="/wiki/_next/static/chunks/pages/_app-8e3d0c58a60ec788aa69.js" async=""></script><script src="/wiki/_next/static/chunks/940643274e605e7596ecea1f2ff8d83317a3fb76.4841a16762f602a59f00.js" async=""></script><script src="/wiki/_next/static/chunks/pages/%5B%5B...slug%5D%5D-1aa198f87ede1cd0e1dc.js" async=""></script><script src="/wiki/_next/static/Ie9t5zutrXP6Of75Cb5xF/_buildManifest.js" async=""></script><script src="/wiki/_next/static/Ie9t5zutrXP6Of75Cb5xF/_ssgManifest.js" async=""></script></body></html>