fastmssql 0.1.5__cp312-cp312-manylinux_2_34_x86_64.whl → 0.1.7__cp312-cp312-manylinux_2_34_x86_64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of fastmssql might be problematic. Click here for more details.
- fastmssql/fastmssql_core.cpython-312-x86_64-linux-gnu.so +0 -0
- {fastmssql-0.1.5.dist-info → fastmssql-0.1.7.dist-info}/METADATA +13 -23
- {fastmssql-0.1.5.dist-info → fastmssql-0.1.7.dist-info}/RECORD +5 -5
- {fastmssql-0.1.5.dist-info → fastmssql-0.1.7.dist-info}/WHEEL +0 -0
- {fastmssql-0.1.5.dist-info → fastmssql-0.1.7.dist-info}/licenses/LICENSE +0 -0
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: fastmssql
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.7
|
|
4
4
|
Classifier: Development Status :: 4 - Beta
|
|
5
5
|
Classifier: Intended Audience :: Developers
|
|
6
6
|
Classifier: License :: Other/Proprietary License
|
|
@@ -66,13 +66,22 @@ This library uses the high-performance **bb8 connection pool** which provides:
|
|
|
66
66
|
|
|
67
67
|
## Installation
|
|
68
68
|
|
|
69
|
+
### From PyPI (Recommended)
|
|
70
|
+
|
|
71
|
+
Install fastmssql using pip:
|
|
72
|
+
|
|
73
|
+
```bash
|
|
74
|
+
pip install fastmssql
|
|
75
|
+
```
|
|
76
|
+
|
|
69
77
|
### Prerequisites
|
|
70
78
|
|
|
71
|
-
- Python 3.8
|
|
72
|
-
- Rust toolchain (for building from source)
|
|
79
|
+
- Python 3.8 to 3.12
|
|
73
80
|
- Microsoft SQL Server (any recent version)
|
|
74
81
|
|
|
75
|
-
### From Source
|
|
82
|
+
### From Source (Development)
|
|
83
|
+
|
|
84
|
+
If you want to build from source or contribute to development:
|
|
76
85
|
|
|
77
86
|
1. Clone the repository:
|
|
78
87
|
```bash
|
|
@@ -173,25 +182,6 @@ async def main():
|
|
|
173
182
|
asyncio.run(main())
|
|
174
183
|
```
|
|
175
184
|
|
|
176
|
-
#### 3. Convenience Functions
|
|
177
|
-
|
|
178
|
-
```python
|
|
179
|
-
import asyncio
|
|
180
|
-
import mssql_python_rust as mssql
|
|
181
|
-
|
|
182
|
-
async def main():
|
|
183
|
-
# Execute queries without manual connection management
|
|
184
|
-
|
|
185
|
-
# Using connection string
|
|
186
|
-
result = await mssql.execute(
|
|
187
|
-
"SELECT @@SERVERNAME as server",
|
|
188
|
-
connection_string="Server=localhost;Database=master;User Id=myuser;Password=mypass"
|
|
189
|
-
)
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
asyncio.run(main())
|
|
193
|
-
```
|
|
194
|
-
|
|
195
185
|
### Connection Pool Configuration
|
|
196
186
|
|
|
197
187
|
Configure the connection pool for your specific needs:
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
fastmssql-0.1.
|
|
2
|
-
fastmssql-0.1.
|
|
3
|
-
fastmssql-0.1.
|
|
1
|
+
fastmssql-0.1.7.dist-info/METADATA,sha256=GrRNZ9jlV8V33aXkKtJ4FwoHTKMZGOmKIzGu7P4k5i8,25566
|
|
2
|
+
fastmssql-0.1.7.dist-info/WHEEL,sha256=r0WGOp9Si1GMtIT6KGShdYs6d8uozFtaOJLSf_y5IKk,108
|
|
3
|
+
fastmssql-0.1.7.dist-info/licenses/LICENSE,sha256=NwufX3BNj7RvVtnrshWhkpFOLvWc_YVpGpr3UZGFz_E,4765
|
|
4
4
|
fastmssql.libs/libcrypto-fca80f7e.so.3,sha256=W_nlaWqqwVjQDsWInJhX2p9JmjaaaejiK8SAyNGxANo,5463233
|
|
5
5
|
fastmssql.libs/libssl-e50e007b.so.3,sha256=CG4oarhB5Xu4VTrq1CwcT9ydUaV5LflnrNtckZkdyIQ,750633
|
|
6
6
|
fastmssql/__init__.py,sha256=Sfm-Ven3d_G4dhitAIhWkL9ox-JqXue23nl3-HveA74,607
|
|
7
7
|
fastmssql/fastmssql.py,sha256=kdRlcP-eFWVlcggsmHM33Y7MDZDa8qiIto0r3lsdGr0,26247
|
|
8
|
-
fastmssql/fastmssql_core.cpython-312-x86_64-linux-gnu.so,sha256=
|
|
9
|
-
fastmssql-0.1.
|
|
8
|
+
fastmssql/fastmssql_core.cpython-312-x86_64-linux-gnu.so,sha256=vfagQTFHckQwt193blnX72t6Bsku-71RL9UeHhOA7Ac,3420809
|
|
9
|
+
fastmssql-0.1.7.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|