launchpy 0.4.5.post1__tar.gz → 0.4.5.post3__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 (31) hide show
  1. {launchpy-0.4.5.post1/launchpy.egg-info → launchpy-0.4.5.post3}/PKG-INFO +2 -1
  2. {launchpy-0.4.5.post1 → launchpy-0.4.5.post3}/docs/releases.md +1 -0
  3. launchpy-0.4.5.post3/launchpy/__version__.py +1 -0
  4. {launchpy-0.4.5.post1 → launchpy-0.4.5.post3}/launchpy/configs.py +6 -4
  5. {launchpy-0.4.5.post1 → launchpy-0.4.5.post3/launchpy.egg-info}/PKG-INFO +2 -1
  6. {launchpy-0.4.5.post1 → launchpy-0.4.5.post3}/launchpy.egg-info/requires.txt +1 -0
  7. {launchpy-0.4.5.post1 → launchpy-0.4.5.post3}/pyproject.toml +2 -1
  8. {launchpy-0.4.5.post1 → launchpy-0.4.5.post3}/requirements.txt +2 -1
  9. {launchpy-0.4.5.post1 → launchpy-0.4.5.post3}/setup.py +2 -2
  10. launchpy-0.4.5.post1/launchpy/__version__.py +0 -1
  11. {launchpy-0.4.5.post1 → launchpy-0.4.5.post3}/LICENSE +0 -0
  12. {launchpy-0.4.5.post1 → launchpy-0.4.5.post3}/README.md +0 -0
  13. {launchpy-0.4.5.post1 → launchpy-0.4.5.post3}/docs/admin.md +0 -0
  14. {launchpy-0.4.5.post1 → launchpy-0.4.5.post3}/docs/getstarted.md +0 -0
  15. {launchpy-0.4.5.post1 → launchpy-0.4.5.post3}/docs/library.md +0 -0
  16. {launchpy-0.4.5.post1 → launchpy-0.4.5.post3}/docs/main.md +0 -0
  17. {launchpy-0.4.5.post1 → launchpy-0.4.5.post3}/docs/property.md +0 -0
  18. {launchpy-0.4.5.post1 → launchpy-0.4.5.post3}/docs/synchronizer.md +0 -0
  19. {launchpy-0.4.5.post1 → launchpy-0.4.5.post3}/docs/translator.md +0 -0
  20. {launchpy-0.4.5.post1 → launchpy-0.4.5.post3}/launchpy/__init__.py +0 -0
  21. {launchpy-0.4.5.post1 → launchpy-0.4.5.post3}/launchpy/admin.py +0 -0
  22. {launchpy-0.4.5.post1 → launchpy-0.4.5.post3}/launchpy/config.py +0 -0
  23. {launchpy-0.4.5.post1 → launchpy-0.4.5.post3}/launchpy/connector.py +0 -0
  24. {launchpy-0.4.5.post1 → launchpy-0.4.5.post3}/launchpy/launchpy.py +0 -0
  25. {launchpy-0.4.5.post1 → launchpy-0.4.5.post3}/launchpy/library.py +0 -0
  26. {launchpy-0.4.5.post1 → launchpy-0.4.5.post3}/launchpy/property.py +0 -0
  27. {launchpy-0.4.5.post1 → launchpy-0.4.5.post3}/launchpy/synchronizer.py +0 -0
  28. {launchpy-0.4.5.post1 → launchpy-0.4.5.post3}/launchpy.egg-info/SOURCES.txt +0 -0
  29. {launchpy-0.4.5.post1 → launchpy-0.4.5.post3}/launchpy.egg-info/dependency_links.txt +0 -0
  30. {launchpy-0.4.5.post1 → launchpy-0.4.5.post3}/launchpy.egg-info/top_level.txt +0 -0
  31. {launchpy-0.4.5.post1 → launchpy-0.4.5.post3}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: launchpy
3
- Version: 0.4.5.post1
3
+ Version: 0.4.5.post3
4
4
  Summary: Adobe Launch API wrapper
5
5
  Home-page: https://github.com/pitchmuc/launchpy
6
6
  Author: Julien Piccini
@@ -28,6 +28,7 @@ Requires-Dist: PyJWT
28
28
  Requires-Dist: PyJWT[crypto]
29
29
  Requires-Dist: pathlib2
30
30
  Requires-Dist: pathlib
31
+ Requires-Dist: aepp
31
32
  Provides-Extra: dynamic
32
33
  Requires-Dist: version; extra == "dynamic"
33
34
  Dynamic: author
@@ -13,6 +13,7 @@ Patch:
13
13
  * Adding more check in the `checkComponentSync` report
