Skip to main content

# todoist-python - The official Todoist Python API library

## How to get started

Requirements:

Clone the repo and enter it:

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

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 $ python >>> import todoist >>> api = todoist.TodoistAPI('0123456789abcdef0123456789abcdef01234567') >>> api.sync() >>> full_name = api.state['user']['full_name'] >>> print(full_name) John Doe >>> for project in api.state['projects']: ... print(project['name']) ... Personal Shopping Work Errands Movies to watch `

## 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

Metadata

Release files for todoist-python 8.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for todoist-python 8.0.0
File Size Uploaded Provenance Actions
todoist-python-8.0.0.linux-x86_64.tar.gz 28.8 kB Without provenance Details for todoist-python-8.0.0.linux-x86_64.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for todoist-python 8.0.0
File Interpreter ABI Platform Actions
todoist_python-8.0.0-py2.py3-none-any.whl Python 3, Python 2 none any Details for todoist_python-8.0.0-py2.py3-none-any.whl

Total release size: 50.4 kB

Release files / todoist-python-8.0.0.linux-x86_64.tar.gz

Download URL todoist-python-8.0.0.linux-x86_64.tar.gz
Size 28.8 kB
Tags Source
SHA-256 checksum
How to use checksums
2a0b297b768dc57089c8245153892020eb1e4f2541c6cce1d5aea9e004d07bfb
BLAKE2b-256 checksum
How to use checksums
4da34088e5ef7a028f9bd9710d7ed6da392d8816f5d9ed675181e4f35779274d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.1.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.13

Release files / todoist_python-8.0.0-py2.py3-none-any.whl

Download URL todoist_python-8.0.0-py2.py3-none-any.whl
Size 21.6 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
69df6f2c659ca341ceb6ff137bf87ba32df8a3b07686d01eeae4c5daa6a26646
BLAKE2b-256 checksum
How to use checksums
0f16863f9ea5bfc02f2924f38d263b857c24ebcf522b275e503c448fb316cf3d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.1.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.13

Security for todoist-python 8.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

8.0.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page