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

Uploaded Python 3

File details

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

File metadata

  • Download URL: SqlAddImage-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 5.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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a9ed435b05ce5d3bee0d4d8cb05b18ce321738d76eeba3527f3e22a76fe26e45
MD5 c38d1f7dcd4a166704b06e89e939b5c5
BLAKE2b-256 177d848f375f73a80785659645f4211d6fa9ab17a32a54b23b8de82b5bac1f69

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