Search Results

The Ultimate Guide to Professional Database Programming with Python and PostgreSQL

Download or Read eBook The Ultimate Guide to Professional Database Programming with Python and PostgreSQL PDF written by Vivian Siahaan and published by SPARTA Publishing. This book was released on 2019-01-15 with total page 215 pages. Available in PDF, EPUB and Kindle.
The Ultimate Guide to Professional Database Programming with Python and PostgreSQL
Author :
Publisher : SPARTA Publishing
Total Pages : 215
Release :
ISBN-10 :
ISBN-13 :
Rating : 4/5 ( Downloads)

Book Synopsis The Ultimate Guide to Professional Database Programming with Python and PostgreSQL by : Vivian Siahaan

Book excerpt: Python has various database drivers for PostgreSQL. Currently, the psycopg is the most popular PostgreSQL database adapter for the Python language. The psycopg fully implements the Python DB-API 2.0 specification. The current version of the psycopg is 2 or psycopg2. The psycopg2 database adapter implemented in C as a libpq wrapper resulting in both fast and secure. The psycopg2 provides many useful features such as client-side and server-side cursors, asynchronous notification and communication, COPY command support, etc. PostgreSQL was designed to run on UNIX-like platforms. However, PostgreSQL was then also designed to be portable so that it could run on various platforms such as Mac OS X, Solaris, and Windows. PostgreSQL is free and open source software. Its source code is available under PostgreSQL license, a liberal open source license. You are free to use, modify and distribute PostgreSQL in any form. PostgreSQL requires very minimum maintained efforts because of its stability. Therefore, if you develop applications based on PostgreSQL, the total cost of ownership is low in comparison with other database management systems. In Chapter 2, you will learn querying data from the postgresql using Python including establishing a database connection, creating a statement object, executing the query, processing the resultset object, querying data using a statement that returns multiple rows, querying data using a statement that has parameters, inserting data into a table using Python, updating data in postgresql database using Python, calling postgresql stored function using Python, deleting data from a postgresql table using Python, and postgresql Python transaction. In Chapter 3, you will learn managing table structure and views including postgresql data types, postgresql create table, postgresql select into statement, postgresql create table as, using postgresql serial to create auto-increment column, identity column, alter table, drop table, truncate table, check constraint, not-null constraint, foreign key, primary key, unique constraint, managing postgresql views, creating updatable views, materialized views, creating updatable views using the with check option clause, and recursive view. In Chapter 4, you will learn statements, operators, and clauses including select, order by, select distinct, limit, fetch, in, between, postgresql like, is null, alias, joins, inner join, postgresql left join, self-join, full outer join, cross join, natural join, group by, having, intersect operator, except operator, grouping sets, cube, and rollup. In Chapter 5, you will learn postgresql trigger, aggregate, and string functions including creating the first trigger in postgresql, managing postgresql trigger, aggregate functions, avg function, max function, min function, sum function, postgresql concat function, ascii function, trim function, length function, substring function, regexp_matches function, regexp_replace function, replace function, to_number function, and to_char function.


The Ultimate Guide to Professional Database Programming with Python and PostgreSQL Related Books

The Ultimate Guide to Professional Database Programming with Python and PostgreSQL
Language: en
Pages: 215
Authors: Vivian Siahaan
Categories: Computers
Type: BOOK - Published: 2019-01-15 - Publisher: SPARTA Publishing

DOWNLOAD EBOOK

Python has various database drivers for PostgreSQL. Currently, the psycopg is the most popular PostgreSQL database adapter for the Python language. The psycopg
PostgreSQL Server Programming
Language: en
Pages: 405
Authors: Hannu Krosing
Categories: Computers
Type: BOOK - Published: 2013-01-01 - Publisher: Packt Publishing Ltd

DOWNLOAD EBOOK

This practical guide leads you through numerous aspects of working with PostgreSQL. Step by step examples allow you to easily set up and extend PostgreSQL. "Pos
Using SQLite
Language: en
Pages: 526
Authors: Jay Kreibich
Categories: Computers
Type: BOOK - Published: 2010-08-17 - Publisher: "O'Reilly Media, Inc."

DOWNLOAD EBOOK

Explains how to build database-backed applications for the Web, desktop, embedded systems, and operating systems using SQLite.
PostgreSQL: Up and Running
Language: en
Pages: 167
Authors: Regina O. Obe
Categories: Computers
Type: BOOK - Published: 2012-07-06 - Publisher: "O'Reilly Media, Inc."

DOWNLOAD EBOOK

Thinking of migrating to PostgreSQL? This updated guide helps you quickly understand and use the 9.3 release of this open source database system. You’ll not o
Beginning Databases with PostgreSQL
Language: en
Pages: 650
Authors: Richard Stones
Categories: Computers
Type: BOOK - Published: 2006-11-03 - Publisher: Apress

DOWNLOAD EBOOK

*The most updated PostgreSQL book on the market, covering version 8.0 *Highlights the most popular PostgreSQL APIs, including C, Perl, PHP, and Java *This is tw
Scroll to top