<commit_before>=============
minitds
=============

Yet another Python SQLServer database driver.

Support platform
-----------------

- Python 3.5+

Support database
------------------

- MS SQLServer 2012, 2014, 2016
- Microsoft Azure SQL Database


Installation
-----------------

::

    $ pip install minitds

Example
-----------------

Query::

   import minitds
   conn = minitds.connect(host='localhost',
                       user='sa',
                       password='<PASSWORD>',
                       database='database_name')
   cur = conn.cursor()
   cur.execute('select foo, bar from baz')
   for r in cur.fetchall():
      print(r[0], r[1])
   conn.close()

Restrictions
----------------

- Support SQL Server User Authentication only.
- Not support Stored Procedure call now.<commit_msg>update sample code<commit_after>=============
minitds
=============

Yet another Python SQLServer database driver.

Support platform
-----------------

- Python 3.5+

Support database
------------------

- MS SQLServer 2012, 2014, 2016
- Microsoft Azure SQL Database


Installation
-----------------

::

    $ pip install minitds

Example
-----------------

Query::

   import minitds
   conn = minitds.connect(host='localhost',
                       user='sa',
                       password='<PASSWORD>',
                       database='database_name')
   cur = conn.cursor()
   cur.execute('select foo, bar from baz')
   for r in cur.fetchall():
      print(r[0], r[1])
   conn.close()

Execute Procedure::

   import minitds
   conn = minitds.connect(host='localhost',
                       user='sa',
                       password='<PASSWORD>',
                       database='database_name')
   cur = conn.cursor()
   cur.callproc('something_proc', [123, 'ABC'])
   conn.close()


Restrictions
----------------

- Support SQL Server User Authentication only.
{'fraction_non_alphanumeric': 0.2080894092602448, 'fraction_numerical': 0.018626929217668974, 'mean_word_length': 1.7810650887573964, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1712137', 'n_tokens_mistral': 540, 'n_tokens_neox': 488, 'n_words': 136}