skillfed

rcslice

Slice a list of sliceables (1 indexed, start and end index both are inclusive)

rcslice v1.1.0 127.7K downloads/30d#11,733 on PyPI2
Permissive license BSD Abandoned released

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 rcslice

uv

uv add rcslice

poetry

poetry add rcslice

Installing 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

Development Status :: 5 - Production/StableIntended Audience :: DevelopersIntended Audience :: Information TechnologyLicense :: OSI Approved :: BSD LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 2Programming Language :: Python :: 3Topic :: Text Processing :: Filters

Tags

list slicing row column notation1-indexed inclusive range slicingslice file content by line and columnmulti-range list extractiontext file line column slicing
text-extractionlegacy

More Filters packages