things-py 0.0.1__tar.gz → 0.0.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {things.py-0.0.1 → things.py-0.0.2}/PKG-INFO +1 -1
- {things.py-0.0.1 → things.py-0.0.2}/setup.py +1 -1
- {things.py-0.0.1 → things.py-0.0.2}/things/api.py +5 -4
- {things.py-0.0.1 → things.py-0.0.2}/things.py.egg-info/PKG-INFO +1 -1
- {things.py-0.0.1 → things.py-0.0.2}/README.md +0 -0
- {things.py-0.0.1 → things.py-0.0.2}/setup.cfg +0 -0
- {things.py-0.0.1 → things.py-0.0.2}/tests/__init__.py +0 -0
- {things.py-0.0.1 → things.py-0.0.2}/tests/test_things.py +0 -0
- {things.py-0.0.1 → things.py-0.0.2}/things/__init__.py +0 -0
- {things.py-0.0.1 → things.py-0.0.2}/things/database.py +0 -0
- {things.py-0.0.1 → things.py-0.0.2}/things.py.egg-info/SOURCES.txt +0 -0
- {things.py-0.0.1 → things.py-0.0.2}/things.py.egg-info/dependency_links.txt +0 -0
- {things.py-0.0.1 → things.py-0.0.2}/things.py.egg-info/top_level.txt +0 -0
|
@@ -20,7 +20,7 @@ AUTHOR = "Alexander Willner, Michael B."
|
|
|
20
20
|
AUTHOR_MAIL = "alex@willner.ws"
|
|
21
21
|
DESCRIPTON = "A simple Python 3 library to read your Things app data."
|
|
22
22
|
URL = "https://github.com/thingsapi/things.py"
|
|
23
|
-
VERSION = "0.0.
|
|
23
|
+
VERSION = "0.0.2"
|
|
24
24
|
DATA_FILES = package_files('')
|
|
25
25
|
OPTIONS = {
|
|
26
26
|
'argv_emulation': False,
|
|
@@ -381,16 +381,17 @@ def inbox(**kwargs):
|
|
|
381
381
|
def today(**kwargs):
|
|
382
382
|
"""
|
|
383
383
|
Note: This might not produce desired results if the Things app hasn't
|
|
384
|
-
been opened yet today
|
|
385
|
-
|
|
386
|
-
reflected here by the API.
|
|
384
|
+
been opened yet today and the yellow "OK" button clicked for new tasks.
|
|
385
|
+
In general, you can assume that whatever state the Things app was in
|
|
386
|
+
when you last opened it, that's the state reflected here by the API.
|
|
387
387
|
"""
|
|
388
388
|
database = pop_database(kwargs)
|
|
389
389
|
if not database.was_modified_today():
|
|
390
390
|
print(
|
|
391
391
|
"[NOTE] The results reflect the state of the Things app "
|
|
392
392
|
"when it was last run. If the results seem out of date, "
|
|
393
|
-
"then run the Things app
|
|
393
|
+
"then run the Things app and click the yellow 'OK' button "
|
|
394
|
+
"to update Today's to-dos and projects.",
|
|
394
395
|
file=sys.stderr,
|
|
395
396
|
)
|
|
396
397
|
return tasks(
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|