bitting 1.2.0__tar.gz → 1.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 (52) hide show
  1. {bitting-1.2.0 → bitting-1.2.1}/CHANGELOG.md +16 -0
  2. {bitting-1.2.0 → bitting-1.2.1}/PKG-INFO +20 -5
  3. {bitting-1.2.0 → bitting-1.2.1}/README.md +18 -3
  4. {bitting-1.2.0 → bitting-1.2.1}/pyproject.toml +2 -2
  5. {bitting-1.2.0 → bitting-1.2.1}/src/bitting/__init__.py +1 -1
  6. {bitting-1.2.0 → bitting-1.2.1}/src/bitting.egg-info/PKG-INFO +20 -5
  7. {bitting-1.2.0 → bitting-1.2.1}/CONTRIBUTING.md +0 -0
  8. {bitting-1.2.0 → bitting-1.2.1}/CONTRIBUTORS.md +0 -0
  9. {bitting-1.2.0 → bitting-1.2.1}/LICENSE +0 -0
  10. {bitting-1.2.0 → bitting-1.2.1}/MANIFEST.in +0 -0
  11. {bitting-1.2.0 → bitting-1.2.1}/SECURITY.md +0 -0
  12. {bitting-1.2.0 → bitting-1.2.1}/examples/basic_usage.py +0 -0
  13. {bitting-1.2.0 → bitting-1.2.1}/examples/fastapi_service.py +0 -0
  14. {bitting-1.2.0 → bitting-1.2.1}/setup.cfg +0 -0
  15. {bitting-1.2.0 → bitting-1.2.1}/src/bitting/__main__.py +0 -0
  16. {bitting-1.2.0 → bitting-1.2.1}/src/bitting/cli.py +0 -0
  17. {bitting-1.2.0 → bitting-1.2.1}/src/bitting/errors.py +0 -0
  18. {bitting-1.2.0 → bitting-1.2.1}/src/bitting/hashing.py +0 -0
  19. {bitting-1.2.0 → bitting-1.2.1}/src/bitting/integrations/__init__.py +0 -0
  20. {bitting-1.2.0 → bitting-1.2.1}/src/bitting/integrations/fastapi.py +0 -0
  21. {bitting-1.2.0 → bitting-1.2.1}/src/bitting/keys.py +0 -0
  22. {bitting-1.2.0 → bitting-1.2.1}/src/bitting/manager.py +0 -0
  23. {bitting-1.2.0 → bitting-1.2.1}/src/bitting/models.py +0 -0
  24. {bitting-1.2.0 → bitting-1.2.1}/src/bitting/py.typed +0 -0
  25. {bitting-1.2.0 → bitting-1.2.1}/src/bitting/storage.py +0 -0
  26. {bitting-1.2.0 → bitting-1.2.1}/src/bitting/timeutil.py +0 -0
  27. {bitting-1.2.0 → bitting-1.2.1}/src/bitting.egg-info/SOURCES.txt +0 -0
  28. {bitting-1.2.0 → bitting-1.2.1}/src/bitting.egg-info/dependency_links.txt +0 -0
  29. {bitting-1.2.0 → bitting-1.2.1}/src/bitting.egg-info/entry_points.txt +0 -0
  30. {bitting-1.2.0 → bitting-1.2.1}/src/bitting.egg-info/requires.txt +0 -0
  31. {bitting-1.2.0 → bitting-1.2.1}/src/bitting.egg-info/top_level.txt +0 -0
  32. {bitting-1.2.0 → bitting-1.2.1}/tests/conftest.py +0 -0
  33. {bitting-1.2.0 → bitting-1.2.1}/tests/test_cli.py +0 -0
  34. {bitting-1.2.0 → bitting-1.2.1}/tests/test_concurrency_regressions.py +0 -0
  35. {bitting-1.2.0 → bitting-1.2.1}/tests/test_fastapi_integration.py +0 -0
  36. {bitting-1.2.0 → bitting-1.2.1}/tests/test_hardening_regressions.py +0 -0
  37. {bitting-1.2.0 → bitting-1.2.1}/tests/test_hashing.py +0 -0
  38. {bitting-1.2.0 → bitting-1.2.1}/tests/test_hashing_hardening.py +0 -0
  39. {bitting-1.2.0 → bitting-1.2.1}/tests/test_keys.py +0 -0
  40. {bitting-1.2.0 → bitting-1.2.1}/tests/test_manager_hardening.py +0 -0
  41. {bitting-1.2.0 → bitting-1.2.1}/tests/test_manager_lifecycle.py +0 -0
  42. {bitting-1.2.0 → bitting-1.2.1}/tests/test_property_based.py +0 -0
  43. {bitting-1.2.0 → bitting-1.2.1}/tests/test_release_hardening.py +0 -0
  44. {bitting-1.2.0 → bitting-1.2.1}/tests/test_rotation_hardening.py +0 -0
  45. {bitting-1.2.0 → bitting-1.2.1}/tests/test_security_regressions.py +0 -0
  46. {bitting-1.2.0 → bitting-1.2.1}/tests/test_storage_hardening.py +0 -0
  47. {bitting-1.2.0 → bitting-1.2.1}/tests/test_storage_memory.py +0 -0
  48. {bitting-1.2.0 → bitting-1.2.1}/tests/test_storage_regressions.py +0 -0
  49. {bitting-1.2.0 → bitting-1.2.1}/tests/test_storage_sqlite.py +0 -0
  50. {bitting-1.2.0 → bitting-1.2.1}/tests/test_thread_safety.py +0 -0
  51. {bitting-1.2.0 → bitting-1.2.1}/tests/test_timeutil.py +0 -0
  52. {bitting-1.2.0 → bitting-1.2.1}/tests/test_validation_regressions.py +0 -0
