bk-crypto-python-sdk 2.0.0__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.
Files changed (37) hide show
  1. {bk_crypto_python_sdk-2.0.0 → bk_crypto_python_sdk-3.0.0}/PKG-INFO +6 -6
  2. {bk_crypto_python_sdk-2.0.0 → bk_crypto_python_sdk-3.0.0}/pyproject.toml +8 -5
  3. {bk_crypto_python_sdk-2.0.0 → bk_crypto_python_sdk-3.0.0}/readme.md +1 -1
  4. {bk_crypto_python_sdk-2.0.0 → bk_crypto_python_sdk-3.0.0}/LICENSE.txt +0 -0
  5. {bk_crypto_python_sdk-2.0.0 → bk_crypto_python_sdk-3.0.0}/bkcrypto/__init__.py +0 -0
  6. {bk_crypto_python_sdk-2.0.0 → bk_crypto_python_sdk-3.0.0}/bkcrypto/asymmetric/__init__.py +0 -0
  7. {bk_crypto_python_sdk-2.0.0 → bk_crypto_python_sdk-3.0.0}/bkcrypto/asymmetric/ciphers/__init__.py +0 -0
  8. {bk_crypto_python_sdk-2.0.0 → bk_crypto_python_sdk-3.0.0}/bkcrypto/asymmetric/ciphers/base.py +0 -0
  9. {bk_crypto_python_sdk-2.0.0 → bk_crypto_python_sdk-3.0.0}/bkcrypto/asymmetric/ciphers/rsa.py +0 -0
  10. {bk_crypto_python_sdk-2.0.0 → bk_crypto_python_sdk-3.0.0}/bkcrypto/asymmetric/ciphers/sm2.py +0 -0
  11. {bk_crypto_python_sdk-2.0.0 → bk_crypto_python_sdk-3.0.0}/bkcrypto/asymmetric/configs.py +0 -0
  12. {bk_crypto_python_sdk-2.0.0 → bk_crypto_python_sdk-3.0.0}/bkcrypto/asymmetric/interceptors.py +0 -0
  13. {bk_crypto_python_sdk-2.0.0 → bk_crypto_python_sdk-3.0.0}/bkcrypto/asymmetric/options.py +0 -0
  14. {bk_crypto_python_sdk-2.0.0 → bk_crypto_python_sdk-3.0.0}/bkcrypto/constants.py +0 -0
  15. {bk_crypto_python_sdk-2.0.0 → bk_crypto_python_sdk-3.0.0}/bkcrypto/contrib/__init__.py +0 -0
  16. {bk_crypto_python_sdk-2.0.0 → bk_crypto_python_sdk-3.0.0}/bkcrypto/contrib/basic/__init__.py +0 -0
  17. {bk_crypto_python_sdk-2.0.0 → bk_crypto_python_sdk-3.0.0}/bkcrypto/contrib/basic/ciphers.py +0 -0
  18. {bk_crypto_python_sdk-2.0.0 → bk_crypto_python_sdk-3.0.0}/bkcrypto/contrib/django/__init__.py +0 -0
  19. {bk_crypto_python_sdk-2.0.0 → bk_crypto_python_sdk-3.0.0}/bkcrypto/contrib/django/ciphers.py +0 -0
  20. {bk_crypto_python_sdk-2.0.0 → bk_crypto_python_sdk-3.0.0}/bkcrypto/contrib/django/fields.py +0 -0
  21. {bk_crypto_python_sdk-2.0.0 → bk_crypto_python_sdk-3.0.0}/bkcrypto/contrib/django/init_configs.py +0 -0
  22. {bk_crypto_python_sdk-2.0.0 → bk_crypto_python_sdk-3.0.0}/bkcrypto/contrib/django/selectors.py +0 -0
  23. {bk_crypto_python_sdk-2.0.0 → bk_crypto_python_sdk-3.0.0}/bkcrypto/contrib/django/settings.py +0 -0
  24. {bk_crypto_python_sdk-2.0.0 → bk_crypto_python_sdk-3.0.0}/bkcrypto/contrib/drf/__init__.py +0 -0
  25. {bk_crypto_python_sdk-2.0.0 → bk_crypto_python_sdk-3.0.0}/bkcrypto/symmetric/__init__.py +0 -0
  26. {bk_crypto_python_sdk-2.0.0 → bk_crypto_python_sdk-3.0.0}/bkcrypto/symmetric/ciphers/__init__.py +0 -0
  27. {bk_crypto_python_sdk-2.0.0 → bk_crypto_python_sdk-3.0.0}/bkcrypto/symmetric/ciphers/aes.py +0 -0
  28. {bk_crypto_python_sdk-2.0.0 → bk_crypto_python_sdk-3.0.0}/bkcrypto/symmetric/ciphers/base.py +0 -0
  29. {bk_crypto_python_sdk-2.0.0 → bk_crypto_python_sdk-3.0.0}/bkcrypto/symmetric/ciphers/sm4.py +0 -0
  30. {bk_crypto_python_sdk-2.0.0 → bk_crypto_python_sdk-3.0.0}/bkcrypto/symmetric/configs.py +0 -0
  31. {bk_crypto_python_sdk-2.0.0 → bk_crypto_python_sdk-3.0.0}/bkcrypto/symmetric/interceptors.py +0 -0
  32. {bk_crypto_python_sdk-2.0.0 → bk_crypto_python_sdk-3.0.0}/bkcrypto/symmetric/options.py +0 -0
  33. {bk_crypto_python_sdk-2.0.0 → bk_crypto_python_sdk-3.0.0}/bkcrypto/types.py +0 -0
  34. {bk_crypto_python_sdk-2.0.0 → bk_crypto_python_sdk-3.0.0}/bkcrypto/utils/__init__.py +0 -0
  35. {bk_crypto_python_sdk-2.0.0 → bk_crypto_python_sdk-3.0.0}/bkcrypto/utils/base_interceptors.py +0 -0
  36. {bk_crypto_python_sdk-2.0.0 → bk_crypto_python_sdk-3.0.0}/bkcrypto/utils/convertors.py +0 -0
  37. {bk_crypto_python_sdk-2.0.0 → bk_crypto_python_sdk-3.0.0}/bkcrypto/utils/module_loding.py +0 -0
