nowfocus 0.4.0__tar.gz → 0.4.4__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.4.0/src/nowfocus.egg-info → nowfocus-0.4.4}/PKG-INFO +21 -28
  2. {nowfocus-0.4.0 → nowfocus-0.4.4}/README.md +19 -27
  3. {nowfocus-0.4.0 → nowfocus-0.4.4}/pyproject.toml +2 -9
  4. {nowfocus-0.4.0 → nowfocus-0.4.4}/src/nowfocus/__main__.py +168 -153
  5. {nowfocus-0.4.0 → nowfocus-0.4.4}/src/nowfocus/conf.py +41 -48
  6. {nowfocus-0.4.0 → nowfocus-0.4.4}/src/nowfocus/connectors/vikunja.py +16 -17
  7. {nowfocus-0.4.0 → nowfocus-0.4.4}/src/nowfocus/desktop-extras/nowfocus.desktop +1 -1
  8. {nowfocus-0.4.0 → nowfocus-0.4.4}/src/nowfocus/example-todo.txt +1 -2
  9. nowfocus-0.4.4/src/nowfocus/install.py +92 -0
  10. {nowfocus-0.4.0 → nowfocus-0.4.4}/src/nowfocus/session_options.py +1 -1
  11. {nowfocus-0.4.0 → nowfocus-0.4.4}/src/nowfocus/task_window.py +42 -22
  12. {nowfocus-0.4.0 → nowfocus-0.4.4}/src/nowfocus/utils.py +68 -42
  13. nowfocus-0.4.4/src/nowfocus/version_migrator.py +20 -0
  14. {nowfocus-0.4.0 → nowfocus-0.4.4/src/nowfocus.egg-info}/PKG-INFO +21 -28
  15. {nowfocus-0.4.0 → nowfocus-0.4.4}/src/nowfocus.egg-info/SOURCES.txt +2 -0
  16. {nowfocus-0.4.0 → nowfocus-0.4.4}/LICENSE +0 -0
  17. {nowfocus-0.4.0 → nowfocus-0.4.4}/setup.cfg +0 -0
  18. {nowfocus-0.4.0 → nowfocus-0.4.4}/src/nowfocus/__init__.py +0 -0
  19. {nowfocus-0.4.0 → nowfocus-0.4.4}/src/nowfocus/connectors/activitywatch.py +0 -0
  20. {nowfocus-0.4.0 → nowfocus-0.4.4}/src/nowfocus/connectors/caldav.py +0 -0
  21. {nowfocus-0.4.0 → nowfocus-0.4.4}/src/nowfocus/connectors/csv.py +0 -0
  22. {nowfocus-0.4.0 → nowfocus-0.4.4}/src/nowfocus/connectors/psc_timetracker.py +0 -0
  23. {nowfocus-0.4.0 → nowfocus-0.4.4}/src/nowfocus/connectors/taskwarrior.py +0 -0
  24. {nowfocus-0.4.0 → nowfocus-0.4.4}/src/nowfocus/connectors/timewarrior.py +0 -0
  25. {nowfocus-0.4.0 → nowfocus-0.4.4}/src/nowfocus/connectors/todo_template.py +0 -0
  26. {nowfocus-0.4.0 → nowfocus-0.4.4}/src/nowfocus/connectors/todotxt.py +0 -0
  27. {nowfocus-0.4.0 → nowfocus-0.4.4}/src/nowfocus/connectors/trello.py +0 -0
  28. {nowfocus-0.4.0 → nowfocus-0.4.4}/src/nowfocus/connectors/txt.py +0 -0
  29. {nowfocus-0.4.0 → nowfocus-0.4.4}/src/nowfocus/desktop-extras/nowfocus.png +0 -0
  30. {nowfocus-0.4.0 → nowfocus-0.4.4}/src/nowfocus/desktop-extras/nowfocus.svg +0 -0
  31. {nowfocus-0.4.0 → nowfocus-0.4.4}/src/nowfocus/icon/cancel.png +0 -0
  32. {nowfocus-0.4.0 → nowfocus-0.4.4}/src/nowfocus/icon/cancel.svg +0 -0
  33. {nowfocus-0.4.0 → nowfocus-0.4.4}/src/nowfocus/icon/edit.png +0 -0
  34. {nowfocus-0.4.0 → nowfocus-0.4.4}/src/nowfocus/icon/edit.svg +0 -0
  35. {nowfocus-0.4.0 → nowfocus-0.4.4}/src/nowfocus/icon/icon-0.svg +0 -0
  36. {nowfocus-0.4.0 → nowfocus-0.4.4}/src/nowfocus/icon/icon-1.svg +0 -0
  37. {nowfocus-0.4.0 → nowfocus-0.4.4}/src/nowfocus/icon/icon-2.svg +0 -0
  38. {nowfocus-0.4.0 → nowfocus-0.4.4}/src/nowfocus/icon/icon-3.svg +0 -0
  39. {nowfocus-0.4.0 → nowfocus-0.4.4}/src/nowfocus/icon/icon-4.svg +0 -0
  40. {nowfocus-0.4.0 → nowfocus-0.4.4}/src/nowfocus/icon/icon-5.svg +0 -0
  41. {nowfocus-0.4.0 → nowfocus-0.4.4}/src/nowfocus/icon/icon-6.svg +0 -0
  42. {nowfocus-0.4.0 → nowfocus-0.4.4}/src/nowfocus/icon/icon-7.svg +0 -0
  43. {nowfocus-0.4.0 → nowfocus-0.4.4}/src/nowfocus/icon/icon-8.svg +0 -0
  44. {nowfocus-0.4.0 → nowfocus-0.4.4}/src/nowfocus/icon/icon-9.svg +0 -0
  45. {nowfocus-0.4.0 → nowfocus-0.4.4}/src/nowfocus/icon/icon-red.svg +0 -0
  46. {nowfocus-0.4.0 → nowfocus-0.4.4}/src/nowfocus/icon/icon.svg +0 -0
  47. {nowfocus-0.4.0 → nowfocus-0.4.4}/src/nowfocus/icon/mark-done.png +0 -0
  48. {nowfocus-0.4.0 → nowfocus-0.4.4}/src/nowfocus/icon/mark-done.svg +0 -0
  49. {nowfocus-0.4.0 → nowfocus-0.4.4}/src/nowfocus/icon/pause.png +0 -0
  50. {nowfocus-0.4.0 → nowfocus-0.4.4}/src/nowfocus/icon/pause.svg +0 -0
  51. {nowfocus-0.4.0 → nowfocus-0.4.4}/src/nowfocus/icon/settings.png +0 -0
  52. {nowfocus-0.4.0 → nowfocus-0.4.4}/src/nowfocus/icon/settings.svg +0 -0
  53. {nowfocus-0.4.0 → nowfocus-0.4.4}/src/nowfocus/new_task_dialog.py +0 -0
  54. {nowfocus-0.4.0 → nowfocus-0.4.4}/src/nowfocus/session_edit_dialog.py +0 -0
  55. {nowfocus-0.4.0 → nowfocus-0.4.4}/src/nowfocus/sessions.csv +0 -0
  56. {nowfocus-0.4.0 → nowfocus-0.4.4}/src/nowfocus/settings.py +0 -0
  57. {nowfocus-0.4.0 → nowfocus-0.4.4}/src/nowfocus/sound/bell-xylophone-g.mp3 +0 -0
  58. {nowfocus-0.4.0 → nowfocus-0.4.4}/src/nowfocus/sound/dinner-bell.mp3 +0 -0
  59. {nowfocus-0.4.0 → nowfocus-0.4.4}/src/nowfocus/sound/xylophone-chord.mp3 +0 -0
  60. {nowfocus-0.4.0 → nowfocus-0.4.4}/src/nowfocus/styles.css +0 -0
  61. {nowfocus-0.4.0 → nowfocus-0.4.4}/src/nowfocus/user_idle_time.py +0 -0
  62. {nowfocus-0.4.0 → nowfocus-0.4.4}/src/nowfocus.egg-info/dependency_links.txt +0 -0
  63. {nowfocus-0.4.0 → nowfocus-0.4.4}/src/nowfocus.egg-info/entry_points.txt +0 -0
  64. {nowfocus-0.4.0 → nowfocus-0.4.4}/src/nowfocus.egg-info/requires.txt +0 -0
  65. {nowfocus-0.4.0 → nowfocus-0.4.4}/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.4.0
