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

Uploaded Python 3

File details

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

File metadata

  • Download URL: SqlAddImage-1.0.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 52a3548200142fd66e4319d0aaf9ac157fe5a21546ebe8a07c37bc955f0175b5
MD5 9473187049f763b4732a51224b1152df
BLAKE2b-256 666033de5f43dd4c93241bcd2d5f6aea1cb8bae72d029108be35f32d7c531986

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