No project description provided
Project description
PNQ
PNQ is a Python implementation like Language Integrated Query (LINQ).
!!! danger PNQはベータ版です。
- 現在、ドキュメントとAPIが一致していません。
- PNQは鋭意開発中でAPIが頻繁に変更される恐れがあるため、本番環境では利用しないでください。
Features
- コレクション操作に関する多彩な操作
- アクセシブルなインターフェース
- 型ヒントの活用
- 非同期ストリームに対応
Documentation
Dependencies
- Python 3.7+
Installation
Install with pip:
$ pip install pnq
Getting Started
import pnq
pnq.query([1]).map(lambda x: x * 2).to_list()
# >> [2]
pnq.query({"a": 1, "b": 2}).filter(lambda x: x[0] == "a").to_list()
# >> [("a", 1)]
release note
v0.0.1 (2021-xx-xx)
- Initial release.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pnq-0.0.10.tar.gz
(30.4 kB
view hashes)
Built Distribution
pnq-0.0.10-py3-none-any.whl
(33.4 kB
view hashes)