New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

frozenlist2

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

frozenlist2

An immutable list

1.0.0
PyPI
Maintainers
1

An immutable list.

Build status Coverage Status

This library provides a simple immutable list class for Python.

  • drop-in replacement for list
  • hashable (if list contents are hashable)

Installation

Install the frozenlist2 package from PyPI.

pip install frozenlist2

Usage Example

from frozenlist2 import frozenlist

# Make a list
elems = frozenlist([1, 2, 4, 8])

# Attempt to modify it
elems.append(16)  # Will raise exception!

License

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts