gammarers.aws-resource-naming 0.7.0__tar.gz → 0.8.0__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.

Potentially problematic release.


This version of gammarers.aws-resource-naming might be problematic. Click here for more details.

Files changed (18) hide show
  1. {gammarers_aws_resource_naming-0.7.0/src/gammarers.aws_resource_naming.egg-info → gammarers_aws_resource_naming-0.8.0}/PKG-INFO +1 -1
  2. {gammarers_aws_resource_naming-0.7.0 → gammarers_aws_resource_naming-0.8.0}/setup.py +3 -4
  3. {gammarers_aws_resource_naming-0.7.0/src/gammarers/aws_resource_naming/resource_naming → gammarers_aws_resource_naming-0.8.0/src/gammarers/aws_resource_naming}/__init__.py +27 -24
  4. {gammarers_aws_resource_naming-0.7.0 → gammarers_aws_resource_naming-0.8.0}/src/gammarers/aws_resource_naming/_jsii/__init__.py +2 -2
  5. gammarers_aws_resource_naming-0.8.0/src/gammarers/aws_resource_naming/_jsii/aws-resource-naming@0.8.0.jsii.tgz +0 -0
  6. {gammarers_aws_resource_naming-0.7.0 → gammarers_aws_resource_naming-0.8.0/src/gammarers.aws_resource_naming.egg-info}/PKG-INFO +1 -1
  7. {gammarers_aws_resource_naming-0.7.0 → gammarers_aws_resource_naming-0.8.0}/src/gammarers.aws_resource_naming.egg-info/SOURCES.txt +1 -2
  8. gammarers_aws_resource_naming-0.7.0/src/gammarers/aws_resource_naming/__init__.py +0 -43
  9. gammarers_aws_resource_naming-0.7.0/src/gammarers/aws_resource_naming/_jsii/aws-resource-naming@0.7.0.jsii.tgz +0 -0
  10. {gammarers_aws_resource_naming-0.7.0 → gammarers_aws_resource_naming-0.8.0}/LICENSE +0 -0
  11. {gammarers_aws_resource_naming-0.7.0 → gammarers_aws_resource_naming-0.8.0}/MANIFEST.in +0 -0
  12. {gammarers_aws_resource_naming-0.7.0 → gammarers_aws_resource_naming-0.8.0}/README.md +0 -0
  13. {gammarers_aws_resource_naming-0.7.0 → gammarers_aws_resource_naming-0.8.0}/pyproject.toml +0 -0
  14. {gammarers_aws_resource_naming-0.7.0 → gammarers_aws_resource_naming-0.8.0}/setup.cfg +0 -0
  15. {gammarers_aws_resource_naming-0.7.0 → gammarers_aws_resource_naming-0.8.0}/src/gammarers/aws_resource_naming/py.typed +0 -0
  16. {gammarers_aws_resource_naming-0.7.0 → gammarers_aws_resource_naming-0.8.0}/src/gammarers.aws_resource_naming.egg-info/dependency_links.txt +0 -0
  17. {gammarers_aws_resource_naming-0.7.0 → gammarers_aws_resource_naming-0.8.0}/src/gammarers.aws_resource_naming.egg-info/requires.txt +0 -0
  18. {gammarers_aws_resource_naming-0.7.0 → gammarers_aws_resource_naming-0.8.0}/src/gammarers.aws_resource_naming.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: gammarers.aws-resource-naming
3
- Version: 0.7.0
3
+ Version: 0.8.0
4
4
  Summary: @gammarers/aws-resource-naming
5
5
  Home-page: https://github.com/gammarers/aws-resource-naming.git
6
6
  Author: yicr<yicr@users.noreply.github.com>
