Skip to content

A Docker Container for Todoist Python Library

License

Notifications You must be signed in to change notification settings

roundpartner/docker-todoist-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Docker Build Docker pulls

Todoist Python

A Docker Container for Todoist Python Module

Creating A Docker Container

In your project create an app.py script

import todoist

api = todoist.TodoistAPI('secret_api_key')
response = api.sync()
for project in response['projects']:
     print(project['name'])

Then add your python application to your Dockerfile

FROM imacatlol/todoist-python
WORKDIR /usr/src/app
COPY . .
CMD [ "python", "./app.py" ]

Build the Docker Container

docker build -t todoist .

Then run the Container

docker run -it --rm --name todoist-app todoist

About

A Docker Container for Todoist Python Library

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published