Skip to main content


Project description

Python 3.6.5 (default, Apr 1 2018, 05:46:30)
Type 'copyright', 'credits' or 'license' for more information
IPython 6.4.0 -- An enhanced Interactive Python. Type '?' for help.

In [1]: import amdataset

In [2]: db = amdataset.connect('sqlite:///:memory:')

In [3]: db.insert('users', {'name': 'ammadkhaads'})
Out[3]: 1

In [4]: db.update('users', ['name'], {'name': 'AmmadKhalid'})
Out[4]: 0

In [5]: db.get_first('users')
Out[5]: OrderedDict([('id', 1), ('name', 'ammadkhaads')])

In [6]: db.update('users', ['id'], {'name': 'AmmadKhalid', 'id': 1})
Out[6]: 1

In [9]: db.delete('users', name = 'AmmadKhalid')
Out[9]: True
Author: Ammad Khalid
License: UNKNOWN
Description: UNKNOWN
Keywords: database,dataset,ORM
Platform: UNKNOWN

Project details

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
amdataset-0.2.2-py3-none-any.whl (4.3 kB) Copy SHA256 hash SHA256 Wheel py3
amdataset-0.2.2.tar.gz (2.3 kB) Copy SHA256 hash SHA256 Source None

Supported by

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