Skip to main content

A tool that allows you to connect to and run SQL commands to an SQLite3 database easily.

Project description

SQLite Connect (SLC)

SLC allows you to connect to an SQlite3 database file faster than if you just used the SQLite3 module.

Usage

  • sc.run([Database_URL], [SQL_COMMAND]) # Connects to Database file and runs SQL code

  • sc.run([Database_URL], [SQL_COMMAND], [argument]) # Using the new argument parameter, you can change what SLC does with the retrieved data.

  • sc.RB() # Quick ROLLBACK shortcut in SQL

  • sc.com() # Commit Changes

  • sc.close() # Close database

  • sc.cc() # Use this code to commit and close together

Argument List - ‘fetchall’ –> The fetchall argument prints out the retrieved data in Python.

Change Log

v0.1.0 (1/6/2020)

  • First Release

v0.2.0 (1/6/2020)

  • New argument parameter added in SLC.run function. (See the README.md file above)

v0.3.0 (1/6/2020)

  • Function bug fixed.

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

SLC-0.3.0.tar.gz (2.2 kB view hashes)

Uploaded Source

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