secure-credentials-kit 0.3.1__tar.gz → 0.3.3__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.
- {secure_credentials_kit-0.3.1/secure_credentials_kit.egg-info → secure_credentials_kit-0.3.3}/PKG-INFO +14 -6
- {secure_credentials_kit-0.3.1 → secure_credentials_kit-0.3.3}/README.md +8 -1
- {secure_credentials_kit-0.3.1 → secure_credentials_kit-0.3.3}/pyproject.toml +11 -8
- {secure_credentials_kit-0.3.1 → secure_credentials_kit-0.3.3/secure_credentials_kit.egg-info}/PKG-INFO +14 -6
- secure_credentials_kit-0.3.3/secure_credentials_kit.egg-info/requires.txt +13 -0
- {secure_credentials_kit-0.3.1 → secure_credentials_kit-0.3.3}/tests/test_packaging.py +12 -5
- secure_credentials_kit-0.3.1/secure_credentials_kit.egg-info/requires.txt +0 -8
- {secure_credentials_kit-0.3.1 → secure_credentials_kit-0.3.3}/LICENSE +0 -0
- {secure_credentials_kit-0.3.1 → secure_credentials_kit-0.3.3}/secure_credentials_kit/__init__.py +0 -0
- {secure_credentials_kit-0.3.1 → secure_credentials_kit-0.3.3}/secure_credentials_kit/cli.py +0 -0
- {secure_credentials_kit-0.3.1 → secure_credentials_kit-0.3.3}/secure_credentials_kit/credentials.py +0 -0
- {secure_credentials_kit-0.3.1 → secure_credentials_kit-0.3.3}/secure_credentials_kit/fastapi.py +0 -0
- {secure_credentials_kit-0.3.1 → secure_credentials_kit-0.3.3}/secure_credentials_kit/management/__init__.py +0 -0
- {secure_credentials_kit-0.3.1 → secure_credentials_kit-0.3.3}/secure_credentials_kit/management/commands/__init__.py +0 -0
- {secure_credentials_kit-0.3.1 → secure_credentials_kit-0.3.3}/secure_credentials_kit/management/commands/credentials_edit.py +0 -0
- {secure_credentials_kit-0.3.1 → secure_credentials_kit-0.3.3}/secure_credentials_kit/management/commands/credentials_generate_key.py +0 -0
- {secure_credentials_kit-0.3.1 → secure_credentials_kit-0.3.3}/secure_credentials_kit/secrets_loader.py +0 -0
- {secure_credentials_kit-0.3.1 → secure_credentials_kit-0.3.3}/secure_credentials_kit/utils.py +0 -0
- {secure_credentials_kit-0.3.1 → secure_credentials_kit-0.3.3}/secure_credentials_kit.egg-info/SOURCES.txt +0 -0
- {secure_credentials_kit-0.3.1 → secure_credentials_kit-0.3.3}/secure_credentials_kit.egg-info/dependency_links.txt +0 -0
- {secure_credentials_kit-0.3.1 → secure_credentials_kit-0.3.3}/secure_credentials_kit.egg-info/entry_points.txt +0 -0
- {secure_credentials_kit-0.3.1 → secure_credentials_kit-0.3.3}/secure_credentials_kit.egg-info/top_level.txt +0 -0
- {secure_credentials_kit-0.3.1 → secure_credentials_kit-0.3.3}/setup.cfg +0 -0
- {secure_credentials_kit-0.3.1 → secure_credentials_kit-0.3.3}/setup.py +0 -0
- {secure_credentials_kit-0.3.1 → secure_credentials_kit-0.3.3}/tests/test_fastapi.py +0 -0
- {secure_credentials_kit-0.3.1 → secure_credentials_kit-0.3.3}/tests/test_key_roles.py +0 -0
- {secure_credentials_kit-0.3.1 → secure_credentials_kit-0.3.3}/tests/test_secrets_loader.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: secure-credentials-kit
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.3
|
|
4
4
|
Summary: A secure encrypted credentials system for Django and FastAPI, inspired by Rails credentials
|
|
5
5
|
License-Expression: MIT
|
|
6
6
|
Project-URL: Homepage, https://github.com/lexpank/secure-credentials-kit
|
|
@@ -20,12 +20,13 @@ Classifier: Topic :: Security
|
|
|
20
20
|
Requires-Python: <3.15,>=3.10
|
|
21
21
|
Description-Content-Type: text/markdown
|
|
22
22
|
License-File: LICENSE
|
|
23
|
-
Requires-Dist: cryptography>=
|
|
24
|
-
Requires-Dist: pyyaml>=6.0
|
|
23
|
+
Requires-Dist: cryptography>=50.0.1
|
|
24
|
+
Requires-Dist: pyyaml>=6.0.3
|
|
25
25
|
Provides-Extra: django
|
|
26
|
-
Requires-Dist: Django<6.
|
|
26
|
+
Requires-Dist: Django<6.0,>=5.2.17; python_version < "3.12" and extra == "django"
|
|
27
|
+
Requires-Dist: Django<6.2,>=6.1.1; python_version >= "3.12" and extra == "django"
|
|
27
28
|
Provides-Extra: fastapi
|
|
28
|
-
Requires-Dist: fastapi>=0.
|
|
29
|
+
Requires-Dist: fastapi>=0.141.1; extra == "fastapi"
|
|
29
30
|
Dynamic: license-file
|
|
30
31
|
|
|
31
32
|
# Secure Credentials Kit
|
|
@@ -52,7 +53,7 @@ Credentials Kit:
|
|
|
52
53
|
Supported versions:
|
|
53
54
|
|
|
54
55
|
- Python 3.10, 3.11, 3.12, 3.13, and 3.14
|
|
55
|
-
- Django 5.2 LTS and Django 6.
|
|
56
|
+
- Django 5.2 LTS on Python 3.10–3.11 and Django 6.1 on Python 3.12–3.14
|
|
56
57
|
|
|
57
58
|
For Django:
|
|
58
59
|
|
|
@@ -84,6 +85,13 @@ uv sync --extra django
|
|
|
84
85
|
uv sync --extra fastapi
|
|
85
86
|
```
|
|
86
87
|
|
|
88
|
+
Upgrade all dependencies, including transitive dependencies, and install both extras:
|
|
89
|
+
|
|
90
|
+
```sh
|
|
91
|
+
uv lock --upgrade
|
|
92
|
+
uv sync --all-extras
|
|
93
|
+
```
|
|
94
|
+
|
|
87
95
|
Run tests:
|
|
88
96
|
|
|
89
97
|
```sh
|
|
@@ -22,7 +22,7 @@ Credentials Kit:
|
|
|
22
22
|
Supported versions:
|
|
23
23
|
|
|
24
24
|
- Python 3.10, 3.11, 3.12, 3.13, and 3.14
|
|
25
|
-
- Django 5.2 LTS and Django 6.
|
|
25
|
+
- Django 5.2 LTS on Python 3.10–3.11 and Django 6.1 on Python 3.12–3.14
|
|
26
26
|
|
|
27
27
|
For Django:
|
|
28
28
|
|
|
@@ -54,6 +54,13 @@ uv sync --extra django
|
|
|
54
54
|
uv sync --extra fastapi
|
|
55
55
|
```
|
|
56
56
|
|
|
57
|
+
Upgrade all dependencies, including transitive dependencies, and install both extras:
|
|
58
|
+
|
|
59
|
+
```sh
|
|
60
|
+
uv lock --upgrade
|
|
61
|
+
uv sync --all-extras
|
|
62
|
+
```
|
|
63
|
+
|
|
57
64
|
Run tests:
|
|
58
65
|
|
|
59
66
|
```sh
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
[build-system]
|
|
2
|
-
requires = ["setuptools>=
|
|
2
|
+
requires = ["setuptools>=84.0.0", "wheel>=0.48.0"]
|
|
3
3
|
build-backend = "setuptools.build_meta"
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "secure-credentials-kit"
|
|
7
|
-
version = "0.3.
|
|
7
|
+
version = "0.3.3"
|
|
8
8
|
description = "A secure encrypted credentials system for Django and FastAPI, inspired by Rails credentials"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.10,<3.15"
|
|
@@ -25,13 +25,16 @@ classifiers = [
|
|
|
25
25
|
"Topic :: Security",
|
|
26
26
|
]
|
|
27
27
|
dependencies = [
|
|
28
|
-
"cryptography>=
|
|
29
|
-
"pyyaml>=6.0",
|
|
28
|
+
"cryptography>=50.0.1",
|
|
29
|
+
"pyyaml>=6.0.3",
|
|
30
30
|
]
|
|
31
31
|
|
|
32
32
|
[project.optional-dependencies]
|
|
33
|
-
django = [
|
|
34
|
-
|
|
33
|
+
django = [
|
|
34
|
+
"Django>=5.2.17,<6.0; python_version < '3.12'",
|
|
35
|
+
"Django>=6.1.1,<6.2; python_version >= '3.12'",
|
|
36
|
+
]
|
|
37
|
+
fastapi = ["fastapi>=0.141.1"]
|
|
35
38
|
|
|
36
39
|
[project.scripts]
|
|
37
40
|
secure-credentials-kit = "secure_credentials_kit.cli:main"
|
|
@@ -47,6 +50,6 @@ include = ["secure_credentials_kit*"]
|
|
|
47
50
|
|
|
48
51
|
[dependency-groups]
|
|
49
52
|
dev = [
|
|
50
|
-
"build>=1.
|
|
51
|
-
"twine>=
|
|
53
|
+
"build>=1.6.0",
|
|
54
|
+
"twine>=7.0.0",
|
|
52
55
|
]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: secure-credentials-kit
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.3
|
|
4
4
|
Summary: A secure encrypted credentials system for Django and FastAPI, inspired by Rails credentials
|
|
5
5
|
License-Expression: MIT
|
|
6
6
|
Project-URL: Homepage, https://github.com/lexpank/secure-credentials-kit
|
|
@@ -20,12 +20,13 @@ Classifier: Topic :: Security
|
|
|
20
20
|
Requires-Python: <3.15,>=3.10
|
|
21
21
|
Description-Content-Type: text/markdown
|
|
22
22
|
License-File: LICENSE
|
|
23
|
-
Requires-Dist: cryptography>=
|
|
24
|
-
Requires-Dist: pyyaml>=6.0
|
|
23
|
+
Requires-Dist: cryptography>=50.0.1
|
|
24
|
+
Requires-Dist: pyyaml>=6.0.3
|
|
25
25
|
Provides-Extra: django
|
|
26
|
-
Requires-Dist: Django<6.
|
|
26
|
+
Requires-Dist: Django<6.0,>=5.2.17; python_version < "3.12" and extra == "django"
|
|
27
|
+
Requires-Dist: Django<6.2,>=6.1.1; python_version >= "3.12" and extra == "django"
|
|
27
28
|
Provides-Extra: fastapi
|
|
28
|
-
Requires-Dist: fastapi>=0.
|
|
29
|
+
Requires-Dist: fastapi>=0.141.1; extra == "fastapi"
|
|
29
30
|
Dynamic: license-file
|
|
30
31
|
|
|
31
32
|
# Secure Credentials Kit
|
|
@@ -52,7 +53,7 @@ Credentials Kit:
|
|
|
52
53
|
Supported versions:
|
|
53
54
|
|
|
54
55
|
- Python 3.10, 3.11, 3.12, 3.13, and 3.14
|
|
55
|
-
- Django 5.2 LTS and Django 6.
|
|
56
|
+
- Django 5.2 LTS on Python 3.10–3.11 and Django 6.1 on Python 3.12–3.14
|
|
56
57
|
|
|
57
58
|
For Django:
|
|
58
59
|
|
|
@@ -84,6 +85,13 @@ uv sync --extra django
|
|
|
84
85
|
uv sync --extra fastapi
|
|
85
86
|
```
|
|
86
87
|
|
|
88
|
+
Upgrade all dependencies, including transitive dependencies, and install both extras:
|
|
89
|
+
|
|
90
|
+
```sh
|
|
91
|
+
uv lock --upgrade
|
|
92
|
+
uv sync --all-extras
|
|
93
|
+
```
|
|
94
|
+
|
|
87
95
|
Run tests:
|
|
88
96
|
|
|
89
97
|
```sh
|
|
@@ -17,20 +17,24 @@ class SetupMetadataTests(unittest.TestCase):
|
|
|
17
17
|
metadata = self.load_project_metadata()["project"]
|
|
18
18
|
|
|
19
19
|
self.assertEqual(metadata["name"], "secure-credentials-kit")
|
|
20
|
-
self.assertEqual(metadata["version"], "0.3.
|
|
20
|
+
self.assertEqual(metadata["version"], "0.3.3")
|
|
21
21
|
self.assertEqual(metadata["requires-python"], ">=3.10,<3.15")
|
|
22
22
|
|
|
23
23
|
def test_django_and_fastapi_are_optional_extras(self):
|
|
24
24
|
metadata = self.load_project_metadata()["project"]
|
|
25
25
|
|
|
26
|
-
|
|
26
|
+
for requirement in metadata["optional-dependencies"]["django"]:
|
|
27
|
+
self.assertNotIn(requirement, metadata["dependencies"])
|
|
27
28
|
self.assertEqual(
|
|
28
29
|
metadata["optional-dependencies"]["django"],
|
|
29
|
-
[
|
|
30
|
+
[
|
|
31
|
+
"Django>=5.2.17,<6.0; python_version < '3.12'",
|
|
32
|
+
"Django>=6.1.1,<6.2; python_version >= '3.12'",
|
|
33
|
+
],
|
|
30
34
|
)
|
|
31
35
|
self.assertEqual(
|
|
32
36
|
metadata["optional-dependencies"]["fastapi"],
|
|
33
|
-
["fastapi>=0.
|
|
37
|
+
["fastapi>=0.141.1"],
|
|
34
38
|
)
|
|
35
39
|
|
|
36
40
|
def test_python_classifiers_match_supported_versions(self):
|
|
@@ -69,7 +73,10 @@ class SetupMetadataTests(unittest.TestCase):
|
|
|
69
73
|
def test_uv_dev_group_contains_build_tooling(self):
|
|
70
74
|
metadata = self.load_project_metadata()
|
|
71
75
|
|
|
72
|
-
self.
|
|
76
|
+
self.assertEqual(
|
|
77
|
+
metadata["dependency-groups"]["dev"],
|
|
78
|
+
["build>=1.6.0", "twine>=7.0.0"],
|
|
79
|
+
)
|
|
73
80
|
|
|
74
81
|
|
|
75
82
|
if __name__ == "__main__":
|
|
File without changes
|
{secure_credentials_kit-0.3.1 → secure_credentials_kit-0.3.3}/secure_credentials_kit/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{secure_credentials_kit-0.3.1 → secure_credentials_kit-0.3.3}/secure_credentials_kit/credentials.py
RENAMED
|
File without changes
|
{secure_credentials_kit-0.3.1 → secure_credentials_kit-0.3.3}/secure_credentials_kit/fastapi.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{secure_credentials_kit-0.3.1 → secure_credentials_kit-0.3.3}/secure_credentials_kit/utils.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|