Skip to main content

todoist-python - The official Todoist Python API library

Project description

# todoist-python - The official Todoist Python API library

## How to get started

Requirements:

Clone the repo:

$ git clone git@github.com:Doist/todoist-python.git

Create an environment:

$ virtualenv –system-site-packages -p /usr/bin/python2.7 Env

Activate the environment:

$ source Env/bin/activate

Install the library along with all the dependencies (so far we depend on awesome requests only):

$ pip install -e .

If you want to build the documentation as well, install some extra packages:

$ pip install -r doc/requirements.txt

Build the documentation:

$ (cd doc ; make html)

Read the built documentation by opening:

doc/_build/html/index.html

Import the library and try some commands:

$ python […] >>> import todoist >>> api = todoist.TodoistAPI() >>> api.login(‘me’, ‘secret’) […] >>> api.ping(‘mytoken’) […] >>> api.get() […]

## Testing the library

We have a set of tests to ensure we support Python both 2.x and 3.x. To test it out, please make sure you have python 2.7 and python 3.4 installed in you system. Then install “tox” either globally (preferred way) or in your local environment.

# apt-get install python-tox

or

$ pip install tox

Then just type

$ tox

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

todoist-python-0.2.4.tar.gz (10.3 kB view details)

Uploaded Source

File details

Details for the file todoist-python-0.2.4.tar.gz.

File metadata

File hashes

Hashes for todoist-python-0.2.4.tar.gz
Algorithm Hash digest
SHA256 94089b15e7331cac049bf8e2beccd29ce032a7ba0278fe91aa69a6fd3863dcff
MD5 66b186a03017e1cfdf98c3991ccaabac
BLAKE2b-256 ec0239c9de305e6f97c983ad4caf8d82b9a6c1dd524c4eeb17c9666cdde1e6ef

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page