6.6k sao GitHub và vẫn tăng — ibis-project/ibis là dự án Python mà TopGit đang theo dõi trên nền tảng. the portable Python dataframe library
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.
See the getting started tutorial for a full introduction to Ibis.
Python + SQL: better together
For most backends, Ibis works by compiling its dataframe expressions into SQL:
>>> ibis.to_sql(g)
SELECT
"t1"."species",
"t1"."island",
"t1"."count"
FROM (
SELECT
"t0"."species",
"t0"."island",
COUNT(*) AS "count"
FROM "penguins" AS "t0"
GROUP BY
1,
2
) AS "t1"
ORDER BY
"t1"."count" ASC
You can mix SQL and Python code:
>>> a = t.sql("SELECT species, island, count(*) AS count FROM penguins GROUP BY 1, 2")
>>> a
┏━━━━━━━━━━━┳━━━━━━━━━━━┳━━━━━━━┓
┃ species ┃ island ┃ count ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━╇━━━━━━━┩
│ string │ string │ int64 │
├───────────┼───────────┼───────┤
│ Adelie │ Torgersen │ 52 │
│ Adelie │ Biscoe │ 44 │
│ Adelie │ Dream │ 56 │
│ Gentoo │ Biscoe │ 124 │
│ Chinstrap │ Dream │ 68 │
└───────────┴───────────┴───────┘
>>> b = a.order_by("count")
>>> b
┏━━━━━━━━━━━┳━━━━━━━━━━━┳━━━━━━━┓
┃ species ┃ island ┃ count ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━╇━━━━━━━┩
│ string │ string │ int64 │
├───────────┼───────────┼───────┤
│ Adelie │ Biscoe │ 44 │
│ Adelie │ Torgersen │ 52 │
│ Adelie │ Dream │ 56 │
│ Chinstrap │ Dream │ 68 │
│ Gentoo │ Biscoe │ 124 │
└───────────┴───────────┴───────┘
This allows you to combine the flexibility of Python with the scale and performance of modern SQL.
Backends
Ibis supports more than 20 backends:
Apache DataFusion
Apache Druid
Apache Flink
Apache Impala
Apache PySpark
Athena
BigQuery
ClickHouse
Databricks
DuckDB
Exasol
Materialize
MySQL/MariaDB
Oracle
Polars
PostgreSQL
RisingWave
SingleStoreDB
SQL Server
SQLite
Snowflake
Trino
How it works
Most Python dataframes are tightly coupled to their execution engine. And many databases only support SQL, with no Python API. Ibis solves this problem by providing a common API for data manipulation in Python, and compiling that API into the backend’s native language. This means you can learn a single API and use it across any supported backend (execution engine).
Ibis broadly supports two types of backend:
SQL-generating backends
DataFrame-generating backends
Portability
To use different backends, you can set the backend Ibis uses:
>>> con = ibis.duckdb.connect()
>>> con = ibis.polars.connect()
>>> con = ibis.datafusion.connect()
And work with tables in that backend:
>>> con.list_tables()
['penguins']
>>> t = con.table("penguins")
You can also read from common file formats like CSV or Apache Parquet:
>>> t = con.read_csv("penguins.csv")
>>> t = con.read_parquet("penguins.parquet")
This allows you to iterate locally and deploy remotely by changing a single line of code.
💡 Tip
Check out the blog on backend agnostic arrays for one example using the same code across DuckDB and BigQuery.
Community and contributing
Ibis is an open source project and welcomes contributions from anyone in the community.
Read the contributing guide.
We care about keeping the community welcoming for all. Check out the code of conduct.
The Ibis project is open sourced under the Apache License.
Join our community by interacting on GitHub or chatting with us on Zulip.
For more information visit https://ibis-project.org/.
Governance
The Ibis project is an independently governed open source community project to build and maintain the portable Python dataframe library. Ibis has contributors across a range of data companies and institutions.
ibis-project/ibis thuộc nhóm Data trên TopGit, cùng 18 topic GitHub. Trang Trending và Topics liệt kê các repo cùng số sao và cùng ngôn ngữ để so sánh.
Đọc thêm về ibis-project/ibis ở đâu?
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/ibis-project/ibis là nguồn chính thức.
ibis-project/ibis có bao nhiêu sao?
ibis-project/ibis có 6.6k sao GitHub — tải lại trang để xem số mới nhất, hoặc xem trực tiếp github.com/ibis-project/ibis. TopGit phản chiếu số sao của GitHub nhưng không cam kết đến từng phút.
ibis-project/ibis có phải mã nguồn mở không?
Có — ibis-project/ibis phát hành theo license Apache-2.0, nghĩa là mã nguồn mở để đọc, fork và (tùy license) tái sử dụng. Mã: github.com/ibis-project/ibis.
ibis-project/ibis còn đang phát triển không?
Commit gần nhất trên ibis-project/ibis là 19 ngày trước (theo timestamp GitHub). Repo có 751 fork — một chỉ báo về mức độ quan tâm của cộng đồng.
ibis-project/ibis dùng license gì?
ibis-project/ibis phát hành theo license Apache-2.0. Nên mở file LICENSE trên GitHub để xác nhận — license metadata đôi khi lệch với thực tế dự án.
ibis-project/ibis là gì?
ibis-project/ibis (ibis-project/ibis) là dự án Python trên GitHub. Theo mô tả gốc: the portable Python dataframe library
ibis-project/ibis viết bằng ngôn ngữ gì?
ibis-project/ibis chủ yếu viết bằng Python. Trường "language" của GitHub dựa trên phần lớn byte ở nhánh mặc định.
Đọc đầy đủ README ở tab phía trên.
ibis có đáng để bạn bỏ thời gian?
ChatGPT, Claude và Perplexity đều đọc được trang này. Hỏi thử xem họ nghĩ gì về ibis.