Skip to content

Simple Python2 JSON client for the CubeSQL database server

License

Notifications You must be signed in to change notification settings

andreaspfeil/CubeSQL.Python2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cubeSQL Python2 client

Simple Python2 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 Python2 JSON client for the CubeSQL database server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages