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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for ibis_mssqlops-0.0.55.tar.gz
Algorithm Hash digest
SHA256 2fc9f3eb702e5f950ca3ab3bf598f9daf80bffd775ffb688cc120cea65d84c0c
MD5 fb6582118bbb171a756d0a7a7fe88a7d
BLAKE2b-256 c78bf0760dd640f0da8204f33b2d4e5974911fdb714da3c0fca540fd2027adef

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ibis_mssqlops-0.0.55-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.5 Windows/10

File hashes

Hashes for ibis_mssqlops-0.0.55-py3-none-any.whl
Algorithm Hash digest
SHA256 3a6d9eb0f19dd130435364c385eb35dcc69b102fb34c901158c6e60f45eba2d3
MD5 c73994e07b73de3def0df0608d35999c
BLAKE2b-256 71cf5c925fc3f551a80836b01764304dbee38d620c03b9561da7fcd1bf72c04b

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