Skip to main content

SqlAddImage is a Python Package which helps user to insertand retrieve image in mysql database for particularfield by creating image column.

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

SqlAddImage-1.0.4-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file SqlAddImage-1.0.4-py3-none-any.whl.

File metadata

  • Download URL: SqlAddImage-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.3

File hashes

Hashes for SqlAddImage-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 452bbc649d10f736b3728788a83be405b88f015d23006daf18645aaec9ec9bf2
MD5 69f79f7385ad09969b88e6cf7d54d3b0
BLAKE2b-256 0631793a19d97e6900333941cb3bb9ffec791fe538b0a3051dcd49890830b8b4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page