Skip to content

andreaspfeil/CubeSQL.Python3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!!!

About

Simple Python 3 JSON client for the CubeSQL database server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages