SqlAddImage
SqlAddImage is a Python Package which helps user to insert and retrieve image in mysql database for particular field by creating image column.
Installation
pip install SqlAddImage
Usage
import SqlAddImage as im
# First make a connection with your database
checker = im.make_connection(host="localhost", user="your username", password="your password", database='your database')
# Insert image in this way
im.insert_image(status=checker,img_path="your imagefile",tablename="table of database", correspond_field="field in table",correspond_value="value of field")# Retrieve already stored image in this way in the working directory
im.get_image(status=checker,tablename="table of database", correspond_field="field in table",correspond_value="value of field")Contributing
Contribute in this package on GitHub https://github.com/DeveloperHarshit09/SqlAddImage
License
MIT License
Release files for SqlAddImage 1.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| SqlAddImage-1.0.4-py3-none-any.whl | Python 3 | none | any | Details |
Release files / SqlAddImage-1.0.4-py3-none-any.whl
| Download URL | SqlAddImage-1.0.4-py3-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
452bbc649d10f736b3728788a83be405b88f015d23006daf18645aaec9ec9bf2
|
|
BLAKE2b-256 checksum How to use checksums |
0631793a19d97e6900333941cb3bb9ffec791fe538b0a3051dcd49890830b8b4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.11.3
|