nautilor / python-project-structure

a simple python script to create a folder/file structure for my projects

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Python Project Structure

This is a tool I use to create a base structure for my python project

Installation

Download the repo and move the file pps.py in your local bin or in /usr/bin/

cp pps.py ~/.local/bin/pps
chmod +x ~/.local/bin/pps
sudo cp pps.py /usr/bin/pps
sudo chmod +x /usr/bin/pps

Usage

just run the script with the -p argument providing a project name

pps -p example_project

Arguments

-p/--profile -> The project name to create

The result

if the project is created succesfully you will have a structure like this one

running pps -p example

folder_structure

Some outputs

Project created

project_created

Duplicated Module

project_created

Duplicated Sub Module

project_created

Project exists

project_created

TODO

  • Add argument to load a different configuration if passed

About

a simple python script to create a folder/file structure for my projects


Languages

Language:Python 100.0%