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

How this entity was disambiguated

Statements (46)

Predicate Object
instanceOf Python standard library module
availableIn Python 2
linked to: Python 2.0

Python 3
linked to: Python 3.x
category container datatypes module
containsClass ChainMap
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
linked to: Python 2.0
locatedIn Lib/collections/__init__.py
moduleName collections
partOf Python standard library
programmingLanguage Python
provides ChainMap
Counter
OrderedDict
UserDict
UserList
UserString
abc
defaultdict
deque
namedtuple
purpose provide specialized container datatypes
relatedTo functools
itertools
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)

How these facts were elicited

Referenced by (1)

Full triples — surface form annotated when it differs from this entity's canonical label.