Giter Site home page Giter Site logo

pyomni's Introduction

pyomni

Python library to manipulate Omnifocus tasks.

Available function

  • Add task to inbox

How to use

Install via pip

$ pip install pyomni

Sample code

from pyomni import PyOmni
from pyomni import OmniTask

if __name__ == "__main__":

    # Create PyOmni Instance
    po = PyOmni("username", "password")

    # Create task to add
    task = OmniTask("Sample task to add")

    # Call add_task method
    po.add_task(task)

https://rawgit.com/taxpon/pyomni/master/resources/inbox.jpg

Reference

License

  • MIT

pyomni's People

Contributors

taxpon avatar

Stargazers

 avatar Marco Naylon avatar  avatar Pyunghyuk Yoo avatar Matt Vogel avatar  avatar  avatar  avatar Michael Bond avatar  avatar EmD avatar  avatar  avatar

Watchers

James Cloos avatar  avatar  avatar

Forkers

codemonkey85

pyomni's Issues

Installation error

Hi. When I use pip to install de package, I get an error message. I'm using anaconda.

(base) MBPdeBenedetto:~ jmbenedetto$ pip install pyomni==0.1.6.1
Collecting pyomni==0.1.6.1
Using cached pyomni-0.1.6.1.tar.gz (43 kB)
ERROR: Command errored out with exit status 1:
command: /Users/jmbenedetto/anaconda3/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/29/7tn4pd3n0_s98m6p6z0cjlvm0000gn/T/pip-install-v1bex1my/pyomni/setup.py'"'"'; file='"'"'/private/var/folders/29/7tn4pd3n0_s98m6p6z0cjlvm0000gn/T/pip-install-v1bex1my/pyomni/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/29/7tn4pd3n0_s98m6p6z0cjlvm0000gn/T/pip-pip-egg-info-i1etf175
cwd: /private/var/folders/29/7tn4pd3n0_s98m6p6z0cjlvm0000gn/T/pip-install-v1bex1my/pyomni/
Complete output (12 lines):
Traceback (most recent call last):
File "", line 1, in 
File "/private/var/folders/29/7tn4pd3n0_s98m6p6z0cjlvm0000gn/T/pip-install-v1bex1my/pyomni/setup.py", line 3, in 
import pyomni
File "/private/var/folders/29/7tn4pd3n0_s98m6p6z0cjlvm0000gn/T/pip-install-v1bex1my/pyomni/pyomni/init.py", line 2, in 
from pyomni.pyomni import PyOmni
File "/private/var/folders/29/7tn4pd3n0_s98m6p6z0cjlvm0000gn/T/pip-install-v1bex1my/pyomni/pyomni/pyomni.py", line 10, in 
from pyomni.webdav.WebdavClient import CollectionStorer
File "/private/var/folders/29/7tn4pd3n0_s98m6p6z0cjlvm0000gn/T/pip-install-v1bex1my/pyomni/pyomni/webdav/WebdavClient.py", line 885
except AuthorizationError, e:
^
SyntaxError: invalid syntax
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.