@@ -5,7 +5,7 @@ kwargs = json.loads(
5
5
  """
6
6
  {
7
7
  "name": "gammarers.aws-resource-naming",
8
- "version": "0.7.0",
8
+ "version": "0.8.0",
9
9
  "description": "@gammarers/aws-resource-naming",
10
10
  "license": "Apache-2.0",
11
11
  "url": "https://github.com/gammarers/aws-resource-naming.git",
@@ -22,12 +22,11 @@ kwargs = json.loads(
22
22
  },
23
23
  "packages": [
24
24
  "gammarers.aws_resource_naming",
25
- "gammarers.aws_resource_naming._jsii",
26
- "gammarers.aws_resource_naming.resource_naming"
25
+ "gammarers.aws_resource_naming._jsii"
27
26
  ],
28
27
  "package_data": {
29
28
  "gammarers.aws_resource_naming._jsii": [
30
- "aws-resource-naming@0.7.0.jsii.tgz"
29
+ "aws-resource-naming@0.8.0.jsii.tgz"
31
30
  ],
32
31
  "gammarers.aws_resource_naming": [
33
32
  "py.typed"
@@ -1,3 +1,6 @@
1
+ r'''
2
+ # AWS Resource Naming
3
+ '''
1
4
  from pkgutil import extend_path
2
5
  __path__ = extend_path(__path__, __name__)
3
6
 
@@ -28,31 +31,31 @@ def check_type(argname: str, value: object, expected_type: typing.Any) -> typing
28
31
  else:
29
32
  typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
30
33
 
31
- from .._jsii import *
34
+ from ._jsii import *
32
35
 
33
36
 
34
37
  @jsii.data_type(
35
- jsii_type="@gammarers/aws-resource-naming.ResourceNaming.AutoNaming",
38
+ jsii_type="@gammarers/aws-resource-naming.ResourceAutoNaming",
36
39
  jsii_struct_bases=[],
37
40
  name_mapping={"type": "type"},
38
41
  )
39
- class AutoNaming:
40
- def __init__(self, *, type: "NamingType") -> None:
42
+ class ResourceAutoNaming:
43
+ def __init__(self, *, type: "ResourceNamingType") -> None:
41
44
  '''
42
45
  :param type:
43
46
  '''
44
47
  if __debug__:
45
- type_hints = typing.get_type_hints(_typecheckingstub__d518bf12b9278312a7912345595a9ad5fb69dd947b23f1445449a336a3e8845c)
48
+ type_hints = typing.get_type_hints(_typecheckingstub__28a02cc4583d76f3b0ceec83bb5e1ca2058c297411271cbd1600630d3d3d653c)
46
49
  check_type(argname="argument type", value=type, expected_type=type_hints["type"])
47
50
  self._values: typing.Dict[builtins.str, typing.Any] = {
48
51
  "type": type,
49
52
  }
50
53
 
51
54
  @builtins.property
52
- def type(self) -> "NamingType":
55
+ def type(self) -> "ResourceNamingType":
53
56
  result = self._values.get("type")
54
57
  assert result is not None, "Required property 'type' is missing"
55
- return typing.cast("NamingType", result)
58
+ return typing.cast("ResourceNamingType", result)
56
59
 
57
60
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
58
61
  return isinstance(rhs, self.__class__) and rhs._values == self._values
@@ -61,33 +64,33 @@ class AutoNaming:
61
64
  return not (rhs == self)
62
65
 
63
66
  def __repr__(self) -> str:
64
- return "AutoNaming(%s)" % ", ".join(
67
+ return "ResourceAutoNaming(%s)" % ", ".join(
65
68
  k + "=" + repr(v) for k, v in self._values.items()
66
69
  )
67
70
 
68
71
 
69
72
  @jsii.data_type(
70
- jsii_type="@gammarers/aws-resource-naming.ResourceNaming.DefaultNaming",
73
+ jsii_type="@gammarers/aws-resource-naming.ResourceDefaultNaming",
71
74
  jsii_struct_bases=[],
72
75
  name_mapping={"type": "type"},
73
76
  )
74
- class DefaultNaming:
75
- def __init__(self, *, type: "NamingType") -> None:
77
+ class ResourceDefaultNaming:
78
+ def __init__(self, *, type: "ResourceNamingType") -> None:
76
79
  '''
77
80
  :param type:
78
81
  '''
79
82
  if __debug__:
80
- type_hints = typing.get_type_hints(_typecheckingstub__a6fe688f7026700ff451ff908b5358d3e7292c007575b3de8dfbdfcbadcb332f)
83
+ type_hints = typing.get_type_hints(_typecheckingstub__57fa6963424c8053c6ca770b74abe39433f08e92d66cd14d915200de0b3692a3)
81
84
  check_type(argname="argument type", value=type, expected_type=type_hints["type"])
82
85
  self._values: typing.Dict[builtins.str, typing.Any] = {
83
86
  "type": type,
84
87
  }
85
88
 
86
89
  @builtins.property
87
- def type(self) -> "NamingType":
90
+ def type(self) -> "ResourceNamingType":
88
91
  result = self._values.get("type")
89
92
  assert result is not None, "Required property 'type' is missing"
90
- return typing.cast("NamingType", result)
93
+ return typing.cast("ResourceNamingType", result)
91
94
 
92
95
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
93
96
  return isinstance(rhs, self.__class__) and rhs._values == self._values
@@ -96,36 +99,36 @@ class DefaultNaming:
96
99
  return not (rhs == self)
97
100
 
98
101
  def __repr__(self) -> str:
99
- return "DefaultNaming(%s)" % ", ".join(
102
+ return "ResourceDefaultNaming(%s)" % ", ".join(
100
103
  k + "=" + repr(v) for k, v in self._values.items()
101
104
  )
102
105
 
103
106
 
104
- @jsii.enum(jsii_type="@gammarers/aws-resource-naming.ResourceNaming.NamingType")
105
- class NamingType(enum.Enum):
107
+ @jsii.enum(jsii_type="@gammarers/aws-resource-naming.ResourceNamingType")
108
+ class ResourceNamingType(enum.Enum):
106
109
  DEFAULT = "DEFAULT"
107
110
  AUTO = "AUTO"
108
111
  CUSTOM = "CUSTOM"
109
112
 
110
113
 
111
114
  __all__ = [
112
- "AutoNaming",
113
- "DefaultNaming",
114
- "NamingType",
115
+ "ResourceAutoNaming",
116
+ "ResourceDefaultNaming",
117
+ "ResourceNamingType",
115
118
  ]
116
119
 
117
120
  publication.publish()
118
121
 
119
- def _typecheckingstub__d518bf12b9278312a7912345595a9ad5fb69dd947b23f1445449a336a3e8845c(
122
+ def _typecheckingstub__28a02cc4583d76f3b0ceec83bb5e1ca2058c297411271cbd1600630d3d3d653c(
120
123
  *,
121
- type: NamingType,
124
+ type: ResourceNamingType,
122
125
  ) -> None:
123
126
  """Type checking stubs"""
124
127
  pass
125
128
 
126
- def _typecheckingstub__a6fe688f7026700ff451ff908b5358d3e7292c007575b3de8dfbdfcbadcb332f(
129
+ def _typecheckingstub__57fa6963424c8053c6ca770b74abe39433f08e92d66cd14d915200de0b3692a3(
127
130
  *,
128
- type: NamingType,
131
+ type: ResourceNamingType,
129
132
  ) -> None:
130
133
  """Type checking stubs"""
131
134
  pass
@@ -30,9 +30,9 @@ def check_type(argname: str, value: object, expected_type: typing.Any) -> typing
30
30
 
31
31
  __jsii_assembly__ = jsii.JSIIAssembly.load(
32
32
  "@gammarers/aws-resource-naming",
33
- "0.7.0",
33
+ "0.8.0",
34
34
  __name__[0:-6],
35
- "aws-resource-naming@0.7.0.jsii.tgz",
35
+ "aws-resource-naming@0.8.0.jsii.tgz",
36
36
  )
37
37
 
38
38
  __all__ = [
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: gammarers.aws-resource-naming
3
- Version: 0.7.0
3
+ Version: 0.8.0
4
4
  Summary: @gammarers/aws-resource-naming
5
5
  Home-page: https://github.com/gammarers/aws-resource-naming.git
6
6
  Author: yicr<yicr@users.noreply.github.com>
@@ -11,5 +11,4 @@ src/gammarers.aws_resource_naming.egg-info/top_level.txt
11
11
  src/gammarers/aws_resource_naming/__init__.py
12
12
  src/gammarers/aws_resource_naming/py.typed
13
13
  src/gammarers/aws_resource_naming/_jsii/__init__.py
14
- src/gammarers/aws_resource_naming/_jsii/aws-resource-naming@0.7.0.jsii.tgz
15
- src/gammarers/aws_resource_naming/resource_naming/__init__.py
14
+ src/gammarers/aws_resource_naming/_jsii/aws-resource-naming@0.8.0.jsii.tgz
@@ -1,43 +0,0 @@
1
- r'''
2
- # AWS Resource Naming
3
- '''
4
- from pkgutil import extend_path
5
- __path__ = extend_path(__path__, __name__)
6
-
7
- import abc
8
- import builtins
9
- import datetime
10
- import enum
11
- import typing
12
-
13
- import jsii
14
- import publication
15
- import typing_extensions
16
-
17
- import typeguard
18
- from importlib.metadata import version as _metadata_package_version
19
- TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
20
-
21
- def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
22
- if TYPEGUARD_MAJOR_VERSION <= 2:
23
- return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
24
- else:
25
- if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
26
- pass
27
- else:
28
- if TYPEGUARD_MAJOR_VERSION == 3:
29
- typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
30
- typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
31
- else:
32
- typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
33
-
34
- from ._jsii import *
35
-
36
- __all__ = [
37
- "resource_naming",
38
- ]
39
-
40
- publication.publish()
41
-
42
- # Loading modules to ensure their types are registered with the jsii runtime library
43
- from . import resource_naming