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.57.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: ibis_mssqlops-0.0.57.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.57.tar.gz
Algorithm Hash digest
SHA256 9c4585e02525164bed8f3560b52e27a144c4d8e4e1b850b51af650dc35315cc3
MD5 d3e9832f9a03404d3f0991ef2f3f34bf
BLAKE2b-256 a97e975591bdef9d663b29015f2eb7135790cc2717a0c403ca561e393b048c95

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ibis_mssqlops-0.0.57-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.57-py3-none-any.whl
Algorithm Hash digest
SHA256 5b09f25e11b0a2d9c37defaf945315f124c4726222fe828d7c1a1239615b20c4
MD5 8f64969a8247c08d18b65d50c98eabf3
BLAKE2b-256 a19694252bb9a3993fe321ed250584f3312d10baf677ab4c45429c9968a53e7c

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