Metadata-Version: 2.3
Name: make-slice
Version: 0.2.0
Summary: Creates slice objects with clean syntax.
License: MIT
Author: pl
Author-email: 0x00.pl@gmail.com
Requires-Python: >=3.9
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
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: Programming Language :: Python :: 3.13
Description-Content-Type: text/markdown

# make-slice

Creates slice objects with clean syntax.

[![cov](https://0x00-pl.github.io/make_slice/badges/coverage.svg)](https://github.com/0x00-pl/make_slice/actions)

## Install

```bash
pip install make-slice
```

## Usage

```python
from make_slice import make_slice
# Create a slice object
s = make_slice[1:10:2]  # Equivalent to slice(1, 10, 2)
# Use the slice object
my_list = list(range(20))
print(my_list[s])  # Output: [1, 3, 5, 7, 9]
```


## License

MIT License - See [LICENSE](LICENSE) for details.

