-----------------
# Phoenix: Function to help Engineer work more effectively with Lakehouse
## Install
Binary installers for the latest released version are available at the [Python
Package Index (PyPI)](https://pypi.org/project/spark-sdk).
```sh
# with PyPI
pip install --default-timeout=300 cphoenix==1.0.3
```
## Dependencies
- [pyiceberg[s3fs]]
- [pyarrow - Python library for Apache Arrow](https://arrow.apache.org/docs/python/index.html)
- [pandas - Powerful data structures for data analysis, time series, and statistics](https://pandas.pydata.org/)
## Get Phoenix
```python
from phoenix import Spark
spark = Spark(client_id='nessie', client_secret='G3lKHQL52HrfP5aQrF1DVUUC8lPZvuWo', env='staging', master='local')
spark.sql("SHOW CATALOGS").show()
spark.sql("SHOW SCHEMAS FROM staging_nessie").show()
spark.sql("SHOW TABLES FROM staging_nessie.demo").show()
spark.sql("SELECT COUNT(*) FROM staging_nessie.demo.taxi").show()
```
Raw data
{
"_id": null,
"home_page": "https://github.com/pypa/sampleproject",
"name": "cphoenix",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": null,
"keywords": null,
"author": "Data Platform",
"author_email": "example@gmail.com.vn",
"download_url": null,
"platform": null,
"description": "-----------------\n\n# Phoenix: Function to help Engineer work more effectively with Lakehouse\n\n\n## Install\nBinary installers for the latest released version are available at the [Python\nPackage Index (PyPI)](https://pypi.org/project/spark-sdk).\n\n\n```sh\n# with PyPI\npip install --default-timeout=300 cphoenix==1.0.3\n```\n\n## Dependencies\n- [pyiceberg[s3fs]]\n- [pyarrow - Python library for Apache Arrow](https://arrow.apache.org/docs/python/index.html)\n- [pandas - Powerful data structures for data analysis, time series, and statistics](https://pandas.pydata.org/)\n\n\n## Get Phoenix\n```python\nfrom phoenix import Spark\nspark = Spark(client_id='nessie', client_secret='G3lKHQL52HrfP5aQrF1DVUUC8lPZvuWo', env='staging', master='local')\n\nspark.sql(\"SHOW CATALOGS\").show()\nspark.sql(\"SHOW SCHEMAS FROM staging_nessie\").show()\nspark.sql(\"SHOW TABLES FROM staging_nessie.demo\").show()\nspark.sql(\"SELECT COUNT(*) FROM staging_nessie.demo.taxi\").show()\n```\n",
"bugtrack_url": null,
"license": "CADS",
"summary": "Function to help interactive with CADSHOUSE",
"version": "1.0.4",
"project_urls": {
"Bug Tracker": "https://github.com/pypa/sampleproject/issues",
"Homepage": "https://github.com/pypa/sampleproject"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "afb198da5d1bf151926215f1a6e1de2eab206dbce5ec3f5e08dc54a3c13dd115",
"md5": "6d524652de2d9b9b24d9b06a59163cf3",
"sha256": "2bd911638e0e6ed8ae8a1a12773efcc2886758e9fbe345838b8ec4a4ce7e2dc2"
},
"downloads": -1,
"filename": "cphoenix-1.0.4-py3-none-any.whl",
"has_sig": false,
"md5_digest": "6d524652de2d9b9b24d9b06a59163cf3",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 83238156,
"upload_time": "2024-11-15T04:34:00",
"upload_time_iso_8601": "2024-11-15T04:34:00.023895Z",
"url": "https://files.pythonhosted.org/packages/af/b1/98da5d1bf151926215f1a6e1de2eab206dbce5ec3f5e08dc54a3c13dd115/cphoenix-1.0.4-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-15 04:34:00",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "pypa",
"github_project": "sampleproject",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "cphoenix"
}