rcslice
Slice a list of sliceables (1 indexed, start and end index both are inclusive)
What it is and what it does
rcslice provides a RowSlice class that extracts ranges from lists using a specialized row-column syntax where all indices are 1-based and inclusive. It is designed primarily for slicing file content read into memory—such as lines from a text file—either by row (line), column (character position), or both simultaneously. The syntax supports single ranges, multi-ranges separated by commas, and shorthand notation for the last row using 'e'. You can optionally insert separators between multiple slices.
The package has no runtime dependencies and installs cleanly, but it has been abandoned since its final release in 2018. It was marked as Production/Stable, but no updates or maintenance have occurred, so it should be treated as legacy code. The implementation is straightforward and the API is simple, making it suitable for one-off text processing tasks where the row-column slicing syntax is a good fit.
Use it for:
- Extract specific lines and character ranges from a text file read into memory using row-column notation.
- Slice multi-line structured text by row and column in a single operation.
- Build custom text extraction tools where 1-indexed inclusive ranges are more intuitive than Python's default slicing.
- Combine multiple non-contiguous slices of a list and insert separators between them for formatted output.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Slices lists using a row-column notation with inclusive 1-based indexing, supporting ranges, multi-slice syntax, and optional separators between results.
Yes, but only for simple, self-contained text-slicing tasks where the row-column syntax is a natural fit and you do not expect ongoing maintenance. The package is stable and has no dependencies, but it is abandoned and will not receive updates. If your project requires active support or must handle edge cases, consider writing custom slicing logic instead.
Install
rcslice on PyPI
pip
pip install rcsliceuv
uv add rcslicepoetry
poetry add rcsliceInstalling rcslice
Before you install
Low install friction with no runtime dependencies. However, the package is abandoned—last release was 2018-09-27 and last commit 2020-05-27—so no maintenance or bug fixes should be expected.
License in practice
BSD license is permissive, allowing commercial and private use with minimal restrictions, making it safe from a licensing standpoint for most projects.
Quickstart
from rcslice import RowSlice
rs = RowSlice()
sliced = rs.slice(['a', 'b', 'c'], '1-2')
Verify before relying
- Whether the package works correctly with modern Python versions given no requires_python constraint is specified.
- Real-world performance and correctness on large files or deeply nested slicing patterns.
- Whether the syntax and behavior remain stable or if edge cases exist in the slicing logic.
Package facts
| License | BSD (permissive) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | abandoned — 2,878 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 127,701/month — #11,733 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: rcslice-1.1.0-py3-none-any.whl
Keywords: slice, list, sliceable, line, slice, from, file
Tags
More Filters packages
Pygments is a syntax highlighter that colorizes…
permissive · top 100 on PyPI
MarkdownConverts Markdown text to HTML using a Python…
permissive · top 1,000 on PyPI
nltkNLTK is a Python library for natural language…
permissive · top 1,000 on PyPI
pandocfiltersProvides Python utilities for writing pandoc…
permissive · top 1,000 on PyPI
UnidecodeConverts Unicode text to ASCII-safe…
copyleft · top 1,000 on PyPI
pymdown-extensionsPymdown Extensions provides a collection of…
permissive · top 1,000 on PyPI
slicerProvides a uniform slicing interface for…
permissive · top 5,000 on PyPI
PTablePTable formats tabular data into visually…
permissive · top 15,000 on PyPI
ndindexndindex provides a uniform API for representing…
permissive · top 5,000 on PyPI
mdx-includeA Markdown extension that embeds local or…
permissive · top 15,000 on PyPI
sttableParses string-formatted tables (with…
permissive · top 15,000 on PyPI
sahiSAHI performs sliced inference on large images…
permissive · top 15,000 on PyPI
intervaltreeA self-balancing interval tree data structure…
permissive · top 5,000 on PyPI
linear-tsvParses and writes tabular data in Linear TSV…
permissive · top 15,000 on PyPI
pyxlsxProvides dictionary-like read and write access…
permissive · top 15,000 on PyPI
numbers-parserRead, edit, and write Apple Numbers spreadsheet…
permissive · top 5,000 on PyPI