MySQL Client
This Python module provides a client for interacting with MySQL databases, allowing users to perform various operations such as executing queries, uploading data from files, fetching data, and more.
Installation
To use the MySQL Client, you need to have Python installed. You can install the module via pip:
pip install shipyard-mysql
Usage
from mysql_client import MySqlClient
# Initialize the MySQL client
client = MySqlClient(username='your_username', pwd='your_password', host='localhost', database='your_database')
# Execute a query
query = "SELECT * FROM your_table"
client.execute_query(query)
# Upload data from a file
client.upload(file='data.csv', table_name='your_table')
# Fetch data
result_df = client.fetch(query)
# Close the connection
client.close()
Metadata
Release files for shipyard-mysql 0.1.0
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 | Actions |
|---|---|---|---|---|
| shipyard_mysql-0.1.0.tar.gz | 5.3 kB | Without provenance | Details for shipyard_mysql-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| shipyard_mysql-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for shipyard_mysql-0.1.0-py3-none-any.whl |
Total release size: 13.2 kB
Release files / shipyard_mysql-0.1.0.tar.gz
| Download URL | shipyard_mysql-0.1.0.tar.gz |
|---|---|
| Size | 5.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0000bd640692f9df3bd98e1249eff041b6caaa3c48f6cd632022bcc83e28f994
|
|
BLAKE2b-256 checksum How to use checksums |
2816f0cb8b10fc16b1a5a00415b57c54fe161ce6e5f7e218e1a75feedc03257c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.6.1 CPython/3.9.18 Darwin/23.2.0
|
Release files / shipyard_mysql-0.1.0-py3-none-any.whl
| Download URL | shipyard_mysql-0.1.0-py3-none-any.whl |
|---|---|
| Size | 7.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bc98c2ae27728a2baeaa496500c0c8081737d1d62e913bbbf1cb3aeeef29cabe
|
|
BLAKE2b-256 checksum How to use checksums |
01d7873a9e819f640915e32279f3710b0bd80532188be8e638aa57a1c22135eb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.6.1 CPython/3.9.18 Darwin/23.2.0
|
Security for shipyard-mysql 0.1.0
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.