{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/4"}],"enrichment":{"capability":"Funcy provides a collection of functional programming utilities\u2014higher-order functions, collection transformations, and control-flow abstractions\u2014designed to make functional patterns practical in Python.","skillfed_tags":["functional-programming","collection-utilities","decorators"],"use_cases":["Transform nested data structures (dicts, lists) while preserving types using walk, walk_keys, walk_values","Merge multiple collections of the same type in a single operation","Filter and select subsets of collections using predicates without explicit loops","Compose functions and create partial applications for cleaner, more reusable code","Build decorators for retry logic, error suppression, rate limiting, and caching without boilerplate","Debug data flow by tapping values and logging function calls and durations"],"what_it_does":"Funcy is a library of functional programming tools inspired by Clojure and underscore.js, providing utilities for working with collections, composing functions, and abstracting control flow. It includes functions for merging and transforming collections (dicts, sets, lists, tuples, iterators, strings), selecting and filtering elements, manipulating sequences, and creating decorators. The library also offers higher-order function utilities like partial application, currying, and composition, plus control-flow helpers like retry, suppress, and caching.\n\nThe package targets developers who want functional programming patterns without heavyweight frameworks. It works across Python 3.4+ and PyPy3, with no external dependencies, making it lightweight to integrate into existing projects. The API is designed around practicality\u2014functions preserve collection types where sensible, and common operations have both eager (list-returning) and lazy (iterator-returning) variants.","worth_installing":"Yes. Funcy is stable, actively maintained, has no dependencies, and offers genuine practical value for functional programming patterns in Python. The BSD license is permissive, and the library's age (since 2012) and popularity (top 5000 PyPI packages) demonstrate real-world adoption. Install it if you write functional-style Python or want to reduce boilerplate in collection transformations and function composition."},"id":"funcy","links":{"html":"https://skillfed.io/packages/funcy","md":"https://skillfed.io/packages/funcy.md","pypi":"https://pypi.org/project/funcy/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2023-03-28","license_spdx":null,"license_treatment":"permissive","name":"funcy","python_support":"unspecified","summary":"A fancy and practical functional tools"},"popularity":{"monthly_downloads":7191194,"position":1771,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"2.0"}
