Learn PyQt The Hard Way A Quick Start Guide to PostgreSQL and SQLite Driven Programming

Learn PyQt The Hard Way  A Quick Start Guide to PostgreSQL and SQLite Driven Programming
Author: Vivian Siahaan,Rismon Hasiholan Sianipar
Publsiher: SPARTA PUBLISHING
Total Pages: 550
Release: 2019-11-25
Genre: Computers
ISBN: 9182736450XXX

Download Learn PyQt The Hard Way A Quick Start Guide to PostgreSQL and SQLite Driven Programming Book in PDF, Epub and Kindle

This book explains relational theory in practice, and demonstrates through two projects how you can apply it to your use of PostgreSQL and SQLite databases. This book covers the important requirements of teaching databases with a practical and progressive perspective. This book offers the straightforward, practical answers you need to help you do your job. This hands-on tutorial/reference/guide to PostgreSQL and SQLite is not only perfect for students and beginners, but it also works for experienced developers who aren't getting the most from both databases. In designing a GUI and as an IDE, you will make use Qt Designer. In the first chapter, you will learn to use several widgets in PyQt5: Display a welcome message; Use the Radio Button widget; Grouping radio buttons; Displays options in the form of a check box; and Display two groups of check boxes. In chapter two, you will learn to use the following topics: Using Signal / Slot Editor; Copy and place text from one Line Edit widget to another; Convert data types and make a simple calculator; Use the Spin Box widget; Use scrollbars and sliders; Using the Widget List; Select a number of list items from one Widget List and display them on another Widget List widget; Add items to the Widget List; Perform operations on the Widget List; Use the Combo Box widget; Displays data selected by the user from the Calendar Widget; Creating a hotel reservation application; and Display tabular data using Table Widgets. In chapter three, you will learn: How to create the initial three tables project in the School database: Teacher, Class, and Subject tables; How to create database configuration files; How to create a Python GUI for inserting and editing tables; How to create a Python GUI to join and query the three tables. In chapter four, you will learn how to: Create a main form to connect all forms; Create a project will add three more tables to the school database: Student, Parent, and Tuition tables; Create a Python GUI for inserting and editing tables; Create a Python GUI to join and query over the three tables. In chapter five, you will join the six classes, Teacher, TClass, Subject, Student, Parent, and Tuition and make queries over those tables. In chapter six and chapter seven, you will get introduction of postgresql. And then, 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 eight, you will create dan configure PotgreSQL database. In this chapter, you will create Suspect table in crime database. This table has eleven columns: suspect_id (primary key), suspect_name, birth_date, case_date, report_date, suspect_ status, arrest_date, mother_name, address, telephone, and photo. You will also create GUI to display, edit, insert, and delete for this table. In chapter nine, you will create a table with the name Feature_Extraction, which has eight columns: feature_id (primary key), suspect_id (foreign key), feature1, feature2, feature3, feature4, feature5, and feature6. The six fields (except keys) will have a VARCHAR data type (200). You will also create GUI to display, edit, insert, and delete for this table. In chapter ten, you will create two tables, Police and Investigator. The Police table has six columns: police_id (primary key), province, city, address, telephone, and photo. The Investigator table has eight columns: investigator_id (primary key), investigator_name, rank, birth_date, gender, address, telephone, and photo. You will also create GUI to display, edit, insert, and delete for both tables. In chapter eleven, you will create two tables, Victim and Case_File. The Victim table has nine columns: victim_id (primary key), victim_name, crime_type, birth_date, crime_date, gender, address, telephone, and photo. The Case_File table has seven columns: case_file_id (primary key), suspect_id (foreign key), police_id (foreign key), investigator_id (foreign key), victim_id (foreign key), status, and description. You will create GUI to display, edit, insert, and delete for both tables as well.

Think PyQt A Smarter Way to Explore MariaDB and SQLite Driven Programming

Think PyQt  A Smarter Way to Explore MariaDB and SQLite Driven Programming
Author: Vivian Siahaan
Publsiher: SPARTA PUBLISHING
Total Pages: 544
Release: 2019-11-25
Genre: Computers
ISBN: 9182736450XXX

Download Think PyQt A Smarter Way to Explore MariaDB and SQLite Driven Programming Book in PDF, Epub and Kindle

