{"categories":[{"label":"Front-Ends","url":"https://skillfed.io/packages/category/database-front-ends"}],"enrichment":{"capability":"A Python driver for connecting to and querying Microsoft SQL Server, Azure SQL, and SQL databases in Fabric, using a direct C++ backend (DDBC) instead of platform-specific driver managers.","skillfed_tags":["sql-server","azure-sql","odbc-alternative"],"use_cases":["Connect to Azure SQL Database or SQL Server from Python applications without installing external driver managers.","Bulk-load data from PyArrow tables or RecordBatches using the new bulkcopy_arrow() method for high-throughput ETL.","Authenticate to SQL Server using Azure managed identities or DefaultAzureCredential from azure-identity.","Execute parameterized queries with automatic type conversion and memory-safe bindings via PyBind11.","Use connection pooling with automatic token refresh for long-running applications accessing SQL Server as different Azure identities."],"what_it_does":"mssql-python is Microsoft's official Python driver for SQL Server and Azure SQL. It replaces the traditional pyodbc-style architecture with DDBC (Direct Database Connectivity), a lightweight C++ layer that bypasses the platform's driver manager and interfaces directly with native SQL Server drivers. This design eliminates the need to install a separate driver manager on Windows and provides consistent behavior across Windows, macOS, and Linux.\n\nThe driver is built with PyBind11 for memory-safe, high-performance bindings. It supports modern authentication via azure-identity (DefaultAzureCredential, ManagedIdentityCredential, and custom token providers), identity-aware connection pooling with automatic token refresh, and bulk operations including a new Arrow-based bulk copy method for high-performance data loading. Recent fixes address parameter binding edge cases, output converter dispatch, and cursor lifecycle management.","worth_installing":"Yes, with conditions. mssql-python is actively maintained, recently released (7 days ago), and offers a modern alternative to pyodbc with no external driver-manager dependency on Windows. It has no known vulnerabilities and supports current Python versions (3.10\u20133.12). However, verify the license terms before production use, as the license treatment is currently unclear. If you are building a new SQL Server integration and can target Python \u22653.10, this is a solid choice; if you need legacy Python support or have existing pyodbc code, stick with that."},"id":"mssql-python","links":{"html":"https://skillfed.io/packages/mssql-python","md":"https://skillfed.io/packages/mssql-python.md","pypi":"https://pypi.org/project/mssql-python/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-08-07","license_spdx":null,"license_treatment":"unclear","name":"mssql-python","python_support":"supports_current","summary":"A Python library for interacting with Microsoft SQL Server"},"popularity":{"monthly_downloads":2491049,"position":3042,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"1.13.0"}
