Skip to main content

# 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.

Metadata

Release files for yter 3.1.1

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

Source distribution (sdist)

Source distribution for yter 3.1.1
File Size Uploaded
yter-3.1.1.tar.gz 13.4 kB Details

Release files / yter-3.1.1.tar.gz

Download URL yter-3.1.1.tar.gz
Size 13.4 kB
Tags Source
SHA-256 checksum
How to use checksums
95ff484b390e2ab557c05606179d2ae00fe99212270666cc1796f1b0468e1caf
BLAKE2b-256 checksum
How to use checksums
c58b6172e7618d6a6d310d0de35f21b36a6adcd338f44b07749c6fc7e703d38d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.6

Release history Release notifications | RSS feed

This release

3.1.1 This release

1 release file

3.1.0

1 release file

3.0.1

2 release files

3.0.0

2 release files

2.0.1

1 release file

2.0.0

1 release file

1.9.1

1 release file

1.9.0

1 release file

1.8.0

2 release files

1.7.0

2 release files

1.6.0

2 release files

1.5.1

2 release files

1.4.1

2 release files

1.4.0

2 release files

1.3.0

2 release files

1.1.0

2 release files

1.0.0

2 release files

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