3
+ Version: 0.4.4
4
4
  Summary: nowfocus: the open source task-tracking self-control panel.
5
5
  Author: AltruistEnterprises
6
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+)
@@ -40,12 +41,9 @@ Requires-Dist: vobject
40
41
  Requires-Dist: x-wr-timezone
41
42
  Dynamic: license-file
42
43
 
43
- ---
44
- mainfont: sans-serif
45
- ---
46
- <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">
47
45
 
48
- # *nowfocus* <br> Open-source task timer for Linux
46
+ # <a href="https://www.nowfocus.org/">*Nowfocus*</a> <br> Open-source task timer for Linux
49
47
 
50
48
  **Avoid multifailing. Master your to-do lists. Track your time.**
51
49
 
@@ -100,31 +98,20 @@ nowfocus is a clean, keyboard-driven time management dashboard that flexibly con
100
98
 
101
99
  ## Installation
102
100
 
103
- <!-- no longer needed: meson libdbus-glib-1-dev patchelf -->
104
101
  <!-- # note: gir1.2-appindicator3-0.1 can be substituted for gir1.2-ayatanaappindicator3-0.1 -->
105
102
 
106
103
  1. Run the following in terminal to install and setup:
107
104
  ```
108
105
  # Install dependencies
109
- sudo apt install pipx gir1.2-ayatanaappindicator3-0.1 libgirepository1.0-dev gcc libcairo2-dev pkg-config python3-dev
110
-
111
- # only needed X display (rather than wayland)
112
- sudo apt install xprintidle
106
+ sudo apt install pipx gir1.2-ayatanaappindicator3-0.1 libgirepository1.0-dev gcc libcairo2-dev pkg-config python3-dev xprintidle
113
107
 
114
108
  # Set up pipx
115
109
  pipx ensurepath
116
- source ~.bashrc
110
+ source ~/.bashrc
117
111
 
118
112
  # Install nowfocus
119
113
  pipx install nowfocus
120
114
 
121
- # Enter application directory
122
- cd ~/.local/share/pipx/venvs/nowfocus/lib/python3.12/site-packages/nowfocus/desktop-extras
123
-
124
- # Copy desktop file and icon to /usr/share
125
- sudo cp nowfocus.desktop /usr/share/applications/nowfocus.desktop
126
- sudo cp nowfocus.svg /usr/share/icons/hicolor/scalable/apps/nowfocus.svg
127
-
128
115
  # and now Focus!
129
116
  nowfocus
130
117
 
@@ -136,7 +123,6 @@ nowfocus is a clean, keyboard-driven time management dashboard that flexibly con
136
123
  ```
