Skip to main content

# 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 $ python >>> import todoist >>> api = todoist.TodoistAPI() >>> user = api.login('john.doe@gmail.com', 'secret') >>> print(user['full_name']) John Doe >>> response = api.sync(resource_types=['all']) >>> for project in response['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 0.2.20

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 0.2.20
File Size Uploaded Provenance Actions
todoist-python-0.2.20.tar.gz 18.8 kB Without provenance Details for todoist-python-0.2.20.tar.gz

Release files / todoist-python-0.2.20.tar.gz

Download URL todoist-python-0.2.20.tar.gz
Size 18.8 kB
Tags Source
SHA-256 checksum
How to use checksums
6c5d306895d4a9705e0fc8d07ae03781e5baf04a357b75e1b2ee08004faddac3
BLAKE2b-256 checksum
How to use checksums
50e9a0f055b50112b1981d8b87830ad5c087dfbab49dc5a7949d7a550a53353e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for todoist-python 0.2.20

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

0.2.20 This release

1 release file 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