cloudsnorkel.cdk-rds-sanitized-snapshots 0.1.0__tar.gz → 0.1.2__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 cloudsnorkel.cdk-rds-sanitized-snapshots might be problematic. Click here for more details.

Files changed (18) hide show
  1. {cloudsnorkel.cdk-rds-sanitized-snapshots-0.1.0/src/cloudsnorkel.cdk_rds_sanitized_snapshots.egg-info → cloudsnorkel_cdk_rds_sanitized_snapshots-0.1.2}/PKG-INFO +7 -3
  2. {cloudsnorkel.cdk-rds-sanitized-snapshots-0.1.0 → cloudsnorkel_cdk_rds_sanitized_snapshots-0.1.2}/pyproject.toml +2 -2
  3. {cloudsnorkel.cdk-rds-sanitized-snapshots-0.1.0 → cloudsnorkel_cdk_rds_sanitized_snapshots-0.1.2}/setup.py +5 -6
  4. {cloudsnorkel.cdk-rds-sanitized-snapshots-0.1.0 → cloudsnorkel_cdk_rds_sanitized_snapshots-0.1.2}/src/cloudsnorkel/cdk_rds_sanitized_snapshots/__init__.py +21 -3
  5. cloudsnorkel_cdk_rds_sanitized_snapshots-0.1.2/src/cloudsnorkel/cdk_rds_sanitized_snapshots/_jsii/__init__.py +45 -0
  6. cloudsnorkel_cdk_rds_sanitized_snapshots-0.1.2/src/cloudsnorkel/cdk_rds_sanitized_snapshots/_jsii/cdk-rds-sanitized-snapshots@0.1.2.jsii.tgz +0 -0
  7. {cloudsnorkel.cdk-rds-sanitized-snapshots-0.1.0 → cloudsnorkel_cdk_rds_sanitized_snapshots-0.1.2/src/cloudsnorkel.cdk_rds_sanitized_snapshots.egg-info}/PKG-INFO +7 -3
  8. {cloudsnorkel.cdk-rds-sanitized-snapshots-0.1.0 → cloudsnorkel_cdk_rds_sanitized_snapshots-0.1.2}/src/cloudsnorkel.cdk_rds_sanitized_snapshots.egg-info/SOURCES.txt +1 -1
  9. {cloudsnorkel.cdk-rds-sanitized-snapshots-0.1.0 → cloudsnorkel_cdk_rds_sanitized_snapshots-0.1.2}/src/cloudsnorkel.cdk_rds_sanitized_snapshots.egg-info/requires.txt +2 -2
  10. cloudsnorkel.cdk-rds-sanitized-snapshots-0.1.0/src/cloudsnorkel/cdk_rds_sanitized_snapshots/_jsii/__init__.py +0 -27
  11. cloudsnorkel.cdk-rds-sanitized-snapshots-0.1.0/src/cloudsnorkel/cdk_rds_sanitized_snapshots/_jsii/cdk-rds-sanitized-snapshots@0.1.0.jsii.tgz +0 -0
  12. {cloudsnorkel.cdk-rds-sanitized-snapshots-0.1.0 → cloudsnorkel_cdk_rds_sanitized_snapshots-0.1.2}/LICENSE +0 -0
  13. {cloudsnorkel.cdk-rds-sanitized-snapshots-0.1.0 → cloudsnorkel_cdk_rds_sanitized_snapshots-0.1.2}/MANIFEST.in +0 -0
  14. {cloudsnorkel.cdk-rds-sanitized-snapshots-0.1.0 → cloudsnorkel_cdk_rds_sanitized_snapshots-0.1.2}/README.md +0 -0
  15. {cloudsnorkel.cdk-rds-sanitized-snapshots-0.1.0 → cloudsnorkel_cdk_rds_sanitized_snapshots-0.1.2}/setup.cfg +0 -0
  16. {cloudsnorkel.cdk-rds-sanitized-snapshots-0.1.0 → cloudsnorkel_cdk_rds_sanitized_snapshots-0.1.2}/src/cloudsnorkel/cdk_rds_sanitized_snapshots/py.typed +0 -0
  17. {cloudsnorkel.cdk-rds-sanitized-snapshots-0.1.0 → cloudsnorkel_cdk_rds_sanitized_snapshots-0.1.2}/src/cloudsnorkel.cdk_rds_sanitized_snapshots.egg-info/dependency_links.txt +0 -0
  18. {cloudsnorkel.cdk-rds-sanitized-snapshots-0.1.0 → cloudsnorkel_cdk_rds_sanitized_snapshots-0.1.2}/src/cloudsnorkel.cdk_rds_sanitized_snapshots.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: cloudsnorkel.cdk-rds-sanitized-snapshots
3
- Version: 0.1.0
3
+ Version: 0.1.2
4
4
  Summary: CDK construct to periodically take snapshots of RDS databases, sanitize them, and share with selected accounts.
5
5
  Home-page: https://github.com/CloudSnorkel/cdk-rds-sanitized-snapshots.git
