record-list


Namerecord-list JSON
Version 0.2.1 PyPI version JSON
download
home_pageNone
SummaryRecord list with handy methods
upload_time2025-08-03 10:13:48
maintainerNone
docs_urlNone
authorNone
requires_python>=3.13
licenseNone
keywords rlist list
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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**
```py
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

```console
pip install record-list
```

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "record-list",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.13",
    "maintainer_email": null,
    "keywords": "rlist, list",
    "author": null,
    "author_email": "Maximos Nikiforakis <nikiforos@live.co.uk>",
    "download_url": "https://files.pythonhosted.org/packages/14/a5/68055185cedee23730efc099444a90fa56d83486e6f5df80c46848df63f3/record_list-0.2.1.tar.gz",
    "platform": null,
    "description": "# rlist\n`rlist` is a small Python library that provides the `rlist` type (record list), which \nis a plain Python list extended with a few handy methods for in-place manipulation.  \nThe methods are inspired by the corresponding Ruby array methods.  \n\n**Documentation:** https://maxcode123.github.io/rlist/  \n\n**Example**\n```py\nfrom rlist import rlist\n\npeople = [\n  {\"age\": 29, \"name\": \"John\", \"sex\": \"M\"},\n  {\"age\": 67, \"name\": \"Paul\", \"sex\": \"M\"},\n  {\"age\": 39, \"name\": \"George\", \"sex\": \"M\"},\n  {\"age\": 18, \"name\": \"Mary\", \"sex\": \"F\"},\n  {\"age\": 45: \"name\": \"Margaret\", \"sex\":  \"F\"}\n]\n\npeople.select(lambda p: p[\"age\"] > 30).reject(lambda p: \"l\" in p[\"name\"]).map(lambda p: p[\"sex\"])\n```\n\n\n## Installation\n\n```console\npip install record-list\n```\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Record list with handy methods",
    "version": "0.2.1",
    "project_urls": {
        "Documentation": "https://maxcode123.github.io/rlist/",
        "Issues": "https://github.com/Maxcode123/rlist/issues",
        "Repository": "https://github.com/Maxcode123/rlist"
    },
    "split_keywords": [
        "rlist",
        " list"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "19ead7a460590109e9d65e763e76a4d39f50a19979184f4c4f7175731eef9937",
                "md5": "0f05e19e69df4f69e44c2c4bbbcffb2f",
                "sha256": "08362488f174117ad0685f58f462f2a3b3365b1b064828e3b71df516367b29f6"
            },
            "downloads": -1,
            "filename": "record_list-0.2.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "0f05e19e69df4f69e44c2c4bbbcffb2f",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.13",
            "size": 4629,
            "upload_time": "2025-08-03T10:13:47",
            "upload_time_iso_8601": "2025-08-03T10:13:47.069098Z",
            "url": "https://files.pythonhosted.org/packages/19/ea/d7a460590109e9d65e763e76a4d39f50a19979184f4c4f7175731eef9937/record_list-0.2.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "14a568055185cedee23730efc099444a90fa56d83486e6f5df80c46848df63f3",
                "md5": "ba4d44dde8329d58911ed014a573bda2",
                "sha256": "dfe7b058f3f5a7e0e00a67bc2d743e614151dd225be6476b8efccc845d20a8fe"
            },
            "downloads": -1,
            "filename": "record_list-0.2.1.tar.gz",
            "has_sig": false,
            "md5_digest": "ba4d44dde8329d58911ed014a573bda2",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.13",
            "size": 4189,
            "upload_time": "2025-08-03T10:13:48",
            "upload_time_iso_8601": "2025-08-03T10:13:48.736483Z",
            "url": "https://files.pythonhosted.org/packages/14/a5/68055185cedee23730efc099444a90fa56d83486e6f5df80c46848df63f3/record_list-0.2.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-08-03 10:13:48",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Maxcode123",
    "github_project": "rlist",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "record-list"
}
        
Elapsed time: 1.44848s