Git Product home page Git Product logo

classmates-pdf's Introduction

Classmates Project: PDF Generator

Quick Start

Note: You should pass your data in in directory and your output file will be written to out directory.

You should follow the template of input and output in the in and out directory.

Docker

A dockerfile is provided. You can build the container and run with the following instructions:

  1. docker build -t classmates-pdf .
  2. docker run --rm -v $(PWD)/in:/in -v $(PWD)/out:/out classmates-pdf

Install Manually

Prerequisite: python3 (test on python3.8).

  1. python3 -m pip install -r src/requirements.txt: install dependency.
  2. python3 src/main.py: run.

As a Component of Classmates Project

We also implement several things to connect with the Classmates projects:

  1. redis as a message queue.
  2. Retrieve and upload data from MySQL Database.
  3. Upload pdf to cloud storage.
  4. Send email to notify users.

Developers

Feel free to modify python codes. You may need to pay attention to the licenses of the fonts.

Contact

Contact me on [email protected].

classmates-pdf's People

Contributors

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