@@ -6,6 +6,21 @@ this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [1.2.1] - 2026-11-18
10
+
11
+ Metadata and docs refresh on top of 1.2.0, plus the accumulated hardening
12
+ fixes below. The suite stays at 396 tests, and ruff, mypy --strict, and the
13
+ sdist/wheel builds stay clean.
14
+
15
+ ### Changed
16
+
17
+ - **README installation section now leads with `pip install bitting`** —
18
+ bitting is on PyPI since 1.2.0; the direct-from-GitHub instructions remain
19
+ as the development-install option. Added a PyPI version badge and checked
20
+ off the "PyPI publication" roadmap item.
21
+ - **Author metadata now includes contact email and location**
22
+ (`pyproject.toml` authors; README contributors section).
23
+
9
24
  ### Fixed
10
25
 
11
26
  - **`ScryptHasher` rejects `r=1` with `n >= 2^16` at construction**: these
@@ -424,6 +439,7 @@ hardening pass.
424
439
  - **Documentation**: README with architecture diagram, security model, and deployment notes; SECURITY.md; CONTRIBUTING.md; runnable examples.
425
440
  - **Quality**: 117 automated tests (unit + integration), ruff lint/format clean, mypy `--strict` clean, pip-audit clean, wheel/sdist build verified.
426
441
 
442
+ [1.2.1]: https://github.com/muhammadanasmahmood/bitting/releases/tag/v1.2.1
427
443
  [1.2.0]: https://github.com/muhammadanasmahmood/bitting/releases/tag/v1.2.0
428
444
  [1.1.0]: https://github.com/muhammadanasmahmood/bitting/releases/tag/v1.1.0
429
445
  [1.0.1]: https://github.com/muhammadanasmahmood/bitting/releases/tag/v1.0.1
@@ -1,8 +1,8 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bitting
3
- Version: 1.2.0
3
+ Version: 1.2.1
4
4
  Summary: API key lifecycle management for Python: generation, memory-hard hashing, prefix-indexed storage, rotation with grace periods, scopes, TTL, and audit events.
5
- Author: Muhammad Anas Mahmood
5
+ Author-email: Muhammad Anas Mahmood <anasmahmood2917@gmail.com>
6
6
  License-Expression: MIT
7
7
  Project-URL: Homepage, https://github.com/muhammadanasmahmood/bitting
8
8
  Project-URL: Repository, https://github.com/muhammadanasmahmood/bitting
