Skip to main content

A python client library for the SQLizer.io data conversion tool

Project description

SQLizer.io Client for Python

A client library for the SQLizer.io file conversion service. Use this library to convert CSV, JSON, Excel or XML files to SQL tables within your python projects.

Getting Started

Install the library using pip, by typing at the command line:

pip install sqlizer-io-client

To use the converter, import the sqlizer module, then set your API Key value. You can find your API keys on the SQLizer.io Account Page. Create a sqlizer.File object passing in the conversion parameters. Finally, call convert(). For example:

import sqlizer

sqlizer.config.API_KEY = 'your-api-key'

with open('example.xlsx', mode='rb') as file_content:
    converter = sqlizer.File(file_content, sqlizer.DatabaseType.MySQL, sqlizer.FileType.XLSX, 'example.xlsx', 'my_table')
    converter.convert(wait=True)

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

sqlizer-io-client-1.0.2.tar.gz (6.2 kB view hashes)

Uploaded source

Built Distribution

sqlizer_io_client-1.0.2-py3-none-any.whl (7.3 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page