collections
E431920
collections is a Python standard library module that provides specialized container datatypes such as namedtuple, deque, Counter, and OrderedDict to supplement the built-in container types.
All labels observed (1)
| Label | Occurrences |
|---|---|
| collections canonical | 1 |
Statements (46)
| Predicate | Object |
|---|---|
| instanceOf | Python standard library module ⓘ |
| availableIn |
Python 2
NERFINISHED
ⓘ
Python 3 NERFINISHED ⓘ |
| category | container datatypes module ⓘ |
| containsClass |
ChainMap
NERFINISHED
ⓘ
Counter ⓘ OrderedDict ⓘ UserDict ⓘ UserList ⓘ UserString ⓘ defaultdict ⓘ deque ⓘ |
| containsFunction |
namedtuple
ⓘ
somenamedtuple (deprecated alias) ⓘ |
| designGoal | provide alternatives to general-purpose built-in containers ⓘ |
| documentationURL | https://docs.python.org/3/library/collections.html ⓘ |
| includesSubmodule | collections.abc ⓘ |
| introducedIn | Python 2.4 NERFINISHED ⓘ |
| locatedIn | Lib/collections/__init__.py ⓘ |
| moduleName | collections ⓘ |
| partOf | Python standard library NERFINISHED ⓘ |
| programmingLanguage | Python ⓘ |
| provides |
ChainMap
ⓘ
Counter ⓘ OrderedDict ⓘ UserDict ⓘ UserList ⓘ UserString ⓘ abc ⓘ defaultdict ⓘ deque ⓘ namedtuple ⓘ |
| purpose | provide specialized container datatypes ⓘ |
| relatedTo |
functools
ⓘ
itertools NERFINISHED ⓘ typing ⓘ |
| supplements | built-in container types ⓘ |
| supports | abstract base classes for containers ⓘ |
| usedFor |
counting hashable objects
ⓘ
creating dict-like objects via inheritance ⓘ creating lightweight object types ⓘ creating list-like objects via inheritance ⓘ creating string-like objects via inheritance ⓘ efficient queue implementations ⓘ grouping multiple mappings ⓘ ordered mappings (pre Python 3.7 dict semantics) ⓘ |
Referenced by (1)
Full triples — surface form annotated when it differs from this entity's canonical label.