rbfly 0.8.4__tar.gz → 0.10.0.dev1__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 (59) hide show
  1. {rbfly-0.8.4/rbfly.egg-info → rbfly-0.10.0.dev1}/PKG-INFO +9 -8
  2. {rbfly-0.8.4 → rbfly-0.10.0.dev1}/README +6 -5
  3. {rbfly-0.8.4 → rbfly-0.10.0.dev1}/pyproject.toml +5 -7
  4. {rbfly-0.8.4 → rbfly-0.10.0.dev1}/rbfly/_buffer.c +423 -428
  5. {rbfly-0.8.4 → rbfly-0.10.0.dev1}/rbfly/_codec.c +440 -431
  6. {rbfly-0.8.4 → rbfly-0.10.0.dev1}/rbfly/amqp/_message.c +2212 -2071
  7. {rbfly-0.8.4 → rbfly-0.10.0.dev1}/rbfly/amqp/_message.pyx +14 -2
  8. {rbfly-0.8.4 → rbfly-0.10.0.dev1}/rbfly/streams/__init__.py +4 -2
  9. {rbfly-0.8.4 → rbfly-0.10.0.dev1}/rbfly/streams/_client.c +2968 -2609
  10. {rbfly-0.8.4 → rbfly-0.10.0.dev1}/rbfly/streams/_client.pyx +15 -2
  11. {rbfly-0.8.4 → rbfly-0.10.0.dev1}/rbfly/streams/_codec.c +3438 -2581
  12. {rbfly-0.8.4 → rbfly-0.10.0.dev1}/rbfly/streams/_codec.pyi +5 -2
  13. {rbfly-0.8.4 → rbfly-0.10.0.dev1}/rbfly/streams/_codec.pyx +96 -26
  14. {rbfly-0.8.4 → rbfly-0.10.0.dev1}/rbfly/streams/_mqueue.c +860 -855
  15. {rbfly-0.8.4 → rbfly-0.10.0.dev1}/rbfly/streams/client.py +41 -9
  16. {rbfly-0.8.4 → rbfly-0.10.0.dev1}/rbfly/streams/codec.py +4 -1
  17. {rbfly-0.8.4 → rbfly-0.10.0.dev1}/rbfly/streams/const.py +22 -0
  18. {rbfly-0.8.4 → rbfly-0.10.0.dev1}/rbfly/streams/error.py +8 -4
  19. {rbfly-0.8.4 → rbfly-0.10.0.dev1}/rbfly/streams/offset.py +2 -3
  20. {rbfly-0.8.4 → rbfly-0.10.0.dev1}/rbfly/streams/protocol.py +22 -7
  21. {rbfly-0.8.4 → rbfly-0.10.0.dev1}/rbfly/streams/types.py +30 -1
  22. {rbfly-0.8.4 → rbfly-0.10.0.dev1}/rbfly/tests/streams/test_client.py +17 -6
  23. {rbfly-0.8.4 → rbfly-0.10.0.dev1}/rbfly/tests/streams/test_codec.py +132 -98
  24. {rbfly-0.8.4 → rbfly-0.10.0.dev1/rbfly.egg-info}/PKG-INFO +9 -8
  25. {rbfly-0.8.4 → rbfly-0.10.0.dev1}/rbfly.egg-info/requires.txt +1 -1
  26. {rbfly-0.8.4 → rbfly-0.10.0.dev1}/setup.cfg +3 -3
  27. {rbfly-0.8.4 → rbfly-0.10.0.dev1}/COPYING +0 -0
  28. {rbfly-0.8.4 → rbfly-0.10.0.dev1}/rbfly/__init__.py +0 -0
  29. {rbfly-0.8.4 → rbfly-0.10.0.dev1}/rbfly/_buffer.pxd +0 -0
  30. {rbfly-0.8.4 → rbfly-0.10.0.dev1}/rbfly/_buffer.pyx +0 -0
  31. {rbfly-0.8.4 → rbfly-0.10.0.dev1}/rbfly/_codec.h +0 -0
  32. {rbfly-0.8.4 → rbfly-0.10.0.dev1}/rbfly/_codec.pxd +0 -0
  33. {rbfly-0.8.4 → rbfly-0.10.0.dev1}/rbfly/_codec.pyx +0 -0
  34. {rbfly-0.8.4 → rbfly-0.10.0.dev1}/rbfly/amqp/__init__.py +0 -0
  35. {rbfly-0.8.4 → rbfly-0.10.0.dev1}/rbfly/amqp/_message.pxd +0 -0
  36. {rbfly-0.8.4 → rbfly-0.10.0.dev1}/rbfly/amqp/_message.pyi +0 -0
  37. {rbfly-0.8.4 → rbfly-0.10.0.dev1}/rbfly/cm.py +0 -0
  38. {rbfly-0.8.4 → rbfly-0.10.0.dev1}/rbfly/error.py +0 -0
  39. {rbfly-0.8.4 → rbfly-0.10.0.dev1}/rbfly/py.typed +0 -0
  40. {rbfly-0.8.4 → rbfly-0.10.0.dev1}/rbfly/slotmap.py +0 -0
  41. {rbfly-0.8.4 → rbfly-0.10.0.dev1}/rbfly/streams/_client.pyi +0 -0
  42. {rbfly-0.8.4 → rbfly-0.10.0.dev1}/rbfly/streams/_mqueue.pxd +0 -0
  43. {rbfly-0.8.4 → rbfly-0.10.0.dev1}/rbfly/streams/_mqueue.pyi +0 -0
  44. {rbfly-0.8.4 → rbfly-0.10.0.dev1}/rbfly/streams/_mqueue.pyx +0 -0
  45. {rbfly-0.8.4 → rbfly-0.10.0.dev1}/rbfly/streams/util.py +0 -0
  46. {rbfly-0.8.4 → rbfly-0.10.0.dev1}/rbfly/tests/__init__.py +0 -0
  47. {rbfly-0.8.4 → rbfly-0.10.0.dev1}/rbfly/tests/amqp/__init__.py +0 -0
  48. {rbfly-0.8.4 → rbfly-0.10.0.dev1}/rbfly/tests/amqp/test_message.py +0 -0
  49. {rbfly-0.8.4 → rbfly-0.10.0.dev1}/rbfly/tests/streams/__init__.py +0 -0
  50. {rbfly-0.8.4 → rbfly-0.10.0.dev1}/rbfly/tests/streams/test_mqueue.py +0 -0
  51. {rbfly-0.8.4 → rbfly-0.10.0.dev1}/rbfly/tests/streams/test_offset.py +0 -0
  52. {rbfly-0.8.4 → rbfly-0.10.0.dev1}/rbfly/tests/test_slotmap.py +0 -0
  53. {rbfly-0.8.4 → rbfly-0.10.0.dev1}/rbfly/tests/test_util.py +0 -0
  54. {rbfly-0.8.4 → rbfly-0.10.0.dev1}/rbfly/types.py +0 -0
  55. {rbfly-0.8.4 → rbfly-0.10.0.dev1}/rbfly/util.py +0 -0
  56. {rbfly-0.8.4 → rbfly-0.10.0.dev1}/rbfly.egg-info/SOURCES.txt +0 -0
  57. {rbfly-0.8.4 → rbfly-0.10.0.dev1}/rbfly.egg-info/dependency_links.txt +0 -0
  58. {rbfly-0.8.4 → rbfly-0.10.0.dev1}/rbfly.egg-info/top_level.txt +0 -0
  59. {rbfly-0.8.4 → rbfly-0.10.0.dev1}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: rbfly
