Skip to main content

rlist

rlist is a small Python library that provides the rlist type (record list), which is a plain Python list extended with a few handy methods for in-place manipulation.
The methods are inspired by the corresponding Ruby array methods.

Documentation: https://maxcode123.github.io/rlist/

Example

from rlist import rlist

people = [
  {"age": 29, "name": "John", "sex": "M"},
  {"age": 67, "name": "Paul", "sex": "M"},
  {"age": 39, "name": "George", "sex": "M"},
  {"age": 18, "name": "Mary", "sex": "F"},
  {"age": 45: "name": "Margaret", "sex":  "F"}
]

people.select(lambda p: p["age"] > 30).reject(lambda p: "l" in p["name"]).map(lambda p: p["sex"])

Installation

pip install record-list

Metadata

Release files for record-list 0.2.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for record-list 0.2.3
File Size Uploaded Provenance Actions
record_list-0.2.3.tar.gz 4.2 kB Without provenance Details for record_list-0.2.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for record-list 0.2.3
File Interpreter ABI Platform Actions
record_list-0.2.3-py3-none-any.whl Python 3 none any Details for record_list-0.2.3-py3-none-any.whl

Total release size: 8.9 kB

Release files / record_list-0.2.3.tar.gz

Download URL record_list-0.2.3.tar.gz
Size 4.2 kB
Tags Source
SHA-256 checksum
How to use checksums
0ac825e08d0c9cdafbacf612c5e4e320ecf9c2448f79152e06c05a44c0b98ffa
BLAKE2b-256 checksum
How to use checksums
17e1555a5b30673aceec7552cbbc3f1d7c3fced60529f5f493aa1bcd4565fde4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.5.11

Release files / record_list-0.2.3-py3-none-any.whl

Download URL record_list-0.2.3-py3-none-any.whl
Size 4.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4f186145c455856e8d2c7d8e13428d58ec2494825514f7ca1f991cd49d9c95cb
BLAKE2b-256 checksum
How to use checksums
a49f3143cab17539de53439d05e6ba0b68ac5d159cf2d6a9dd9a3995232ada3b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.5.11

Security for record-list 0.2.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page