You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,30 +6,30 @@ SQLSpec is an experimental Python library designed to streamline and modernize y
6
6
7
7
**Note**: SQLSpec is currently under active development and the API is subject to change. It is not yet ready for production use. Contributions are welcome!
8
8
9
-
###Core Features (Planned but subject to change, removal or redesign)
9
+
## Core Features (Planned but subject to change, removal or redesign)
10
10
11
11
-**Consistent Database Session Interface**: Provides a consistent connectivity interface for interacting with one or more database systems, including SQLite, Postgres, DuckDB, MySQL, Oracle, SQL Server, Spanner, BigQuery, and more.
12
12
-**Emphasis on RAW SQL and Minimal Abstractions and Performance**: SQLSpec is a library for working with SQL in Python. It's goals are to offer minimal abstractions between the user and the database. It does not aim to be an ORM library.
13
-
-**Type-Safe Queries**: Quickly map SQL queries to typed objects using libraries such as Pydantic, Msqgspec, Attrs, etc.
13
+
-**Type-Safe Queries**: Quickly map SQL queries to typed objects using libraries such as Pydantic, Msqspec, Attrs, etc.
14
14
-**Extensible Design**: Easily add support for new database dialects or extend existing functionality to meet your specific needs. Easily add support for async and sync database drivers.
15
15
-**Minimal Dependencies**: SQLSpec is designed to be lightweight and can run on it's own or with other libraries such as `litestar`, `fastapi`, `flask` and more. (Contributions welcome!)
16
16
-**Dynamic Query Manipulation**: Easily apply filters to pre-defined queries with a fluent, Pythonic API. Safely manipulate queries without the risk of SQL injection.
17
17
-**Dialect Validation and Conversion**: Use `sqlglot` to validate your SQL against specific dialects and seamlessly convert between them.
18
18
-**Support for Async and Sync Database Drivers**: SQLSpec supports both async and sync database drivers, allowing you to choose the style that best fits your application.
19
19
20
-
###What SQLSpec Is Not (Yet)
20
+
## What SQLSpec Is Not (Yet)
21
21
22
22
SQLSpec is a work in progress. While it offers a solid foundation for modern SQL interactions, it does not yet include every feature you might find in a mature ORM or database toolkit. The focus is on building a robust, flexible core that can be extended over time.
23
23
24
-
###Inspiration and Future Direction
24
+
## Inspiration and Future Direction
25
25
26
26
SQLSpec originally drew inspiration from features found in the `aiosql` library. This is a great library for working with and executed SQL stored in files. It's unclear how much of an overlap there will be between the two libraries, but it's possible that some features will be contributed back to `aiosql` where appropriate.
27
27
28
-
###Current Focus: Universal Connectivity
28
+
## Current Focus: Universal Connectivity
29
29
30
30
The primary goal at this stage is to establish a **native connectivity interface** that works seamlessly across all supported database environments. This means you can connect to any of the supported databases using a consistent API, regardless of the underlying driver or dialect.
31
31
32
-
###Adapters: Completed, In Progress, and Planned
32
+
## Adapters: Completed, In Progress, and Planned
33
33
34
34
This list is not final. If you have a driver you'd like to see added, please open an issue or submit a PR!
35
35
@@ -51,9 +51,9 @@ This list is not final. If you have a driver you'd like to see added, please ope
|[`sqlserver`](https://docs.microsoft.com/en-us/sql/connect/python/pyodbc/python-sql-driver-for-pyodbc?view=sql-server-ver16)| SQL Server | Sync | 🗓️ Planned |
53
53
|[`mysql`](https://dev.mysql.com/doc/connector-python/en/connector-python-api-mysql-connector-python.html)| MySQL | Sync | 🗓️ Planned |
54
-
| [`snowflake`](https://docs.snowflake.com)
54
+
|[`snowflake`](https://docs.snowflake.com)| MySQL | Sync | 🗓️ Planned |
55
55
56
-
###Proposed Project Structure
56
+
## Proposed Project Structure
57
57
58
58
-`sqlspec/`:
59
59
-`adapters/`: Contains all database drivers and associated configuration.
@@ -68,7 +68,7 @@ This list is not final. If you have a driver you'd like to see added, please ope
68
68
-`exceptions.py`: Contains custom exceptions for SQLSpec.
69
69
-`typing.py`: Contains type hints, type guards and several facades for optional libraries that are not required for the core functionality of SQLSpec.
70
70
71
-
###Get Involved
71
+
## Get Involved
72
72
73
73
SQLSpec is an open-source project, and contributions are welcome! Whether you're interested in adding support for new databases, improving the query interface, or simply providing feedback, your input is valuable.
Copy file name to clipboardExpand all lines: docs/PYPI_README.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,30 +6,30 @@ SQLSpec is an experimental Python library designed to streamline and modernize y
6
6
7
7
**Note**: SQLSpec is currently under active development and the API is subject to change. It is not yet ready for production use. Contributions are welcome!
8
8
9
-
###Core Features (Planned but subject to change, removal or redesign)
9
+
## Core Features (Planned but subject to change, removal or redesign)
10
10
11
11
-**Consistent Database Session Interface**: Provides a consistent connectivity interface for interacting with one or more database systems, including SQLite, Postgres, DuckDB, MySQL, Oracle, SQL Server, Spanner, BigQuery, and more.
12
12
-**Emphasis on RAW SQL and Minimal Abstractions and Performance**: SQLSpec is a library for working with SQL in Python. It's goals are to offer minimal abstractions between the user and the database. It does not aim to be an ORM library.
13
-
-**Type-Safe Queries**: Quickly map SQL queries to typed objects using libraries such as Pydantic, Msqgspec, Attrs, etc.
13
+
-**Type-Safe Queries**: Quickly map SQL queries to typed objects using libraries such as Pydantic, Msqspec, Attrs, etc.
14
14
-**Extensible Design**: Easily add support for new database dialects or extend existing functionality to meet your specific needs. Easily add support for async and sync database drivers.
15
15
-**Minimal Dependencies**: SQLSpec is designed to be lightweight and can run on it's own or with other libraries such as `litestar`, `fastapi`, `flask` and more. (Contributions welcome!)
16
16
-**Dynamic Query Manipulation**: Easily apply filters to pre-defined queries with a fluent, Pythonic API. Safely manipulate queries without the risk of SQL injection.
17
17
-**Dialect Validation and Conversion**: Use `sqlglot` to validate your SQL against specific dialects and seamlessly convert between them.
18
18
-**Support for Async and Sync Database Drivers**: SQLSpec supports both async and sync database drivers, allowing you to choose the style that best fits your application.
19
19
20
-
###What SQLSpec Is Not (Yet)
20
+
## What SQLSpec Is Not (Yet)
21
21
22
22
SQLSpec is a work in progress. While it offers a solid foundation for modern SQL interactions, it does not yet include every feature you might find in a mature ORM or database toolkit. The focus is on building a robust, flexible core that can be extended over time.
23
23
24
-
###Inspiration and Future Direction
24
+
## Inspiration and Future Direction
25
25
26
26
SQLSpec originally drew inspiration from features found in the `aiosql` library. This is a great library for working with and executed SQL stored in files. It's unclear how much of an overlap there will be between the two libraries, but it's possible that some features will be contributed back to `aiosql` where appropriate.
27
27
28
-
###Current Focus: Universal Connectivity
28
+
## Current Focus: Universal Connectivity
29
29
30
30
The primary goal at this stage is to establish a **native connectivity interface** that works seamlessly across all supported database environments. This means you can connect to any of the supported databases using a consistent API, regardless of the underlying driver or dialect.
31
31
32
-
###Adapters: Completed, In Progress, and Planned
32
+
## Adapters: Completed, In Progress, and Planned
33
33
34
34
This list is not final. If you have a driver you'd like to see added, please open an issue or submit a PR!
35
35
@@ -51,9 +51,9 @@ This list is not final. If you have a driver you'd like to see added, please ope
|[`sqlserver`](https://docs.microsoft.com/en-us/sql/connect/python/pyodbc/python-sql-driver-for-pyodbc?view=sql-server-ver16)| SQL Server | Sync | 🗓️ Planned |
53
53
|[`mysql`](https://dev.mysql.com/doc/connector-python/en/connector-python-api-mysql-connector-python.html)| MySQL | Sync | 🗓️ Planned |
54
-
| [`snowflake`](https://docs.snowflake.com)
54
+
|[`snowflake`](https://docs.snowflake.com)| MySQL | Sync | 🗓️ Planned |
55
55
56
-
###Proposed Project Structure
56
+
## Proposed Project Structure
57
57
58
58
-`sqlspec/`:
59
59
-`adapters/`: Contains all database drivers and associated configuration.
@@ -68,7 +68,7 @@ This list is not final. If you have a driver you'd like to see added, please ope
68
68
-`exceptions.py`: Contains custom exceptions for SQLSpec.
69
69
-`typing.py`: Contains type hints, type guards and several facades for optional libraries that are not required for the core functionality of SQLSpec.
70
70
71
-
###Get Involved
71
+
## Get Involved
72
72
73
73
SQLSpec is an open-source project, and contributions are welcome! Whether you're interested in adding support for new databases, improving the query interface, or simply providing feedback, your input is valuable.
0 commit comments