Skip to content

Translate README to rst and split up sections #5

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Apr 11, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
78 changes: 3 additions & 75 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,79 +1,7 @@
<h1 align="center">Developer Documentation</h1>
<h1 align="center">exasol/developer-documentation</h1>

<p align="center">
Documentation and resources for data scientists and programmatic users to perform analytics with Exasol and to build applications on top.
Documentation and resources for developing software and data science solutions and applications on top of the Exasol Analytics Engine.
</p>


# Getting Started
There are three ways to get started with Exasol:
- Download the [community edition](https://www.exasol.com/free-signup-community-edition/)
- Use the [docker version](https://github.com/exasol/docker-db)
- Signup for a free [SaaS trial](https://cloud.exasol.com/signup)

In the following we are going to use the SaaS version.

## Setting up the db
Our [main documentation](https://docs.exasol.com/saas/get_started/saas_first_steps.htm) shows you how to create a SaaS account and setup your first database and cluster.
## Installing pyexasol
Once your database is up and running you can connect via any client. From Python we use [PyExasol](https://github.com/exasol/pyexasol).
It can be easily installed via
```
pip install pyexasol[pandas]
```

## Connecting to the db
Connecting to an Exasol database is performed via:
```python
import pyexasol

C = pyexasol.connect(dsn='<host:port>', user='sys', password='exasol')
```
It is slightly different when connecting to a SaaS database as we need a [personal access token](https://docs.exasol.com/saas/administration/access_mngt/access_token.htm):
```python
import pyexasol

C = pyexasol.connect(dsn='<host:port>', user='sys', password='<token>')
```
Finally you can also wrap all credentials into a [local config file](https://exasol.github.io/pyexasol/master/user_guide/local_config.html):
```python
C = pyexasol.connect_local_config('my_exasol')
```
## Executing SQL
Running your first query is pretty straightforward:
```python
stmt = C.execute("SELECT * FROM EXA_ALL_USERS")

for row in stmt:
print(row)
```
It also allows you to load resultsets into a pandas dataframe:
```python
C = pyexasol.connect(dsn='<host:port>', user='sys', password='exasol', compression=True)

df = C.export_to_pandas("SELECT * FROM EXA_ALL_USERS")
print(df.head())
```


# Data Ingestion
## CSV Files
## Parquet Files
## Import from external sources
## HTTP Transport
# Distributed Python (UDFs)
## Intro to UDFs
## Creating and running UDFs
## Debugging UDFs
# Advanced
## move all the other stuff here
# Examples
# Environments
## Jupyter Notebooks
## VSCode
## Positron
# Integrations
## JupySQL
## Pandas
## Ibis
## SQLAlchemy
Checkout the latest [documentation](https://exasol.github.io/developer-documentation/).
5 changes: 0 additions & 5 deletions doc/api.rst

This file was deleted.

3 changes: 2 additions & 1 deletion doc/changes/unreleased.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@
## Features

* #1: Added initial Project Setup

* #4; Initial documentation version with outline and first fragments
* #6: Translate README to rst and split up sections
14 changes: 14 additions & 0 deletions doc/data_ingestion.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
Data Ingestion
==============

CSV Files
---------

Parquet Files
-------------

Import from external sources
----------------------------

HTTP Transport
--------------
5 changes: 0 additions & 5 deletions doc/developer_guide.rst

This file was deleted.

2 changes: 2 additions & 0 deletions doc/distributed_python/advanced.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Advanced
--------
2 changes: 2 additions & 0 deletions doc/distributed_python/debugging.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Debugging
---------
10 changes: 10 additions & 0 deletions doc/distributed_python/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
Distributed Python (UDFs)
=========================

.. toctree::
:maxdepth: 1

intro
usage
debugging
advanced
2 changes: 2 additions & 0 deletions doc/distributed_python/intro.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Intro to UDFs
-------------
2 changes: 2 additions & 0 deletions doc/distributed_python/usage.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Creating and running UDFs
-------------------------
11 changes: 11 additions & 0 deletions doc/environments.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Environments
============

Jupyter Notebooks
-----------------

VSCode
------

Positron
--------
2 changes: 2 additions & 0 deletions doc/examples.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Examples
========
80 changes: 80 additions & 0 deletions doc/getting_started.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@

Getting Started
===============

There are three ways to get started with Exasol:

- Download the `community
edition <https://www.exasol.com/free-signup-community-edition/>`__
- Use the `docker version <https://github.com/exasol/docker-db>`__
- Signup for a free `SaaS trial <https://cloud.exasol.com/signup>`__

In the following we are going to use the SaaS version.

Setting up the db
-----------------

Our `main
documentation <https://docs.exasol.com/saas/get_started/saas_first_steps.htm>`__
shows you how to create a SaaS account and setup your first database and
cluster.

Installing pyexasol
-------------------

Once your database is up and running you can connect via any client.
From Python we use `PyExasol <https://github.com/exasol/pyexasol>`__. It
can be easily installed via

::

pip install pyexasol[pandas]

Connecting to the db
--------------------

Connecting to an Exasol database is performed via:

.. code:: python

import pyexasol

C = pyexasol.connect(dsn='<host:port>', user='sys', password='exasol')

It is slightly different when connecting to a SaaS database as we need a
`personal access
token <https://docs.exasol.com/saas/administration/access_mngt/access_token.htm>`__:

.. code:: python

import pyexasol

C = pyexasol.connect(dsn='<host:port>', user='sys', password='<token>')

Finally you can also wrap all credentials into a `local config
file <https://exasol.github.io/pyexasol/master/user_guide/local_config.html>`__:

.. code:: python

C = pyexasol.connect_local_config('my_exasol')

Executing SQL
-------------

Running your first query is pretty straightforward:

.. code:: python

stmt = C.execute("SELECT * FROM EXA_ALL_USERS")

for row in stmt:
print(row)

It also allows you to load resultsets into a pandas dataframe:

.. code:: python

C = pyexasol.connect(dsn='<host:port>', user='sys', password='exasol', compression=True)

df = C.export_to_pandas("SELECT * FROM EXA_ALL_USERS")
print(df.head())
38 changes: 10 additions & 28 deletions doc/index.rst
Original file line number Diff line number Diff line change
@@ -1,35 +1,17 @@
Documentation of exasol-developer-documentation
------------------------------------------------
=======================
Developer Documentation
=======================

.. grid:: 1 1 3 2
:gutter: 2
:padding: 0
:class-container: surface

.. grid-item-card:: :octicon:`person` User Guide
:link: user_guide
:link-type: ref

Resource for users to understand how to utilize this project and its features.

.. grid-item-card:: :octicon:`tools` Developer Guide
:link: developer_guide
:link-type: ref

Instructions and best practices to help developers contribute to the project and set up their development environment.

.. grid-item-card:: :octicon:`question` FAQ
:link: faq
:link-type: ref

Frequently asked questsions.
Documentation and resources for data scientists and programmatic users to perform analytics with Exasol and to build applications on top.

.. toctree::
:maxdepth: 1
:hidden:

user_guide
developer_guide
api
getting_started
data_ingestion
distributed_python/index.rst
examples
environments
integrations
faq
changes/changelog
14 changes: 14 additions & 0 deletions doc/integrations.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
Integrations
============

JupySQL
-------

Pandas
------

Ibis
----

SQLAlchemy
----------
5 changes: 0 additions & 5 deletions doc/user_guide.rst

This file was deleted.