pwdlib 0.2.0__tar.gz → 0.2.1__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 (31) hide show
  1. pwdlib-0.2.1/.github/dependabot.yml +13 -0
  2. {pwdlib-0.2.0 → pwdlib-0.2.1}/PKG-INFO +4 -4
  3. {pwdlib-0.2.0 → pwdlib-0.2.1}/pwdlib/__init__.py +1 -1
  4. {pwdlib-0.2.0 → pwdlib-0.2.1}/pwdlib/exceptions.py +1 -1
  5. {pwdlib-0.2.0 → pwdlib-0.2.1}/pyproject.toml +3 -2
  6. {pwdlib-0.2.0 → pwdlib-0.2.1}/.editorconfig +0 -0
  7. {pwdlib-0.2.0 → pwdlib-0.2.1}/.github/FUNDING.yml +0 -0
  8. {pwdlib-0.2.0 → pwdlib-0.2.1}/.github/workflows/build.yml +0 -0
  9. {pwdlib-0.2.0 → pwdlib-0.2.1}/.github/workflows/documentation.yml +0 -0
  10. {pwdlib-0.2.0 → pwdlib-0.2.1}/.gitignore +0 -0
  11. {pwdlib-0.2.0 → pwdlib-0.2.1}/.vscode/settings.json +0 -0
  12. {pwdlib-0.2.0 → pwdlib-0.2.1}/LICENSE +0 -0
  13. {pwdlib-0.2.0 → pwdlib-0.2.1}/README.md +0 -0
  14. {pwdlib-0.2.0 → pwdlib-0.2.1}/docs/guide.md +0 -0
  15. {pwdlib-0.2.0 → pwdlib-0.2.1}/docs/index.md +0 -0
  16. {pwdlib-0.2.0 → pwdlib-0.2.1}/docs/reference/pwdlib.exceptions.md +0 -0
  17. {pwdlib-0.2.0 → pwdlib-0.2.1}/docs/reference/pwdlib.hashers.md +0 -0
  18. {pwdlib-0.2.0 → pwdlib-0.2.1}/docs/reference/pwdlib.md +0 -0
  19. {pwdlib-0.2.0 → pwdlib-0.2.1}/mkdocs.yml +0 -0
  20. {pwdlib-0.2.0 → pwdlib-0.2.1}/pwdlib/_hash.py +0 -0
  21. {pwdlib-0.2.0 → pwdlib-0.2.1}/pwdlib/hashers/__init__.py +0 -0
  22. {pwdlib-0.2.0 → pwdlib-0.2.1}/pwdlib/hashers/argon2.py +0 -0
  23. {pwdlib-0.2.0 → pwdlib-0.2.1}/pwdlib/hashers/base.py +0 -0
  24. {pwdlib-0.2.0 → pwdlib-0.2.1}/pwdlib/hashers/bcrypt.py +0 -0
  25. {pwdlib-0.2.0 → pwdlib-0.2.1}/pwdlib/py.typed +0 -0
  26. {pwdlib-0.2.0 → pwdlib-0.2.1}/tests/__init__.py +0 -0
  27. {pwdlib-0.2.0 → pwdlib-0.2.1}/tests/conftest.py +0 -0
  28. {pwdlib-0.2.0 → pwdlib-0.2.1}/tests/hashers/__init__.py +0 -0
  29. {pwdlib-0.2.0 → pwdlib-0.2.1}/tests/hashers/test_argon2.py +0 -0
  30. {pwdlib-0.2.0 → pwdlib-0.2.1}/tests/hashers/test_bcrypt.py +0 -0
  31. {pwdlib-0.2.0 → pwdlib-0.2.1}/tests/test_hash.py +0 -0
@@ -0,0 +1,13 @@
1
+ # To get started with Dependabot version updates, you'll need to specify which
2
+ # package ecosystems to update and where the package manifests are located.
3
+
4
+ version: 2
5
+ updates:
6
+ - package-ecosystem: "github-actions" # See documentation for possible values
7
+ directory: "/" # Location of package manifests
8
+ schedule:
9
+ interval: "weekly"
10
+ - package-ecosystem: "pip"
11
+ directory: "/"
12
+ schedule:
13
+ interval: "weekly"
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.3
2
2
  Name: pwdlib
3
- Version: 0.2.0
3
+ Version: 0.2.1
4
4
  Summary: Modern password hashing for Python
5
5
  Project-URL: Documentation, https://frankie567.github.io/pwdlib/
6
6
  Project-URL: Source, https://github.com/frankie567/pwdlib
@@ -19,9 +19,9 @@ Classifier: Topic :: Security
19
19
  Classifier: Topic :: Security :: Cryptography
20
20
  Requires-Python: >=3.8
21
21
  Provides-Extra: argon2
22
- Requires-Dist: argon2-cffi==23.1.0; extra == 'argon2'
22
+ Requires-Dist: argon2-cffi<24,>=23.1.0; extra == 'argon2'
23
23
  Provides-Extra: bcrypt
24
- Requires-Dist: bcrypt==4.1.2; extra == 'bcrypt'
24
+ Requires-Dist: bcrypt<5,>=4.1.2; extra == 'bcrypt'
25
25
  Description-Content-Type: text/markdown
26
26
 
27
27
  # pwdlib
@@ -1,6 +1,6 @@
1
1
  """Modern password hashing for Python"""
2
2
 
3
- __version__ = "0.2.0"
3
+ __version__ = "0.2.1"
4
4
 
5
5
  from ._hash import PasswordHash
6
6
 
@@ -31,7 +31,7 @@ class HasherNotAvailable(PwdlibError):
31
31
  message = (
32
32
  f"The {hasher} hash algorithm is not available. "
33
33
  "Are you sure it's installed? "
34
- f"Try to run `pip install pdwlib[{hasher}]`."
34
+ f"Try to run `pip install pwdlib[{hasher}]`."
35
35
  )
36
36
  super().__init__(message)
37
37
 
@@ -19,6 +19,7 @@ commit_extra_args = ["-e"]
19
19
  path = "pwdlib/__init__.py"
20
20
 
21
21
  [tool.hatch.envs.default]
22
+ installer = "uv"
22
23
  features = [
23
24
  "argon2",
24
25
  "bcrypt",
@@ -80,10 +81,10 @@ dependencies = [
80
81
 
81
82
  [project.optional-dependencies]
82
83
  argon2 = [
83
- "argon2-cffi ==23.1.0",
84
+ "argon2-cffi >=23.1.0,<24",
84
85
  ]
85
86
  bcrypt = [
86
- "bcrypt ==4.1.2",
87
+ "bcrypt >=4.1.2,<5",
87
88
  ]
88
89
 
89
90
  [project.urls]
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
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