Skip to content

Create an empty python project with one command. It also makes a remote repository automatically and pushes your empty project there

License

Notifications You must be signed in to change notification settings

BenjaminSimonis/AutomatedPythonProjectCreation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Automated Python Project Creation

This little project helps you to create a standard structure for a python project. Also it creates a GitHub repository and makes an initial commit.

At this time, this is tested on Linux and works with Python3.

Structure

├── app
│   └── __init__.py
├── data
│   └── __init__.py
├── __init__.py
├── logs
│   ├── error.log
│   └── __init__.py
├── README.md
└── test
    └── __init__.py

Setup

pip3 install -r requirements.txt

# Edit Constants
vim constants.py

# Edit absolute path
vim git_ini.sh

chmod +x git_ini.sh

echo 'alias create="source /path/to/git_ini.sh && create"' >> ~/.bashrc

source ~/.bashrc

Usage

# Create local python project without remote repository
create $PROJECTNAME

# Create python project with remote repository in GitHub
create $PROJECTNAME gh

# Create python project with remote repository in your GitLab
create $PROJECTNAME gl

About

Create an empty python project with one command. It also makes a remote repository automatically and pushes your empty project there

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published