@@ -1,26 +1,26 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: bk-crypto-python-sdk
3
- Version: 2.0.0
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.8,<3.12
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
12
+ Classifier: Programming Language :: Python :: 3.12
13
13
  Requires-Dist: dacite (>=1.8.1,<2.0.0)
14
- Requires-Dist: pycryptodomex (>=3.18.0,<4.0.0)
14
+ Requires-Dist: pycryptodomex (>=3.20.0,<4.0.0)
15
15
  Requires-Dist: tongsuopy-crayon (>=1.0.2b5,<2.0.0)
16
- Requires-Dist: wrapt (>=1.15.0,<2.0.0)
16
+ Requires-Dist: wrapt (>=2.2,<3.0)
17
17
  Description-Content-Type: text/markdown
18
18
 
19
19
  # BlueKing crypto-python-sdk
20
20
 
21
21
  ---
22
22
 
23
- ![Python](https://badgen.net/badge/python/%3E=3.8,%3C3.12/green?icon=github)
23
+ ![Python](https://badgen.net/badge/python/%3E=3.9,%3C3.15/green?icon=github)
24
24
  ![Django](https://badgen.net/badge/django/%3E=3.1.5,%3C=4.2.1/yellow?icon=github)
25
25
  [![License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat)](LICENSE.txt)
26
26
 
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "bk-crypto-python-sdk"
3
- version = "2.0.0"
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.8,<3.12"
12
+ python = ">=3.9,<3.15"
13
13
  tongsuopy-crayon = "^1.0.2b5"
14
- pycryptodomex = "^3.18.0"
14
+ pycryptodomex = "^3.20.0"
15
15
  dacite = "^1.8.1"
16
- wrapt = "^1.15.0"
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.7.2"
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
- ![Python](https://badgen.net/badge/python/%3E=3.8,%3C3.12/green?icon=github)
5
+ ![Python](https://badgen.net/badge/python/%3E=3.9,%3C3.15/green?icon=github)
6
6
  ![Django](https://badgen.net/badge/django/%3E=3.1.5,%3C=4.2.1/yellow?icon=github)
7
7
  [![License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat)](LICENSE.txt)
8
8