3
- Version: 0.8.4
3
+ Version: 0.10.0.dev1
4
4
  Summary: RbFly - a library for RabbitMQ Streams using Python asyncio
5
5
  Home-page: https://wrobell.dcmod.org/rbfly/
6
6
  Author: Artur Wroblewski
@@ -12,13 +12,13 @@ Classifier: Topic :: Software Development :: Libraries
12
12
  Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
13
13
  Classifier: Programming Language :: Python :: 3
14
14
  Classifier: Development Status :: 4 - Beta
15
- Requires-Python: >=3.10
15
+ Requires-Python: >=3.11
16
16
  Description-Content-Type: text/x-rst
17
17
  License-File: COPYING
18
18
  Provides-Extra: tests
19
19
  Requires-Dist: bandit; extra == "tests"
20
20
  Requires-Dist: cython-lint; extra == "tests"
21
- Requires-Dist: mypy==1.10.0; extra == "tests"
21
+ Requires-Dist: mypy==1.11.1; extra == "tests"
22
22
  Requires-Dist: pika; extra == "tests"
23
23
  Requires-Dist: pytest-asyncio; extra == "tests"
24
24
  Requires-Dist: pytest-cov; extra == "tests"
@@ -46,20 +46,21 @@ mind
46
46
 
47
47
  1. Simple, flexible, and asynchronous Pythonic API with type annotations.
