devnomads 0.1.2__tar.gz → 0.1.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.
Files changed (33) hide show
  1. {devnomads-0.1.2 → devnomads-0.1.3}/PKG-INFO +1 -1
  2. {devnomads-0.1.2 → devnomads-0.1.3}/pyproject.toml +1 -1
  3. {devnomads-0.1.2 → devnomads-0.1.3}/src/devnomads/__init__.py +8 -1
  4. {devnomads-0.1.2 → devnomads-0.1.3}/uv.lock +1 -1
  5. {devnomads-0.1.2 → devnomads-0.1.3}/.flake8 +0 -0
  6. {devnomads-0.1.2 → devnomads-0.1.3}/.gitignore +0 -0
  7. {devnomads-0.1.2 → devnomads-0.1.3}/.gitlab-ci.yml +0 -0
  8. {devnomads-0.1.2 → devnomads-0.1.3}/README.md +0 -0
  9. {devnomads-0.1.2 → devnomads-0.1.3}/src/devnomads/acme/__init__.py +0 -0
  10. {devnomads-0.1.2 → devnomads-0.1.3}/src/devnomads/acme/challenge_server.py +0 -0
  11. {devnomads-0.1.2 → devnomads-0.1.3}/src/devnomads/acme/client.py +0 -0
  12. {devnomads-0.1.2 → devnomads-0.1.3}/src/devnomads/acme/dns01.py +0 -0
  13. {devnomads-0.1.2 → devnomads-0.1.3}/src/devnomads/acme/errors.py +0 -0
  14. {devnomads-0.1.2 → devnomads-0.1.3}/src/devnomads/acme/http01.py +0 -0
  15. {devnomads-0.1.2 → devnomads-0.1.3}/src/devnomads/acme/keys.py +0 -0
  16. {devnomads-0.1.2 → devnomads-0.1.3}/src/devnomads/acme/verify.py +0 -0
  17. {devnomads-0.1.2 → devnomads-0.1.3}/src/devnomads/api/__init__.py +0 -0
  18. {devnomads-0.1.2 → devnomads-0.1.3}/src/devnomads/api/client.py +0 -0
  19. {devnomads-0.1.2 → devnomads-0.1.3}/src/devnomads/api/credentials.py +0 -0
  20. {devnomads-0.1.2 → devnomads-0.1.3}/src/devnomads/api/errors.py +0 -0
  21. {devnomads-0.1.2 → devnomads-0.1.3}/src/devnomads/dns/__init__.py +0 -0
  22. {devnomads-0.1.2 → devnomads-0.1.3}/src/devnomads/dns/errors.py +0 -0
  23. {devnomads-0.1.2 → devnomads-0.1.3}/src/devnomads/dns/names.py +0 -0
  24. {devnomads-0.1.2 → devnomads-0.1.3}/src/devnomads/dns/zones.py +0 -0
  25. {devnomads-0.1.2 → devnomads-0.1.3}/src/devnomads/py.typed +0 -0
  26. {devnomads-0.1.2 → devnomads-0.1.3}/tests/conftest.py +0 -0
  27. {devnomads-0.1.2 → devnomads-0.1.3}/tests/test_acme_challenges.py +0 -0
  28. {devnomads-0.1.2 → devnomads-0.1.3}/tests/test_acme_client.py +0 -0
  29. {devnomads-0.1.2 → devnomads-0.1.3}/tests/test_acme_keys.py +0 -0
  30. {devnomads-0.1.2 → devnomads-0.1.3}/tests/test_client.py +0 -0
  31. {devnomads-0.1.2 → devnomads-0.1.3}/tests/test_credentials.py +0 -0
  32. {devnomads-0.1.2 → devnomads-0.1.3}/tests/test_dns.py +0 -0
  33. {devnomads-0.1.2 → devnomads-0.1.3}/tests/test_names.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: devnomads
3
- Version: 0.1.2
3
+ Version: 0.1.3
4
4
  Summary: Python client for the DevNomads API (transport, DNS, ACME)
5
5
  Project-URL: Homepage, https://devnomads.nl
6
6
  Author-email: Loek Geleijn <support@devnomads.nl>
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "devnomads"
7
- version = "0.1.2"
7
+ version = "0.1.3"
8
8
  description = "Python client for the DevNomads API (transport, DNS, ACME)"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.10"
@@ -12,6 +12,13 @@ Three layers, smallest dependency footprint first:
12
12
 
13
13
  from __future__ import annotations
14
14
 
15
- __version__ = "0.1.0"
15
+ from importlib.metadata import PackageNotFoundError, version
16
+
17
+ try:
18
+ # Single source of truth: the installed distribution version, set from
19
+ # pyproject at build time. Avoids a second version string drifting.
20
+ __version__ = version("devnomads")
21
+ except PackageNotFoundError: # running from a source tree without install
22
+ __version__ = "0.0.0+unknown"
16
23
 
17
24
  __all__ = ["__version__"]
@@ -468,7 +468,7 @@ wheels = [
468
468
 
469
469
  [[package]]
470
470
  name = "devnomads"
471
- version = "0.1.2"
471
+ version = "0.1.3"
472
472
  source = { editable = "." }
473
473
  dependencies = [
474
474
  { name = "httpx" },
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes