nowfocus 0.2.13__tar.gz → 0.5.1__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.
Files changed (65) hide show
  1. {nowfocus-0.2.13/src/nowfocus.egg-info → nowfocus-0.5.1}/PKG-INFO +26 -32
  2. {nowfocus-0.2.13 → nowfocus-0.5.1}/README.md +21 -23
  3. {nowfocus-0.2.13 → nowfocus-0.5.1}/pyproject.toml +6 -10
  4. {nowfocus-0.2.13 → nowfocus-0.5.1}/src/nowfocus/__main__.py +217 -199
  5. {nowfocus-0.2.13 → nowfocus-0.5.1}/src/nowfocus/conf.py +46 -54
  6. {nowfocus-0.2.13 → nowfocus-0.5.1}/src/nowfocus/connectors/todotxt.py +8 -3
  7. {nowfocus-0.2.13 → nowfocus-0.5.1}/src/nowfocus/connectors/txt.py +14 -2
  8. {nowfocus-0.2.13 → nowfocus-0.5.1}/src/nowfocus/connectors/vikunja.py +16 -17
  9. {nowfocus-0.2.13 → nowfocus-0.5.1}/src/nowfocus/desktop-extras/nowfocus.desktop +1 -1
  10. {nowfocus-0.2.13 → nowfocus-0.5.1}/src/nowfocus/example-todo.txt +1 -2
  11. nowfocus-0.5.1/src/nowfocus/install.py +92 -0
  12. {nowfocus-0.2.13 → nowfocus-0.5.1}/src/nowfocus/new_task_dialog.py +3 -4
  13. {nowfocus-0.2.13 → nowfocus-0.5.1}/src/nowfocus/session_options.py +1 -1
  14. {nowfocus-0.2.13 → nowfocus-0.5.1}/src/nowfocus/settings.py +10 -51
  15. {nowfocus-0.2.13 → nowfocus-0.5.1}/src/nowfocus/styles.css +9 -11
  16. {nowfocus-0.2.13 → nowfocus-0.5.1}/src/nowfocus/task_window.py +130 -71
  17. nowfocus-0.5.1/src/nowfocus/user_idle_time.py +82 -0
  18. {nowfocus-0.2.13 → nowfocus-0.5.1}/src/nowfocus/utils.py +277 -174
  19. nowfocus-0.5.1/src/nowfocus/version_migrator.py +20 -0
  20. {nowfocus-0.2.13 → nowfocus-0.5.1/src/nowfocus.egg-info}/PKG-INFO +26 -32
  21. {nowfocus-0.2.13 → nowfocus-0.5.1}/src/nowfocus.egg-info/SOURCES.txt +3 -0
  22. {nowfocus-0.2.13 → nowfocus-0.5.1}/src/nowfocus.egg-info/requires.txt +3 -6
  23. {nowfocus-0.2.13 → nowfocus-0.5.1}/LICENSE +0 -0
  24. {nowfocus-0.2.13 → nowfocus-0.5.1}/setup.cfg +0 -0
  25. {nowfocus-0.2.13 → nowfocus-0.5.1}/src/nowfocus/__init__.py +0 -0
  26. {nowfocus-0.2.13 → nowfocus-0.5.1}/src/nowfocus/connectors/activitywatch.py +0 -0
  27. {nowfocus-0.2.13 → nowfocus-0.5.1}/src/nowfocus/connectors/caldav.py +0 -0
  28. {nowfocus-0.2.13 → nowfocus-0.5.1}/src/nowfocus/connectors/csv.py +0 -0
  29. {nowfocus-0.2.13 → nowfocus-0.5.1}/src/nowfocus/connectors/psc_timetracker.py +0 -0
  30. {nowfocus-0.2.13 → nowfocus-0.5.1}/src/nowfocus/connectors/taskwarrior.py +0 -0
  31. {nowfocus-0.2.13 → nowfocus-0.5.1}/src/nowfocus/connectors/timewarrior.py +0 -0
  32. {nowfocus-0.2.13 → nowfocus-0.5.1}/src/nowfocus/connectors/todo_template.py +0 -0
  33. {nowfocus-0.2.13 → nowfocus-0.5.1}/src/nowfocus/connectors/trello.py +0 -0
  34. {nowfocus-0.2.13 → nowfocus-0.5.1}/src/nowfocus/desktop-extras/nowfocus.png +0 -0
  35. {nowfocus-0.2.13 → nowfocus-0.5.1}/src/nowfocus/desktop-extras/nowfocus.svg +0 -0
  36. {nowfocus-0.2.13 → nowfocus-0.5.1}/src/nowfocus/icon/cancel.png +0 -0
  37. {nowfocus-0.2.13 → nowfocus-0.5.1}/src/nowfocus/icon/cancel.svg +0 -0
  38. {nowfocus-0.2.13 → nowfocus-0.5.1}/src/nowfocus/icon/edit.png +0 -0
  39. {nowfocus-0.2.13 → nowfocus-0.5.1}/src/nowfocus/icon/edit.svg +0 -0
  40. {nowfocus-0.2.13 → nowfocus-0.5.1}/src/nowfocus/icon/icon-0.svg +0 -0
  41. {nowfocus-0.2.13 → nowfocus-0.5.1}/src/nowfocus/icon/icon-1.svg +0 -0
  42. {nowfocus-0.2.13 → nowfocus-0.5.1}/src/nowfocus/icon/icon-2.svg +0 -0
  43. {nowfocus-0.2.13 → nowfocus-0.5.1}/src/nowfocus/icon/icon-3.svg +0 -0
  44. {nowfocus-0.2.13 → nowfocus-0.5.1}/src/nowfocus/icon/icon-4.svg +0 -0
  45. {nowfocus-0.2.13 → nowfocus-0.5.1}/src/nowfocus/icon/icon-5.svg +0 -0
  46. {nowfocus-0.2.13 → nowfocus-0.5.1}/src/nowfocus/icon/icon-6.svg +0 -0
  47. {nowfocus-0.2.13 → nowfocus-0.5.1}/src/nowfocus/icon/icon-7.svg +0 -0
  48. {nowfocus-0.2.13 → nowfocus-0.5.1}/src/nowfocus/icon/icon-8.svg +0 -0
  49. {nowfocus-0.2.13 → nowfocus-0.5.1}/src/nowfocus/icon/icon-9.svg +0 -0
  50. {nowfocus-0.2.13 → nowfocus-0.5.1}/src/nowfocus/icon/icon-red.svg +0 -0
  51. {nowfocus-0.2.13 → nowfocus-0.5.1}/src/nowfocus/icon/icon.svg +0 -0
  52. {nowfocus-0.2.13 → nowfocus-0.5.1}/src/nowfocus/icon/mark-done.png +0 -0
  53. {nowfocus-0.2.13 → nowfocus-0.5.1}/src/nowfocus/icon/mark-done.svg +0 -0
  54. {nowfocus-0.2.13 → nowfocus-0.5.1}/src/nowfocus/icon/pause.png +0 -0
  55. {nowfocus-0.2.13 → nowfocus-0.5.1}/src/nowfocus/icon/pause.svg +0 -0
  56. {nowfocus-0.2.13 → nowfocus-0.5.1}/src/nowfocus/icon/settings.png +0 -0
  57. {nowfocus-0.2.13 → nowfocus-0.5.1}/src/nowfocus/icon/settings.svg +0 -0
  58. {nowfocus-0.2.13 → nowfocus-0.5.1}/src/nowfocus/session_edit_dialog.py +0 -0
  59. {nowfocus-0.2.13 → nowfocus-0.5.1}/src/nowfocus/sessions.csv +0 -0
  60. {nowfocus-0.2.13 → nowfocus-0.5.1}/src/nowfocus/sound/bell-xylophone-g.mp3 +0 -0
  61. {nowfocus-0.2.13 → nowfocus-0.5.1}/src/nowfocus/sound/dinner-bell.mp3 +0 -0
  62. {nowfocus-0.2.13 → nowfocus-0.5.1}/src/nowfocus/sound/xylophone-chord.mp3 +0 -0
  63. {nowfocus-0.2.13 → nowfocus-0.5.1}/src/nowfocus.egg-info/dependency_links.txt +0 -0
  64. {nowfocus-0.2.13 → nowfocus-0.5.1}/src/nowfocus.egg-info/entry_points.txt +0 -0
  65. {nowfocus-0.2.13 → nowfocus-0.5.1}/src/nowfocus.egg-info/top_level.txt +0 -0
