cdk-code-server 1.0.9__tar.gz → 1.0.11__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 (19) hide show
  1. {cdk_code_server-1.0.9/src/cdk_code_server.egg-info → cdk_code_server-1.0.11}/PKG-INFO +7 -6
  2. {cdk_code_server-1.0.9 → cdk_code_server-1.0.11}/pyproject.toml +2 -2
  3. {cdk_code_server-1.0.9 → cdk_code_server-1.0.11}/setup.py +9 -8
  4. {cdk_code_server-1.0.9 → cdk_code_server-1.0.11}/src/cdk_code_server/__init__.py +24 -19
  5. cdk_code_server-1.0.11/src/cdk_code_server/_jsii/__init__.py +28 -0
  6. cdk_code_server-1.0.11/src/cdk_code_server/_jsii/cdk-code-server@1.0.11.jsii.tgz +0 -0
  7. {cdk_code_server-1.0.9 → cdk_code_server-1.0.11/src/cdk_code_server.egg-info}/PKG-INFO +7 -6
  8. {cdk_code_server-1.0.9 → cdk_code_server-1.0.11}/src/cdk_code_server.egg-info/SOURCES.txt +1 -1
  9. cdk_code_server-1.0.11/src/cdk_code_server.egg-info/requires.txt +4 -0
  10. cdk_code_server-1.0.9/src/cdk_code_server/_jsii/__init__.py +0 -42
  11. cdk_code_server-1.0.9/src/cdk_code_server/_jsii/cdk-code-server@1.0.9.jsii.tgz +0 -0
  12. cdk_code_server-1.0.9/src/cdk_code_server.egg-info/requires.txt +0 -5
  13. {cdk_code_server-1.0.9 → cdk_code_server-1.0.11}/LICENSE +0 -0
  14. {cdk_code_server-1.0.9 → cdk_code_server-1.0.11}/MANIFEST.in +0 -0
  15. {cdk_code_server-1.0.9 → cdk_code_server-1.0.11}/README.md +0 -0
  16. {cdk_code_server-1.0.9 → cdk_code_server-1.0.11}/setup.cfg +0 -0
  17. {cdk_code_server-1.0.9 → cdk_code_server-1.0.11}/src/cdk_code_server/py.typed +0 -0
  18. {cdk_code_server-1.0.9 → cdk_code_server-1.0.11}/src/cdk_code_server.egg-info/dependency_links.txt +0 -0
  19. {cdk_code_server-1.0.9 → cdk_code_server-1.0.11}/src/cdk_code_server.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: cdk-code-server
3
- Version: 1.0.9
3
+ Version: 1.0.11
4
4
  Summary: CDK Construct for a VSCode Server development environment on EC2
5
5
  Home-page: https://github.com/badmintoncryer/cdk-code-server.git
6
6
  Author: Kazuho CryerShinozuka<malaysia.cryer@gmail.com>
@@ -10,20 +10,21 @@ Classifier: Intended Audience :: Developers
10
10
  Classifier: Operating System :: OS Independent
11
11
  Classifier: Programming Language :: JavaScript
12
12
  Classifier: Programming Language :: Python :: 3 :: Only
13
- Classifier: Programming Language :: Python :: 3.9
14
13
  Classifier: Programming Language :: Python :: 3.10
15
14
  Classifier: Programming Language :: Python :: 3.11
15
+ Classifier: Programming Language :: Python :: 3.12
16
+ Classifier: Programming Language :: Python :: 3.13
17
+ Classifier: Programming Language :: Python :: 3.14
16
18
  Classifier: Typing :: Typed
17
19
  Classifier: Development Status :: 5 - Production/Stable
18
20
  Classifier: License :: OSI Approved
19
- Requires-Python: ~=3.9
21
+ Requires-Python: >=3.10
20
22
  Description-Content-Type: text/markdown
21
23
  License-File: LICENSE
22
- Requires-Dist: aws-cdk-lib<3.0.0,>=2.143.0
24
+ Requires-Dist: aws-cdk-lib<3.0.0,>=2.168.0
23
25
  Requires-Dist: constructs<11.0.0,>=10.5.1
24
- Requires-Dist: jsii<2.0.0,>=1.127.0
26
+ Requires-Dist: jsii<2.0.0,>=1.136.0
25
27
  Requires-Dist: publication>=0.0.3
26
- Requires-Dist: typeguard==2.13.3
27
28
 
28
29
  # CDK VSCode Server Construct
29
30
 
@@ -1,9 +1,9 @@
1
1
  [build-system]
2
- requires = ["setuptools~=75.3.2", "build~=1.3.0"]
2
+ requires = ["setuptools~=75.3.2", "build~=1.5.0"]
3
3
  build-backend = "setuptools.build_meta"
4
4
 
5
5
  [tool.pyright]
6
6
  defineConstant = { DEBUG = true }
