README.rst 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. .. image:: https://img.shields.io/pypi/v/jaraco.collections.svg
  2. :target: https://pypi.org/project/jaraco.collections
  3. .. image:: https://img.shields.io/pypi/pyversions/jaraco.collections.svg
  4. .. image:: https://github.com/jaraco/jaraco.collections/actions/workflows/main.yml/badge.svg
  5. :target: https://github.com/jaraco/jaraco.collections/actions?query=workflow%3A%22tests%22
  6. :alt: tests
  7. .. image:: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v2.json
  8. :target: https://github.com/astral-sh/ruff
  9. :alt: Ruff
  10. .. image:: https://readthedocs.org/projects/jaracocollections/badge/?version=latest
  11. :target: https://jaracocollections.readthedocs.io/en/latest/?badge=latest
  12. .. image:: https://img.shields.io/badge/skeleton-2024-informational
  13. :target: https://blog.jaraco.com/skeleton
  14. .. image:: https://tidelift.com/badges/package/pypi/jaraco.collections
  15. :target: https://tidelift.com/subscription/pkg/pypi-jaraco.collections?utm_source=pypi-jaraco.collections&utm_medium=readme
  16. Models and classes to supplement the stdlib 'collections' module.
  17. See the docs, linked above, for descriptions and usage examples.
  18. Highlights include:
  19. - RangeMap: A mapping that accepts a range of values for keys.
  20. - Projection: A subset over an existing mapping.
  21. - KeyTransformingDict: Generalized mapping with keys transformed by a function.
  22. - FoldedCaseKeyedDict: A dict whose string keys are case-insensitive.
  23. - BijectiveMap: A map where keys map to values and values back to their keys.
  24. - ItemsAsAttributes: A mapping mix-in exposing items as attributes.
  25. - IdentityOverrideMap: A map whose keys map by default to themselves unless overridden.
  26. - FrozenDict: A hashable, immutable map.
  27. - Enumeration: An object whose keys are enumerated.
  28. - Everything: A container that contains all things.
  29. - Least, Greatest: Objects that are always less than or greater than any other.
  30. - pop_all: Return all items from the mutable sequence and remove them from that sequence.
  31. - DictStack: A stack of dicts, great for sharing scopes.
  32. - WeightedLookup: A specialized RangeMap for selecting an item by weights.
  33. For Enterprise
  34. ==============
  35. Available as part of the Tidelift Subscription.
  36. This project and the maintainers of thousands of other packages are working with Tidelift to deliver one enterprise subscription that covers all of the open source you use.
  37. `Learn more <https://tidelift.com/subscription/pkg/pypi-jaraco.collections?utm_source=pypi-jaraco.collections&utm_medium=referral&utm_campaign=github>`_.