This repository has been archived by the owner on May 17, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 274
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Embed sqeleton into data-diff for synchronous changes & releases (wit…
…hout the connection editor)
- Loading branch information
Showing
52 changed files
with
7,611 additions
and
361 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
-----BEGIN CERTIFICATE----- | ||
MIIERDCCAyygAwIBAgIUBxO/CflDP+0yZAXt5FKm/WQ4538wDQYJKoZIhvcNAQEL | ||
BQAwWTELMAkGA1UEBhMCQVUxEzARBgNVBAgMClNvbWUtU3RhdGUxITAfBgNVBAoM | ||
GEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZDESMBAGA1UEAwwJbG9jYWxob3N0MB4X | ||
DTIyMDgyNDA4NTI1N1oXDTMyMDgyMTA4NTI1N1owWTELMAkGA1UEBhMCQVUxEzAR | ||
BgNVBAgMClNvbWUtU3RhdGUxITAfBgNVBAoMGEludGVybmV0IFdpZGdpdHMgUHR5 | ||
IEx0ZDESMBAGA1UEAwwJbG9jYWxob3N0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8A | ||
MIIBCgKCAQEA3lNywkj/eGPGoFA3Lcx++98l17CRy+uzZMtJsr6lYAg1p/n1vPw0 | ||
BQXI5TSBJ6vM/axtwgwrfXQsjQ/GYJKQkb6eEBCc3xb+Rk5HNBiBBZsIjYm0U1zz | ||
7dKnNwAznjx3j72s2ZQiqkoxcu7Bctw28ynbg0rjNkuUk3QESKuOgaTltpWKZiiu | ||
XwWasREeH6MH7ROy8db6cz+MwGaig0mUvGPmD97bPRD/X683RyOiXzEaogl/rpGK | ||
qZ3jRsmS8ZwawzKxx16kqPsX8/01EruGIoubMttr3YoZG044zq7nQqdAAz6wXx6V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h/FjXxukadyo+HxhlZPjjGKPvX | ||
nnSacrICk4mvHhAasViSbQKBgD7mZGiAXJO/I0moVhtHlobp66j+qGerkacHc5ZN | ||
bVTNZ5XfPtbeGj/PI3u01/Dfp1u06m53G7GebznoZzXjyyqZ0HVZHYXw304yeNck | ||
wJ67cNx4M2VHl3QKfC86pMRxg8d9Qkq5ukdGf/b0tnYR2Mm9mYJV9rkjkFIJgU3v | ||
N4+tAoGABOlVGuRx2cSQ9QeC0AcqKlxXygdrzyadA7i0KNBZGGyrMSpJDrl2rrRn | ||
ylzAgGjvfilwQzZuqTm6Vo2yvaX+TTGS44B+DnxCZvuviftea++sNMjuEkBLTCpF | ||
xk2yOzsOnx652kWO4L+dVrDAxl65f3v0YaKWZI504LFYl18uS/E= | ||
-----END RSA PRIVATE KEY----- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
password-authenticator.name=file | ||
file.password-file=/opt/presto/etc/password.db |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
test:$2y$10$877iU3J5a26SPDjFSrrz2eFAq2DwMDsBAus92Dj0z5A5qNMNlnpHa |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
.. toctree:: | ||
:maxdepth: 2 | ||
:caption: API Reference | ||
:hidden: | ||
|
||
sqeleton/install | ||
sqeleton/intro | ||
sqeleton/supported-databases | ||
sqeleton/python-api | ||
|
||
Sqeleton | ||
--------- | ||
|
||
**Sqeleton** is a Python library for querying SQL databases. | ||
|
||
It consists of - | ||
|
||
- A fast and concise query builder, inspired by PyPika and SQLAlchemy | ||
|
||
- A modular database interface, with drivers for a long list of SQL databases. | ||
|
||
It is comparable to other libraries such as SQLAlchemy or PyPika, in terms of API and intended audience. However there are several notable ways in which it is different. | ||
|
||
For more information, `See our README <https://github.com/datafold/sqeleton#readme>`_ | ||
|
||
|
||
Resources | ||
--------- | ||
|
||
- Source code (git): `<https://github.com/datafold/sqeleton>`_ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
# Install / Get started | ||
|
||
Sqeleton can be installed using pip: | ||
|
||
``` | ||
pip install sqeleton | ||
``` | ||
|
||
## Database drivers | ||
|
||
To ensure that the database drivers are compatible with sqeleton, we recommend installing them along with sqeleton, using pip's `[]` syntax: | ||
|
||
- `pip install 'sqeleton[mysql]'` | ||
|
||
- `pip install 'sqeleton[postgresql]'` | ||
|
||
- `pip install 'sqeleton[snowflake]'` | ||
|
||
- `pip install 'sqeleton[presto]'` | ||
|
||
- `pip install 'sqeleton[oracle]'` | ||
|
||
- `pip install 'sqeleton[trino]'` | ||
|
||
- `pip install 'sqeleton[clickhouse]'` | ||
|
||
- `pip install 'sqeleton[vertica]'` | ||
|
||
- For BigQuery, see: https://pypi.org/project/google-cloud-bigquery/ | ||
|
||
_Some drivers have dependencies that cannot be installed using `pip` and still need to be installed manually._ | ||
|
||
|
||
It is also possible to install several databases at once. For example: | ||
|
||
```bash | ||
pip install 'sqeleton[mysql, postgresql]' | ||
``` | ||
|
||
Note: Some shells use `"` for escaping instead, like: | ||
|
||
```bash | ||
pip install "sqeleton[mysql, postgresql]" | ||
``` | ||
|
||
## What's next? | ||
|
||
Read the [introduction](intro.md) and start coding! |
Oops, something went wrong.