Skip to content

prof-rossetti/python-repo-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Project Name Here

Instructions

This is a template repository for Python applications. Feel free to use this as your starting point, instead of creating a repository from scratch.

You'll probably want to update this README file by:

  1. Specifying your project name for the top level heading (above),
  2. Changing the virtual environment name in the "Setup" section below (in both the creation and activation commands),
  3. Updating the "Configuration" section to reflect any environment variables you may be using (or remove if not using env vars),
  4. Updating the contents of the "requirements.txt" file to reflect the packages you're using in your project, and also
  5. Creating your own Python files in the app directory, and updating the "Usage" section below accordingly.

When you're done, remove this entire "Instructions" section from the README file.

Setup

conda create -n project-xyz-env python=3.10

conda activate project-xyz-env

Install package dependencies:

pip install -r requirements.txt

Configuration

Create a new file in the root directory called ".env", and populate its contents:

# this is the ".env" file...

USER_NAME="Your Name"
PASSWORD="super secret"

Usage

Run the example script:

python app/my_script.py

# ... OR ...

python -m app.my_script

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages