ggltasks 0.2.2__tar.gz → 0.2.5__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.
- {ggltasks-0.2.2 → ggltasks-0.2.5}/PKG-INFO +9 -10
- {ggltasks-0.2.2 → ggltasks-0.2.5}/README.md +8 -9
- {ggltasks-0.2.2 → ggltasks-0.2.5}/ggltasks/main.py +5 -3
- {ggltasks-0.2.2 → ggltasks-0.2.5}/ggltasks.egg-info/PKG-INFO +9 -10
- {ggltasks-0.2.2 → ggltasks-0.2.5}/pyproject.toml +1 -1
- {ggltasks-0.2.2 → ggltasks-0.2.5}/LICENSE +0 -0
- {ggltasks-0.2.2 → ggltasks-0.2.5}/ggltasks/__init__.py +0 -0
- {ggltasks-0.2.2 → ggltasks-0.2.5}/ggltasks/auth.py +0 -0
- {ggltasks-0.2.2 → ggltasks-0.2.5}/ggltasks/local_storage.py +0 -0
- {ggltasks-0.2.2 → ggltasks-0.2.5}/ggltasks/task_service.py +0 -0
- {ggltasks-0.2.2 → ggltasks-0.2.5}/ggltasks/ui_manager.py +0 -0
- {ggltasks-0.2.2 → ggltasks-0.2.5}/ggltasks.egg-info/SOURCES.txt +0 -0
- {ggltasks-0.2.2 → ggltasks-0.2.5}/ggltasks.egg-info/dependency_links.txt +0 -0
- {ggltasks-0.2.2 → ggltasks-0.2.5}/ggltasks.egg-info/entry_points.txt +0 -0
- {ggltasks-0.2.2 → ggltasks-0.2.5}/ggltasks.egg-info/requires.txt +0 -0
- {ggltasks-0.2.2 → ggltasks-0.2.5}/ggltasks.egg-info/top_level.txt +0 -0
- {ggltasks-0.2.2 → ggltasks-0.2.5}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ggltasks
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.5
|
|
4
4
|
Summary: TUI for Google Tasks
|
|
5
5
|
Author-email: Noble Alex <noblejosephalex@gmail.com>
|
|
6
6
|
License: MIT
|
|
@@ -43,21 +43,20 @@ Google requires you to generate a personal "Client Secret" to access your data s
|
|
|
43
43
|
5. Click **+ CREATE CREDENTIALS** → **OAuth client ID**. *(Choose "Desktop app" as the Application type).*
|
|
44
44
|
6. Download the JSON file and rename it exactly to `client_secrets.json`.
|
|
45
45
|
|
|
46
|
-
### Step 2: Install
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
mkdir ~/.ggltasks
|
|
50
|
-
```
|
|
51
|
-
2. Move your `client_secrets.json` file into `~/.ggltasks`.
|
|
52
|
-
3. Install via pip:
|
|
46
|
+
### Step 2: Install and Run
|
|
47
|
+
|
|
48
|
+
1. Install via pip:
|
|
53
49
|
```bash
|
|
54
50
|
pip install ggltasks
|
|
55
51
|
```
|
|
56
|
-
|
|
52
|
+
2. Run the app:
|
|
57
53
|
```bash
|
|
58
54
|
ggltasks
|
|
59
55
|
```
|
|
60
|
-
|
|
56
|
+
3. The app will automatically create the `.ggltasks` config folder in your home directory and give you instructions on where to place your `client_secrets.json` file.
|
|
57
|
+
4. Move your `client_secrets.json` file into that folder and run `ggltasks` again!
|
|
58
|
+
|
|
59
|
+
*Note: The first time it successfully connects, a browser window will pop up asking you to log in to your Google Account. A local token is saved so you only have to do this once.*
|
|
61
60
|
|
|
62
61
|
## Usage
|
|
63
62
|
|
|
@@ -25,21 +25,20 @@ Google requires you to generate a personal "Client Secret" to access your data s
|
|
|
25
25
|
5. Click **+ CREATE CREDENTIALS** → **OAuth client ID**. *(Choose "Desktop app" as the Application type).*
|
|
26
26
|
6. Download the JSON file and rename it exactly to `client_secrets.json`.
|
|
27
27
|
|
|
28
|
-
### Step 2: Install
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
mkdir ~/.ggltasks
|
|
32
|
-
```
|
|
33
|
-
2. Move your `client_secrets.json` file into `~/.ggltasks`.
|
|
34
|
-
3. Install via pip:
|
|
28
|
+
### Step 2: Install and Run
|
|
29
|
+
|
|
30
|
+
1. Install via pip:
|
|
35
31
|
```bash
|
|
36
32
|
pip install ggltasks
|
|
37
33
|
```
|
|
38
|
-
|
|
34
|
+
2. Run the app:
|
|
39
35
|
```bash
|
|
40
36
|
ggltasks
|
|
41
37
|
```
|
|
42
|
-
|
|
38
|
+
3. The app will automatically create the `.ggltasks` config folder in your home directory and give you instructions on where to place your `client_secrets.json` file.
|
|
39
|
+
4. Move your `client_secrets.json` file into that folder and run `ggltasks` again!
|
|
40
|
+
|
|
41
|
+
*Note: The first time it successfully connects, a browser window will pop up asking you to log in to your Google Account. A local token is saved so you only have to do this once.*
|
|
43
42
|
|
|
44
43
|
## Usage
|
|
45
44
|
|
|
@@ -379,8 +379,7 @@ def _trigger_initial_sync(service, ui_manager):
|
|
|
379
379
|
daemon=True,
|
|
380
380
|
).start()
|
|
381
381
|
|
|
382
|
-
def main_loop(stdscr):
|
|
383
|
-
task_service = TaskService()
|
|
382
|
+
def main_loop(stdscr, task_service):
|
|
384
383
|
ui_manager = UIManager(stdscr)
|
|
385
384
|
app_state = AppState(task_service)
|
|
386
385
|
|
|
@@ -435,7 +434,10 @@ def main_loop(stdscr):
|
|
|
435
434
|
|
|
436
435
|
def cli():
|
|
437
436
|
try:
|
|
438
|
-
|
|
437
|
+
task_service = TaskService()
|
|
438
|
+
wrapper(main_loop, task_service)
|
|
439
|
+
except FileNotFoundError as e:
|
|
440
|
+
print(e, file=sys.stderr)
|
|
439
441
|
except Exception as e:
|
|
440
442
|
print(f"An error occurred: {e}", file=sys.stderr)
|
|
441
443
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ggltasks
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.5
|
|
4
4
|
Summary: TUI for Google Tasks
|
|
5
5
|
Author-email: Noble Alex <noblejosephalex@gmail.com>
|
|
6
6
|
License: MIT
|
|
@@ -43,21 +43,20 @@ Google requires you to generate a personal "Client Secret" to access your data s
|
|
|
43
43
|
5. Click **+ CREATE CREDENTIALS** → **OAuth client ID**. *(Choose "Desktop app" as the Application type).*
|
|
44
44
|
6. Download the JSON file and rename it exactly to `client_secrets.json`.
|
|
45
45
|
|
|
46
|
-
### Step 2: Install
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
mkdir ~/.ggltasks
|
|
50
|
-
```
|
|
51
|
-
2. Move your `client_secrets.json` file into `~/.ggltasks`.
|
|
52
|
-
3. Install via pip:
|
|
46
|
+
### Step 2: Install and Run
|
|
47
|
+
|
|
48
|
+
1. Install via pip:
|
|
53
49
|
```bash
|
|
54
50
|
pip install ggltasks
|
|
55
51
|
```
|
|
56
|
-
|
|
52
|
+
2. Run the app:
|
|
57
53
|
```bash
|
|
58
54
|
ggltasks
|
|
59
55
|
```
|
|
60
|
-
|
|
56
|
+
3. The app will automatically create the `.ggltasks` config folder in your home directory and give you instructions on where to place your `client_secrets.json` file.
|
|
57
|
+
4. Move your `client_secrets.json` file into that folder and run `ggltasks` again!
|
|
58
|
+
|
|
59
|
+
*Note: The first time it successfully connects, a browser window will pop up asking you to log in to your Google Account. A local token is saved so you only have to do this once.*
|
|
61
60
|
|
|
62
61
|
## Usage
|
|
63
62
|
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|