Python API Development Fundamentals: Develop a full-stack web application with Python and Flask
Language: English
Published by Packt Publishing, 2019
- Softcover
- Used

Seller: Sunshine State Books, Lithia, FL, U.S.A.Sunshine State Books
AbeBooks seller since September 4, 2013
Condition: Used - As new
£ 19.98
Quantity: 1 available
Add to basketItem description from seller
Paperback--no flaws.
Seller Inventory # JG260502038R0808
- Title
- Python API Development Fundamentals: Develop a full-stack web application with Python and Flask
- Author
- Jack Chan; Ray Chung; Jack Huang
- Publisher
- Packt Publishing
- Publication year
- 2019
- Condition
- As New
- Binding
- paperback
- Language
- English
- ISBN 10
- 1838983996
- ISBN 13
- 9781838983994
- Item weight
- 23 ounces
- Dimensions
- 7x0x9
Learn all that's needed to build a fully functional web application from scratch.
Key Features
- Delve deep into the principle behind RESTful API
- Learn how to build a scalable web application with the RESTful API architecture and Flask framework
- Know what are the exact tools and methodology to test your applications and how to use them
Book Description
Python is a flexible language that can be used for much more than just script development. By knowing the Python RESTful APIs work, you can build a powerful backend for web applications and mobile applications using Python.
You'll take your first steps by building a simple API and learning how the frontend web interface can communicate with the backend. You'll also learn how to serialize and deserialize objects using the marshmallow library. Then, you'll learn how to authenticate and authorize users using Flask-JWT. You'll also learn how to enhance your APIs by adding useful features, such as email, image upload, searching, and pagination. You'll wrap up the whole book by deploying your APIs to the cloud.
By the end of this book, you'll have the confidence and skill to leverage the power of RESTful APIs and Python to build efficient web applications.
What you will learn
- Understand the concept of a RESTful API
- Build a RESTful API using Flask and the Flask-Restful extension
- Manipulate a database using Flask-SQLAlchemy and Flask-Migrate
- Send out plaintext and HTML format emails using the Mailgun API
- Implement a pagination function using Flask-SQLAlchemy
- Use caching to improve API performance and efficiently obtain the latest information
- Deploy an application to Heroku and test it using Postman
Who this book is for
This book is ideal for aspiring software developers who have a basic-to-intermediate knowledge of Python programming and who want to develop web applications using Python. Knowledge of how web applications work will be beneficial but is not essential.
Table of Contents
- Your First Step
- Starting to Build Our Project
- Manipulating a Database with SQLAlchemy
- Authentication and Security with JWT
- Object Serialization with marshmallow
- Email Confirmation
- Working with Images
- Pagination, Searching, and Ordering
- Building More Features
- Deployment
"Synopsis" may belong to another edition of this title.
About the Author
Jack Chan started programming at the age of 10. He was an active participant in worldwide programming contests at university. Since graduation, he has been working in the finance and IT industries for more than 10 years, building systems that analyze millions of transactions and positions to spot suspicious activity. He has leveraged the powerful analytical Python libraries to perform data analysis and performance optimization for a trading system that works at a microsecond level. He has an in-depth knowledge of the modern software development life cycle, which uses automated testing, continuous integration, and agile methodologies. Among all programming languages, he found Python to be the most expressive and powerful. He has created courses and taught students all over the world, using Python as the teaching language. Inspiring aspiring developers to take on the software engineering career path has always been Jack's goal.
Ray Chung is a developer and an instructor. He loves helping students learn to code and master software development. He is now self-employed and develops web applications, network applications, and chatbots using Python. The first program he sold was a network application that helps clients configuring, maintaining, and testing thousands of multi-vendor network devices. He's experienced with big projects like a marathon's online registration system, rental car management system, and so on. He has worked extensively with Google App Engine, PostgreSQL, and advanced system architecture design. He has been a self-taught developer for many years and knows what is the most efficient way to learn a new skill.
Jack Huang is a programmer with an experience of more than 7 years in developing web applications in Python, JavaScript, and .NET. He is skilled in web frameworks such as Flask, Django, and Vue. He is also skilled in PostgreSQL, DynamoDB, MongoDB, RabbitMQ, Redis, Elasticsearch, RESTful APIs design, payment processing, system architecture design, database design, and UNIX systems. He has written applications for an accessories shop platform, the ERP system, divination web application, podcast platform, Job search service, blog system, salon reserving system, e-commerce service, and so on. He also has experience in handling large data and improving its performance and optimizing payment processing. He is an expert of web application developers who love coding and constantly following the newest technology.
"About the title" may belong to another edition of this title.
Sunshine State Books
Lithia, FL, U.S.A.
AbeBooks seller since September 4, 2013
Shipping rates within U.S.A.
| Item | 5 to 14 business days | 3 to 5 business days |
|---|---|---|
| First item | £ 4.97 | £ 7.18 |
Payment methods
Store description
We are an internet bookseller doing business only through the internet. If we have made an error in your order, we accept all returns that we receive within 30 days of delivery. For orders that you want to return because you changed your mind, the book is no longer wanted, or you failed to read the description, we do not accept returns. This policy was implemented as the cost of these requests has become prohibitive. We appreciate your business.
Seller's business information
Sunshine State Books
FL, U.S.A.
Terms of sale
We guarantee the condition of every book as it's described on the Abebooks web sites. If you're dissatisfied with your purchase (Incorrect Book/Not as Described/Damaged) or if the order hasn't arrived, you're eligible for a refund within 30 days of the estimated delivery date. If you've changed your mind about a book that you've ordered, please use the Ask bookseller a question link to contact us and we'll respond within 2 business days.
Info required for EU:
Name: Jip Lee DBA Sunshine State Books
Address 10619 Walter Hunter Rd Lithia FL USA 33547
Phone: 813 737 1606
Email: jiplee@aol.com
Right of withdrawal
If you are a consumer you can withdraw from the contract in accordance with the following. Consumer means any natural person who is acting for purposes which are outside his trade, business, craft or profession.
Information regarding the right of withdrawal
Statutory right to withdraw
You have the right to withdraw from this contract within 14 days without giving any reason.
The withdrawal period will expire after 14 days from the day on which you acquire, or a third party other than the carrier and indicated by you acquires, physical possession of the last good or the last lot or piece.
To exercise the right of withdrawal, electronically fill in and submit a clear statement on our website, under "My Purchases" in "My Account". We will communicate to you an acknowledgement of receipt of such a withdrawal on a durable medium (e.g. by e-mail) without delay.
To meet the withdrawal deadline, it is sufficient for you to send your communication concerning your exercise of the right of withdrawal before the withdrawal period has expired.
Effects of withdrawal
If you withdraw from this contract, we will reimburse to you all payments received from you, including the costs of delivery (except for the supplementary costs arising if you chose a type of delivery other than the least expensive type of standard delivery offered by us).
We may make a deduction from the reimbursement for loss in value of any goods supplied, if the loss is the result of unnecessary handling by you.
We will make the reimbursement without undue delay, and not later than 14 days after the day on which we are informed about your decision to withdraw from this contract.
We will make the reimbursement using the same means of payment as you used for the initial transaction, unless you have expressly agreed otherwise; in any event, you will not incur any fees as a result of such reimbursement.
We may withhold reimbursement until we have received the goods back, or you have supplied evidence of having sent back the goods, whichever is the earliest.
You shall send back the goods or hand them over to Sunshine State Books, Lithia, Florida, U.S.A., without undue delay and in any event not later than 14 days from the day on which you communicate your withdrawal from this contract to us. The deadline is met if you send back the goods before the period of 14 days has expired. You will have to bear the direct cost of returning the goods. You are only liable for any diminished value of the goods resulting from the handling other than what is necessary to establish the nature, characteristics and functioning of the goods.
Exceptions to the right of withdrawal
The right of withdrawal does not apply to:
- The delivery of newspapers, journals or magazines with the exception of subscription contracts; and
- The supply of digital content which is not supplied on a tangible medium (e.g. on a CD or DVD) if you accepted when you placed your order that we could start to deliver it, and that you could not withdraw once delivery had started.
Shipping terms
Shipping costs are based on books weighing 2.2 LB, or 1 KG. If your book order is heavy or oversized, we may contact you to let you know extra shipping is required.