6
6
  Author: Amir Szekely<amir@cloudsnorkel.com>
@@ -10,7 +10,6 @@ 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.7
14
13
  Classifier: Programming Language :: Python :: 3.8
15
14
  Classifier: Programming Language :: Python :: 3.9
16
15
  Classifier: Programming Language :: Python :: 3.10
@@ -18,9 +17,14 @@ Classifier: Programming Language :: Python :: 3.11
18
17
  Classifier: Typing :: Typed
19
18
  Classifier: Development Status :: 4 - Beta
20
19
  Classifier: License :: OSI Approved
21
- Requires-Python: ~=3.7
20
+ Requires-Python: ~=3.8
22
21
  Description-Content-Type: text/markdown
23
22
  License-File: LICENSE
23
+ Requires-Dist: aws-cdk-lib<3.0.0,>=2.85.0
24
+ Requires-Dist: constructs<11.0.0,>=10.0.5
25
+ Requires-Dist: jsii<2.0.0,>=1.103.1
26
+ Requires-Dist: publication>=0.0.3
27
+ Requires-Dist: typeguard<5.0.0,>=2.13.3
24
28
 
25
29
  # CDK Construct for RDS Sanitized Snapshots
26
30
 
@@ -1,9 +1,9 @@
1
1
  [build-system]
2
- requires = ["setuptools~=67.3.2", "wheel~=0.41"]
2
+ requires = ["setuptools~=70.0.0", "wheel~=0.42"]
3
3
  build-backend = "setuptools.build_meta"
4
4
 
5
5
  [tool.pyright]
6
6
  defineConstant = { DEBUG = true }
7
- pythonVersion = "3.7"
7
+ pythonVersion = "3.8"
8
8
  pythonPlatform = "All"
9
9
  reportSelfClsParameterName = false
