{"id":17077782,"url":"https://github.com/torokmark/slender","last_synced_at":"2026-03-02T18:39:40.283Z","repository":{"id":57468337,"uuid":"180617577","full_name":"torokmark/slender","owner":"torokmark","description":":snake: Enhanced, chainable list, set, dictionary for efficient work!","archived":false,"fork":false,"pushed_at":"2019-10-15T16:55:39.000Z","size":153,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-18T23:17:57.408Z","etag":null,"topics":["datastructures","dictionary","enhanced-list","list","python3","set","slender","tuple"],"latest_commit_sha":null,"homepage":"https://slender.readthedocs.io","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/torokmark.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-04-10T16:06:43.000Z","updated_at":"2022-10-23T02:57:23.000Z","dependencies_parsed_at":"2022-09-19T08:30:28.262Z","dependency_job_id":null,"html_url":"https://github.com/torokmark/slender","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/torokmark/slender","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/torokmark%2Fslender","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/torokmark%2Fslender/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/torokmark%2Fslender/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/torokmark%2Fslender/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/torokmark","download_url":"https://codeload.github.com/torokmark/slender/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/torokmark%2Fslender/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265218751,"owners_count":23729528,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["datastructures","dictionary","enhanced-list","list","python3","set","slender","tuple"],"created_at":"2024-10-14T12:16:48.774Z","updated_at":"2026-03-02T18:39:35.260Z","avatar_url":"https://github.com/torokmark.png","language":"Python","readme":"# Slender \n  \n**Slender** provides chainable, type-safe, enhanced datastructures over the well-known built-ins.\n\n\n[![Build Status](https://travis-ci.org/torokmark/slender.svg?branch=master)](https://travis-ci.org/torokmark/slender)\n[![Documentation Status](https://readthedocs.org/projects/slender/badge/?version=latest)](https://slender.readthedocs.io/en/latest/?badge=latest)\n[![PyPI](https://img.shields.io/pypi/v/slender.svg?color=blue)](https://pypi.org/project/slender/)\n[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/slender.svg)](https://github.com/torokmark/slender)\n[![PyPI - License](https://img.shields.io/github/license/torokmark/slender)](https://github.com/torokmark/slender/blob/master/LICENSE.md)\n\n\n* *List* is an enhanced list having all the functionalities that the basic\n  `list` buitl-in type does but extended with a lot of useful functions.\n* *Set* is a superset of the built-in one, works as the general `set` type but it does a lot more\n  that.\n* *Dictionary* is a key-value pair container, like `dict`, which is built with heavy functionalities.\n* *Tuple* is a finate ordered list over the built-in `tuple`.\n\n## Install \n\n```sh\npip install slender \n```\n\n## Usage \n\n```python\nfrom slender import List, Set\n\nprint(List([1, 2, 3, 4, 5]) \\\n  .delete_if(lambda x: x % 2 == 0) \\\n  .map(lambda x: x * 2) \\\n  .chain(['a', 'b']) \\\n  .each_with_index() \\\n  .to_list()) # =\u003e [[0, 2], [1, 6], [2, 10], [3, 'a'], [4, 'b]]\n\nprint((Set({1, 2, 2, 3, 6, 7, 8}) \\\n  .subtract(Set({3, 5, 10})) \\\n  .select(lambda x: x % 2 == 0) \\\n  \u003c\u003c 4 \\\n  \u003c\u003c 5 \\\n  ).map(lambda x: x * 2)) # =\u003e {4, 8, 10, 12, 16}\n```\n\n## Documentation\n\nFor further information, read the documentation that can be found: \n[https://slender.readthedocs.io](https://slender.readthedocs.io)\n\n\n## Contribution\n\n1. Fork it!\n2. Make your changes!\n3. Send a PR!\n\n\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftorokmark%2Fslender","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftorokmark%2Fslender","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftorokmark%2Fslender/lists"}