@@ -1,9 +1,10 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nowfocus
3
- Version: 0.2.13
3
+ Version: 0.5.1
4
4
  Summary: nowfocus: the open source task-tracking self-control panel.
5
- Author: GitFr33
6
- Project-URL: Homepage, https://gitlab.com/GitFr33/nowfocus
5
+ Author: AltruistEnterprises
6
+ Project-URL: Homepage, https://www.nowfocus.org
7
+ Project-URL: repository, https://codeberg.org/AltruistEnterprises/nowfocus
7
8
  Classifier: Programming Language :: Python :: 3
8
9
  Classifier: Operating System :: OS Independent
9
10
  Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
@@ -14,17 +15,13 @@ License-File: LICENSE
14
15
  Requires-Dist: psutil
15
16
  Requires-Dist: pygobject==3.50.0
16
17
  Requires-Dist: pycairo==1.27
17
- Requires-Dist: meson
18
- Requires-Dist: meson-python
19
18
  Requires-Dist: attrs
20
19
  Requires-Dist: caldav
21
20
  Requires-Dist: certifi
22
21
  Requires-Dist: charset-normalizer
23
- Requires-Dist: dbus-idle
24
- Requires-Dist: dbus-python
25
22
  Requires-Dist: icalendar
26
23
  Requires-Dist: idna
