papi-projects 0.1.0__tar.gz → 0.1.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.
- {papi_projects-0.1.0 → papi_projects-0.1.1}/PKG-INFO +1 -1
- {papi_projects-0.1.0 → papi_projects-0.1.1}/pyproject.toml +3 -3
- papi_projects-0.1.0/scripts/collatetogglhours.py → papi_projects-0.1.1/scripts/collate_toggl_hours.py +2 -1
- papi_projects-0.1.0/scripts/createtogglproject.py → papi_projects-0.1.1/scripts/create_toggl_project.py +2 -1
- {papi_projects-0.1.0 → papi_projects-0.1.1}/README.md +0 -0
- {papi_projects-0.1.0 → papi_projects-0.1.1}/papi/__init__.py +0 -0
- {papi_projects-0.1.0 → papi_projects-0.1.1}/papi/mocks.py +0 -0
- {papi_projects-0.1.0 → papi_projects-0.1.1}/papi/project.py +0 -0
- {papi_projects-0.1.0 → papi_projects-0.1.1}/papi/tests/__init__.py +0 -0
- {papi_projects-0.1.0 → papi_projects-0.1.1}/papi/tests/test_project.py +0 -0
- {papi_projects-0.1.0 → papi_projects-0.1.1}/papi/tests/test_user.py +0 -0
- {papi_projects-0.1.0 → papi_projects-0.1.1}/papi/tests/test_userdb.json +0 -0
- {papi_projects-0.1.0 → papi_projects-0.1.1}/papi/tests/test_wrappers.py +0 -0
- {papi_projects-0.1.0 → papi_projects-0.1.1}/papi/user.py +0 -0
- {papi_projects-0.1.0 → papi_projects-0.1.1}/papi/wrappers.py +0 -0
- {papi_projects-0.1.0 → papi_projects-0.1.1}/scripts/__init__.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "papi-projects"
|
|
3
|
-
version = "0.1.
|
|
3
|
+
version = "0.1.1"
|
|
4
4
|
description = "PAPI is an API for managing projects"
|
|
5
5
|
authors = ["sandyjmacdonald <sandyjmacdonald@gmail.com>"]
|
|
6
6
|
license = "MIT"
|
|
@@ -19,8 +19,8 @@ tinydb = "^4.8.0"
|
|
|
19
19
|
python-dotenv = "^1.0.0"
|
|
20
20
|
|
|
21
21
|
[tool.poetry.scripts]
|
|
22
|
-
create-toggl-project = "scripts.
|
|
23
|
-
collate-toggl-hours = "scripts.
|
|
22
|
+
create-toggl-project = "scripts.create_toggl_project:main"
|
|
23
|
+
collate-toggl-hours = "scripts.collate_toggl_hours:main"
|
|
24
24
|
|
|
25
25
|
[build-system]
|
|
26
26
|
requires = ["poetry-core"]
|
|
@@ -41,7 +41,8 @@ def main():
|
|
|
41
41
|
toggl = TogglTrackWrapper(toggl_api_key, toggl_api_password)
|
|
42
42
|
|
|
43
43
|
# Tell wrapper which workspace to set as default
|
|
44
|
-
|
|
44
|
+
toggl_workspace = config["TOGGL_TRACK_WORKSPACE"]
|
|
45
|
+
toggl.set_default_workspace(toggl_workspace)
|
|
45
46
|
toggl.set_me()
|
|
46
47
|
|
|
47
48
|
# Get tracked hours and tracked project IDs/names
|
|
@@ -35,7 +35,8 @@ def main():
|
|
|
35
35
|
toggl = TogglTrackWrapper(toggl_api_key, toggl_api_password)
|
|
36
36
|
|
|
37
37
|
# Tell wrapper which workspace to set as default
|
|
38
|
-
|
|
38
|
+
toggl_workspace = config["TOGGL_TRACK_WORKSPACE"]
|
|
39
|
+
toggl.set_default_workspace(toggl_workspace)
|
|
39
40
|
|
|
40
41
|
user_id = args.user_id
|
|
41
42
|
grant_code = args.grant_code
|
|
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
|