Giter Site home page Giter Site logo

rdrhc_calendar's Introduction

RDRHC Calendar Generator

A specialized program to create an iCal file from a Microsoft Excel schedule.

Initial Setup (Development)

  1. Install the virtual environment
pipenv install --dev
  1. Create the required config file - you may copy the example config located at /config/.rdrhc_calendar.cfg.
  2. Update the config file to specify all the required details (as outlined in the example config file.

Running Program

pipenv run python run.py path_to_config_file

Testing

Unit tests for this application can be run via the standard pytest commands:

# Standard testing
pipenv run pytest

# Tests with coverage reporting
pipenv run pytest --cov=modules --cov-report=xml

All reports can be placed in the reports folder, whose contents are excluded from source control.

Linting

Linting for this application can be run with the following commands:

# Linting via Pylint (Excluding Tests)
$ pipenv run pylint run.py modules/

# Linting via Pylint (Tests Only)
$ pipenv run pylint tests/ --min-similarity-lines=20

# Linting via Pycodestyle
$ pipenv run pycodestyle run.py modules/ tests/

rdrhc_calendar's People

Contributors

studybuffalo avatar robotbuffalo avatar dependabot[bot] avatar

Watchers

 avatar

rdrhc_calendar's Issues

Review handling of X shifts

X shifts right now are not included in the "group by date" of the new schedule. Need to review why that is and make sure it is not causing any issues.

Determine way to track notification of Null shifts

Null shifts (ones on the schedule, but are not actually associated with schedule times) are removed during the schedule extraction and formatting. Because of this, they are not uploaded to the database and there is no way to determine if a null shift has been detected before and user notified. Also may want to always notify them of null shifts given the risk of missing a shift. Could also make it a user option.

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.