Skip to main content

A module to fetch data from MySQL db as list or save it as text file

Project description

This package using MySQLdb interface to connect to database. This module will give convenience to fetch data as list (fetch_dbdata_list) and export it to text file (write_dbdata_file), or do all in 1 go using fetch_dbdata_file.

Package contents: def fetch_dbdata_file(sql, db_credential, output_filename, mode=”w”, delimiter=”t”) # all in one def fetch_dbdata_list(sql, db_credential, header=True) def write_dbdata_file(data_as_list, output_filename, mode=”w”, header_as_list=[], delimiter=”t”) def write_list_file(list_data, output_filename, mode=”w”)

Project details


Download files

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

Source Distribution

clioedb-1.0.tar.gz (14.8 kB view details)

Uploaded Source

Built Distribution

clioedb-1.0-py3-none-any.whl (15.6 kB view details)

Uploaded Python 3

File details

Details for the file clioedb-1.0.tar.gz.

File metadata

  • Download URL: clioedb-1.0.tar.gz
  • Upload date:
  • Size: 14.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.0.0 pkginfo/1.5.0.1 requests/2.25.1 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/3.7.4

File hashes

Hashes for clioedb-1.0.tar.gz
Algorithm Hash digest
SHA256 08abc32afb058edafc7da42e5935e1430c20b43ee5375fd49382d259444555c3
MD5 f4ed087f74dde631264352f8f026e8de
BLAKE2b-256 bf668eabfd7c4c13981e03cbaab1f235cbfe01a2a1953f87fc0133bffb1d0bb6

See more details on using hashes here.

File details

Details for the file clioedb-1.0-py3-none-any.whl.

File metadata

  • Download URL: clioedb-1.0-py3-none-any.whl
  • Upload date:
  • Size: 15.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.0.0 pkginfo/1.5.0.1 requests/2.25.1 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/3.7.4

File hashes

Hashes for clioedb-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d8fa4bf458d5ec094112288648bf3eede70bf3def22d06a8bb1e483dcb179ec1
MD5 ee59c61e4e0807c8505d1e0eaac9aaa7
BLAKE2b-256 c1fbc5ce693b019ffa13d4a01d3f9107fa097090c1f770240c289b1d8f3d1526

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