This book explains relational theory in practice, and demonstrates through two projects how you can apply it to your use of MariaDB and SQLite databases. This book covers the important requirements of teaching databases with a practical and progressive perspective. This book offers the straightforward, practical answers you need to help you do your job. This hands-on tutorial/reference/guide to MariaDB and SQLite is not only perfect for students and beginners, but it also works for experienced developers who aren't getting the most from both databases. In designing a GUI and as an IDE, you will make use Qt Designer. In the first chapter, you will learn to use several widgets in PyQt5: Display a welcome message; Use the Radio Button widget; Grouping radio buttons; Displays options in the form of a check box; and Display two groups of check boxes. In chapter two, you will learn to use the following topics: Using Signal / Slot Editor; Copy and place text from one Line Edit widget to another; Convert data types and make a simple calculator; Use the Spin Box widget; Use scrollbars and sliders; Using the Widget List; Select a number of list items from one Widget List and display them on another Widget List widget; Add items to the Widget List; Perform operations on the Widget List; Use the Combo Box widget; Displays data selected by the user from the Calendar Widget; Creating a hotel reservation application; and Display tabular data using Table Widgets. In chapter three, you will learn: How to create the initial three tables project in the School database: Teacher, Class, and Subject tables; How to create database configuration files; How to create a Python GUI for inserting and editing tables; How to create a Python GUI to join and query the three tables. In chapter four, you will learn how to: Create a main form to connect all forms; Create a project will add three more tables to the school database: Student, Parent, and Tuition tables; Create a Python GUI for inserting and editing tables; Create a Python GUI to join and query over the three tables. In chapter five, you will join the six classes, Teacher, TClass, Subject, Student, Parent, and Tuition and make queries over those tables. In chapter six, you will create dan configure database. In this chapter, you will create Suspect table in crime database. This table has eleven columns: suspect_id (primary key), suspect_name, birth_date, case_date, report_date, suspect_ status, arrest_date, mother_name, address, telephone, and photo. You will also create GUI to display, edit, insert, and delete for this table. In chapter seven, you will create a table with the name Feature_Extraction, which has eight columns: feature_id (primary key), suspect_id (foreign key), feature1, feature2, feature3, feature4, feature5, and feature6. The six fields (except keys) will have a VARCHAR data type (200). You will also create GUI to display, edit, insert, and delete for this table. In chapter eight, you will create two tables, Police and Investigator. The Police table has six columns: police_id (primary key), province, city, address, telephone, and photo. The Investigator table has eight columns: investigator_id (primary key), investigator_name, rank, birth_date, gender, address, telephone, and photo. You will also create GUI to display, edit, insert, and delete for both tables. In chapter nine, you will create two tables, Victim and Case_File. The Victim table has nine columns: victim_id (primary key), victim_name, crime_type, birth_date, crime_date, gender, address, telephone, and photo. The Case_File table has seven columns: case_file_id (primary key), suspect_id (foreign key), police_id (foreign key), investigator_id (foreign key), victim_id (foreign key), status, and description. You will create GUI to display, edit, insert, and delete for both tables as well.

Rapid GUI Programming with Python and Qt

Rapid GUI Programming with Python and Qt
Author: Mark Summerfield
Publsiher: Pearson Education
Total Pages: 762
Release: 2007-10-18
Genre: Computers
ISBN: 9780132703062

Download Rapid GUI Programming with Python and Qt Book in PDF, Epub and Kindle

Whether you're building GUI prototypes or full-fledged cross-platform GUI applications with native look-and-feel, PyQt 4 is your fastest, easiest, most powerful solution. Qt expert Mark Summerfield has written the definitive best-practice guide to PyQt 4 development. With Rapid GUI Programming with Python and Qt you'll learn how to build efficient GUI applications that run on all major operating systems, including Windows, Mac OS X, Linux, and many versions of Unix, using the same source code for all of them. Summerfield systematically introduces every core GUI development technique: from dialogs and windows to data handling; from events to printing; and more. Through the book's realistic examples you'll discover a completely new PyQt 4-based programming approach, as well as coverage of many new topics, from PyQt 4's rich text engine to advanced model/view and graphics/view programming. Every key concept is illuminated with realistic, downloadable examples–all tested on Windows, Mac OS X, and Linux with Python 2.5, Qt 4.2, and PyQt 4.2, and on Windows and Linux with Qt 4.3 and PyQt 4.3.

