Coder Social home page Coder Social logo

todoist_tools's Introduction

Overview

This packages implements some helpers for the Todoist service : https://todoist.com

Export projets

Allow to export all projects to a TEXT file, a JSON file or an HTML file.

Todoist creates automatic backup every day and allow to download them, but it's only for Premium users !

This script allow to create local backups from a Todoist account, using the official Todoist Python API library.

Requirements

Tested with Python 3.5

Install

First create and activate a virtualenv:

virtualenv -p <path-to-python> todoist
git clone [email protected]:sylvainb/todoist_tools.git
cd todoist_tools
pip install -e .

How to : Export projects

With the command line

Configure your Todoist credentials (username and password):

cd todoist_tools
cp src/todoist_tools/config.ini.sample src/todoist_tools/config.ini
vi src/todoist_tools/config.ini

Then:

cd src/todoist_tools
python projects.py --help
python projects.py --dirpath=/tmp --format=txt
python projects.py --dirpath=/tmp --format=json
python projects.py -d=/tmp -f=html

With the Python interpreter

from todoist_tools.projects import ProjectsExport
export = ProjectsExport('todoist_email', 'todoist_password')
export.to_text('./todoist.txt')
export.to_json('./todoist.json')
export.to_html('./todoist.html')

Credits

Sylvain Boureliou [sylvainb] - Github - Website

Source code

Source code is hosted on Github.

How to contribute and submit a patch ?

Source code and an issue tracker is hosted on Github.

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.