Coder Social home page Coder Social logo

timetable-classes's Introduction

TimetableExcelParser

Description

Parses timetable of classes (input .xlsx file) to .xlsx file.

Optional arguments:

-i, --input - input .xlsx file
-o, --output - output .xlsx file
-k, --kvant - move "special" lessons to the field under the date
-d, --date - write information about days between current dates
-l, --logs - logfile (default - logs.txt)

Usage

WARNING: When installed on windows requires python3 as 'python' in '%PATH" variable

  • git clone https://github.com/Nikshepel/timetable-classes.git
  • cd timetable-classes
  • Depending on the system: ./build_for_linux or powershell .\build_for_win.ps1
    Сreated executable file will be located in TimetableExcelParser/dist/
  • TimetableExcelParser [-i, --input <input_xlsx> [-o, --output <output_xlsx>] [-d, --dates "dd.mm:dd.mm"] [-k, --kvant] [-l, --logs <logfile>]

Example

This command converts timatable.xlsx to output.xlsx. Logfile logs.txt with information about skipped cells will be created in current folder:

TimetableExcelParser -i timatable.xlsx -o output.xlsx

This command converts timatable.xlsx to output.xlsx with lessons from specified time period, where 'special lessons' will be in the cell below the date:

TimetableExcelParser -i timatable.xlsx -o output.xlsx -k -d '10.01:15.9'

Option -d can be specified as:

-d '01.01:10.12'
-d '1.01:10.12'
-d ' 1.1 : 10.12 '
-d ' 1 января : 10 декабря '
-d ' 01 января : 09 декабря '

timetable-classes's People

Contributors

lpshkn avatar vnkrtv avatar

Watchers

 avatar

Forkers

vnkrtv

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.