14
14
  * Documentation improved in synchronizer
15
15
  * Support of extension added in `createTargetsLibrary`
16
+ * Fixing dependency to `aepp` `som` module
16
17
 
17
18
  ## 0.4.4
18
19
  * adding a `getBuilds` method on the `Library` class instance
@@ -0,0 +1 @@
1
+ __version__ = "0.4.5-3"
@@ -22,7 +22,7 @@ def find_path(path: str) -> Optional[Path]:
22
22
  return None
23
23
 
24
24
 
25
- def createConfigFile(scope: str = "https://ims-na1.adobelogin.com/s/ent_reactor_admin_sdk",auth_type: str = "oauthV2", verbose: object = False)->None:
25
+ def createConfigFile(filename:str='config_launch',auth_type: str = "oauthV2", scope: str = "https://ims-na1.adobelogin.com/s/ent_reactor_admin_sdk", verbose: object = False)->None:
26
26
  """
27
27
  This function will create a 'config_launch_admin.json' file where you can store your access data.
28
28
  Arguments:
@@ -36,18 +36,20 @@ def createConfigFile(scope: str = "https://ims-na1.adobelogin.com/s/ent_reactor_
36
36
  'org_id': '<orgID>',
37
37
  'client_id': "<client_id>",
38
38
  'secret': "<YourSecret>",
39
- 'scope': scope
40
39
  }
41
40
  if auth_type == 'oauthV2':
42
41
  json_data['scopes'] = "<scopes>"
43
42
  elif auth_type == 'jwt':
44
43
  json_data["tech_id"] = "<something>@techacct.adobe.com"
45
44
  json_data["pathToKey"] = "<path/to/your/privatekey.key>"
46
- with open('config_launch_admin.json', 'w') as cf:
45
+ json_data['scope'] = scope
46
+ if '.json' not in filename:
47
+ filename = f"{filename}.json"
48
+ with open(filename, 'w') as cf:
47
49
  cf.write(json.dumps(json_data, indent=4))
48
50
  if verbose:
49
51
  print(
50
- f" file created at this location : {os.getcwd()}{os.sep}config_launch_admin.json")
52
+ f" file created at this location : {os.getcwd()}{os.sep}{filename}")
51
53
 
52
54
  def importConfigFile(path: str = None,auth_type:str=None) -> None:
53
55
  """Reads the file denoted by the supplied `path` and retrieves the configuration information
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: launchpy
3
- Version: 0.4.5.post1
3
+ Version: 0.4.5.post3
4
4
  Summary: Adobe Launch API wrapper
5
5
  Home-page: https://github.com/pitchmuc/launchpy
6
6
  Author: Julien Piccini
@@ -28,6 +28,7 @@ Requires-Dist: PyJWT
28
28
  Requires-Dist: PyJWT[crypto]
29
29
  Requires-Dist: pathlib2
30
30
  Requires-Dist: pathlib
31
+ Requires-Dist: aepp
31
32
  Provides-Extra: dynamic
32
33
  Requires-Dist: version; extra == "dynamic"
33
34
  Dynamic: author
@@ -4,6 +4,7 @@ PyJWT
4
4
  PyJWT[crypto]
5
5
  pathlib2
6
6
  pathlib
7
+ aepp
7
8
 
8
9
  [dynamic]
9
10
  version
@@ -29,7 +29,8 @@ dependencies = ['pandas',
29
29
  "PyJWT",
30
30
  "PyJWT[crypto]",
31
31
  "pathlib2",
32
- "pathlib"]
32
+ "pathlib",
33
+ "aepp"]
33
34
  dynamic = ["version"]
34
35
 
35
36
  [project.urls]
@@ -4,4 +4,5 @@ PyJWT>=1.7.1
4
4
  pathlib2>=2.3.5
5
5
  requests>=2.25.0
6
6
  aepp=>0.3.10
7
- pandas>=2.1.0
7
+ pandas>=2.1.0
8
+ aepp>=0.3.12
@@ -43,6 +43,6 @@ setup(
43
43
  "Development Status :: 4 - Beta"
44
44
  ],
45
45
  python_requires='>=3.10',
46
- install_requires=["requests",
47
- "PyJWT", "pathlib2", "pathlib", "PyJWT[crypto]","aepp","pandas"],
46
+ install_requires=["requests","aepp",
47
+ "PyJWT", "pathlib2", "pathlib", "PyJWT[crypto]","pandas"],
48
48
  )
@@ -1 +0,0 @@
1
- __version__ = "0.4.5-1"
File without changes
File without changes
File without changes