Skip to content

kaiwen98/artbook_generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Artbook Generator

Introduction

This project aims to derive a compilation of PDF files that are seeded off a PSD file or various PNG assets. It aims to programmatically generate an artbook off the submission of various artists towards Extravaganza 2022, a national youth illustration competition.

Dependencies

  1. Python 3.10
  2. At least 5GB of spare memory (To cache PDFs)
  3. Poppler, which is a depedency for pdfToImage. You can install it via the instructions in this link.
  4. A google developer account set up with an application. Look up on how to get started with:
    1. GSpread
    2. PyDrive
  5. Secret files :-)

Installation

  1. Clone this repository.
  2. Create a python virtual environment and activate it.
  3. Install dependencies via pip install -r requirements.txt
  4. Run the code via python app.py

Refreshing GDrive token

  1. Delete ./credentials.json
  2. Rerun the code

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages