sendora 2.6.0__tar.gz → 2.6.2__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 (40) hide show
  1. {sendora-2.6.0 → sendora-2.6.2}/CHANGELOG.md +12 -0
  2. {sendora-2.6.0 → sendora-2.6.2}/PKG-INFO +9 -6
  3. {sendora-2.6.0 → sendora-2.6.2}/README.md +8 -5
  4. {sendora-2.6.0 → sendora-2.6.2}/pyproject.toml +7 -1
  5. {sendora-2.6.0 → sendora-2.6.2}/src/sendora/_version.py +1 -1
  6. {sendora-2.6.0 → sendora-2.6.2}/src/sendora/skills/sendora/SKILL.md +4 -3
  7. {sendora-2.6.0 → sendora-2.6.2}/.gitignore +0 -0
  8. {sendora-2.6.0 → sendora-2.6.2}/LICENSE +0 -0
  9. {sendora-2.6.0 → sendora-2.6.2}/src/sendora/__init__.py +0 -0
  10. {sendora-2.6.0 → sendora-2.6.2}/src/sendora/_account.py +0 -0
  11. {sendora-2.6.0 → sendora-2.6.2}/src/sendora/_answers.py +0 -0
  12. {sendora-2.6.0 → sendora-2.6.2}/src/sendora/_client.py +0 -0
  13. {sendora-2.6.0 → sendora-2.6.2}/src/sendora/_errors.py +0 -0
  14. {sendora-2.6.0 → sendora-2.6.2}/src/sendora/_json.py +0 -0
  15. {sendora-2.6.0 → sendora-2.6.2}/src/sendora/_keys.py +0 -0
  16. {sendora-2.6.0 → sendora-2.6.2}/src/sendora/_model.py +0 -0
  17. {sendora-2.6.0 → sendora-2.6.2}/src/sendora/_options.py +0 -0
  18. {sendora-2.6.0 → sendora-2.6.2}/src/sendora/_pages.py +0 -0
  19. {sendora-2.6.0 → sendora-2.6.2}/src/sendora/_retry.py +0 -0
  20. {sendora-2.6.0 → sendora-2.6.2}/src/sendora/_transport.py +0 -0
  21. {sendora-2.6.0 → sendora-2.6.2}/src/sendora/_webhooks.py +0 -0
  22. {sendora-2.6.0 → sendora-2.6.2}/src/sendora/_wire.py +0 -0
  23. {sendora-2.6.0 → sendora-2.6.2}/src/sendora/py.typed +0 -0
  24. {sendora-2.6.0 → sendora-2.6.2}/src/sendora/resources/__init__.py +0 -0
  25. {sendora-2.6.0 → sendora-2.6.2}/src/sendora/resources/broadcasts.py +0 -0
  26. {sendora-2.6.0 → sendora-2.6.2}/src/sendora/resources/domains.py +0 -0
  27. {sendora-2.6.0 → sendora-2.6.2}/src/sendora/resources/email.py +0 -0
  28. {sendora-2.6.0 → sendora-2.6.2}/src/sendora/resources/erasures.py +0 -0
  29. {sendora-2.6.0 → sendora-2.6.2}/src/sendora/resources/inbound.py +0 -0
  30. {sendora-2.6.0 → sendora-2.6.2}/src/sendora/resources/inbound_domains.py +0 -0
  31. {sendora-2.6.0 → sendora-2.6.2}/src/sendora/resources/messages.py +0 -0
  32. {sendora-2.6.0 → sendora-2.6.2}/src/sendora/resources/server.py +0 -0
  33. {sendora-2.6.0 → sendora-2.6.2}/src/sendora/resources/servers.py +0 -0
  34. {sendora-2.6.0 → sendora-2.6.2}/src/sendora/resources/streams.py +0 -0
  35. {sendora-2.6.0 → sendora-2.6.2}/src/sendora/resources/suppressions.py +0 -0
  36. {sendora-2.6.0 → sendora-2.6.2}/src/sendora/resources/tokens.py +0 -0
  37. {sendora-2.6.0 → sendora-2.6.2}/src/sendora/resources/tracking_domains.py +0 -0
  38. {sendora-2.6.0 → sendora-2.6.2}/src/sendora/resources/tracking_opt_outs.py +0 -0
  39. {sendora-2.6.0 → sendora-2.6.2}/src/sendora/resources/webhooks.py +0 -0
  40. {sendora-2.6.0 → sendora-2.6.2}/src/sendora/types.py +0 -0
@@ -1,5 +1,17 @@
1
1
  # Changelog
2
2
 
3
+ ## 2.6.2
4
+
5
+ - The README says that an administrator creates an account key under
6
+ Account › Account keys, the page's name in the dashboard. No call
7
+ changes.
8
+
9
+ ## 2.6.1
10
+
11
+ - The README and the skill say that `opened@` and
12
+ `clicked@simulator.sendora.se` act out an open and a click on a test
13
+ server's tracked mail. No call changes.
14
+
3
15
  ## 2.6.0
4
16
 
5
17
  - `email.send`, each message of `email.send_batch` and `broadcasts.send` take
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: sendora
3
- Version: 2.6.0
3
+ Version: 2.6.2
4
4
  Summary: The Python client for Sendora's email API.
