Skip to main content

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 2022

Project details


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.15.tar.gz (2.8 kB view hashes)

Uploaded Source

Built Distribution

sqlserver-0.0.15-py3-none-any.whl (2.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page