bk-crypto-python-sdk 2.0.1__tar.gz → 3.0.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.
- {bk_crypto_python_sdk-2.0.1 → bk_crypto_python_sdk-3.0.0}/PKG-INFO +5 -6
- {bk_crypto_python_sdk-2.0.1 → bk_crypto_python_sdk-3.0.0}/pyproject.toml +8 -5
- {bk_crypto_python_sdk-2.0.1 → bk_crypto_python_sdk-3.0.0}/readme.md +1 -1
- {bk_crypto_python_sdk-2.0.1 → bk_crypto_python_sdk-3.0.0}/LICENSE.txt +0 -0
- {bk_crypto_python_sdk-2.0.1 → bk_crypto_python_sdk-3.0.0}/bkcrypto/__init__.py +0 -0
- {bk_crypto_python_sdk-2.0.1 → bk_crypto_python_sdk-3.0.0}/bkcrypto/asymmetric/__init__.py +0 -0
- {bk_crypto_python_sdk-2.0.1 → bk_crypto_python_sdk-3.0.0}/bkcrypto/asymmetric/ciphers/__init__.py +0 -0
- {bk_crypto_python_sdk-2.0.1 → bk_crypto_python_sdk-3.0.0}/bkcrypto/asymmetric/ciphers/base.py +0 -0
- {bk_crypto_python_sdk-2.0.1 → bk_crypto_python_sdk-3.0.0}/bkcrypto/asymmetric/ciphers/rsa.py +0 -0
- {bk_crypto_python_sdk-2.0.1 → bk_crypto_python_sdk-3.0.0}/bkcrypto/asymmetric/ciphers/sm2.py +0 -0
- {bk_crypto_python_sdk-2.0.1 → bk_crypto_python_sdk-3.0.0}/bkcrypto/asymmetric/configs.py +0 -0
- {bk_crypto_python_sdk-2.0.1 → bk_crypto_python_sdk-3.0.0}/bkcrypto/asymmetric/interceptors.py +0 -0
- {bk_crypto_python_sdk-2.0.1 → bk_crypto_python_sdk-3.0.0}/bkcrypto/asymmetric/options.py +0 -0
- {bk_crypto_python_sdk-2.0.1 → bk_crypto_python_sdk-3.0.0}/bkcrypto/constants.py +0 -0
- {bk_crypto_python_sdk-2.0.1 → bk_crypto_python_sdk-3.0.0}/bkcrypto/contrib/__init__.py +0 -0
- {bk_crypto_python_sdk-2.0.1 → bk_crypto_python_sdk-3.0.0}/bkcrypto/contrib/basic/__init__.py +0 -0
- {bk_crypto_python_sdk-2.0.1 → bk_crypto_python_sdk-3.0.0}/bkcrypto/contrib/basic/ciphers.py +0 -0
- {bk_crypto_python_sdk-2.0.1 → bk_crypto_python_sdk-3.0.0}/bkcrypto/contrib/django/__init__.py +0 -0
- {bk_crypto_python_sdk-2.0.1 → bk_crypto_python_sdk-3.0.0}/bkcrypto/contrib/django/ciphers.py +0 -0
- {bk_crypto_python_sdk-2.0.1 → bk_crypto_python_sdk-3.0.0}/bkcrypto/contrib/django/fields.py +0 -0
- {bk_crypto_python_sdk-2.0.1 → bk_crypto_python_sdk-3.0.0}/bkcrypto/contrib/django/init_configs.py +0 -0
- {bk_crypto_python_sdk-2.0.1 → bk_crypto_python_sdk-3.0.0}/bkcrypto/contrib/django/selectors.py +0 -0
- {bk_crypto_python_sdk-2.0.1 → bk_crypto_python_sdk-3.0.0}/bkcrypto/contrib/django/settings.py +0 -0
- {bk_crypto_python_sdk-2.0.1 → bk_crypto_python_sdk-3.0.0}/bkcrypto/contrib/drf/__init__.py +0 -0
- {bk_crypto_python_sdk-2.0.1 → bk_crypto_python_sdk-3.0.0}/bkcrypto/symmetric/__init__.py +0 -0
- {bk_crypto_python_sdk-2.0.1 → bk_crypto_python_sdk-3.0.0}/bkcrypto/symmetric/ciphers/__init__.py +0 -0
- {bk_crypto_python_sdk-2.0.1 → bk_crypto_python_sdk-3.0.0}/bkcrypto/symmetric/ciphers/aes.py +0 -0
- {bk_crypto_python_sdk-2.0.1 → bk_crypto_python_sdk-3.0.0}/bkcrypto/symmetric/ciphers/base.py +0 -0
- {bk_crypto_python_sdk-2.0.1 → bk_crypto_python_sdk-3.0.0}/bkcrypto/symmetric/ciphers/sm4.py +0 -0
- {bk_crypto_python_sdk-2.0.1 → bk_crypto_python_sdk-3.0.0}/bkcrypto/symmetric/configs.py +0 -0
- {bk_crypto_python_sdk-2.0.1 → bk_crypto_python_sdk-3.0.0}/bkcrypto/symmetric/interceptors.py +0 -0
- {bk_crypto_python_sdk-2.0.1 → bk_crypto_python_sdk-3.0.0}/bkcrypto/symmetric/options.py +0 -0
- {bk_crypto_python_sdk-2.0.1 → bk_crypto_python_sdk-3.0.0}/bkcrypto/types.py +0 -0
- {bk_crypto_python_sdk-2.0.1 → bk_crypto_python_sdk-3.0.0}/bkcrypto/utils/__init__.py +0 -0
- {bk_crypto_python_sdk-2.0.1 → bk_crypto_python_sdk-3.0.0}/bkcrypto/utils/base_interceptors.py +0 -0
- {bk_crypto_python_sdk-2.0.1 → bk_crypto_python_sdk-3.0.0}/bkcrypto/utils/convertors.py +0 -0
- {bk_crypto_python_sdk-2.0.1 → bk_crypto_python_sdk-3.0.0}/bkcrypto/utils/module_loding.py +0 -0
|
@@ -1,27 +1,26 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: bk-crypto-python-sdk
|
|
3
|
-
Version:
|
|
3
|
+
Version: 3.0.0
|
|
4
4
|
Summary: bk-crypto-python-sdk is a lightweight cryptography toolkit for Python applications based on Cryptodome / tongsuopy and other encryption libraries.
|
|
5
5
|
Author: TencentBlueKing
|
|
6
6
|
Author-email: contactus_bk@tencent.com
|
|
7
|
-
Requires-Python: >=3.
|
|
7
|
+
Requires-Python: >=3.9,<3.15
|
|
8
8
|
Classifier: Programming Language :: Python :: 3
|
|
9
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
10
9
|
Classifier: Programming Language :: Python :: 3.9
|
|
11
10
|
Classifier: Programming Language :: Python :: 3.10
|
|
12
11
|
Classifier: Programming Language :: Python :: 3.11
|
|
13
12
|
Classifier: Programming Language :: Python :: 3.12
|
|
14
13
|
Requires-Dist: dacite (>=1.8.1,<2.0.0)
|
|
15
|
-
Requires-Dist: pycryptodomex (>=3.
|
|
14
|
+
Requires-Dist: pycryptodomex (>=3.20.0,<4.0.0)
|
|
16
15
|
Requires-Dist: tongsuopy-crayon (>=1.0.2b5,<2.0.0)
|
|
17
|
-
Requires-Dist: wrapt (>=
|
|
16
|
+
Requires-Dist: wrapt (>=2.2,<3.0)
|
|
18
17
|
Description-Content-Type: text/markdown
|
|
19
18
|
|
|
20
19
|
# BlueKing crypto-python-sdk
|
|
21
20
|
|
|
22
21
|
---
|
|
23
22
|
|
|
24
|
-

|
|
25
24
|

|
|
26
25
|
[](LICENSE.txt)
|
|
27
26
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "bk-crypto-python-sdk"
|
|
3
|
-
version = "
|
|
3
|
+
version = "3.0.0"
|
|
4
4
|
description = "bk-crypto-python-sdk is a lightweight cryptography toolkit for Python applications based on Cryptodome / tongsuopy and other encryption libraries."
|
|
5
5
|
authors = ["TencentBlueKing <contactus_bk@tencent.com>"]
|
|
6
6
|
readme = "readme.md"
|
|
@@ -9,11 +9,11 @@ packages = [
|
|
|
9
9
|
]
|
|
10
10
|
|
|
11
11
|
[tool.poetry.dependencies]
|
|
12
|
-
python = ">=3.
|
|
12
|
+
python = ">=3.9,<3.15"
|
|
13
13
|
tongsuopy-crayon = "^1.0.2b5"
|
|
14
|
-
pycryptodomex = "^3.
|
|
14
|
+
pycryptodomex = "^3.20.0"
|
|
15
15
|
dacite = "^1.8.1"
|
|
16
|
-
wrapt = "^
|
|
16
|
+
wrapt = "^2.2"
|
|
17
17
|
|
|
18
18
|
[tool.poetry.dev-dependencies]
|
|
19
19
|
ipython = { version = "^7.34.0", python = ">=3.7" }
|
|
@@ -34,7 +34,10 @@ build-backend = "poetry.core.masonry.api"
|
|
|
34
34
|
# 平替 flake8
|
|
35
35
|
# - pflake8: https://github.com/csachs/pyproject-flake8
|
|
36
36
|
# - falke9: https://pypi.org/project/flake9/ (亲测无效)
|
|
37
|
-
python_requires = ">= 3.
|
|
37
|
+
python_requires = ">= 3.9"
|
|
38
|
+
# flake8-typing-imports defaults to 3.5.0 and would flag typing.Type (TYP006);
|
|
39
|
+
# pin to the real floor so those false positives go away.
|
|
40
|
+
min_python_version = "3.9.0"
|
|
38
41
|
ignore = "F405,W503,E203"
|
|
39
42
|
max-line-length = 120
|
|
40
43
|
max-complexity = 26
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
---
|
|
4
4
|
|
|
5
|
-

|
|
6
6
|

|
|
7
7
|
[](LICENSE.txt)
|
|
8
8
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{bk_crypto_python_sdk-2.0.1 → bk_crypto_python_sdk-3.0.0}/bkcrypto/asymmetric/ciphers/__init__.py
RENAMED
|
File without changes
|
{bk_crypto_python_sdk-2.0.1 → bk_crypto_python_sdk-3.0.0}/bkcrypto/asymmetric/ciphers/base.py
RENAMED
|
File without changes
|
{bk_crypto_python_sdk-2.0.1 → bk_crypto_python_sdk-3.0.0}/bkcrypto/asymmetric/ciphers/rsa.py
RENAMED
|
File without changes
|
{bk_crypto_python_sdk-2.0.1 → bk_crypto_python_sdk-3.0.0}/bkcrypto/asymmetric/ciphers/sm2.py
RENAMED
|
File without changes
|
|
File without changes
|
{bk_crypto_python_sdk-2.0.1 → bk_crypto_python_sdk-3.0.0}/bkcrypto/asymmetric/interceptors.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{bk_crypto_python_sdk-2.0.1 → bk_crypto_python_sdk-3.0.0}/bkcrypto/contrib/basic/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{bk_crypto_python_sdk-2.0.1 → bk_crypto_python_sdk-3.0.0}/bkcrypto/contrib/django/__init__.py
RENAMED
|
File without changes
|
{bk_crypto_python_sdk-2.0.1 → bk_crypto_python_sdk-3.0.0}/bkcrypto/contrib/django/ciphers.py
RENAMED
|
File without changes
|
|
File without changes
|
{bk_crypto_python_sdk-2.0.1 → bk_crypto_python_sdk-3.0.0}/bkcrypto/contrib/django/init_configs.py
RENAMED
|
File without changes
|
{bk_crypto_python_sdk-2.0.1 → bk_crypto_python_sdk-3.0.0}/bkcrypto/contrib/django/selectors.py
RENAMED
|
File without changes
|
{bk_crypto_python_sdk-2.0.1 → bk_crypto_python_sdk-3.0.0}/bkcrypto/contrib/django/settings.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{bk_crypto_python_sdk-2.0.1 → bk_crypto_python_sdk-3.0.0}/bkcrypto/symmetric/ciphers/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{bk_crypto_python_sdk-2.0.1 → bk_crypto_python_sdk-3.0.0}/bkcrypto/symmetric/ciphers/base.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{bk_crypto_python_sdk-2.0.1 → bk_crypto_python_sdk-3.0.0}/bkcrypto/symmetric/interceptors.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{bk_crypto_python_sdk-2.0.1 → bk_crypto_python_sdk-3.0.0}/bkcrypto/utils/base_interceptors.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|