New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

SQLConn

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

SQLConn - pypi Package Compare versions

Comparing version
0.0.12
to
0.0.13
+5
-1
PKG-INFO
Metadata-Version: 2.1
Name: SQLConn
Version: 0.0.12
Version: 0.0.13
Summary: This package facilitates easy SQL database integration.

@@ -65,4 +65,6 @@ Home-page: https://github.com/janyoungjin/SQLConn

| `to_sql` | 다른 데이터베이스에 SQL 쿼리 결과를 저장합니다. | Show, Select 커맨드만 가능 |
| `to_HTML` | 해당 쿼리를 HTML코드로 변환합니다 | Show, Select 커맨드만 가능 |
| `URL` | 데이터베이스 연결 URL을 제공합니다. | 읽기용 프로퍼티 |
| `engine` | 데이터베이스 연결을 위한 SQLAlchemy 엔진을 제공합니다. | 읽기용 프로퍼티 |
| `conn` | 데이터베이스 연결 객체를 제공합니다 | 읽기용 프로퍼티 |

@@ -166,4 +168,6 @@ ### 사용예제

| `to_sql` | Store SQL query results in another database. | Show, Select commands only |
| `to_HTML` | Converts the SQL query results to HTML code. | Show, Select 커맨드만 가능 |
| `URL` | Provide the database connection URL. | get property |
| `engine` | Provides SQLAlchemy engine for database connection. | get property |
| `conn` | Provides the database connection object. | get property |

@@ -170,0 +174,0 @@ ### Example of use

@@ -50,4 +50,6 @@ # SQLConn

| `to_sql` | 다른 데이터베이스에 SQL 쿼리 결과를 저장합니다. | Show, Select 커맨드만 가능 |
| `to_HTML` | 해당 쿼리를 HTML코드로 변환합니다 | Show, Select 커맨드만 가능 |
| `URL` | 데이터베이스 연결 URL을 제공합니다. | 읽기용 프로퍼티 |
| `engine` | 데이터베이스 연결을 위한 SQLAlchemy 엔진을 제공합니다. | 읽기용 프로퍼티 |
| `conn` | 데이터베이스 연결 객체를 제공합니다 | 읽기용 프로퍼티 |

@@ -151,4 +153,6 @@ ### 사용예제

| `to_sql` | Store SQL query results in another database. | Show, Select commands only |
| `to_HTML` | Converts the SQL query results to HTML code. | Show, Select 커맨드만 가능 |
| `URL` | Provide the database connection URL. | get property |
| `engine` | Provides SQLAlchemy engine for database connection. | get property |
| `conn` | Provides the database connection object. | get property |

@@ -155,0 +159,0 @@ ### Example of use

+1
-1

@@ -8,3 +8,3 @@ from setuptools import setup, find_packages

name='SQLConn',
version='0.0.12',
version='0.0.13',
description='This package facilitates easy SQL database integration.',

@@ -11,0 +11,0 @@ long_description=long_description,

Metadata-Version: 2.1
Name: SQLConn
Version: 0.0.12
Version: 0.0.13
Summary: This package facilitates easy SQL database integration.

@@ -65,4 +65,6 @@ Home-page: https://github.com/janyoungjin/SQLConn

| `to_sql` | 다른 데이터베이스에 SQL 쿼리 결과를 저장합니다. | Show, Select 커맨드만 가능 |
| `to_HTML` | 해당 쿼리를 HTML코드로 변환합니다 | Show, Select 커맨드만 가능 |
| `URL` | 데이터베이스 연결 URL을 제공합니다. | 읽기용 프로퍼티 |
| `engine` | 데이터베이스 연결을 위한 SQLAlchemy 엔진을 제공합니다. | 읽기용 프로퍼티 |
| `conn` | 데이터베이스 연결 객체를 제공합니다 | 읽기용 프로퍼티 |

@@ -166,4 +168,6 @@ ### 사용예제

| `to_sql` | Store SQL query results in another database. | Show, Select commands only |
| `to_HTML` | Converts the SQL query results to HTML code. | Show, Select 커맨드만 가능 |
| `URL` | Provide the database connection URL. | get property |
| `engine` | Provides SQLAlchemy engine for database connection. | get property |
| `conn` | Provides the database connection object. | get property |

@@ -170,0 +174,0 @@ ### Example of use

@@ -5,4 +5,3 @@ from .SQLConn import MSSQLConn

from .SQLConn import SQLiteConn
from .SQLConn import SQLConn
__all__ = ["MSSQLConn", "MYSQLConn", "PostgresqlConn", "SQLiteConn","SQLConn"]
__all__ = ["MSSQLConn", "MYSQLConn", "PostgresqlConn", "SQLiteConn"]

@@ -70,2 +70,5 @@ from pandas import read_sql

self.to_DataFrame(cmd).to_html(index=False)
@property
def conn(self):
return self._conn
class MYSQLConn(SQLConn):

@@ -72,0 +75,0 @@ def __init__(self,password:str,host:str='127.0.0.1',user:str="root",database:str="mysql",port:str|int=3306) -> None: