a module that makes queries easier to SQL Server than PYODBC
Project description
SQLSERVER PYODBC Module
Installation for linux guys
%%sh
curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add -
curl https://packages.microsoft.com/config/ubuntu/16.04/prod.list > /etc/apt/sources.list.d/mssql-release.list
sudo apt-get update
sudo ACCEPT_EULA=Y apt-get -q -y install msodbcsql17
pip install sqlserver
Installation for windows guys
pip install sqlserver
Example of ConnectionString linux guys
DRIVER={ODBC Driver 17 for SQL Server};SERVER=SERVERNAME,PORT;DATABASE=DB;UID=USERNAME;PWD=PASSWORD
Usage
import sqlserver
db = sqlserver.adgsqlserver('yourconnectionstring')
db.(whateverfunctions in the modules)
returns data
Copyright ADGSTUDIOS 2021
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
sqlserver-0.0.12.tar.gz
(2.8 kB
view hashes)
Built Distribution
Close
Hashes for sqlserver-0.0.12-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 93fccc29cec3dc45cf7ab2e81099b77fc4cd0f6532b601c80e21198f4c97d0f9 |
|
MD5 | 620982f9f3bc7fa2e1958dd69a14883a |
|
BLAKE2b-256 | b4a65ec929eb442a82877c429639262936335202a60e16da787746f85ffa4e4e |