Name | ibis-skytether JSON |
Version |
0.1.1
JSON |
| download |
home_page | None |
Summary | Subtrait compiler forked from ibis-substrait |
upload_time | 2025-02-11 06:13:08 |
maintainer | Ibis Contributors |
docs_url | None |
author | Ibis Contributors |
requires_python | <4,>=3.9 |
license | Apache-2.0 |
keywords |
|
VCS |
 |
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
|
# Ibis Skytether
A project, forked from ibis-substrait, that uses [Ibis](https://ibis-project.org) to
create query plans using [Substrait](https://substrait.io).
This fork is for myself to iterate a bit quicker while still developing with appropriate
packages.
## Usage
```python
>>> import ibis
>>> t = ibis.table(
[("a", "string"), ("b", "float"), ("c", "int32"), ("d", "int64"), ("e", "int64")],
"t",
)
>>> expr = t.group_by(["a", "b"]).aggregate([t.c.sum().name("sum")]).select("b", "sum")
>>> expr
r0 := UnboundTable: t
a string
b float64
c int32
d int64
e int64
r1 := Aggregation[r0]
metrics:
sum: Sum(r0.c)
by:
a: r0.a
b: r0.b
Selection[r1]
selections:
b: r1.b
sum: r1.sum
>>> from ibis_substrait.compiler.core import SubstraitCompiler
>>> compiler = SubstraitCompiler()
>>> proto = compiler.compile(expr)
```
Raw data
{
"_id": null,
"home_page": null,
"name": "ibis-skytether",
"maintainer": "Ibis Contributors",
"docs_url": null,
"requires_python": "<4,>=3.9",
"maintainer_email": null,
"keywords": null,
"author": "Ibis Contributors",
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/04/d5/71523fd243744d3607292b80f69d72dc1b9b990716b0aa5674ba53d870b1/ibis_skytether-0.1.1.tar.gz",
"platform": null,
"description": "# Ibis Skytether\n\nA project, forked from ibis-substrait, that uses [Ibis](https://ibis-project.org) to\ncreate query plans using [Substrait](https://substrait.io).\n\nThis fork is for myself to iterate a bit quicker while still developing with appropriate\npackages.\n\n\n## Usage\n\n```python\n>>> import ibis\n\n>>> t = ibis.table(\n [(\"a\", \"string\"), (\"b\", \"float\"), (\"c\", \"int32\"), (\"d\", \"int64\"), (\"e\", \"int64\")],\n \"t\",\n)\n\n>>> expr = t.group_by([\"a\", \"b\"]).aggregate([t.c.sum().name(\"sum\")]).select(\"b\", \"sum\")\n>>> expr\nr0 := UnboundTable: t\n a string\n b float64\n c int32\n d int64\n e int64\n\nr1 := Aggregation[r0]\n metrics:\n sum: Sum(r0.c)\n by:\n a: r0.a\n b: r0.b\n\nSelection[r1]\n selections:\n b: r1.b\n sum: r1.sum\n\n\n>>> from ibis_substrait.compiler.core import SubstraitCompiler\n>>> compiler = SubstraitCompiler()\n>>> proto = compiler.compile(expr)\n```\n\n",
"bugtrack_url": null,
"license": "Apache-2.0",
"summary": "Subtrait compiler forked from ibis-substrait",
"version": "0.1.1",
"project_urls": {
"Homepage": "https://github.com/drin/ibis-skytether",
"Repository": "https://github.com/drin/ibis-skytether"
},
"split_keywords": [],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "0feef18ce9c34869df2b3c50bfb6c84d1ef79b3f16d1da2e05cfedf32970678a",
"md5": "b2f878d3e533744b7d61bb6c19df1a20",
"sha256": "d57e7415d4a7602ff075f3a23b18460e8d681668d3d65233d970454579d706d8"
},
"downloads": -1,
"filename": "ibis_skytether-0.1.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "b2f878d3e533744b7d61bb6c19df1a20",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4,>=3.9",
"size": 121556,
"upload_time": "2025-02-11T06:13:06",
"upload_time_iso_8601": "2025-02-11T06:13:06.940228Z",
"url": "https://files.pythonhosted.org/packages/0f/ee/f18ce9c34869df2b3c50bfb6c84d1ef79b3f16d1da2e05cfedf32970678a/ibis_skytether-0.1.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "04d571523fd243744d3607292b80f69d72dc1b9b990716b0aa5674ba53d870b1",
"md5": "a92b3fb78f63a221b457361b3bf514a5",
"sha256": "ef387f513159b447fa45d4ac713a555e5c1a22e313e6789abb8de9a99cea1543"
},
"downloads": -1,
"filename": "ibis_skytether-0.1.1.tar.gz",
"has_sig": false,
"md5_digest": "a92b3fb78f63a221b457361b3bf514a5",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4,>=3.9",
"size": 100964,
"upload_time": "2025-02-11T06:13:08",
"upload_time_iso_8601": "2025-02-11T06:13:08.298063Z",
"url": "https://files.pythonhosted.org/packages/04/d5/71523fd243744d3607292b80f69d72dc1b9b990716b0aa5674ba53d870b1/ibis_skytether-0.1.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-02-11 06:13:08",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "drin",
"github_project": "ibis-skytether",
"travis_ci": false,
"coveralls": true,
"github_actions": true,
"lcname": "ibis-skytether"
}