Giter Club home page Giter Club logo

pygen's Introduction

PYGEN

Command-line python project generator

NOTE: these instructions presume prior knowledge of basic command line instructions and (obviously) Python already being installed.

Pygen creates a simple file structure for new Python projects at a directory of your choice! To get started, follow these steps (this assumes prior knowledge of basic command line functions):

  1. Clone this repo and change directory into the root 'pygen' folder. So the command line should be something like this:
    /your/path/pygen
  2. In that same level as the root project folder, create a new .env file. When created, add the following line inside the file:
    DEST_PATH=Your_Directory_Here
    Your_Directory_Here will instead be the ABSOLUTE PATH of where you want to save your folder at. (No quotation marks are needed).
    e.g.: DEST_PATH=C:\Documents\PythonProjects
  3. In the command line again, run the package installer with the line:
    pip install -r requirements.txt
    This will install any necessary python libraries (in this case, only the python-dotenv library is required. This library is needed to pull the info from the .env file!
  4. Now, with the command line at the root directory of 'pygen', run the command:
    python pygen your-folder-name
    It will then save a new directory at the specified path from the DEST_PATH variable with the name of "your-folder-name"
  5. After being run, the program will output a path (after the line saying "You can peep the file here). Navigate to the new folder to find a new project waiting for you! :D

pygen's People

Contributors

anartisticengineer avatar

Watchers

 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.