Coder Social home page Coder Social logo

dsgen's Introduction

DSGen

DSGen, a simple exam generator (DS as in devoir surveillé which basically means exam in french)

Features :

  • Exam Generation :

    after selecting lessons to be included in the exam, the user can choose whether they want the document outputted to be an exam (DS) or an exercise sheet (TD) (both base tex documents for these two forms should be written by user and put in the "examples/" directory. I provided an example DS tex file but it can be changed or modified to ones liking) and then input the amount of exercises the end document should have and click on select, this goes into the database and selects $n$ number of exercises related to lessons selected on the left, and outputs said exercises on the right. the output tex file is generated when the button generate pdf is clicked.
  • Lesson and Exercise management

    this page allows you to input or delete any number of lessons or exercises the user wants to.
    • exercice ID : a name the user can give their exercise
    • exercice Lesson : the main lesson in the exercise
    • exercice tags : less important lessons that are also in the exercise
    • exercise path : the path to the exercise relative to this current directory

please note that any change done to the lessons or exercises will only show up when DSGen is closed and reopened.

Dependencies :

  • anything in the requirements.txt file
  • texlive-latexextra package, so if you're on arch, run:

    sudo pacman -S texlive-latexextra

Installation :

  • clone the repo :
git clone <git-url>
cd DSGen
  • Install python and dependencies that are in "requirements.txt" with pip

  • Run

python dbinit.py

to initialize the database.

python main.py

dsgen's People

Contributors

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