Funbox

Latest version: v0.10

Safety actively analyzes 619136 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.8

New modules:
- funbox.pairs -- operations on pairs: fst, snd, lift_fst, lift_snd, swap, decorate
- funbox.op -- curried Python operators
- funbox.iterators.ordered -- includes partition_o, a version of partition optimised for suitably sorted iterators

New functions:
- funbox.iterators.partition -- partition an iterator into two sub-iterators (trues, falses)
- funbox.iterators.partition_strict -- strict version of partition (consumes all items only once, returns lists)
- funbox.iterators.sift -- sift an iterator into a series of sub-iterators (like a set of real increasingly-fine sieves)
- funbox.iterators.sift_strict -- strict version of sift that returns lists and consumes items all at once.

Supports Python 3 better:
- tidied up imports and tests so that Python 3 can handle them.

Tests:
- My 'runtests' script now uses nose and runs the tests under list of different nosetests programs, instead of trying to find tests itself and running them directly under the interpreter.

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.