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')

Até o momento o driver suportado é 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.56.tar.gz (5.7 kB view details)

Uploaded Source

Built Distribution

ibis_mssqlops-0.0.56-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ibis_mssqlops-0.0.56.tar.gz
  • Upload date:
  • Size: 5.7 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.56.tar.gz
Algorithm Hash digest
SHA256 d0244f98c94bbbec14f2cae6e9bfb9dc33ef76516195baeea3ccb6a04ddd3e9e
MD5 159263ca9f90d4d5968f5e048cf3e718
BLAKE2b-256 6d3ea026e70ae7ccba37f8413c66bc1650bc57b28b4a49b1ccf4da1ca5518c89

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ibis_mssqlops-0.0.56-py3-none-any.whl
  • Upload date:
  • Size: 7.5 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.56-py3-none-any.whl
Algorithm Hash digest
SHA256 3e69965cc41596f331db0ba3b8f83dad8c64002b97d594a39f0840d6be7dc067
MD5 134484eb8e6bd1f725cbf1be1dfebb25
BLAKE2b-256 a5102e9d92a91b3353a9a4fe5f235a4b67cb443d4b9db725f8f4b9c493d37a5f

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