137
124
 
138
125
 
139
-
140
126
  3. Add the following command to your startup applications:
141
127
  ```
142
128
  nowfocus --force
@@ -174,15 +160,22 @@ Open nowfocus **Settings** from the indicator menu or tasks window and connect y
174
160
  - Start with verbose logging use: `nowfocus -l 3`
175
161
  - Start with targeted verbose logging use: `nowfocus -s trello`
176
162
 
177
- <!--
178
- TODO: test that this works!
179
- ## Development
180
163
 
181
- ### 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.)
182
166
 
183
- - Clone this repo somewhere (referred to as `YOUR_INSTALL_PATH`)
184
- - Change to `YOUR_INSTALL_PATH` directory with `cd YOUR_INSTALL_PATH/nowfocus`
185
- - build python module with `python3 -m build` (this should be done in a venv and will require some dependecies...)
186
- - pipx install -e --force YOUR_INSTALL_PATH/monotask/ -->
187
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
+ ```
188
181
  <!--built with python + GTK -->
@@ -1,9 +1,6 @@
1
- ---
2
- mainfont: sans-serif
3
- ---
4
- <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">
5
2
 
6
- # *nowfocus* <br> Open-source task timer for Linux
3
+ # <a href="https://www.nowfocus.org/">*Nowfocus*</a> <br> Open-source task timer for Linux
7
4
 
8
5
  **Avoid multifailing. Master your to-do lists. Track your time.**
9
6
 
@@ -58,31 +55,20 @@ nowfocus is a clean, keyboard-driven time management dashboard that flexibly con
58
55
 
