{ "info": { "author": "Mark Torok", "author_email": "", "bugtrack_url": null, "classifiers": [ "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3 :: Only" ], "description": "# 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()) # => [[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 << 4 \\\n << 5 \\\n ).map(lambda x: x * 2)) # => {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!", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/torokmark/slender", "keywords": "", "license": "Apache License 2.0", "maintainer": "", "maintainer_email": "", "name": "slender", "package_url": "https://pypi.org/project/slender/", "platform": "", "project_url": "https://pypi.org/project/slender/", "project_urls": { "Documentation": "https://slender.readthedocs.io", "Homepage": "http://github.com/torokmark/slender", "Source": "https://github.com/torokmark/slender" }, "release_url": "https://pypi.org/project/slender/2.0.2/", "requires_dist": null, "requires_python": ">=3.7", "summary": "Slender datastructures in Python for efficient work!", "version": "2.0.2" }, "last_serial": 5978436, "releases": { "0.1.3.3": [ { "comment_text": "", "digests": { "md5": "3ea7b78977cd836e1c4dc4208cc63485", "sha256": "6023a85638f93d5f516142349312ee345cbc660cefc6fb66d3a7f6f48ebb9e09" }, "downloads": -1, "filename": "slender-0.1.3.3.tar.gz", "has_sig": false, "md5_digest": "3ea7b78977cd836e1c4dc4208cc63485", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 9274, "upload_time": "2019-09-01T09:51:41", "url": "https://files.pythonhosted.org/packages/f3/de/6e20ff31bf42b2358b93a89101bad4859d686e51406c42bcd0be5324ce08/slender-0.1.3.3.tar.gz" } ], "0.1.3.7": [ { "comment_text": "", "digests": { "md5": "97a867aa8031396929ba608c04aca2be", "sha256": "197e2c58ec5f2a11f28699a54ca7b5e93a6ced2537f8b5fe441884c4c9553650" }, "downloads": -1, "filename": "slender-0.1.3.7.tar.gz", "has_sig": false, "md5_digest": "97a867aa8031396929ba608c04aca2be", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.7", "size": 9910, "upload_time": "2019-09-03T10:21:29", "url": "https://files.pythonhosted.org/packages/5d/6c/5e0140b2a661f3aa42062eb3cdcd6b52b4b220aba83848f583ea58344065/slender-0.1.3.7.tar.gz" } ], "0.1.4.3": [ { "comment_text": "", "digests": { "md5": "4fd574e7f3356ad84bf65ab428e622a0", "sha256": "186ac230bbd5c62b4556becd75dd8da04fa0445db28a6d6162995f7705a9fe51" }, "downloads": -1, "filename": "slender-0.1.4.3.tar.gz", "has_sig": false, "md5_digest": "4fd574e7f3356ad84bf65ab428e622a0", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.7", "size": 10475, "upload_time": "2019-10-08T13:02:43", "url": "https://files.pythonhosted.org/packages/66/3f/0a150b8987ed18151ef581610c2498dfc95b76d53c5b48a7bc8a18e7ab16/slender-0.1.4.3.tar.gz" } ], "0.1.4.5": [ { "comment_text": "", "digests": { "md5": "1004d13b96beca5d9d520a913e503776", "sha256": "882b462c5b9d3f5b4ab4223ba0814826461cef1a1cab44006741824cb239b2e4" }, "downloads": -1, "filename": "slender-0.1.4.5.tar.gz", "has_sig": false, "md5_digest": "1004d13b96beca5d9d520a913e503776", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.7", "size": 10435, "upload_time": "2019-10-08T14:00:05", "url": "https://files.pythonhosted.org/packages/53/4c/718bfc4e855c674714d6cfc1b0601edacb0d25a82a701bdecebc8d92426d/slender-0.1.4.5.tar.gz" } ], "1.4.5": [ { "comment_text": "", "digests": { "md5": "766c8e9f984109251d992c9f854a584a", "sha256": "b1435226dc3f4372457bb4df30acd80f5c80a78f974290341079c05f1fe85f89" }, "downloads": -1, "filename": "slender-1.4.5.tar.gz", "has_sig": false, "md5_digest": "766c8e9f984109251d992c9f854a584a", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.7", "size": 10438, "upload_time": "2019-10-08T14:58:29", "url": "https://files.pythonhosted.org/packages/cd/69/afb8b8a9d2dafaad68fb8d23e9bb71b97cdd0c35f7f5e472da0a19b17d17/slender-1.4.5.tar.gz" } ], "2.0.1": [ { "comment_text": "", "digests": { "md5": "303ede75a52a1088bbd8f82040da3be0", "sha256": "d19d0b1aa4d8285fa762bbef91061f38ab3e2ec94d847cec2b57b0e788d37d54" }, "downloads": -1, "filename": "slender-2.0.1.tar.gz", "has_sig": false, "md5_digest": "303ede75a52a1088bbd8f82040da3be0", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.7", "size": 10585, "upload_time": "2019-10-09T13:41:34", "url": "https://files.pythonhosted.org/packages/79/a9/4a9fa4085d2108781443133a76c9e421317b0cfbf3c9c2efb94e08963ad6/slender-2.0.1.tar.gz" } ], "2.0.2": [ { "comment_text": "", "digests": { "md5": "84ae51f5cdff3f43bb96af6c1dbd45e5", "sha256": "0f3e1455f32c23cc8854546b9a2407eaef1c6f6f324ca66fbd69202dd6f13784" }, "downloads": -1, "filename": "slender-2.0.2.tar.gz", "has_sig": false, "md5_digest": "84ae51f5cdff3f43bb96af6c1dbd45e5", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.7", "size": 10596, "upload_time": "2019-10-15T16:56:04", "url": "https://files.pythonhosted.org/packages/8d/83/209e63f131d2d7898172b638d494cd5b00f07669d956b24b36ce0d31dae4/slender-2.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "84ae51f5cdff3f43bb96af6c1dbd45e5", "sha256": "0f3e1455f32c23cc8854546b9a2407eaef1c6f6f324ca66fbd69202dd6f13784" }, "downloads": -1, "filename": "slender-2.0.2.tar.gz", "has_sig": false, "md5_digest": "84ae51f5cdff3f43bb96af6c1dbd45e5", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.7", "size": 10596, "upload_time": "2019-10-15T16:56:04", "url": "https://files.pythonhosted.org/packages/8d/83/209e63f131d2d7898172b638d494cd5b00f07669d956b24b36ce0d31dae4/slender-2.0.2.tar.gz" } ] }