Metadata-Version: 2.1
Name: collection-views
Version: 0.0.2
Summary: Mutable and immutable views over standard collections with proper type annotations.
Home-page: https://github.com/surgura/python_collection_views
Author: Aart Stuurman
Author-email: aartstuurman@hotmail.com
Requires-Python: >=3.8,<4.0
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Typing :: Typed
Provides-Extra: dev
Requires-Dist: black (==22.6.0) ; extra == "dev"
Requires-Dist: darglint (==1.8.1) ; extra == "dev"
Requires-Dist: isort (==5.10.1) ; extra == "dev"
Requires-Dist: mypy (==1.5.1) ; extra == "dev"
Requires-Dist: pydocstyle (==6.1.1) ; extra == "dev"
Requires-Dist: pyflakes (==2.4.0) ; extra == "dev"
Requires-Dist: pytest (==7.4.2) ; extra == "dev"
Requires-Dist: sort-all (==1.2.0)
Requires-Dist: toml (==0.10.2) ; extra == "dev"
Project-URL: Repository, https://github.com/surgura/python_collection_views
Description-Content-Type: text/markdown

# Python collection views
Mutable and immutable views over standard collections with proper type annotations.

## Install
```
pip install collection-views
```

## Sample
```python
from collection_views import ImmutableViewList

mylist = ["Hello", "collection", "views"]
myview = ImmutableViewList(mylist)

print(myview[1]) # prints "collection"
print(myview[1:]) # prints "['collection', 'views']"
myview[0] = "Bye" # Does not support item assignment!
```

## Python support
New releases will support all actively maintained Python versions.
The latest release targets python 3.8 through 3.12.

## Features
* `ImmutableViewList`, an immutable view over a list.