COVID 19 Analysis Classification and Detection Using Scikit Learn Keras and TensorFlow with Python GUI

COVID 19  Analysis  Classification  and Detection Using Scikit Learn  Keras  and TensorFlow with Python GUI
Author: Vivian Siahaan,Rismon Hasiholan Sianipar
Publsiher: BALIGE PUBLISHING
Total Pages: 286
Release: 2023-08-11
Genre: Computers
ISBN: 9182736450XXX

Download COVID 19 Analysis Classification and Detection Using Scikit Learn Keras and TensorFlow with Python GUI Book in PDF, Epub and Kindle

In this comprehensive project, "COVID-19: Analysis, Classification, and Detection Using Scikit-Learn, Keras, and TensorFlow with Python GUI," the primary objective is to leverage various machine learning and deep learning techniques to analyze and classify COVID-19 cases based on numerical data and medical image data. The project begins by exploring the dataset, gaining insights into its structure and content. This initial data exploration aids in understanding the distribution of categorized features, providing valuable context for subsequent analysis. With insights gained from data exploration, the project delves into predictive modeling using machine learning. It employs Scikit-Learn to build and fine-tune predictive models, harnessing grid search for hyperparameter optimization. This meticulous process ensures that the machine learning models, such as Naïve Bayes, K-Nearest Neighbors, Decision Trees, Random Forests, Gradient Boosting, Extreme Gradient Boosting, Multi-Layer Perceptron, AdaBoost, and Logistic Regression, are optimized to accurately predict the risk of COVID-19 based on the input features. Transitioning to the realm of deep learning, the project employs Convolutional Neural Networks (CNNs) to perform intricate image classification tasks. Leveraging Keras and TensorFlow, the CNN architecture is meticulously crafted, comprising convolutional and pooling layers, dropout regularization, and dense layers. The project also extends its deep learning capabilities by utilizing the VGG16 pre-trained model, harnessing its powerful feature extraction capabilities for COVID-19 image classification. To gauge the effectiveness of the trained models, an array of performance metrics is utilized. In this project, a range of metrics are used to evaluate the performance of machine learning and deep learning models employed for COVID-19 classification. These metrics include Accuracy, which measures the overall correctness of predictions; Precision, emphasizing the accuracy of positive predictions; Recall (Sensitivity), assessing the model's ability to identify positive instances; and F1-Score, a balanced measure of accuracy. The Mean Squared Error (MSE) quantifies the magnitude of errors in regression tasks, while the Confusion Matrix summarizes classification results by showing counts of true positives, true negatives, false positives, and false negatives. These metrics together provide a comprehensive understanding of model performance. They help gauge the model's accuracy, the balance between precision and recall, and its proficiency in classifying both positive and negative instances. In the medical context of COVID-19 classification, these metrics play a vital role in evaluating the models' reliability and effectiveness in real-world applications. The project further enriches its analytical capabilities by developing an interactive Python GUI. This graphical user interface streamlines the user experience, facilitating data input, model training, and prediction. Users are empowered to input medical images for classification, leveraging the trained machine learning and deep learning models to assess COVID-19 risk. The culmination of the project lies in the accurate prediction of COVID-19 risk through a combined approach of machine learning and deep learning techniques. The Python GUI using PyQt5 provides a user-friendly platform for clinicians and researchers to interact with the models, fostering informed decision-making based on reliable and data-driven predictions. In conclusion, this project represents a comprehensive endeavor to harness the power of machine learning and deep learning for the vital task of COVID-19 classification. Through rigorous data exploration, model training, and performance evaluation, the project yields a robust framework for risk prediction, contributing to the broader efforts to combat the ongoing pandemic.

Learning Python

Learning Python
Author: Mark Lutz
Publsiher: "O'Reilly Media, Inc."
Total Pages: 1218
Release: 2009-10-06
Genre: Computers
ISBN: 9781449379322

Download Learning Python Book in PDF, Epub and Kindle