27
- Requires-Dist: jeepney
24
+ Requires-Dist: pywin32>=221; platform_system == "Windows"
28
25
  Requires-Dist: kitchen
29
26
  Requires-Dist: lxml
30
27
  Requires-Dist: playsound3
@@ -42,12 +39,11 @@ Requires-Dist: tzlocal
42
39
  Requires-Dist: urllib3
43
40
  Requires-Dist: vobject
44
41
  Requires-Dist: x-wr-timezone
45
- Requires-Dist: watchdog
46
42
  Dynamic: license-file
47
43
 
48
- <div align="center"><img src="https://gitlab.com/GitFr33/nowfocus/-/raw/main/nowfocus.svg" width="60" align="center">
44
+ <div align="center"><img src="https://www.nowfocus.org/android-chrome-192x192.png" width="60" align="center">
49
45
 
50
- # *nowfocus* <br> Open-source task timer for Linux
46
+ # <a href="https://www.nowfocus.org/">*Nowfocus*</a> <br> Open-source task timer for Linux
51
47
 
52
48
  **Avoid multifailing. Master your to-do lists. Track your time.**
53
49
 
@@ -102,28 +98,20 @@ nowfocus is a clean, keyboard-driven time management dashboard that flexibly con
102
98
 
103
99
  ## Installation
104
100
 
101
+ <!-- # note: gir1.2-appindicator3-0.1 can be substituted for gir1.2-ayatanaappindicator3-0.1 -->
102
+
105
103
  1. Run the following in terminal to install and setup:
106
104
  ```
107
105
  # Install dependencies
108
- sudo apt install pipx gir1.2-appindicator3-0.1 meson libdbus-glib-1-dev patchelf libgirepository1.0-dev gcc libcairo2-dev pkg-config python3-dev
109
-
110
- # note gir1.2-ayatanaappindicator3-0.1 can be substituted for gir1.2-appindicator3-0.1
106
+ sudo apt install pipx gir1.2-ayatanaappindicator3-0.1 libgirepository1.0-dev gcc libcairo2-dev pkg-config python3-dev xprintidle
111
107
 
112
108
  # Set up pipx
113
109
  pipx ensurepath
114
-
115
- # At this point you may need to source your .bashrc (or open a new terminal)
110
+ source ~/.bashrc
116
111
 
117
112
  # Install nowfocus
118
113
  pipx install nowfocus
119
114
 
120
- # Enter application directory
121
- cd ~/.local/share/pipx/venvs/nowfocus/lib/python3.12/site-packages/nowfocus/desktop-extras
122
-
123
- # Copy desktop file and icon to /usr/share
124
- sudo cp nowfocus.desktop /usr/share/applications/nowfocus.desktop
125
- sudo cp nowfocus.svg /usr/share/icons/hicolor/scalable/apps/nowfocus.svg
126
-
127
115
  # and now Focus!
128
116
  nowfocus
129
117
 
@@ -135,7 +123,6 @@ nowfocus is a clean, keyboard-driven time management dashboard that flexibly con
135
123
  ```
