Git Product home page Git Product logo

sop_gen's Introduction

Statement of Purpose (SOP) Generator -- docx version (DansonGo 5)

A simple module for generating a bunch of SOPs for different schools.

Description

Using the same content framework, the package will generate multiple SOPs for different schools by replacing the school and program names with the target school and program in the statement.

Alt Text

Prerequisites

How to use (Mac)

Method 1: Run as package

Step 1: Pip Install package from your terminal

pip install DansonGo-5

Step 2: Generate SOPs

from SOP_GEN.GEN_SOP import GEN_SOP
import os

# Initial parameters
school_list = "~/school_list.xlsx" # The excel file path of your school and program list
SOP_temp_file = "~/SOP_template.docx" # The docx file path of your SOP template.
School_var = "School" # The column name where school names are saved in your school list.
Program_var = "Program" # The column name where program names are saved in your school list.
output_path = os.getcwd() # Output path where you want to save your output files.

# Generate SOPs
GEN_SOP(school_list,SOP_temp_file,School_var,Program_var,output_path).gen_sop()

Method 2: Run from terminal

Step 1: Clone the SOP_GEN from GitHub.

Step 2: Run "GEN_SOP.py" in terminal from the folder that contains "GEN_SOP.py" and two prerequisite files.

  1. Rename your school list excel file as "school_list.xlsx".

  2. In "school_list.xlsx", please make sure that the school and program column names are "School" and "Program", respectively. (TAKE CARE OF THE FIRST CAPITAL LETTER)

  3. Rename your docx as "SOP_template.docx"

  4. In your "SOP_template.docx", please label the school position as "[SCHOOL_NAME]". Please label the program position as "[PROGRAM_NAME]"

  5. Run the command below from terminal

python GEN_SOP.py

Contributor

sop_gen's People

Contributors

gen-li avatar

Stargazers

 avatar  avatar

Watchers

 avatar  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.