@@ -5,7 +5,7 @@ kwargs = json.loads(
5
5
  """
6
6
  {
7
7
  "name": "cloudsnorkel.cdk-rds-sanitized-snapshots",
8
- "version": "0.1.0",
8
+ "version": "0.1.2",
9
9
  "description": "CDK construct to periodically take snapshots of RDS databases, sanitize them, and share with selected accounts.",
10
10
  "license": "Apache-2.0",
11
11
  "url": "https://github.com/CloudSnorkel/cdk-rds-sanitized-snapshots.git",
@@ -26,26 +26,25 @@ kwargs = json.loads(
26
26
  ],
27
27
  "package_data": {
28
28
  "cloudsnorkel.cdk_rds_sanitized_snapshots._jsii": [
29
- "cdk-rds-sanitized-snapshots@0.1.0.jsii.tgz"
29
+ "cdk-rds-sanitized-snapshots@0.1.2.jsii.tgz"
30
30
  ],
31
31
  "cloudsnorkel.cdk_rds_sanitized_snapshots": [
32
32
  "py.typed"
33
33
  ]
34
34
  },
35
- "python_requires": "~=3.7",
35
+ "python_requires": "~=3.8",
36
36
  "install_requires": [
37
37
  "aws-cdk-lib>=2.85.0, <3.0.0",
38
38
  "constructs>=10.0.5, <11.0.0",
39
- "jsii>=1.91.0, <2.0.0",
39
+ "jsii>=1.103.1, <2.0.0",
40
40
  "publication>=0.0.3",
41
- "typeguard~=2.13.3"
41
+ "typeguard>=2.13.3,<5.0.0"
42
42
  ],
43
43
  "classifiers": [
44
44
  "Intended Audience :: Developers",
45
45
  "Operating System :: OS Independent",
46
46
  "Programming Language :: JavaScript",
47
47
  "Programming Language :: Python :: 3 :: Only",
48
- "Programming Language :: Python :: 3.7",
49
48
  "Programming Language :: Python :: 3.8",
50
49
  "Programming Language :: Python :: 3.9",
51
50
  "Programming Language :: Python :: 3.10",
@@ -1,4 +1,4 @@
1
- '''
1
+ r'''
2
2
  # CDK Construct for RDS Sanitized Snapshots
3
3
 
4
4
  [![NPM](https://img.shields.io/npm/v/@cloudsnorkel/cdk-rds-sanitized-snapshots?label=npm&logo=npm)](https://www.npmjs.com/package/@cloudsnorkel/cdk-rds-sanitized-snapshots)
@@ -109,6 +109,9 @@ on giving other accounts access to the key.
109
109
  npm run bundle && npm run integ:default:deploy
110
110
  ```
111
111
  '''
112
+ from pkgutil import extend_path
113
+ __path__ = extend_path(__path__, __name__)
114
+
112
115
  import abc
113
116
  import builtins
114
117
  import datetime
@@ -119,7 +122,22 @@ import jsii
119
122
  import publication
120
123
  import typing_extensions
121
124
 
122
- from typeguard import check_type
125
+ import typeguard
126
+ from importlib.metadata import version as _metadata_package_version
127
+ TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
128
+
129
+ def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
130
+ if TYPEGUARD_MAJOR_VERSION <= 2:
131
+ return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
132
+ else:
133
+ if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
134
+ pass
135
+ else:
136
+ if TYPEGUARD_MAJOR_VERSION == 3:
137
+ typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
138
+ typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
139
+ else:
140
+ typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
123
141
 
124
142
  from ._jsii import *
125
143
 
@@ -552,7 +570,7 @@ class RdsSanitizedSnapshotter(
552
570
  if __debug__:
553
571
  type_hints = typing.get_type_hints(_typecheckingstub__df51411713b297623720935bb6779afc65503804a74afed6b48f5754baba7f14)
554
572
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
555
- jsii.set(self, "snapshotter", value)
573
+ jsii.set(self, "snapshotter", value) # pyright: ignore[reportArgumentType]
556
574
 
557
575
 
558
576
  __all__ = [
@@ -0,0 +1,45 @@
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
+ "@cloudsnorkel/cdk-rds-sanitized-snapshots",
36
+ "0.1.2",
37
+ __name__[0:-6],
38
+ "cdk-rds-sanitized-snapshots@0.1.2.jsii.tgz",
39
+ )
40
+
41
+ __all__ = [
42
+ "__jsii_assembly__",
43
+ ]
44
+
45
+ publication.publish()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: cloudsnorkel.cdk-rds-sanitized-snapshots
3
- Version: 0.1.0
3
+ Version: 0.1.2
4
4
  Summary: CDK construct to periodically take snapshots of RDS databases, sanitize them, and share with selected accounts.
5
5
  Home-page: https://github.com/CloudSnorkel/cdk-rds-sanitized-snapshots.git
6
6
  Author: Amir Szekely<amir@cloudsnorkel.com>
@@ -10,7 +10,6 @@ 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.7
14
13
  Classifier: Programming Language :: Python :: 3.8
15
14
  Classifier: Programming Language :: Python :: 3.9
16
15
  Classifier: Programming Language :: Python :: 3.10
@@ -18,9 +17,14 @@ Classifier: Programming Language :: Python :: 3.11
18
17
  Classifier: Typing :: Typed
19
18
  Classifier: Development Status :: 4 - Beta
20
19
  Classifier: License :: OSI Approved
21
- Requires-Python: ~=3.7
20
+ Requires-Python: ~=3.8
22
21
  Description-Content-Type: text/markdown
23
22
  License-File: LICENSE
23
+ Requires-Dist: aws-cdk-lib<3.0.0,>=2.85.0
24
+ Requires-Dist: constructs<11.0.0,>=10.0.5
25
+ Requires-Dist: jsii<2.0.0,>=1.103.1
26
+ Requires-Dist: publication>=0.0.3
27
+ Requires-Dist: typeguard<5.0.0,>=2.13.3
24
28
 
25
29
  # CDK Construct for RDS Sanitized Snapshots
26
30
 
@@ -11,4 +11,4 @@ src/cloudsnorkel.cdk_rds_sanitized_snapshots.egg-info/top_level.txt
11
11
  src/cloudsnorkel/cdk_rds_sanitized_snapshots/__init__.py
12
12
  src/cloudsnorkel/cdk_rds_sanitized_snapshots/py.typed
13
13
  src/cloudsnorkel/cdk_rds_sanitized_snapshots/_jsii/__init__.py
14
- src/cloudsnorkel/cdk_rds_sanitized_snapshots/_jsii/cdk-rds-sanitized-snapshots@0.1.0.jsii.tgz
14
+ src/cloudsnorkel/cdk_rds_sanitized_snapshots/_jsii/cdk-rds-sanitized-snapshots@0.1.2.jsii.tgz
@@ -1,5 +1,5 @@
1
1
  aws-cdk-lib<3.0.0,>=2.85.0
2
2
  constructs<11.0.0,>=10.0.5
3
- jsii<2.0.0,>=1.91.0
3
+ jsii<2.0.0,>=1.103.1
4
4
  publication>=0.0.3
5
- typeguard~=2.13.3
5
+ typeguard<5.0.0,>=2.13.3
@@ -1,27 +0,0 @@
1
- import abc
2
- import builtins
3
- import datetime
4
- import enum
5
- import typing
6
-
7
- import jsii
8
- import publication
9
- import typing_extensions
10
-
11
- from typeguard import check_type
12
-
13
- import aws_cdk._jsii
14
- import constructs._jsii
15
-
16
- __jsii_assembly__ = jsii.JSIIAssembly.load(
17
- "@cloudsnorkel/cdk-rds-sanitized-snapshots",
18
- "0.1.0",
19
- __name__[0:-6],
20
- "cdk-rds-sanitized-snapshots@0.1.0.jsii.tgz",
21
- )
22
-
23
- __all__ = [
24
- "__jsii_assembly__",
25
- ]
26
-
27
- publication.publish()