Git Product home page Git Product logo

naive-cookiecutter's Introduction

naive_cookiecutter—just a naive cookiecutter to bootstrap Python project

Date: August 22, 2022

Documentation Status image1

GitHub Actions Coverage Status image2 Codacy Code Quality Status Scrutinizer Status CodeClimate Quality Status

Supported versions Supported implementations PyPI Wheel

PyPI Package latest release GitHub Releases Development Status Downloads

Commits since latest release License

naive_cookiecutter is just a naive cookiecutter to bootstrap Python project.

NEW_NAME=...
NEW_VERSION=...
NEW_YEAR=...
NEW_NAME_UPPER="$(echo $NEW_NAME | tr '[:lower:]' '[:upper:]')"
find . \! -path '*/.git/*' -type f -exec sed -i "s/naive_cookiecutter/$NEW_NAME/g" {} +
find . \! -path '*/.git/*' -type f -exec sed -i "s/NAIVE_COOKIECUTTER/$NEW_NAME_UPPER/g" {} +
find . \! -path '*/.git/*' -type f -exec sed -i "s/0.1.0/$NEW_VERSION/g" {} +
find . \! -path '*/.git/*' -type f -exec sed -i "s/2021–2022/$NEW_YEAR/g" {} +
mv src/naive_cookiecutter "src/$NEW_NAME"
mv tests/test_naive_cookiecutter.py "tests/test_$NEW_NAME.py"
  • update title in
    • docs/README.md
    • pyproject.toml

Optionally also sed

rsync -av --stats --exclude .git ./ $TARGET_GIT_REPO_DIRECTORY

naive-cookiecutter's People

Contributors

ickc avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.