Giter VIP home page Giter VIP logo

agenda's Introduction

Interactive agenda in the console

This Python script reads an org agenda file (i.e. a regular org file with some active dates) and displays an interactive and colored year calendar with detailed information for each day when the mouse hovers a specific date. Else, it shows event for the current week.

Usage

./agenda agenda.org --holidays France

Dependencies

pip install orgparse  # See https://github.com/karlicoss/orgparse
pip install holidays  # See https://github.com/dr-prodigy/python-holidays

Example output

agenda's People

Contributors

jgarte avatar rougier avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

agenda's Issues

Include SCHEDULED items in agenda

Hi, thanks for the great tool!
I understand that "deadline" and "scheduled" mean specific things in org-agenda.
When I plan my day out, I tend to use "scheduled" items to block of specific times of the day. I would like these to show up in the agenda as well.

Currently, I have naively duplicated the "deadline" logic on line 183 of agenda.py and replaced deadline with "scheduled" and it does what I want.

if node.scheduled:
    d = node.scheduled.start
    key = d.year, d.month, d.day
    day_events = self.events.get(key, [])
    day_events.append( Event(heading, node.scheduled.start, special=True) )
    self.events[key] = day_events

However, it would be nice to have features (colors maybe) to distinguish deadlines and scheduled items in the terminal.
Any thoughts on this?
Thanks!

Exception outside screen

When the window is bigger than the graphics, I get an exception:

UnicodeDecodeError: 'utf-8' codec can't decode byte 0x82 in position 4: invalid start byte

when cursor goes to the right side, outside the region of the calendar.

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.