Skip to content
This repository has been archived by the owner on Mar 30, 2022. It is now read-only.

Template repo for Python-based research projects

Notifications You must be signed in to change notification settings

allenai/python-project-template

Repository files navigation

python-project-template

This is a template repository for Python-based research projects.

Usage

  1. Create a new repository from this template with the desired name of your Python project.

  2. Change the name of the my_project directory to the name of your repo / Python project.

  3. Replace all mentions of my_project throughout this repository with the new name.

    On OS X, a quick way to find all mentions of my_project is:

    find . -type f -not -path './.git/*' -not -path ./README.md -not -path './docs/build/*' -not -path '*__pycache__*' | xargs grep 'my_project'

    There is also a one-liner to find and replace all mentions my_project with actual_name_of_project:

    find . -type f -not -path './.git/*' -not -path ./README.md -not -path './docs/build/*' -not -path '*__pycache__*' -exec sed -i '' -e 's/my_project/actual_name_of_project/' {} \;
  4. Update the README.md.

  5. Commit and push your changes, then make sure all CI checks pass.

About

Template repo for Python-based research projects

Resources

Stars

Watchers

Forks

Languages