A simple module for generating a bunch of SOPs for different schools.
Project description
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.
Prerequisites
- An excel that includes school names and program names (e.g., school_list.xlsx)
- A docx file of your statement template (e.g., SOP_template.docx)
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.
-
Rename your school list excel file as "school_list.xlsx".
-
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)
-
Rename your docx as "SOP_template.docx"
-
In your "SOP_template.docx", please label the school position as "[SCHOOL_NAME]". Please label the program position as "[PROGRAM_NAME]"
-
Run the command below from terminal
python GEN_SOP.py
Contributor
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file DansonGo 5-0.0.21.tar.gz
.
File metadata
- Download URL: DansonGo 5-0.0.21.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3779de3a152b41f47e49a03e1e9c593e3bef00e4be7db764dd2c4593b565dced |
|
MD5 | 976f74ec32f1ae8089e152ef7815e016 |
|
BLAKE2b-256 | 4389562f76c97517729781b07d61e77e17b1244e5d88dc70baebfdaf4f1d0edb |
File details
Details for the file DansonGo_5-0.0.21-py3-none-any.whl
.
File metadata
- Download URL: DansonGo_5-0.0.21-py3-none-any.whl
- Upload date:
- Size: 3.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb14d7f381b1cded9681e02e5595a4992a0f9534770ad4cfc09f89c9bed5bf84 |
|
MD5 | 5142a7a1dbe1842032d5f1eb0b2e9cf8 |
|
BLAKE2b-256 | 53a67db8734501396e002036b3675c22b650ad02feeb8bc223340f89e25dfa80 |