5
5
  Project-URL: Homepage, https://sendora.se/docs
6
6
  License-Expression: MIT
@@ -434,8 +434,8 @@ raises `invalid_signature`, and a missing secret raises `ValueError`.
434
434
  ## The account: servers, keys, domains and erasures
435
435
 
436
436
  An account key (`ak_…`) manages the account and never sends. An
437
- administrator creates one in the dashboard under Account › API keys; the
438
- account holds up to two live ones. `SendoraAccount` takes the same
437
+ administrator creates one in the dashboard under Account › Account keys;
438
+ the account holds up to two live ones. `SendoraAccount` takes the same
439
439
  arguments as `Sendora`.
440
440
 
441
441
  ```python
@@ -725,9 +725,12 @@ the webhooks, but nothing it accepts is delivered. Its keys start
725
725
  can refuse one at startup. Addresses at `simulator.sendora.se`
726
726
  (`hardbounce@`, `softbounce@`, `deferred@`, `complaint@`, with any
727
727
  `+label`) produce those outcomes; any other address is marked delivered.
728
- A server's mode is fixed when it is created, so going live means a new
729
- server and a new key. Test mail is free and counts against its own
730
- monthly cap, shared by the account's test servers.
728
+ Where the message's tracking is on, `opened@` is also opened 5 seconds
729
+ after its delivery, and `clicked@` then clicked on its first tracked
730
+ link 5 seconds later. A server's mode is fixed when it is created, so
731
+ going live means a new server and a new key. Test mail is free and
732
+ counts against its own monthly cap, shared by the account's test
733
+ servers.
731
734
 
732
735
  ```python
733
736
  import os
@@ -412,8 +412,8 @@ raises `invalid_signature`, and a missing secret raises `ValueError`.
412
412
  ## The account: servers, keys, domains and erasures
413
413
 
414
414
  An account key (`ak_…`) manages the account and never sends. An
415
- administrator creates one in the dashboard under Account › API keys; the
416
- account holds up to two live ones. `SendoraAccount` takes the same
415
+ administrator creates one in the dashboard under Account › Account keys;
416
+ the account holds up to two live ones. `SendoraAccount` takes the same
417
417
  arguments as `Sendora`.
418
418
 
419
419
  ```python
@@ -703,9 +703,12 @@ the webhooks, but nothing it accepts is delivered. Its keys start
703
703
  can refuse one at startup. Addresses at `simulator.sendora.se`
704
704
  (`hardbounce@`, `softbounce@`, `deferred@`, `complaint@`, with any
705
705
  `+label`) produce those outcomes; any other address is marked delivered.
706
- A server's mode is fixed when it is created, so going live means a new
707
- server and a new key. Test mail is free and counts against its own
708
- monthly cap, shared by the account's test servers.
706
+ Where the message's tracking is on, `opened@` is also opened 5 seconds
707
+ after its delivery, and `clicked@` then clicked on its first tracked
708
+ link 5 seconds later. A server's mode is fixed when it is created, so
709
+ going live means a new server and a new key. Test mail is free and
710
+ counts against its own monthly cap, shared by the account's test
711
+ servers.
709
712
 
710
713
  ```python
711
714
  import os
@@ -50,9 +50,15 @@ dev = [
50
50
  "pyright[nodejs]==1.1.414",
51
51
  "ruff==0.16.9",
52
52
  ]
53
+ # The docs' Django guide checks and runs its samples against these.
54
+ django = ["django==6.1.3", "django-stubs==6.1.2"]
53
55
 
54
56
  [tool.uv]
55
- default-groups = ["dev", "test"]
57
+ default-groups = ["dev", "test", "django"]
58
+
59
+ # Django 6.1 takes Python 3.12 or newer.
60
+ [tool.uv.dependency-groups]
61
+ django = { requires-python = ">=3.12" }
56
62
 
57
63
  [tool.ruff]
58
64
  target-version = "py311"
@@ -1,3 +1,3 @@
1
1
  """The package's version: the build reads it, and every request names it."""
2
2
 
3
- __version__ = "2.6.0"
3
+ __version__ = "2.6.2"
@@ -37,9 +37,10 @@ and every event is in it.
37
37
  `sk_test_`, and `is_test_key(token)` tells them apart at startup.
38
38
  Addresses at `simulator.sendora.se` (`hardbounce@`, `softbounce@`,
39
39
  `deferred@`, `complaint@`) produce those outcomes on a test server and
40
- are refused on a live one (`test_address_on_live_server`). A server's
41
- mode never changes. For unit tests, pass `http_client=` an
42
- `httpx2.Client` over an `httpx2.MockTransport`.
40
+ are refused on a live one (`test_address_on_live_server`). Where the
41
+ message's tracking is on, `opened@` adds an open and `clicked@` an open
42
+ and a click. A server's mode never changes. For unit tests, pass
43
+ `http_client=` an `httpx2.Client` over an `httpx2.MockTransport`.
43
44
  - Arguments are keyword arguments with snake_case names; ids of a path
44
45
  come first and positionally. `from` is `from_`. Do not build request
45
46
  bodies by hand or call httpx2 yourself.
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