@@ -46,6 +46,7 @@ Dynamic: license-file
46
46
  [![Python](https://img.shields.io/badge/python-3.10%20%7C%203.11%20%7C%203.12%20%7C%203.13-blue)](https://github.com/muhammadanasmahmood/bitting)
47
47
  [![License: MIT](https://img.shields.io/badge/license-MIT-green)](LICENSE)
48
48
  [![Code style: ruff](https://img.shields.io/badge/code%20style-ruff-261230)](https://github.com/astral-sh/ruff)
49
+ [![PyPI](https://img.shields.io/pypi/v/bitting.svg)](https://pypi.org/project/bitting/)
49
50
 
50
51
  ---
51
52
 
@@ -85,13 +86,26 @@ The existing options tend to be either trivial header-checkers that compare agai
85
86
 
86
87
  ## Installation
87
88
 
88
- bitting is not yet on PyPI (publication is on the roadmap). Install directly from GitHub:
89
+ Install from PyPI:
90
+
91
+ ```bash
92
+ pip install bitting
93
+ ```
94
+
95
+ Optional extras:
96
+
97
+ ```bash
98
+ pip install 'bitting[fastapi]' # FastAPI integration
99
+ pip install 'bitting[argon2]' # Argon2id hasher
100
+ ```
101
+
102
+ Or install the development version directly from GitHub:
89
103
 
90
104
  ```bash
91
105
  pip install git+https://github.com/muhammadanasmahmood/bitting.git
92
106
  ```
93
107
 
94
- Optional extras, using direct-reference syntax (works with pip 21.3+):
108
+ Extras with direct-reference syntax (works with pip 21.3+):
95
109
 
96
110
  ```bash
97
111
  pip install 'bitting[fastapi] @ git+https://github.com/muhammadanasmahmood/bitting.git' # FastAPI integration
@@ -280,7 +294,7 @@ The suite covers: key format and checksum properties (including single-character
280
294
  - [ ] Optional pepper support in both hashers
281
295
  - [ ] SQLAlchemy/PostgreSQL adapter in a companion package
282
296
  - [ ] Verification-result caching helper (TTL-bounded, with revocation hooks)
283
- - [ ] PyPI publication
297
+ - [x] PyPI publication — bitting is [on PyPI](https://pypi.org/project/bitting/) since 1.2.0
284
298
 
285
299
  ## Limitations
286
300
 
@@ -299,6 +313,7 @@ See [CONTRIBUTING.md](CONTRIBUTING.md). Every PR must keep `pytest`, `ruff`, and
299
313
  ## Contributors
300
314
 
301
315
  - **[Muhammad Anas Mahmood](https://github.com/muhammadanasmahmood)** — Project Owner & Maintainer · architecture, releases, and repository stewardship
316
+ · <anasmahmood2917@gmail.com> · Karachi, Pakistan
302
317
 
303
318
  See [CONTRIBUTORS.md](CONTRIBUTORS.md) for roles and how contributions are credited.
304
319
 
@@ -8,6 +8,7 @@
8
8
  [![Python](https://img.shields.io/badge/python-3.10%20%7C%203.11%20%7C%203.12%20%7C%203.13-blue)](https://github.com/muhammadanasmahmood/bitting)
9
9
  [![License: MIT](https://img.shields.io/badge/license-MIT-green)](LICENSE)
10
10
  [![Code style: ruff](https://img.shields.io/badge/code%20style-ruff-261230)](https://github.com/astral-sh/ruff)
11
+ [![PyPI](https://img.shields.io/pypi/v/bitting.svg)](https://pypi.org/project/bitting/)
11
12
 
12
13
  ---
13
14
 
@@ -47,13 +48,26 @@ The existing options tend to be either trivial header-checkers that compare agai
47
48
 
48
49
  ## Installation
49
50
 
50
- bitting is not yet on PyPI (publication is on the roadmap). Install directly from GitHub:
51
+ Install from PyPI:
52
+
53
+ ```bash
54
+ pip install bitting
55
+ ```
56
+
57
+ Optional extras:
58
+
59
+ ```bash
60
+ pip install 'bitting[fastapi]' # FastAPI integration
61
+ pip install 'bitting[argon2]' # Argon2id hasher
62
+ ```
63
+
64
+ Or install the development version directly from GitHub:
51
65
 
52
66
  ```bash
53
67
  pip install git+https://github.com/muhammadanasmahmood/bitting.git
54
68
  ```
55
69
 
56
- Optional extras, using direct-reference syntax (works with pip 21.3+):
70
+ Extras with direct-reference syntax (works with pip 21.3+):
57
71
 
58
72
  ```bash
59
73
  pip install 'bitting[fastapi] @ git+https://github.com/muhammadanasmahmood/bitting.git' # FastAPI integration
@@ -242,7 +256,7 @@ The suite covers: key format and checksum properties (including single-character
242
256
  - [ ] Optional pepper support in both hashers
243
257
  - [ ] SQLAlchemy/PostgreSQL adapter in a companion package
244
258
  - [ ] Verification-result caching helper (TTL-bounded, with revocation hooks)
245
- - [ ] PyPI publication
259
+ - [x] PyPI publication — bitting is [on PyPI](https://pypi.org/project/bitting/) since 1.2.0
246
260
 
247
261
  ## Limitations
248
262
 
@@ -261,6 +275,7 @@ See [CONTRIBUTING.md](CONTRIBUTING.md). Every PR must keep `pytest`, `ruff`, and
261
275
  ## Contributors
262
276
 
263
277
  - **[Muhammad Anas Mahmood](https://github.com/muhammadanasmahmood)** — Project Owner & Maintainer · architecture, releases, and repository stewardship
278
+ · <anasmahmood2917@gmail.com> · Karachi, Pakistan
264
279
 
265
280
  See [CONTRIBUTORS.md](CONTRIBUTORS.md) for roles and how contributions are credited.
266
281
 
@@ -4,13 +4,13 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "bitting"
7
- version = "1.2.0"
7
+ version = "1.2.1"
8
8
  description = "API key lifecycle management for Python: generation, memory-hard hashing, prefix-indexed storage, rotation with grace periods, scopes, TTL, and audit events."
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.10"
11
11
  license = "MIT"
12
12
  license-files = ["LICENSE"]
13
- authors = [{ name = "Muhammad Anas Mahmood" }]
13
+ authors = [{ name = "Muhammad Anas Mahmood", email = "anasmahmood2917@gmail.com" }]
14
14
  keywords = [
15
15
  "api-key",
16
16
  "api-keys",
@@ -46,7 +46,7 @@ from .models import (
46
46
  from .storage import InMemoryStore, KeyStore, SQLiteStore
47
47
  from .timeutil import parse_duration
48
48
 
49
- __version__ = "1.2.0"
49
+ __version__ = "1.2.1"
50
50
 
51
51
  __all__ = [
52
52
  "DEFAULT_ROTATION_GRACE",
@@ -1,8 +1,8 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bitting
3
- Version: 1.2.0
3
+ Version: 1.2.1
4
4
  Summary: API key lifecycle management for Python: generation, memory-hard hashing, prefix-indexed storage, rotation with grace periods, scopes, TTL, and audit events.
5
- Author: Muhammad Anas Mahmood
5
+ Author-email: Muhammad Anas Mahmood <anasmahmood2917@gmail.com>
6
6
  License-Expression: MIT
7
7
  Project-URL: Homepage, https://github.com/muhammadanasmahmood/bitting
8
8
  Project-URL: Repository, https://github.com/muhammadanasmahmood/bitting
@@ -46,6 +46,7 @@ Dynamic: license-file
46
46
  [![Python](https://img.shields.io/badge/python-3.10%20%7C%203.11%20%7C%203.12%20%7C%203.13-blue)](https://github.com/muhammadanasmahmood/bitting)
47
47
  [![License: MIT](https://img.shields.io/badge/license-MIT-green)](LICENSE)
48
48
  [![Code style: ruff](https://img.shields.io/badge/code%20style-ruff-261230)](https://github.com/astral-sh/ruff)
49
+ [![PyPI](https://img.shields.io/pypi/v/bitting.svg)](https://pypi.org/project/bitting/)
49
50
 
50
51
  ---
51
52
 
@@ -85,13 +86,26 @@ The existing options tend to be either trivial header-checkers that compare agai
85
86
 
86
87
  ## Installation
87
88
 
88
- bitting is not yet on PyPI (publication is on the roadmap). Install directly from GitHub:
89
+ Install from PyPI:
90
+
91
+ ```bash
92
+ pip install bitting
93
+ ```
94
+
95
+ Optional extras:
96
+
97
+ ```bash
98
+ pip install 'bitting[fastapi]' # FastAPI integration
99
+ pip install 'bitting[argon2]' # Argon2id hasher
100
+ ```
101
+
102
+ Or install the development version directly from GitHub:
89
103
 
90
104
  ```bash
91
105
  pip install git+https://github.com/muhammadanasmahmood/bitting.git
92
106
  ```
93
107
 
94
- Optional extras, using direct-reference syntax (works with pip 21.3+):
108
+ Extras with direct-reference syntax (works with pip 21.3+):
95
109
 
96
110
  ```bash
97
111
  pip install 'bitting[fastapi] @ git+https://github.com/muhammadanasmahmood/bitting.git' # FastAPI integration
@@ -280,7 +294,7 @@ The suite covers: key format and checksum properties (including single-character
280
294
  - [ ] Optional pepper support in both hashers
281
295
  - [ ] SQLAlchemy/PostgreSQL adapter in a companion package
282
296
  - [ ] Verification-result caching helper (TTL-bounded, with revocation hooks)
283
- - [ ] PyPI publication
297
+ - [x] PyPI publication — bitting is [on PyPI](https://pypi.org/project/bitting/) since 1.2.0
284
298
 
285
299
  ## Limitations
286
300
 
@@ -299,6 +313,7 @@ See [CONTRIBUTING.md](CONTRIBUTING.md). Every PR must keep `pytest`, `ruff`, and
299
313
  ## Contributors
300
314
 
301
315
  - **[Muhammad Anas Mahmood](https://github.com/muhammadanasmahmood)** — Project Owner & Maintainer · architecture, releases, and repository stewardship
316
+ · <anasmahmood2917@gmail.com> · Karachi, Pakistan
302
317
 
303
318
  See [CONTRIBUTORS.md](CONTRIBUTORS.md) for roles and how contributions are credited.
304
319
 
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
File without changes
File without changes
File without changes