Metadata-Version: 1.1
Name: pydba
Version: 1.1.0
Summary: Python tools for DBAs with deadlines!
Home-page: https://github.com/drkjam/pydba/
Author: David P. D. Moss
Author-email: drkjam@gmail.com
License: MIT License
Download-URL: https://pypi.python.org/pypi/pydba/
Description: `pydba` - a handy Python library for common database admin operations.
        
        API Usage
        ---------
        
        Basic imports and class constructor usage.
        
            >>> from pydba import PostgresDB
            >>> db = PostgresDB()
            >>> db.available()
            True
            >>> db.names()
            ['postgres']
        
        Database creation and deletion.
        
            >>> db.create('foo')
            >>> db.names()
            ['postgres', 'foo']
            >>> db.rename('foo', 'bar')
            >>> db.names()
            ['postgres', 'bar']
        
        Database backup and restore.
        
            >>> db.dump('bar', 'bar.backup')
            >>> db.drop('bar')
            >>> db.names()
            ['postgres']
            >>> db.restore('bar', 'bar.backup')
            >>> db.names()
            ['postgres', 'bar']
        
        Querying and removing shutting down database connections.
        
            >>> db.connections('postgres')
            [Connection(datname='postgres', state='idle', pid=13832, query='', usename='drkjam', ...)]
            >>> db.kill_connections('postgres')
            >>> db.connections('postgres')
            []
        
Keywords: Software Development,Database Administration,Systems Administration,DBA,PostgreSQL,SQL
Platform: POSIX
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Information Technology
Classifier: Intended Audience :: System Administrators
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Operating System :: POSIX
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: SQL
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Software Development :: Quality Assurance
Classifier: Topic :: Software Development :: Testing
Classifier: Topic :: System
Classifier: Topic :: System :: Archiving
Classifier: Topic :: System :: Archiving :: Backup
Classifier: Topic :: System :: Distributed Computing
Classifier: Topic :: System :: Installation/Setup
Classifier: Topic :: System :: Recovery Tools
Classifier: Topic :: System :: Shells
Classifier: Topic :: System :: Systems Administration
Classifier: Topic :: System :: System Shells
Classifier: Topic :: Utilities
