Coder Social home page Coder Social logo

timetable-generator's Introduction

TimeTable-Generator

Console program written in Python 3 that generates all posible time arrangenments for subjects given a JSON file with the options

Files you need

In orfer to run the program you need a JSON file with correct format (last section) inside Resources

How to run

In order to run the program you must have installed Python 3. Then you simply run:

python TimeTableGenerator.py jsonFileName initialTime finalTime

Where jsonFileName is the file name of the JSON file inside folder "Resources" with the posible choices for the subjects (More on this in next section). The parameters initalTime and finalTime are a way of choosing only the tables that have all the subjects between those times.

JSON File

For this program to work you need to create a folder called Resources and include inside of it a JSON file. This file will have all subjects with all the posible time intervals. The format to use is the one in Resorces/jsonTemplate.json. Where module can be {"Teórico, "Práctico", "Teo-Pra", "Consulta"}, both initialTime and finishTime are given by a 24 hour representation and days can be {"Lunes", "Martes", "Miércoles", "Jueves", "Viernes"}.

Dependencies

This program uses openpyxl.

TODO

There's still a lot of work to do, but the main ones right now are:

  • Automate JSON file creation with either a UI or cmd prompts.
  • Fix language variations on days and modules.

timetable-generator's People

Contributors

francocuevas444 avatar

Watchers

 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.