pytoolz/toolz — 5.2k★ trên GitHub (Python). A functional standard library for Python.
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
These functions come from the legacy of functional languages for list
processing. They interoperate well to accomplish common complex tasks.
Read our API Documentation <https://toolz.readthedocs.io/en/latest/api.html>__ for
more details.
Example
This builds a standard wordcount function from pieces within toolz:
.. code:: python
>>> def stem(word):
... """ Stem word to primitive form """
... return word.lower().rstrip(",.!:;'-\"").lstrip("'\"")
>>> from toolz import compose, frequencies
>>> from toolz.curried import map
>>> wordcount = compose(frequencies, map(stem), str.split)
>>> sentence = "This cat jumped over this other cat!"
>>> wordcount(sentence)
{'this': 2, 'cat': 2, 'jumped': 1, 'over': 1, 'other': 1}
Dependencies
toolz supports Python 3.9+ with a common codebase.
It is pure Python and requires no dependencies beyond the standard
library.
It is, in short, a lightweight dependency.
CyToolz
The toolz project has been reimplemented in Cython <http://cython.org>.
The cytoolz project is a drop-in replacement for the Pure Python
implementation.
See CyToolz GitHub Page <https://github.com/pytoolz/cytoolz/> for more
details.
See Also
Underscore.js <https://underscorejs.org/>__: A similar library for
JavaScript
Enumerable <https://ruby-doc.org/core-2.0.0/Enumerable.html>__: A
similar library for Ruby
Clojure <https://clojure.org/>__: A functional language whose
standard library has several counterparts in toolz
itertools <https://docs.python.org/2/library/itertools.html>__: The
Python standard library for iterator tools
functools <https://docs.python.org/2/library/functools.html>__: The
Python standard library for function tools
Project Status
This project is alive but inactive.
The original maintainers have mostly moved on to other endeavors. We're still
around for critical bug fixes, Python version bumps, and security issues and
will commit to keeping the project alive (it's highly depended upon).
However, beyond that we don't plan to spend much time reviewing contributions.
We view Toolz as mostly complete.
We encourage enthusiasts to innovate in new and wonderful places 🚀
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/pytoolz/toolz là nguồn chính thức.
pytoolz/toolz có bao nhiêu sao?
pytoolz/toolz có 5.2k sao GitHub — tải lại trang để xem số mới nhất, hoặc xem trực tiếp github.com/pytoolz/toolz. TopGit phản chiếu số sao của GitHub nhưng không cam kết đến từng phút.
pytoolz/toolz có phải mã nguồn mở không?
TopGit chưa ghi nhận license cho pytoolz/toolz. Phần lớn repo public trên GitHub là mã nguồn mở, nhưng điều khoản khác nhau từng repo — mở file LICENSE để xác nhận.
pytoolz/toolz có trang demo không?
Dự án có trang chủ ở http://toolz.readthedocs.org/. Tab "Readme" ở trang này thường có ảnh chụp và hướng dẫn bắt đầu nhanh.
pytoolz/toolz là gì?
pytoolz/toolz (pytoolz/toolz) là dự án Python trên GitHub. Theo mô tả gốc: A functional standard library for Python.
Đọc đầy đủ README ở tab phía trên.
Vẫn đang phân vân về toolz?
Một cú bấm sẽ gửi câu hỏi kèm trang này cho AI — xem AI nói gì về toolz.