136
124
 
137
125
 
138
-
139
126
  3. Add the following command to your startup applications:
140
127
  ```
141
128
  nowfocus --force
@@ -174,14 +161,21 @@ Open nowfocus **Settings** from the indicator menu or tasks window and connect y
174
161
  - Start with targeted verbose logging use: `nowfocus -s trello`
175
162
 
176
163
 
177
- ## Development
178
-
179
- ### Install from Source
164
+ ## Reporting Issues
165
+ [Open an issue on Codeberg](https://codeberg.org/AltruistEnterprises/nowfocus/issues) (Please include as much detail as you can.)
180
166
 
181
- - Install dependencies from above.
182
- - Clone this repo somewhere (referred to as `YOUR_INSTALL_PATH`)
183
- - Change to `YOUR_INSTALL_PATH` directory with `cd YOUR_INSTALL_PATH/nowfocus`
184
- - build python module with `python3 -m build` (this should be done in a venv and will require some dependecies...)
185
- - pipx install -e --force YOUR_INSTALL_PATH/monotask/
186
167
 
168
+ ## Development
169
+ [Fork **nowfocus** source code on Codeberg (GPL)](https://codeberg.org/AltruistEnterprises/nowfocus/issues)
170
+
171
+ ### Install From Source
172
+ ```
173
+ git clone https://codeberg.org/AltruistEnterprises/nowfocus.git
174
+ cd nowfocus
175
+ python3 -m venv .venv/nowfocus-build
176
+ source .venv/nowfocus-build/bin/activate
177
+ pip install -r build-requirements.txt
178
+ python3 -m build
179
+ pipx install -e --force YOUR_INSTALL_PATH
180
+ ```
187
181
  <!--built with python + GTK -->
@@ -1,6 +1,6 @@
1
- <div align="center"><img src="https://gitlab.com/GitFr33/nowfocus/-/raw/main/nowfocus.svg" width="60" align="center">
1
+ <div align="center"><img src="https://www.nowfocus.org/android-chrome-192x192.png" width="60" align="center">
2
2
 
3
- # *nowfocus* <br> Open-source task timer for Linux
3
+ # <a href="https://www.nowfocus.org/">*Nowfocus*</a> <br> Open-source task timer for Linux
4
4
 
5
5
  **Avoid multifailing. Master your to-do lists. Track your time.**
6
6
 
@@ -55,28 +55,20 @@ nowfocus is a clean, keyboard-driven time management dashboard that flexibly con
55
55
 
56
56
  ## Installation
57
57
 
58
+ <!-- # note: gir1.2-appindicator3-0.1 can be substituted for gir1.2-ayatanaappindicator3-0.1 -->
59
+
58
60
  1. Run the following in terminal to install and setup:
59
61
  ```
60
62
  # Install dependencies
61
- sudo apt install pipx gir1.2-appindicator3-0.1 meson libdbus-glib-1-dev patchelf libgirepository1.0-dev gcc libcairo2-dev pkg-config python3-dev
62
-
63
- # note gir1.2-ayatanaappindicator3-0.1 can be substituted for gir1.2-appindicator3-0.1
63
+ sudo apt install pipx gir1.2-ayatanaappindicator3-0.1 libgirepository1.0-dev gcc libcairo2-dev pkg-config python3-dev xprintidle
64
64
 
65
65
  # Set up pipx
66
66
  pipx ensurepath
67
-
68
- # At this point you may need to source your .bashrc (or open a new terminal)
67
+ source ~/.bashrc
69
68
 
70
69
  # Install nowfocus
71
70
  pipx install nowfocus
72
71
 
