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.3-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: SqlAddImage-1.0.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 359f1a7754f0fe42d142a7f253c0b0e8a6b9c4313afc9decb26bf50df7848303
MD5 58d68fbf44ffe2b80e5bc2820ad6593c
BLAKE2b-256 9a176acdd2ca4ed9b9689ed0db4fca2ce8decb9b3e5f643b4ab8967838c80686

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