Skip to main content

Ibis-mssqlops é uma extensão ao backend MSSQL do ibis-framework

Project description

Ibis-mssqlops

PyPI

O que é o Ibis-mssqlops ?

Ibis-mssqlops é uma biblioteca python que adiciona funções, que são nativas do SQL SERVER

mais não existem na biblioteca ibis-framework

É uma extensão ao backend MSSQL da biblioteca ibis-framework

Instalação

pip install ibis-mssqlops

Como usar ?

>>> from ibis_mssqlops import *
>>> tbl = ibis.table(dict(nome='string', datas='date'))
>>> tbl.nome.trim()
>>> tbl.datas.datefromparts(day=1)

Apartir da importação as funções já ficam disponíveis para utilização

- o modo interativo do ibis vem habilitado
+ para desabilitar usar 
! ibis.options.interactive = False

Conexão

Para se conectar ao banco de dados basta passar os parâmetros de conexão

ou uma url a classe mssql_connect que é um invólucro sobre

o conector padrão do ibis-framework

>>> url = f'mssql+pymssql://{servidor}/{banco}'
>>> con = mssql_connect(url=url)
>>> tbl = con.table('NOME_DA_TABELA')

O driver padrão agora é o pyodbc, mais ainda suporta o pymssql

Funções adicionadas

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

ibis_mssqlops-0.0.58.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

ibis_mssqlops-0.0.58-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

File details

Details for the file ibis_mssqlops-0.0.58.tar.gz.

File metadata

  • Download URL: ibis_mssqlops-0.0.58.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.11.7 Windows/10

File hashes

Hashes for ibis_mssqlops-0.0.58.tar.gz
Algorithm Hash digest
SHA256 57663395b4fa7ef0587848ebb1e3eebaa9a3053c65f4ad005c88433ab1975698
MD5 03c422c790c263e7ef06d023b864f0d5
BLAKE2b-256 b659ff2ee221be983f198bb640c1a842c6f651c83cc716cbd9289e4679b8bd9a

See more details on using hashes here.

File details

Details for the file ibis_mssqlops-0.0.58-py3-none-any.whl.

File metadata

  • Download URL: ibis_mssqlops-0.0.58-py3-none-any.whl
  • Upload date:
  • Size: 7.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.11.7 Windows/10

File hashes

Hashes for ibis_mssqlops-0.0.58-py3-none-any.whl
Algorithm Hash digest
SHA256 81c0eebf4bc5da518b3a09b1fec38bc6ec78cf4d2ffdfbeaf220325b4bbd4363
MD5 df7dac1d2ccc8bfe13e381f69be00601
BLAKE2b-256 9e73418e529fbae4be28e4dd92649b2135b13436e0476d820eaca37e74665aa5

See more details on using hashes here.

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