Skip to content

Latest commit

 

History

History
64 lines (37 loc) · 1.82 KB

README.md

File metadata and controls

64 lines (37 loc) · 1.82 KB

cubeSQL Python3 client

Simple Python3 JSON client for the cubeSQL database server.

Usage example

See Examples/simple.py for a simple example.

import cubesql

cube = cubesql.CubeSQL( 'localhost', "loginname", "password" )
cube.use( "test" )

cube.execute( "CREATE TABLE IF NOT EXISTS Users (FirstName TEXT, LastName TEXT, Address TEXT);" )

cube.execute( "INSERT INTO Users VALUES ( 'Some', 'One', 'Firststreet 2, 69000 Bettertown' );" )
cube.execute( "INSERT INTO Users VALUES ( 'Other', 'Guy', 'Onlystreet 1, 69001 Besttown' );" )

d = cube.select( "SELECT * FROM Users;" );
print( d )

Installation

Documentation

Video Tutorials

Donate

Contributors

Acknowledgments

See also

License

BEER license / MIT license

The BEER license is basically the same as the MIT license (see link), except that you should buy the author a beer (see Donate) if you use this software.

Sponsors

none yet - YOU can still be number one in this list!!!