# SQLAConnector
Simplifique sua conexão com bancos de dados em Python usando SQLAlchemy com o SQLAConnector, uma biblioteca que gerencia sessões e transações automaticamente.
## Instalação
bashCopy code
`pip install sqlaconnector`
## Configuração
Defina a string de conexão no `config.py`.
## Uso
**Gerenciando Sessões:**
pythonCopy code
`from sqlaconnector import SQLAConnector with SQLAConnector() as connector: # Operações de banco de dados`
**Decorador para Conexões:**
pythonCopy code
`from sqlaconnector import db_connector @db_connector def sua_funcao(session): # Operações de banco de dados`
Raw data
{
"_id": null,
"home_page": "",
"name": "sqla-connector",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "sqlalchemy database",
"author": "Mariano Tup\u00e3",
"author_email": "marianotupa@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/60/a9/5f2b7599fff37a5f27590149d4fbaa6d843e794e20be5f55142da3e42170/sqla-connector-0.0.1.tar.gz",
"platform": null,
"description": "# SQLAConnector\r\n\r\nSimplifique sua conex\u00c3\u00a3o com bancos de dados em Python usando SQLAlchemy com o SQLAConnector, uma biblioteca que gerencia sess\u00c3\u00b5es e transa\u00c3\u00a7\u00c3\u00b5es automaticamente.\r\n\r\n## Instala\u00c3\u00a7\u00c3\u00a3o\r\n\r\nbashCopy code\r\n\r\n`pip install sqlaconnector`\r\n\r\n## Configura\u00c3\u00a7\u00c3\u00a3o\r\n\r\nDefina a string de conex\u00c3\u00a3o no `config.py`.\r\n\r\n## Uso\r\n\r\n**Gerenciando Sess\u00c3\u00b5es:**\r\n\r\npythonCopy code\r\n\r\n`from sqlaconnector import SQLAConnector with SQLAConnector() as connector: # Opera\u00c3\u00a7\u00c3\u00b5es de banco de dados`\r\n\r\n**Decorador para Conex\u00c3\u00b5es:**\r\n\r\npythonCopy code\r\n\r\n`from sqlaconnector import db_connector @db_connector def sua_funcao(session): # Opera\u00c3\u00a7\u00c3\u00b5es de banco de dados`\r\n",
"bugtrack_url": null,
"license": "MIT License",
"summary": "Melhora o acessibilidade ao sqla-connector",
"version": "0.0.1",
"project_urls": null,
"split_keywords": [
"sqlalchemy",
"database"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "bd403c9643f28603ce45a942b520977af9fad9edf7a7aa2b3cfdc611f3aa5f25",
"md5": "8f25e8373227ee72bdde1e0a5d3cfa78",
"sha256": "2b9311a929c4b2fc67368b5ef4bbe17c2727107d4857e471bf55e9e69d120cbf"
},
"downloads": -1,
"filename": "sqla_connector-0.0.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "8f25e8373227ee72bdde1e0a5d3cfa78",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 3341,
"upload_time": "2024-03-12T07:27:52",
"upload_time_iso_8601": "2024-03-12T07:27:52.845922Z",
"url": "https://files.pythonhosted.org/packages/bd/40/3c9643f28603ce45a942b520977af9fad9edf7a7aa2b3cfdc611f3aa5f25/sqla_connector-0.0.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "60a95f2b7599fff37a5f27590149d4fbaa6d843e794e20be5f55142da3e42170",
"md5": "df5eca8a5dc2f4fcf1c769f1a988a74b",
"sha256": "0b7b61513cc5da07818bf9cedd3e0e3069631b6bfba0e648c8d8773bb4a7f77a"
},
"downloads": -1,
"filename": "sqla-connector-0.0.1.tar.gz",
"has_sig": false,
"md5_digest": "df5eca8a5dc2f4fcf1c769f1a988a74b",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2684,
"upload_time": "2024-03-12T07:27:54",
"upload_time_iso_8601": "2024-03-12T07:27:54.115473Z",
"url": "https://files.pythonhosted.org/packages/60/a9/5f2b7599fff37a5f27590149d4fbaa6d843e794e20be5f55142da3e42170/sqla-connector-0.0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-03-12 07:27:54",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "sqla-connector"
}