59
56
  ## Installation
60
57
 
61
- <!-- no longer needed: meson libdbus-glib-1-dev patchelf -->
62
58
  <!-- # note: gir1.2-appindicator3-0.1 can be substituted for gir1.2-ayatanaappindicator3-0.1 -->
63
59
 
64
60
  1. Run the following in terminal to install and setup:
65
61
  ```
66
62
  # Install dependencies
67
- sudo apt install pipx gir1.2-ayatanaappindicator3-0.1 libgirepository1.0-dev gcc libcairo2-dev pkg-config python3-dev
68
-
69
- # only needed X display (rather than wayland)
70
- sudo apt install xprintidle
63
+ sudo apt install pipx gir1.2-ayatanaappindicator3-0.1 libgirepository1.0-dev gcc libcairo2-dev pkg-config python3-dev xprintidle
71
64
 
72
65
  # Set up pipx
73
66
  pipx ensurepath
74
- source ~.bashrc
67
+ source ~/.bashrc
75
68
 
76
69
  # Install nowfocus
77
70
  pipx install nowfocus
78
71
 
79
- # Enter application directory
80
- cd ~/.local/share/pipx/venvs/nowfocus/lib/python3.12/site-packages/nowfocus/desktop-extras
81
-
82
- # Copy desktop file and icon to /usr/share
83
- sudo cp nowfocus.desktop /usr/share/applications/nowfocus.desktop
84
- sudo cp nowfocus.svg /usr/share/icons/hicolor/scalable/apps/nowfocus.svg
85
-
86
72
  # and now Focus!
87
73
  nowfocus
88
74
 
@@ -94,7 +80,6 @@ nowfocus is a clean, keyboard-driven time management dashboard that flexibly con
94
80
  ```
95
81
 
96
82
 
97
-
98
83
  3. Add the following command to your startup applications:
99
84
  ```
100
85
  nowfocus --force
@@ -132,15 +117,22 @@ Open nowfocus **Settings** from the indicator menu or tasks window and connect y
132
117
  - Start with verbose logging use: `nowfocus -l 3`
133
118
  - Start with targeted verbose logging use: `nowfocus -s trello`
134
119
 
135
- <!--
136
- TODO: test that this works!
137
- ## Development
138
120
 
139
- ### 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.)
140
123
 
141
- - Clone this repo somewhere (referred to as `YOUR_INSTALL_PATH`)
142
- - Change to `YOUR_INSTALL_PATH` directory with `cd YOUR_INSTALL_PATH/nowfocus`
143
- - build python module with `python3 -m build` (this should be done in a venv and will require some dependecies...)
144
- - pipx install -e --force YOUR_INSTALL_PATH/monotask/ -->
145
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
+ ```
146
138
  <!--built with python + GTK -->
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "nowfocus"
3
- version = "0.4.0"
3
+ version = "0.4.4"
4
4
  authors = [
5
5
  { name="AltruistEnterprises" },
6
6
  ]
@@ -22,17 +22,12 @@ dependencies = [
22
22
  "psutil",
23
23
  "pygobject == 3.50.0",
24
24
  "pycairo == 1.27",
25
- # "meson",
26
- # "meson-python",
27
25
  "attrs",
28
26
  "caldav",
29
27
  "certifi",
30
28
  "charset-normalizer",
31
- # "dbus-idle",
32
- # "dbus-python",
33
29
  "icalendar",
34
30
  "idna",
35
- # "jeepney",
36
31
  "pywin32>=221 ; platform_system == 'Windows'",
37
32
  "kitchen",
38
33
  "lxml",
@@ -55,13 +50,11 @@ dependencies = [
55
50
 
56
51
  [project.urls]
57
52
  Homepage = "https://www.nowfocus.org"
58
- # Homepage = "https://codeberg.org/AltruistEnterprises/nowfocus"
59
- # Homepage = "https://gitlab.com/GitFr33/nowfocus"
53
+ repository = "https://codeberg.org/AltruistEnterprises/nowfocus"
60
54
 
61
55
  [project.gui-scripts]
62
56
  nowfocus = "nowfocus.__main__:startup"
63
57
 
64
-
65
58
  # include non .py files in the dist
66
59
  [tool.setuptools.packages.find]
67
60
  where = ["src"]