Skip to content

Releases: yehoshuadimarsky/bcpandas

v0.3.0

01 May 18:11
Compare
Choose a tag to compare

Enhancements

  • Added parameter to specify which shell to use for the BCP command. Useful on Linux if BCP is only found in PATH for some shells and not others

Deprecated read_sql

13 Apr 01:39
Compare
Choose a tag to compare

General

  • Deprecated the read_sql function
  • Added support for Python 3.8

Documentation

  • Added section about not using the bcpandas read_sql
  • Added benchmark for read_sql

to_sql fully tested and benchmarked; removed sqlcmd dep

12 Feb 15:34
Compare
Choose a tag to compare

General

  • Fully tested the to_sql method
  • Added cases in to_sql when the table doesn't exists
  • Started improving and testing read_sql, still not done. Not fully tested yet.
  • Removed all dependencies on the SqlCmd tool
  • Added initial support for Linux

Development Tools

  • Created .devcontainer.json for working in VS Code, with a DockerFile and docker-compose.yml
  • Now uses pre-commit
  • Now uses hypothesis in testing
  • Created env.yml for use with conda
  • Config file for flake8, pytest, isort, and mypy

Documentation

  • Added benchmarks code and graph for to_sql
  • Added table to compare using bcpandas vs. regular pandas

Initial Linux Support in subprocess

28 Jan 00:06
Compare
Choose a tag to compare
v0.2.6

added Shell=True param in run_cmd for linux

Added back license

17 Nov 14:43
f087c71
Compare
Choose a tag to compare
v0.2.5

v0.2.5

Distribution fixes

17 Nov 10:27
Compare
Choose a tag to compare
v0.2.3

fixed dist stuff, cleaned up

Bug fix with GitHub Actions

17 Nov 09:46
1962c62
Compare
Choose a tag to compare
v0.2.2

Update dist.json

Tweaked docs, added GitHub Actions

17 Nov 09:41
8387617
Compare
Choose a tag to compare
v0.2.1

Create pythonpublish.yml

v0.2.0 Release

03 Nov 01:05
Compare
Choose a tag to compare

Major Changes:

  • Better docs
  • Suppressed output from command line tools in __init__.py
  • In to_sql with if_exists='replace', now uses pandas's own internal code to create the new SQL table from the dataframe, including preserving the column types and other schema information. Big improvement over the default NVARCHAR columns that was until now.
  • SqlCreds now creates a sqlalchemy.Engine, and can also be created from one.
  • bcp now outputs STDOUT in real time, instead of waiting until the process is complete
  • Bug fix in creating BCP format file if the column name was not a string
  • Started working on benchmark tests, using pytest-benchmark
  • Added dependencies to support the sqlalchemy.Engine object

v0.1.8 Release

03 Sep 18:00
Compare
Choose a tag to compare
  • Added flags to BCP and SqlCmd to SET QUOTED_IDENTIFIERS to ON, needed for Azure SQL Data Warehouse