Google and YouTube use Python because it's highly adaptable, easy to maintain, and allows for rapid development. If you want to write high-quality, efficient code that's easily integrated with other languages and tools, this hands-on book will help you be productive with Python quickly -- whether you're new to programming or just new to Python. It's an easy-to-follow self-paced tutorial, based on author and Python expert Mark Lutz's popular training course. Each chapter contains a stand-alone lesson on a key component of the language, and includes a unique Test Your Knowledge section with practical exercises and quizzes, so you can practice new skills and test your understanding as you go. You'll find lots of annotated examples and illustrations to help you get started with Python 3.0. Learn about Python's major built-in object types, such as numbers, lists, and dictionaries Create and process objects using Python statements, and learn Python's general syntax model Structure and reuse code using functions, Python's basic procedural tool Learn about Python modules: packages of statements, functions, and other tools, organized into larger components Discover Python's object-oriented programming tool for structuring code Learn about the exception-handling model, and development tools for writing larger programs Explore advanced Python tools including decorators, descriptors, metaclasses, and Unicode processing

Using SQLite

Using SQLite
Author: Jay Kreibich
Publsiher: "O'Reilly Media, Inc."
Total Pages: 526
Release: 2010-08-17
Genre: Computers
ISBN: 9780596521189

Download Using SQLite Book in PDF, Epub and Kindle

Explains how to build database-backed applications for the Web, desktop, embedded systems, and operating systems using SQLite.

Beginning PyQt

Beginning PyQt
Author: Joshua M. Willman
Publsiher: Apress
Total Pages: 449
Release: 2020-05-28
Genre: Computers
ISBN: 9781484258576

Download Beginning PyQt Book in PDF, Epub and Kindle

Learn GUI application development from the ground up, taking a practical approach by building simple projects that teach the fundamentals of using PyQt. Each chapter gradually moves on to teach more advanced and diverse concepts to aid you in designing interesting applications using the latest version of PyQt. You’ll start by reviewing the beginning steps of GUI development from, using different projects in every chapter to teach new widgets or concepts that will help you to build better UIs. As you follow along, you will construct more elaborate GUIs, covering topics that include storing data using the clipboard, graphics and animation, support for SQL databases, and multithreading applications. Using this knowledge, you’ll be able to build a photo editor, games, a text editor, a working web browser and an assortment of other GUIs. Beginning PyQt will guide you through the process of creating UIs to help you bring your own ideas to life. Learn what is necessary to begin making your own applications and more with PyQt! What You'll Learn Create your own cross-platform GUIs with PyQt and PythonUse PyQt’s many widgets and apply them to building real applicationsBuild larger applications and break the steps into smaller parts for deeper understandingWork with complex applications in PyQt, from animation to databases and more Who This Book Is For Individuals who already have a fundamental understanding of the Python programming language and are looking to either expand their skills in Python or have a project where they need to create a UI, but may have no prior experience or no idea how to begin.

Text Analytics with Python

Text Analytics with Python
Author: Dipanjan Sarkar
Publsiher: Apress
Total Pages: 397
Release: 2016-11-30
Genre: Computers
ISBN: 9781484223888

Download Text Analytics with Python Book in PDF, Epub and Kindle

Derive useful insights from your data using Python. You will learn both basic and advanced concepts, including text and language syntax, structure, and semantics. You will focus on algorithms and techniques, such as text classification, clustering, topic modeling, and text summarization. Text Analytics with Python teaches you the techniques related to natural language processing and text analytics, and you will gain the skills to know which technique is best suited to solve a particular problem. You will look at each technique and algorithm with both a bird's eye view to understand how it can be used as well as with a microscopic view to understand the mathematical concepts and to implement them to solve your own problems. What You Will Learn: Understand the major concepts and techniques of natural language processing (NLP) and text analytics, including syntax and structure Build a text classification system to categorize news articles, analyze app or game reviews using topic modeling and text summarization, and cluster popular movie synopses and analyze the sentiment of movie reviews Implement Python and popular open source libraries in NLP and text analytics, such as the natural language toolkit (nltk), gensim, scikit-learn, spaCy and Pattern Who This Book Is For : IT professionals, analysts, developers, linguistic experts, data scientists, and anyone with a keen interest in linguistics, analytics, and generating insights from textual data