flpit 0.4.2.dev12__tar.gz → 0.5.0__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 (28) hide show
  1. {flpit-0.4.2.dev12 → flpit-0.5.0}/PKG-INFO +1 -1
  2. {flpit-0.4.2.dev12 → flpit-0.5.0}/pyproject.toml +1 -1
  3. {flpit-0.4.2.dev12 → flpit-0.5.0}/src/flpit/asyncio_bridge.py +1 -1
  4. {flpit-0.4.2.dev12 → flpit-0.5.0}/src/flpit/task.py +0 -15
  5. {flpit-0.4.2.dev12 → flpit-0.5.0}/.gitignore +0 -0
  6. {flpit-0.4.2.dev12 → flpit-0.5.0}/LICENSE +0 -0
  7. {flpit-0.4.2.dev12 → flpit-0.5.0}/README.md +0 -0
  8. {flpit-0.4.2.dev12 → flpit-0.5.0}/src/flp/__init__.py +0 -0
  9. {flpit-0.4.2.dev12 → flpit-0.5.0}/src/flpit/__init__.py +0 -0
  10. {flpit-0.4.2.dev12 → flpit-0.5.0}/src/flpit/channels.py +0 -0
  11. {flpit-0.4.2.dev12 → flpit-0.5.0}/src/flpit/concurrent.py +0 -0
  12. {flpit-0.4.2.dev12 → flpit-0.5.0}/src/flpit/core/__init__.py +0 -0
  13. {flpit-0.4.2.dev12 → flpit-0.5.0}/src/flpit/core/_grouping.py +0 -0
  14. {flpit-0.4.2.dev12 → flpit-0.5.0}/src/flpit/core/_index.py +0 -0
  15. {flpit-0.4.2.dev12 → flpit-0.5.0}/src/flpit/core/_join.py +0 -0
  16. {flpit-0.4.2.dev12 → flpit-0.5.0}/src/flpit/core/_lookup.py +0 -0
  17. {flpit-0.4.2.dev12 → flpit-0.5.0}/src/flpit/core/_zip.py +0 -0
  18. {flpit-0.4.2.dev12 → flpit-0.5.0}/src/flpit/core/async_linq.py +0 -0
  19. {flpit-0.4.2.dev12 → flpit-0.5.0}/src/flpit/core/comparers.py +0 -0
  20. {flpit-0.4.2.dev12 → flpit-0.5.0}/src/flpit/core/linq.py +0 -0
  21. {flpit-0.4.2.dev12 → flpit-0.5.0}/src/flpit/csv.py +0 -0
  22. {flpit-0.4.2.dev12 → flpit-0.5.0}/src/flpit/flp.py +0 -0
  23. {flpit-0.4.2.dev12 → flpit-0.5.0}/src/flpit/json/__init__.py +0 -0
  24. {flpit-0.4.2.dev12 → flpit-0.5.0}/src/flpit/json/_core.py +0 -0
  25. {flpit-0.4.2.dev12 → flpit-0.5.0}/src/flpit/json/_msgspec.py +0 -0
  26. {flpit-0.4.2.dev12 → flpit-0.5.0}/src/flpit/json/_native.py +0 -0
  27. {flpit-0.4.2.dev12 → flpit-0.5.0}/src/flpit/py.typed +0 -0
  28. {flpit-0.4.2.dev12 → flpit-0.5.0}/src/flpit/threading.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: flpit
3
- Version: 0.4.2.dev12
3
+ Version: 0.5.0
4
4
  Summary: Fluent LINQ for Python — flip your iterables
5
5
  Project-URL: Homepage, https://github.com/riemar/flpit
6
6
  Project-URL: Documentation, https://riemar.github.io/flpit/
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "flpit"
3
- version = "0.4.2.dev12"
3
+ version = "0.5.0"
4
4
  description = "Fluent LINQ for Python — flip your iterables"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.12"
@@ -1,6 +1,6 @@
1
1
  """asyncio libraries on the flpit runtime: a pool of standard asyncio event loops.
2
2
 
3
- Provisional: the API of this module may change in 0.5. Prefer a library's sync client where one
3
+ Provisional: the API of this module may change in 0.6. Prefer a library's sync client where one
4
4
  exists (``httpx.Client``, psycopg's ``ConnectionPool``): it is written for threads and can be shared.
5
5
 
6
6
  asyncio libraries (httpx, asyncpg, redis.asyncio, aiohttp, ...) need two things: a running
@@ -256,21 +256,6 @@ class _TaskMeta(type):
256
256
  _completed_task[0] = task
257
257
  return task
258
258
 
259
- @property
260
- def asyncio_interop(cls: "_TaskMeta") -> bool:
261
- """Deprecated, always True: a Task can always be awaited inside asyncio coroutines."""
262
- warnings.warn(_ASYNCIO_INTEROP_DEPRECATED, DeprecationWarning, stacklevel=2)
263
- return True
264
-
265
- @asyncio_interop.setter
266
- def asyncio_interop(cls: "_TaskMeta", enabled: bool) -> None:
267
- warnings.warn(_ASYNCIO_INTEROP_DEPRECATED + " Setting it has no effect.", DeprecationWarning, stacklevel=2)
268
-
269
-
270
- _ASYNCIO_INTEROP_DEPRECATED: Final = (
271
- "Task.asyncio_interop is deprecated and will be removed in 0.5: awaiting a Task inside "
272
- "asyncio coroutines always works, at no measurable cost to flpit awaits."
273
- )
274
259
 
275
260
 
276
261
  @dataclass(frozen=True)
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