48
48
  2. Use of AMQP 1.0 message format to enable interoperability between
49
- clients.
49
+ RabbitMQ Streams clients.
50
50
  3. Performance by implementing critical sections of code using Cython,
51
51
  avoiding copying of data, and testing.
52
52
  4. Auto reconnection to RabbitMQ broker with lazily created connection
53
53
  objects.
54
54
 
55
- RabbitMQ Streams features supported
55
+ RbFly supports many RabbitMQ Streams broker features
56
56
 
57
57
  1. Publishing single messages, or in batches, with confirmation.
58
58
  2. Subscribing to a stream at a specific point in time, from a specific
59
59
  offset, or using offset reference.
60
- 3. Writing stream offset reference.
61
- 4. Message deduplication.
62
- 5. Integration with AMQP 1.0 ecosystem at message format level.
60
+ 3. Stream message filtering.
61
+ 4. Writing stream offset reference.
62
+ 5. Message deduplication.
63
+ 6. Integration with AMQP 1.0 ecosystem at message format level.
63
64
 
64
65
  RbFly library is licensed under terms of GPL license, version 3, see
65
66
  COPYING file for details. As stated in the license, there is no warranty,
@@ -8,20 +8,21 @@ mind
8
8
 
9
9
  1. Simple, flexible, and asynchronous Pythonic API with type annotations.
10
10
  2. Use of AMQP 1.0 message format to enable interoperability between
11
- clients.
11
+ RabbitMQ Streams clients.
12
12
  3. Performance by implementing critical sections of code using Cython,
13
13
  avoiding copying of data, and testing.
14
14
  4. Auto reconnection to RabbitMQ broker with lazily created connection
15
15
  objects.
16
16
 
17
- RabbitMQ Streams features supported
17
+ RbFly supports many RabbitMQ Streams broker features
18
18
 
19
19
  1. Publishing single messages, or in batches, with confirmation.
20
20
  2. Subscribing to a stream at a specific point in time, from a specific
21
21
  offset, or using offset reference.
22
- 3. Writing stream offset reference.
23
- 4. Message deduplication.
24
- 5. Integration with AMQP 1.0 ecosystem at message format level.
22
+ 3. Stream message filtering.
23
+ 4. Writing stream offset reference.
24
+ 5. Message deduplication.
25
+ 6. Integration with AMQP 1.0 ecosystem at message format level.
25
26
 
26
27
  RbFly library is licensed under terms of GPL license, version 3, see
27
28
  COPYING file for details. As stated in the license, there is no warranty,
@@ -3,7 +3,7 @@ requires = [
3
3
  "build",
4
4
  "setuptools",
5
5
  "wheel",
6
- "cython==3.0.10",
6
+ "cython==3.0.11",
7
7
  ]
8
8
  build-backend = "setuptools.build_meta"
9
9
 
@@ -14,20 +14,18 @@ strict = true
14
14
  skips = ["B101"]
15
15
 
16
16
  [tool.pytest.ini_options]
17
- addopts = "-v --cov rbfly"
17
+ addopts = '--log-level=debug --doctest-modules -vv --cov rbfly --cov-config pyproject.toml --cov-report=term-missing rbfly'
18
18
  testpaths = ["rbfly/tests"]
19
19
 
20
20
  [tool.coverage.report]
21
21
  show_missing = true
22
- fail_under = 67
22
+ fail_under = 68
23
23
  omit = ["rbfly/tests/*"]
24
24
 
25
25
  [tool.ruff]
26
26
  lint.select = ['F', 'N', 'E', 'W', 'PL', 'C90', 'RUF', 'SLF', 'UP']
27
27
  # drop from ignore: PLR2004, E501
28
- lint.ignore = ['E731', 'PLR2004', 'E501', 'UP032']
28
+ lint.ignore = ['E731', 'PLR2004', 'E501', 'UP032', 'E721']
29
29
 
30
30
  [tool.cython-lint]
31
- ignore = [
32
- "E252", "E302", "E305",
33
- ]
31
+ ignore = ['E252', 'E302', 'E305']