fastmssql 0.1.7__cp312-cp312-macosx_11_0_arm64.whl → 0.2.1__cp312-cp312-macosx_11_0_arm64.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.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: fastmssql
3
- Version: 0.1.7
3
+ Version: 0.2.1
4
4
  Classifier: Development Status :: 4 - Beta
5
5
  Classifier: Intended Audience :: Developers
6
6
  Classifier: License :: Other/Proprietary License
@@ -10,15 +10,12 @@ Classifier: Programming Language :: Python :: 3.9
10
10
  Classifier: Programming Language :: Python :: 3.10
11
11
  Classifier: Programming Language :: Python :: 3.11
12
12
  Classifier: Programming Language :: Python :: 3.12
13
+ Classifier: Programming Language :: Python :: 3.13
13
14
  Classifier: Programming Language :: Rust
14
15
  Classifier: Topic :: Database
15
16
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
16
17
  Requires-Dist: pytest>=7.0 ; extra == 'dev'
17
18
  Requires-Dist: pytest-asyncio>=0.21 ; extra == 'dev'
18
- Requires-Dist: pytest-cov>=4.0 ; extra == 'dev'
19
- Requires-Dist: pytest-timeout>=2.1 ; extra == 'dev'
20
- Requires-Dist: black>=23.0 ; extra == 'dev'
21
- Requires-Dist: ruff>=0.1 ; extra == 'dev'
22
19
  Requires-Dist: psutil>=5.9.0 ; extra == 'dev'
23
20
  Provides-Extra: dev
24
21
  License-File: LICENSE
@@ -27,6 +24,7 @@ Author-email: Riveranda <riverb514@gmail.com>
27
24
  License: PolyForm Noncommercial License 1.0.0
28
25
  Requires-Python: >=3.8
29
26
  Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
27
+ Project-URL: Homepage, https://github.com/Rivendael/pymssql-rs
30
28
 
31
29
 
32
30
  # Fastmssql
@@ -55,15 +53,6 @@ This library uses the high-performance **bb8 connection pool** which provides:
55
53
  - **Thread Safety**: Safe concurrent access from multiple threads
56
54
  - **Resource Management**: Automatic connection cleanup and lifecycle management
57
55
 
58
- ### Performance Improvements
59
-
60
- | Scenario | Single Connection | With Pool | Improvement |
61
- |----------|-------------------|-----------|-------------|
62
- | Sequential queries | Recreate each time | Reuse connections | **2-3x faster** |
63
- | Concurrent operations | Serialized access | Parallel execution | **5-10x faster** |
64
- | High-throughput workloads | Connection bottleneck | Pool scaling | **10-20x faster** |
65
-
66
-
67
56
  ## Installation
68
57
 
69
58
  ### From PyPI (Recommended)
@@ -76,7 +65,7 @@ pip install fastmssql
76
65
 
77
66
  ### Prerequisites
78
67
 
79
- - Python 3.8 to 3.12
68
+ - Python 3.8 to 3.13
80
69
  - Microsoft SQL Server (any recent version)
81
70
 
82
71
  ### From Source (Development)
@@ -102,12 +91,6 @@ pip install maturin
102
91
 
103
92
  4. Build and install the package:
104
93
  ```bash
105
- # On Windows
106
- build.bat
107
-
108
- # On Unix-like systems
109
- ./build.sh
110
-
111
94
  # Or manually
112
95
  maturin develop --release
113
96
  ```
@@ -118,7 +101,7 @@ maturin develop --release
118
101
 
119
102
  ```python
120
103
  import asyncio
121
- from mssql_python_rust import Connection
104
+ from fastmssql import Connection
122
105
 
123
106
  async def main():
124
107
  # Connect to SQL Server using async context manager
@@ -145,7 +128,7 @@ The library supports two ways to connect to SQL Server:
145
128
 
146
129
  ```python
147
130
  import asyncio
148
- from mssql_python_rust import Connection
131
+ from fastmssql import Connection
149
132
 
150
133
  async def main():
151
134
  # Traditional connection string approach
@@ -163,7 +146,7 @@ asyncio.run(main())
163
146
 
164
147
  ```python
165
148
  import asyncio
166
- from mssql_python_rust import Connection
149
+ from fastmssql import Connection
167
150
 
168
151
  async def main():
169
152
  # Using individual connection parameters
@@ -188,7 +171,7 @@ Configure the connection pool for your specific needs:
188
171
 
189
172
  ```python