7
- pythonVersion = "3.9"
7
+ pythonVersion = "3.10"
8
8
  pythonPlatform = "All"
9
9
  reportSelfClsParameterName = false
@@ -5,7 +5,7 @@ kwargs = json.loads(
5
5
  """
6
6
  {
7
7
  "name": "cdk-code-server",
8
- "version": "1.0.9",
8
+ "version": "1.0.11",
9
9
  "description": "CDK Construct for a VSCode Server development environment on EC2",
10
10
  "license": "Apache-2.0",
11
11
  "url": "https://github.com/badmintoncryer/cdk-code-server.git",
@@ -26,28 +26,29 @@ kwargs = json.loads(
26
26
  ],
27
27
  "package_data": {
28
28
  "cdk_code_server._jsii": [
29
- "cdk-code-server@1.0.9.jsii.tgz"
29
+ "cdk-code-server@1.0.11.jsii.tgz"
30
30
  ],
31
31
  "cdk_code_server": [
32
32
  "py.typed"
33
33
  ]
34
34
  },
35
- "python_requires": "~=3.9",
35
+ "python_requires": ">=3.10",
36
36
  "install_requires": [
37
- "aws-cdk-lib>=2.143.0, <3.0.0",
37
+ "aws-cdk-lib>=2.168.0, <3.0.0",
38
38
  "constructs>=10.5.1, <11.0.0",
39
- "jsii>=1.127.0, <2.0.0",
40
- "publication>=0.0.3",
41
- "typeguard==2.13.3"
39
+ "jsii>=1.136.0, <2.0.0",
40
+ "publication>=0.0.3"
42
41
  ],
43
42
  "classifiers": [
44
43
  "Intended Audience :: Developers",
45
44
  "Operating System :: OS Independent",
46
45
  "Programming Language :: JavaScript",
47
46
  "Programming Language :: Python :: 3 :: Only",
48
- "Programming Language :: Python :: 3.9",
49
47
  "Programming Language :: Python :: 3.10",
50
48
  "Programming Language :: Python :: 3.11",
49
+ "Programming Language :: Python :: 3.12",
50
+ "Programming Language :: Python :: 3.13",
51
+ "Programming Language :: Python :: 3.14",
51
52
  "Typing :: Typed",
52
53
  "Development Status :: 5 - Production/Stable",
53
54
  "License :: OSI Approved"
@@ -133,6 +133,8 @@ If the `useInstanceConnectEndpoint` option is set to true, you can connect via t
133
133
 
134
134
  1. Follow the same steps as in the SSM section to start the VSCode server and connect via tunnel.
135
135
  '''
136
+ from __future__ import annotations
137
+
136
138
  from pkgutil import extend_path
137
139
  __path__ = extend_path(__path__, __name__)
138
140
 
@@ -146,28 +148,31 @@ import jsii
146
148
  import publication
147
149
  import typing_extensions
148
150
 
149
- import typeguard
150
- from importlib.metadata import version as _metadata_package_version
151
- TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
152
-
153
- def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
154
- if TYPEGUARD_MAJOR_VERSION <= 2:
155
- return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
156
- else:
157
- if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
158
- pass
159
- else:
160
- if TYPEGUARD_MAJOR_VERSION == 3:
161
- typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
162
- typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
163
- else:
164
- typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
151
+ from jsii._type_checking import check_type
152
+
165
153
 
166
154
  from ._jsii import *
167
155
 
168
- import aws_cdk.aws_ec2 as _aws_cdk_aws_ec2_ceddda9d
169
- import aws_cdk.aws_iam as _aws_cdk_aws_iam_ceddda9d
170
- import constructs as _constructs_77d1e7e8
156
+ class _LazyImport:
157
+ def __init__(self, module_name: str) -> None:
158
+ self._module_name = module_name
159
+ self._module: typing.Any = None
160
+ def __getattr__(self, name: str) -> typing.Any:
161
+ if self._module is None:
162
+ import importlib
163
+ self._module = importlib.import_module(self._module_name)
164
+ return getattr(self._module, name)
165
+
166
+ if typing.TYPE_CHECKING:
167
+
168
+ import aws_cdk.aws_ec2 as _aws_cdk_aws_ec2_ceddda9d
169
+ import aws_cdk.aws_iam as _aws_cdk_aws_iam_ceddda9d
170
+ import constructs as _constructs_77d1e7e8
171
+ else:
172
+
173
+ _aws_cdk_aws_ec2_ceddda9d = _LazyImport("aws_cdk.aws_ec2")
174
+ _aws_cdk_aws_iam_ceddda9d = _LazyImport("aws_cdk.aws_iam")
175
+ _constructs_77d1e7e8 = _LazyImport("constructs")
171
176
 
172
177
 
173
178
  class CodeServer(
@@ -0,0 +1,28 @@
1
+ from pkgutil import extend_path
2
+ __path__ = extend_path(__path__, __name__)
3
+
4
+ import abc
5
+ import builtins
6
+ import datetime
7
+ import enum
8
+ import typing
9
+
10
+ import jsii
11
+ import publication
12
+ import typing_extensions
13
+
14
+ from jsii._type_checking import check_type
15
+
16
+
17
+ import aws_cdk._jsii
18
+ import constructs._jsii
19
+
20
+ __jsii_assembly__ = jsii.JSIIAssembly.load(
21
+ "cdk-code-server", "1.0.11", __name__[0:-6], "cdk-code-server@1.0.11.jsii.tgz"
22
+ )
23
+
24
+ __all__ = [
25
+ "__jsii_assembly__",
26
+ ]
27
+
28
+ publication.publish()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: cdk-code-server
3
- Version: 1.0.9
3
+ Version: 1.0.11
4
4
  Summary: CDK Construct for a VSCode Server development environment on EC2
5
5
  Home-page: https://github.com/badmintoncryer/cdk-code-server.git
6
6
  Author: Kazuho CryerShinozuka<malaysia.cryer@gmail.com>
@@ -10,20 +10,21 @@ Classifier: Intended Audience :: Developers
10
10
  Classifier: Operating System :: OS Independent
11
11
  Classifier: Programming Language :: JavaScript
12
12
  Classifier: Programming Language :: Python :: 3 :: Only
13
- Classifier: Programming Language :: Python :: 3.9
14
13
  Classifier: Programming Language :: Python :: 3.10
15
14
  Classifier: Programming Language :: Python :: 3.11
15
+ Classifier: Programming Language :: Python :: 3.12
16
+ Classifier: Programming Language :: Python :: 3.13
17
+ Classifier: Programming Language :: Python :: 3.14
16
18
  Classifier: Typing :: Typed
17
19
  Classifier: Development Status :: 5 - Production/Stable
18
20
  Classifier: License :: OSI Approved
19
- Requires-Python: ~=3.9
21
+ Requires-Python: >=3.10
20
22
  Description-Content-Type: text/markdown
21
23
  License-File: LICENSE
22
- Requires-Dist: aws-cdk-lib<3.0.0,>=2.143.0
24
+ Requires-Dist: aws-cdk-lib<3.0.0,>=2.168.0
23
25
  Requires-Dist: constructs<11.0.0,>=10.5.1
24
- Requires-Dist: jsii<2.0.0,>=1.127.0
26
+ Requires-Dist: jsii<2.0.0,>=1.136.0
25
27
  Requires-Dist: publication>=0.0.3
26
- Requires-Dist: typeguard==2.13.3
27
28
 
28
29
  # CDK VSCode Server Construct
29
30
 
@@ -11,4 +11,4 @@ src/cdk_code_server.egg-info/dependency_links.txt
11
11
  src/cdk_code_server.egg-info/requires.txt
12
12
  src/cdk_code_server.egg-info/top_level.txt
13
13
  src/cdk_code_server/_jsii/__init__.py
14
- src/cdk_code_server/_jsii/cdk-code-server@1.0.9.jsii.tgz
14
+ src/cdk_code_server/_jsii/cdk-code-server@1.0.11.jsii.tgz
@@ -0,0 +1,4 @@
1
+ aws-cdk-lib<3.0.0,>=2.168.0
2
+ constructs<11.0.0,>=10.5.1
3
+ jsii<2.0.0,>=1.136.0
4
+ publication>=0.0.3
@@ -1,42 +0,0 @@
1
- from pkgutil import extend_path
2
- __path__ = extend_path(__path__, __name__)
3
-
4
- import abc
5
- import builtins
6
- import datetime
7
- import enum
8
- import typing
9
-
10
- import jsii
11
- import publication
12
- import typing_extensions
13
-
14
- import typeguard
15
- from importlib.metadata import version as _metadata_package_version
16
- TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
17
-
18
- def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
19
- if TYPEGUARD_MAJOR_VERSION <= 2:
20
- return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
21
- else:
22
- if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
23
- pass
24
- else:
25
- if TYPEGUARD_MAJOR_VERSION == 3:
26
- typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
27
- typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
28
- else:
29
- typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
30
-
31
- import aws_cdk._jsii
32
- import constructs._jsii
33
-
34
- __jsii_assembly__ = jsii.JSIIAssembly.load(
35
- "cdk-code-server", "1.0.9", __name__[0:-6], "cdk-code-server@1.0.9.jsii.tgz"
36
- )
37
-
38
- __all__ = [
39
- "__jsii_assembly__",
40
- ]
41
-
42
- publication.publish()
@@ -1,5 +0,0 @@
1
- aws-cdk-lib<3.0.0,>=2.143.0
2
- constructs<11.0.0,>=10.5.1
3
- jsii<2.0.0,>=1.127.0
4
- publication>=0.0.3
5
- typeguard==2.13.3