Ibis-mssqlops
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 opymssql
Funções adicionadas
- DATEFROMPARTS
- DATEADD
- DATEDIFF
- DATEPART
- CONVERT
- FORMAT
- TRIM
- REPLICATE
- COLLATELATIN (Retira acentuação gráfica)
- ISNUMERIC
Metadata
Release files for ibis-mssqlops 0.0.58
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| ibis_mssqlops-0.0.58.tar.gz | 6.0 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ibis_mssqlops-0.0.58-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.8 kB
Release files / ibis_mssqlops-0.0.58.tar.gz
| Download URL | ibis_mssqlops-0.0.58.tar.gz |
|---|---|
| Size | 6.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
57663395b4fa7ef0587848ebb1e3eebaa9a3053c65f4ad005c88433ab1975698
|
|
BLAKE2b-256 checksum How to use checksums |
b659ff2ee221be983f198bb640c1a842c6f651c83cc716cbd9289e4679b8bd9a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.11.7 Windows/10
|
Release files / ibis_mssqlops-0.0.58-py3-none-any.whl
| Download URL | ibis_mssqlops-0.0.58-py3-none-any.whl |
|---|---|
| Size | 7.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
81c0eebf4bc5da518b3a09b1fec38bc6ec78cf4d2ffdfbeaf220325b4bbd4363
|
|
BLAKE2b-256 checksum How to use checksums |
9e73418e529fbae4be28e4dd92649b2135b13436e0476d820eaca37e74665aa5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.11.7 Windows/10
|
Security for ibis-mssqlops 0.0.58
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.