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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: papi-projects
3
- Version: 0.1.0
3
+ Version: 0.1.1
4
4
  Summary: PAPI is an API for managing projects
5
5
  License: MIT
6
6
  Author: sandyjmacdonald
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "papi-projects"
3
- version = "0.1.0"
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.createtogglproject:main"
23
- collate-toggl-hours = "scripts.collatetogglhours:main"
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
- toggl.set_default_workspace("TF Data Science")
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
- toggl.set_default_workspace("TF Data Science")
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