73
- # Enter application directory
74
- cd ~/.local/share/pipx/venvs/nowfocus/lib/python3.12/site-packages/nowfocus/desktop-extras
75
-
76
- # Copy desktop file and icon to /usr/share
77
- sudo cp nowfocus.desktop /usr/share/applications/nowfocus.desktop
78
- sudo cp nowfocus.svg /usr/share/icons/hicolor/scalable/apps/nowfocus.svg
79
-
80
72
  # and now Focus!
81
73
  nowfocus
82
74
 
@@ -88,7 +80,6 @@ nowfocus is a clean, keyboard-driven time management dashboard that flexibly con
88
80
  ```
89
81
 
90
82
 
91
-
92
83
  3. Add the following command to your startup applications:
93
84
  ```
94
85
  nowfocus --force
@@ -127,14 +118,21 @@ Open nowfocus **Settings** from the indicator menu or tasks window and connect y
127
118
  - Start with targeted verbose logging use: `nowfocus -s trello`
128
119
 
129
120
 
130
- ## Development
131
-
132
- ### Install from Source
121
+ ## Reporting Issues
122
+ [Open an issue on Codeberg](https://codeberg.org/AltruistEnterprises/nowfocus/issues) (Please include as much detail as you can.)
133
123
 
134
- - Install dependencies from above.
135
- - Clone this repo somewhere (referred to as `YOUR_INSTALL_PATH`)
136
- - Change to `YOUR_INSTALL_PATH` directory with `cd YOUR_INSTALL_PATH/nowfocus`
137
- - build python module with `python3 -m build` (this should be done in a venv and will require some dependecies...)
138
- - pipx install -e --force YOUR_INSTALL_PATH/monotask/
139
124
 
125
+ ## Development
126
+ [Fork **nowfocus** source code on Codeberg (GPL)](https://codeberg.org/AltruistEnterprises/nowfocus/issues)
127
+
128
+ ### Install From Source
129
+ ```
130
+ git clone https://codeberg.org/AltruistEnterprises/nowfocus.git
131
+ cd nowfocus
132
+ python3 -m venv .venv/nowfocus-build
133
+ source .venv/nowfocus-build/bin/activate
134
+ pip install -r build-requirements.txt
135
+ python3 -m build
136
+ pipx install -e --force YOUR_INSTALL_PATH
137
+ ```
140
138
  <!--built with python + GTK -->
@@ -1,10 +1,11 @@
1
1
  [project]
2
2
  name = "nowfocus"
3
- version = "0.2.13"
3
+ version = "0.5.1"
4
4
  authors = [
5
- { name="GitFr33" },
5
+ { name="AltruistEnterprises" },
6
6
  ]
7
7
  description = "nowfocus: the open source task-tracking self-control panel."
8
+
8
9
  readme = "README.md"
9
10
 
10
11
  classifiers = [
@@ -21,17 +22,13 @@ dependencies = [
21
22
  "psutil",
22
23
  "pygobject == 3.50.0",
23
24
  "pycairo == 1.27",
24
- "meson",
25
- "meson-python",
26
25
  "attrs",
27
26
  "caldav",
28
27
  "certifi",
29
28
  "charset-normalizer",
30
- "dbus-idle",
31
- "dbus-python",
32
29
  "icalendar",
33
30
  "idna",
34
- "jeepney",
31
+ "pywin32>=221 ; platform_system == 'Windows'",
35
32
  "kitchen",
36
33
  "lxml",
37
34
  "playsound3",
@@ -49,16 +46,15 @@ dependencies = [
49
46
  "urllib3",
50
47
  "vobject",
51
48
  "x-wr-timezone",
52
- "watchdog",
53
49
  ]
54
50
 
55
51
  [project.urls]
56
- Homepage = "https://gitlab.com/GitFr33/nowfocus"
52
+ Homepage = "https://www.nowfocus.org"
53
+ repository = "https://codeberg.org/AltruistEnterprises/nowfocus"
57
54
 
58
55
  [project.gui-scripts]
59
56
  nowfocus = "nowfocus.__main__:startup"
60
57
 
61
-
62
58
  # include non .py files in the dist
63
59
  [tool.setuptools.packages.find]
64
60
  where = ["src"]