Metadata-Version: 2.1
Name: cphoenix
Version: 1.0.4
Summary: Function to help interactive with CADSHOUSE
Home-page: https://github.com/pypa/sampleproject
Author: Data Platform
Author-email: example@gmail.com.vn
License: CADS
Project-URL: Bug Tracker, https://github.com/pypa/sampleproject/issues
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Requires-Dist: pyiceberg[s3fs]
Requires-Dist: pandas
Requires-Dist: pyarrow

-----------------

# 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()
```