190
173
  import asyncio
191
- from mssql_python_rust import Connection, PoolConfig
174
+ from fastmssql import Connection, PoolConfig
192
175
 
193
176
  async def main():
194
177
  # Custom pool configuration
@@ -248,7 +231,7 @@ conn_str = "Server=tcp:myserver.database.windows.net,1433;Database=MyDB;User Id=
248
231
 
249
232
  ```python
250
233
  import asyncio
251
- from mssql_python_rust import Connection
234
+ from fastmssql import Connection
252
235
 
253
236
  async def main():
254
237
  async with Connection(connection_string) as conn:
@@ -291,7 +274,7 @@ Full async/await support with automatic connection pool management:
291
274
 
292
275
  ```python
293
276
  import asyncio
294
- from mssql_python_rust import Connection
277
+ from fastmssql import Connection
295
278
 
296
279
  async def main():
297
280
  connection_string = "Server=localhost;Database=test;Integrated Security=true"
@@ -330,7 +313,7 @@ The bb8 connection pool dramatically improves performance, especially under load
330
313
  ```python
331
314
  import asyncio
332
315
  import time
333
- from mssql_python_rust import Connection
316
+ from fastmssql import Connection
334
317
 
335
318
  async def performance_comparison():
336
319
  connection_string = "Server=localhost;Database=test;User Id=myuser;Password=mypass"
@@ -606,7 +589,7 @@ async with mssql.connect_async(conn_str) as conn:
606
589
  ### Custom Pool Configuration for Different Scenarios
607
590
 
608
591
  ```python
609
- from mssql_python_rust import Connection, PoolConfig
592
+ from fastmssql import Connection, PoolConfig
610
593
 
611
594
  # High-load web application
612
595
  web_config = PoolConfig(
@@ -0,0 +1,7 @@
1
+ fastmssql-0.2.1.dist-info/METADATA,sha256=K4wJ2B4KEVVgkZrTntZ6AsE-ywFsouswenifB-vHqzk,24964
2
+ fastmssql-0.2.1.dist-info/WHEEL,sha256=EhaWXx4fd8VOPM6W-6pxsePGk73OLk2gBi7fwS90pc8,104
3
+ fastmssql-0.2.1.dist-info/licenses/LICENSE,sha256=NwufX3BNj7RvVtnrshWhkpFOLvWc_YVpGpr3UZGFz_E,4765
4
+ fastmssql/__init__.py,sha256=Sfm-Ven3d_G4dhitAIhWkL9ox-JqXue23nl3-HveA74,607
5
+ fastmssql/fastmssql.py,sha256=kdRlcP-eFWVlcggsmHM33Y7MDZDa8qiIto0r3lsdGr0,26247
6
+ fastmssql/fastmssql_core.cpython-312-darwin.so,sha256=GJt-0ahMZedrL3cZEsRgCkBbbGW6qTVFFaCR8M7c5Ig,3029152
7
+ fastmssql-0.2.1.dist-info/RECORD,,
@@ -1,7 +0,0 @@
1
- fastmssql-0.1.7.dist-info/METADATA,sha256=GrRNZ9jlV8V33aXkKtJ4FwoHTKMZGOmKIzGu7P4k5i8,25566
2
- fastmssql-0.1.7.dist-info/WHEEL,sha256=EhaWXx4fd8VOPM6W-6pxsePGk73OLk2gBi7fwS90pc8,104
3
- fastmssql-0.1.7.dist-info/licenses/LICENSE,sha256=NwufX3BNj7RvVtnrshWhkpFOLvWc_YVpGpr3UZGFz_E,4765
4
- fastmssql/__init__.py,sha256=Sfm-Ven3d_G4dhitAIhWkL9ox-JqXue23nl3-HveA74,607
5
- fastmssql/fastmssql.py,sha256=kdRlcP-eFWVlcggsmHM33Y7MDZDa8qiIto0r3lsdGr0,26247
6
- fastmssql/fastmssql_core.cpython-312-darwin.so,sha256=ZBTt09e6F36zwf6lpITZnRKTmA0x0BE8aZsvL3VoKfU,3015888
7
- fastmssql-0.1.7.dist-info/RECORD,,