{ "info": { "author": "Marcin Kasperski", "author_email": "Marcin.Kasperski@mekk.waw.pl", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "Programming Language :: Python", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": ".. -*- mode: rst; coding: utf-8 -*-\n\n===========\nmekk.nozbe\n===========\n\n``mekk.nozbe`` wraps (noticeable parts of) Nozbe_ API as Python\nfunctions. \n\nIt uses both old, officially published API\n(http://www.nozbe.com/gtd/api) and new (not yet officially docunented)\n\"Sync API\". Neither of those APIs is fully covered (the module\nsupports the functions which were working at early 2009 and which I\nneeded), but still I succesfully use the library to extract projects,\ncontexts and tasks from Nozbe and to create new (or update existing)\nitems.\n\nThe code is currently using Twisted network interface (that means\nreturning deferreds etc). Well, I like Twisted. *I consider providing\nurllib-based synchronous API as an alternative, just need some\nmotivation.*\n\nnozbetool\n=========\n\nApart from the library, nozbetool script is bundled. Run::\n\n nozbetool --help\n\nfor details. Most common usages::\n\n nozbetool export --csv=file.csv --user=YourNozbeUsername\n\n(export to .csv) or::\n\n nozbetool export --json=file.json --user=YourNozbeUsername --completed\n\n(export to .json, completed actions are included).\n\nNote: only .json export contains notes!\n\nDevelopment\n===========\n\nDevelopment is tracked on http://bitbucket.org/Mekk/mekk.nozbe/\n\n.. _Nozbe: http://www.nozbe.com\n\nExample\n========\n\nSome simple example::\n\n from mekk.nozbe import NozbeApi, NozbeConnection\n from twisted.internet import reactor, defer\n\n # API KEY servers as an authentication token. \n # Check for your own at Nozbe extras page (http://www.nozbe.com/account/extras).\n # Note that publishing it is equivalent to publishing the password.\n API_KEY = \"grab your own from Nozbe\"\n\n @defer.inlineCallbacks\n def make_some_calls():\n connection = NozbeConnection(API_KEY)\n nozbe_client = NozbeApi()\n\n print \"* Some projects\"\n projects = yield nozbe_client.get_projects()\n for project in projects[:3]:\n print project\n print\n\n print \"* Some contexts\"\n contexts = yield nozbe_client.get_contexts()\n for context in contexts[:3]:\n print context\n print\n\n print \"* Some tasks\"\n tasks = yield nozbe_client.get_tasks()\n for task in tasks[:3]:\n print task\n print\n\n print \"Adding example task\"\n yield nozbe_client.add_task(\n u\"Example task made using script\",\n project_hash = projects[0]['hash'],\n context_hash = contexts[0]['hash'],\n next = 1)\n\n @defer.inlineCallbacks\n def main():\n try:\n yield make_some_calls()\n finally:\n reactor.stop()\n\n reactor.callLater(0, main)\n reactor.run()", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://bitbucket.org/Mekk/mekk.nozbe/", "keywords": "nozbe", "license": "Artistic", "maintainer": null, "maintainer_email": null, "name": "mekk.nozbe", "package_url": "https://pypi.org/project/mekk.nozbe/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/mekk.nozbe/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://bitbucket.org/Mekk/mekk.nozbe/" }, "release_url": "https://pypi.org/project/mekk.nozbe/0.4.2/", "requires_dist": null, "requires_python": null, "summary": "Nozbe interface wrapper.", "version": "0.4.2" }, "last_serial": 794671, "releases": { "0.2.0": [], "0.2.1": [ { "comment_text": "", "digests": { "md5": "5b5a2b3c3df85e9626d5bfdf77512c3b", "sha256": "96eec8d13f55849eb3eb17b5a09578e8792b70cc44b280a1b23f38033fdaf7da" }, "downloads": -1, "filename": "mekk.nozbe-0.2.1.tar.gz", "has_sig": false, "md5_digest": "5b5a2b3c3df85e9626d5bfdf77512c3b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8105, "upload_time": "2009-12-15T00:16:46", "url": "https://files.pythonhosted.org/packages/99/cd/bd3d576f45638071b8aaaf2e318452cf890574040d396109753e72f5a7c1/mekk.nozbe-0.2.1.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "35d9305a8cece7b6acffd25d33617fed", "sha256": "7af8d2855aaa54182c0b6c6f6a773934a1c4e6ad10338b4b512dc4410161f2c1" }, "downloads": -1, "filename": "mekk.nozbe-0.3.0.tar.gz", "has_sig": false, "md5_digest": "35d9305a8cece7b6acffd25d33617fed", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10012, "upload_time": "2009-12-20T12:36:26", "url": "https://files.pythonhosted.org/packages/93/f8/41d62cc6d1aba9d246e077e0cac5b13c2e9db415b435c20be618fcd55f15/mekk.nozbe-0.3.0.tar.gz" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "2d8ca517d36908d151900fe6c7bbfc63", "sha256": "25c0e4c8b36a5b11184d0159c8b701f9c8b5413b475333406bc04a85878dd57b" }, "downloads": -1, "filename": "mekk.nozbe-0.4.0.tar.gz", "has_sig": false, "md5_digest": "2d8ca517d36908d151900fe6c7bbfc63", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10553, "upload_time": "2010-10-27T23:53:56", "url": "https://files.pythonhosted.org/packages/6c/90/07a57006b176ba4c7fdbe399bd29266ad2e4272a230260595cc96761ca88/mekk.nozbe-0.4.0.tar.gz" } ], "0.4.1": [ { "comment_text": "", "digests": { "md5": "d0214e2ae93204097c6670b43eae4658", "sha256": "a135a1b32cd1cd8e12f5c50edfb752cb8b89dafb8bed60db7eb19847e561728f" }, "downloads": -1, "filename": "mekk.nozbe-0.4.1.tar.gz", "has_sig": false, "md5_digest": "d0214e2ae93204097c6670b43eae4658", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11619, "upload_time": "2010-10-29T18:55:49", "url": "https://files.pythonhosted.org/packages/36/ee/d06faa3d6e04c01384b756c722165f6f0a2eb47cdd80ef7a3571e6319e82/mekk.nozbe-0.4.1.tar.gz" } ], "0.4.2": [ { "comment_text": "", "digests": { "md5": "4c3f0a6fe4fd5e6a16b92d500edefd51", "sha256": "7526cb3357eff5684f332e8ee58e362fc6f3f2e87cbc32bbcab98a5ebc942f1c" }, "downloads": -1, "filename": "mekk.nozbe-0.4.2.tar.gz", "has_sig": false, "md5_digest": "4c3f0a6fe4fd5e6a16b92d500edefd51", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11654, "upload_time": "2010-10-29T19:10:20", "url": "https://files.pythonhosted.org/packages/1d/16/5f60e3aa47f12702c09c9a6ba6c181ba8731b641d24d94cece4891296e31/mekk.nozbe-0.4.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "4c3f0a6fe4fd5e6a16b92d500edefd51", "sha256": "7526cb3357eff5684f332e8ee58e362fc6f3f2e87cbc32bbcab98a5ebc942f1c" }, "downloads": -1, "filename": "mekk.nozbe-0.4.2.tar.gz", "has_sig": false, "md5_digest": "4c3f0a6fe4fd5e6a16b92d500edefd51", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11654, "upload_time": "2010-10-29T19:10:20", "url": "https://files.pythonhosted.org/packages/1d/16/5f60e3aa47f12702c09c9a6ba6c181ba8731b641d24d94cece4891296e31/mekk.nozbe-0.4.2.tar.gz" } ] }