Skip to main content

Python Tables Manager (PyTam) is a module that allows managing data as a DBMS in Tables.

Project description

Copyright (c) <2012-2014> <copyright Camilo A. Ospina A. camilo.ospinaa@gmail.com >

===============================================================================
DESCRIPTION
===============================================================================
PyTam is a single module that allows python3 to manipulate databases of
its own. It works for Linux, Mac and Windows.
It can create, delete, update, fetch, match registries and much more. It is not
intended to be a SQL dbm but a python data persistance module that allows managing
data in an efficent way, with more levels of security than other python's
persistance libraries.

Note: It Runs On ANDROID!!!! with QPython 3

If help is needed you can contact me at:
camilo.ospinaa@gmail.com

I will not write any code for you, but I can show you what you can do with this
powerful library.

===============================================================================
USAGE EXAMPLE
===============================================================================

from pytam.pytam import *

createTWS("/home/user/","DB", "123") #Create DataBase
tws=useTWS('/home/user/DB', '123', 'UserNameForLogs', 'enable') #Connect to DB

tws.createTable('people',{ # Create Table
'*id': 'int',
'name': 'str',
'lastName': 'str'
})

tws.insertInto('people',{ #Add Registry to DB
'id':0,
'name':'Joe',
'lastName':'Doe'
})

PeopleObtained=tws.fetchAll('people', {'id':0}) # Search by Key Field

PeopleObtained=tws.fetchAll('people', {'name:Joe', 'lastName':'Doe'}) # Search by various fields

=====================================================================================

!!! And a lot more you can do with PyTam !!! :)


===============================================================================
LICENSE
===============================================================================
MIT License (MIT)

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

Project details


Release history Release notifications

History Node

0.3.1

History Node

0.3

History Node

0.2.2

History Node

0.2.1

This version
History Node

0.2

History Node

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
PyTam-0.2.tar.gz (9.7 kB) Copy SHA256 hash SHA256 Source None Mar 12, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page