yter


Nameyter JSON
Version 3.1.1 PyPI version JSON
download
home_pagehttps://gitlab.com/shredwheat/yter
SummaryClever, quick iterators that make your smile whiter
upload_time2023-06-25 06:14:54
maintainer
docs_urlhttps://pythonhosted.org/yter/
authorPeter Shinners
requires_python
licenseMIT
keywords iterator itertools
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # yter

Version 3.1.1
2023, June 23

Clever, quick iterator functions that make your smile whiter.

This will work with versions of Python 2.6+ and 3.2+.


## Functions

There are many functions that process data from iterators in efficient ways.

* `yany` -- Extended version of the builtin any, test if any values are true
* `yall` -- Extended version of the builtin all, test if all values are true
* `ylen` -- Complete an iterator and get number of values
* `first` -- Get the first value from an iteraterable
* `last` -- Get the final value from an iteraterable
* `head` -- Get the first values from an iteraterable
* `tail` -- Get the last values from an iteraterable
* `minmax` -- Find the minimum and maximum values from an iterable
* `isiter` -- Test if an object is iterable, but not a string type
* `uniter` -- Efficient copy of non sequence data
* `repeat` -- Efficient lazy copy of non sequence data


## Iterators

There are several iterators that wrap an existing iterator and process it's output.

* `call` -- Iterator that works with mixed callable types
* `percent` -- Iterator that skips a percentage of values
* `flat` -- Iterator of values from a iterable of iterators
* `chunk` -- Iterator of lists with a fixed size from iterable
* `key` -- Iterator of pairs of key result and original values
* `choose` -- Split into iterators for true and false values
* `unique` -- Iterate only the unique values
* `duplicates` -- Iterate only the duplicated values
* `recurse` -- Recurse values from a callable


## Keys

Utility functions that are useful to use as a key argument

* `format` -- Create a function that formats given values into strings
* `numeric` -- Split a string into string and integer sections
* `getter` -- Shorthand for attrgetter, itemgetter, and methodcaller operators


[More documentation](https://gitlab.com/shredwheat/yter/blob/master/docs/docs/index.md) found in the repository.

            

Raw data

            {
    "_id": null,
    "home_page": "https://gitlab.com/shredwheat/yter",
    "name": "yter",
    "maintainer": "",
    "docs_url": "https://pythonhosted.org/yter/",
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "iterator itertools",
    "author": "Peter Shinners",
    "author_email": "pete@shinners.org",
    "download_url": "https://files.pythonhosted.org/packages/c5/8b/6172e7618d6a6d310d0de35f21b36a6adcd338f44b07749c6fc7e703d38d/yter-3.1.1.tar.gz",
    "platform": null,
    "description": "# yter\r\n\r\nVersion 3.1.1\r\n2023, June 23\r\n\r\nClever, quick iterator functions that make your smile whiter.\r\n\r\nThis will work with versions of Python 2.6+ and 3.2+.\r\n\r\n\r\n## Functions\r\n\r\nThere are many functions that process data from iterators in efficient ways.\r\n\r\n* `yany` -- Extended version of the builtin any, test if any values are true\r\n* `yall` -- Extended version of the builtin all, test if all values are true\r\n* `ylen` -- Complete an iterator and get number of values\r\n* `first` -- Get the first value from an iteraterable\r\n* `last` -- Get the final value from an iteraterable\r\n* `head` -- Get the first values from an iteraterable\r\n* `tail` -- Get the last values from an iteraterable\r\n* `minmax` -- Find the minimum and maximum values from an iterable\r\n* `isiter` -- Test if an object is iterable, but not a string type\r\n* `uniter` -- Efficient copy of non sequence data\r\n* `repeat` -- Efficient lazy copy of non sequence data\r\n\r\n\r\n## Iterators\r\n\r\nThere are several iterators that wrap an existing iterator and process it's output.\r\n\r\n* `call` -- Iterator that works with mixed callable types\r\n* `percent` -- Iterator that skips a percentage of values\r\n* `flat` -- Iterator of values from a iterable of iterators\r\n* `chunk` -- Iterator of lists with a fixed size from iterable\r\n* `key` -- Iterator of pairs of key result and original values\r\n* `choose` -- Split into iterators for true and false values\r\n* `unique` -- Iterate only the unique values\r\n* `duplicates` -- Iterate only the duplicated values\r\n* `recurse` -- Recurse values from a callable\r\n\r\n\r\n## Keys\r\n\r\nUtility functions that are useful to use as a key argument\r\n\r\n* `format` -- Create a function that formats given values into strings\r\n* `numeric` -- Split a string into string and integer sections\r\n* `getter` -- Shorthand for attrgetter, itemgetter, and methodcaller operators\r\n\r\n\r\n[More documentation](https://gitlab.com/shredwheat/yter/blob/master/docs/docs/index.md) found in the repository.\r\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Clever, quick iterators that make your smile whiter",
    "version": "3.1.1",
    "project_urls": {
        "Homepage": "https://gitlab.com/shredwheat/yter"
    },
    "split_keywords": [
        "iterator",
        "itertools"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c58b6172e7618d6a6d310d0de35f21b36a6adcd338f44b07749c6fc7e703d38d",
                "md5": "f0321b9b87ed929db3d5b8c3f25a48b0",
                "sha256": "95ff484b390e2ab557c05606179d2ae00fe99212270666cc1796f1b0468e1caf"
            },
            "downloads": -1,
            "filename": "yter-3.1.1.tar.gz",
            "has_sig": false,
            "md5_digest": "f0321b9b87ed929db3d5b8c3f25a48b0",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 13450,
            "upload_time": "2023-06-25T06:14:54",
            "upload_time_iso_8601": "2023-06-25T06:14:54.625241Z",
            "url": "https://files.pythonhosted.org/packages/c5/8b/6172e7618d6a6d310d0de35f21b36a6adcd338f44b07749c6fc7e703d38d/yter-3.1.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-06-25 06:14:54",
    "github": false,
    "gitlab": true,
    "bitbucket": false,
    "codeberg": false,
    "gitlab_user": "shredwheat",
    "gitlab_project": "yter",
    "lcname": "yter"
}
        
Elapsed time: 0.36254s