{"categories":[{"label":"Database","url":"https://skillfed.io/packages/category/database/4"}],"enrichment":{"capability":"Wraps SQL Server's BCP utility to transfer data between pandas DataFrames and SQL Server tables at high speed, with no BCP knowledge required.","skillfed_tags":["bulk-insert","sql-server","data-pipeline"],"use_cases":["Loading large pandas DataFrames into SQL Server tables in production ETL pipelines where speed matters.","Bulk-inserting data from Python scripts into SQL Server without writing custom BCP commands.","Replacing slow pandas `to_sql()` calls when you control the SQL Server environment and can install BCP.","Migrating data between pandas and SQL Server in data science workflows where latency is a bottleneck."],"what_it_does":"bcpandas is a wrapper around Microsoft SQL Server's BCP (bulk copy) command-line utility that lets you move data between pandas DataFrames and SQL Server tables much faster than pandas' native `to_sql()` method. It abstracts away the complexity of BCP and ODBC configuration, requiring only a server, database, username, and password to get started.\n\nThe package shines for write operations: moving large DataFrames into SQL Server is substantially faster than pandas' standard insert methods because BCP is designed for bulk operations. For reading data from SQL Server, the package recommends using pandas' native `pd.read_sql_table()` or `pd.read_sql_query()` instead, as those are faster. The package depends on pandas, pyodbc, and sqlalchemy, and requires the BCP utility and an ODBC driver to be installed on your system.","worth_installing":"Yes, if you regularly move large DataFrames to SQL Server and have BCP and ODBC drivers available. The performance gain for writes is substantial and the install friction is low. If you only read from SQL Server or work with small datasets, the overhead of setup may not justify it. No known vulnerabilities and active maintenance make it safe to adopt."},"id":"bcpandas","links":{"html":"https://skillfed.io/packages/bcpandas","md":"https://skillfed.io/packages/bcpandas.md","pypi":"https://pypi.org/project/bcpandas/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2024-12-16","license_spdx":null,"license_treatment":"permissive","name":"bcpandas","python_support":"supports_current","summary":"High-level wrapper around BCP for high performance data transfers between pandas and SQL Server. No knowledge of BCP required!!"},"popularity":{"monthly_downloads":179744,"position":10165,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"2.7.2"}
