polyapi-python 0.1.0.dev15__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.
Files changed (33) hide show
  1. {polyapi-python-0.1.0.dev15/polyapi_python.egg-info → polyapi-python-0.1.1}/PKG-INFO +2 -1
  2. {polyapi-python-0.1.0.dev15 → polyapi-python-0.1.1}/polyapi/auth.py +2 -0
  3. {polyapi-python-0.1.0.dev15 → polyapi-python-0.1.1/polyapi_python.egg-info}/PKG-INFO +2 -1
  4. {polyapi-python-0.1.0.dev15 → polyapi-python-0.1.1}/polyapi_python.egg-info/requires.txt +1 -0
  5. {polyapi-python-0.1.0.dev15 → polyapi-python-0.1.1}/pyproject.toml +2 -2
  6. {polyapi-python-0.1.0.dev15 → polyapi-python-0.1.1}/LICENSE +0 -0
  7. {polyapi-python-0.1.0.dev15 → polyapi-python-0.1.1}/README.md +0 -0
  8. {polyapi-python-0.1.0.dev15 → polyapi-python-0.1.1}/polyapi/__init__.py +0 -0
  9. {polyapi-python-0.1.0.dev15 → polyapi-python-0.1.1}/polyapi/__main__.py +0 -0
  10. {polyapi-python-0.1.0.dev15 → polyapi-python-0.1.1}/polyapi/api.py +0 -0
  11. {polyapi-python-0.1.0.dev15 → polyapi-python-0.1.1}/polyapi/cli.py +0 -0
  12. {polyapi-python-0.1.0.dev15 → polyapi-python-0.1.1}/polyapi/config.py +0 -0
  13. {polyapi-python-0.1.0.dev15 → polyapi-python-0.1.1}/polyapi/constants.py +0 -0
  14. {polyapi-python-0.1.0.dev15 → polyapi-python-0.1.1}/polyapi/exceptions.py +0 -0
  15. {polyapi-python-0.1.0.dev15 → polyapi-python-0.1.1}/polyapi/execute.py +0 -0
  16. {polyapi-python-0.1.0.dev15 → polyapi-python-0.1.1}/polyapi/function_cli.py +0 -0
  17. {polyapi-python-0.1.0.dev15 → polyapi-python-0.1.1}/polyapi/generate.py +0 -0
  18. {polyapi-python-0.1.0.dev15 → polyapi-python-0.1.1}/polyapi/py.typed +0 -0
  19. {polyapi-python-0.1.0.dev15 → polyapi-python-0.1.1}/polyapi/schema.py +0 -0
  20. {polyapi-python-0.1.0.dev15 → polyapi-python-0.1.1}/polyapi/server.py +0 -0
  21. {polyapi-python-0.1.0.dev15 → polyapi-python-0.1.1}/polyapi/typedefs.py +0 -0
  22. {polyapi-python-0.1.0.dev15 → polyapi-python-0.1.1}/polyapi/utils.py +0 -0
  23. {polyapi-python-0.1.0.dev15 → polyapi-python-0.1.1}/polyapi/variables.py +0 -0
  24. {polyapi-python-0.1.0.dev15 → polyapi-python-0.1.1}/polyapi_python.egg-info/SOURCES.txt +0 -0
  25. {polyapi-python-0.1.0.dev15 → polyapi-python-0.1.1}/polyapi_python.egg-info/dependency_links.txt +0 -0
  26. {polyapi-python-0.1.0.dev15 → polyapi-python-0.1.1}/polyapi_python.egg-info/top_level.txt +0 -0
  27. {polyapi-python-0.1.0.dev15 → polyapi-python-0.1.1}/setup.cfg +0 -0
  28. {polyapi-python-0.1.0.dev15 → polyapi-python-0.1.1}/tests/test_api.py +0 -0
  29. {polyapi-python-0.1.0.dev15 → polyapi-python-0.1.1}/tests/test_auth.py +0 -0
  30. {polyapi-python-0.1.0.dev15 → polyapi-python-0.1.1}/tests/test_function_cli.py +0 -0
  31. {polyapi-python-0.1.0.dev15 → polyapi-python-0.1.1}/tests/test_server.py +0 -0
  32. {polyapi-python-0.1.0.dev15 → polyapi-python-0.1.1}/tests/test_utils.py +0 -0
  33. {polyapi-python-0.1.0.dev15 → polyapi-python-0.1.1}/tests/test_variables.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: polyapi-python
3
- Version: 0.1.0.dev15
3
+ Version: 0.1.1
4
4
  Summary: The PolyAPI Python Client
5
5
  Author-email: Dan Fellin <dan@polyapi.io>
6
6
  License: MIT License
@@ -35,6 +35,7 @@ Requires-Dist: pydantic>=2.5.3
35
35
  Requires-Dist: stdlib_list
36
36
  Requires-Dist: colorama
37
37
  Requires-Dist: python-socketio[asyncio_client]
38
+ Requires-Dist: truststore
38
39
 
39
40
  # PolyAPI Python Library
40
41
 
@@ -14,6 +14,8 @@ from typing import List, Dict, Any, TypedDict, Optional
14
14
  GET_TOKEN_TEMPLATE = """
15
15
  import asyncio
16
16
  import socketio # type: ignore
17
+ import truststore
18
+ truststore.inject_into_ssl()
17
19
  from polyapi.config import get_api_key_and_url
18
20
 
19
21
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: polyapi-python
3
- Version: 0.1.0.dev15
3
+ Version: 0.1.1
4
4
  Summary: The PolyAPI Python Client
5
5
  Author-email: Dan Fellin <dan@polyapi.io>
6
6
  License: MIT License
@@ -35,6 +35,7 @@ Requires-Dist: pydantic>=2.5.3
35
35
  Requires-Dist: stdlib_list
36
36
  Requires-Dist: colorama
37
37
  Requires-Dist: python-socketio[asyncio_client]
38
+ Requires-Dist: truststore
38
39
 
39
40
  # PolyAPI Python Library
40
41
 
@@ -5,3 +5,4 @@ pydantic>=2.5.3
5
5
  stdlib_list
6
6
  colorama
7
7
  python-socketio[asyncio_client]
8
+ truststore
@@ -3,10 +3,10 @@ requires = ["setuptools>=61.2", "wheel"]
3
3
 
4
4
  [project]
5
5
  name = "polyapi-python"
6
- version = "0.1.0.dev15"
6
+ version = "0.1.1"
7
7
  description = "The PolyAPI Python Client"
8
8
  authors = [{ name = "Dan Fellin", email = "dan@polyapi.io" }]
9
- dependencies = ["requests", "typing_extensions", "jsonschema-gentypes", "pydantic>=2.5.3", "stdlib_list", "colorama", "python-socketio[asyncio_client]"]
9
+ dependencies = ["requests", "typing_extensions", "jsonschema-gentypes", "pydantic>=2.5.3", "stdlib_list", "colorama", "python-socketio[asyncio_client]", "truststore"]
10
10
  readme = "README.md"
11
11
  license = { file = "LICENSE" }
12
12
  requires-python = ">=3.10"