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.17.tar.gz (18.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

todoist_python-0.2.17-py2.py3-none-any.whl (18.8 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

File hashes

Hashes for todoist-python-0.2.17.tar.gz
Algorithm Hash digest
SHA256 510bcf5f153fabe2869053ba1dd6182367ef14a26efc73688074cf52176a16ef
MD5 c9cc9fede829eff801a955a6332d01c4
BLAKE2b-256 f94b4e5535915c9c7af8f44635a567bbd7d2eb259e9499dbe16c201f1ed41fe0

See more details on using hashes here.

File details

Details for the file todoist_python-0.2.17-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for todoist_python-0.2.17-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 7f5c892bc24c94ba0cafecf487b6b5f3787b4d0c3d40871b04aad57993202b0e
MD5 6b2cb43ad0498e54c55fcbb75f97b1ef
BLAKE2b-256 e4f7d2109fcfc2185a2753f7add62f3e6a5e7679bdce2d3dbd0c731a6d2dfb8c

See more details on using hashes here.

Supported by

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