Giter VIP home page Giter VIP logo

grading's People

Contributors

lukasjuhrich avatar

Watchers

 avatar  avatar  avatar

grading's Issues

Add git to the workflow

Automatically staging / tagging / committing would be very helpful.

However, to actively add git to the workflow, security mechanisms such as checking the directory is clean (nothing staged already) etc. have to be added!

Smart mail author

If something like „noreply“ is in the From: header, take the value of Reply-To:.

Simplify mail collection

Instead of capturing the date and returning the _mail namedtuple, directly parsing the mail would be easier, since that will be done in every following procedure (such as list_mails, iter_attachments) anyway.

Send mails

Automatically sending mails would be convenient.

If wanted, select the mail-id of the extraction as the In-Reply-To-Header.

Use click

click appears to be a great python library for building CLIs. I should use it.

Raise instead of exit

I do not think it is good to call exit(1) in arbitrarily deep functions. Exits should be handled by some global instance, not by isolated functions. Those should perhaps raise a RuntimeError or similar, which is then catched and formatted nicely.

Guess person by levenstein distance

When extracting attachments, it would be easy to guess the correct person from the From: header.

A safety requirement could be to require the second-least distant string to have at least 5% greater distance than the closest one. Thi is helpful if e.g. there are two persons of a similar name (e.g. Christoch Schmidt vs. Christof Schmidt)

Extract archives

Intelligently recognize and extract archives.

Premium: If there are files plus an archive (and the archive doesn't have a top-level-folder), use a subfolder.

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.