Listen and read

Step into an infinite world of stories

  • Listen and read as much as you want
  • Over 400 000+ titles
  • Bestsellers in 10+ Indian languages
  • Exclusive titles + Storytel Originals
  • Easy to cancel anytime
Subscribe now
Details page - Device banner - 894x1036
Cover for Python API Development Fundamentals: Develop a full-stack web application with Python and Flask

Python API Development Fundamentals: Develop a full-stack web application with Python and Flask

Language
English
Format
Category

Non-Fiction

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.

© 2019 Packt Publishing (Ebook): 9781838981105

Release date

Ebook: 22 November 2019

Others also enjoyed ...

  1. Defensive Security Handbook: Best Practices for Securing Infrastructure (2nd Edition)
    Defensive Security Handbook: Best Practices for Securing Infrastructure (2nd Edition) Amanda Berlin
  2. Tech For Good: Imagine Solving the World’s Greatest Challenges
    Tech For Good: Imagine Solving the World’s Greatest Challenges Marga Hoek
  3. AI and the Future of the Public Sector: The Creation of Public Sector 4.0
    AI and the Future of the Public Sector: The Creation of Public Sector 4.0 Tony Boobier
  4. Tech Monopoly: (The MIT Press Essential Knowledge series)
    Tech Monopoly: (The MIT Press Essential Knowledge series) Herbert Hovenkamp
  5. View From the Top: An Inside Look at How People in Power See and Shape the World
    View From the Top: An Inside Look at How People in Power See and Shape the World D. Michael Lindsay
  6. Disrupting Digital Business: Create an Authentic Experience in the Peer-to-Peer Economy
    Disrupting Digital Business: Create an Authentic Experience in the Peer-to-Peer Economy R "Ray" Wang
  7. Street Smart: The Primer for Success in the New World
    Street Smart: The Primer for Success in the New World Rock Positano
  8. The Facts of Business Life: What Every Successful Business Owner Knows that You Don?t
    The Facts of Business Life: What Every Successful Business Owner Knows that You Don?t Bill McBean
  9. Startup Opportunities: Know When to Quit Your Day Job, 2nd Edition
    Startup Opportunities: Know When to Quit Your Day Job, 2nd Edition Brad Feld
  10. A Joosr Guide to... Capital in the Twenty-First Century by Thomas Piketty
    A Joosr Guide to... Capital in the Twenty-First Century by Thomas Piketty Joosr
  11. Why Digital Transformations Fail: The Surprising Disciplines of How to Take Off and Stay Ahead
    Why Digital Transformations Fail: The Surprising Disciplines of How to Take Off and Stay Ahead Tony Saldanha
  12. A Joosr Guide to... The Undercover Economist by Tim Harford
    A Joosr Guide to... The Undercover Economist by Tim Harford Joosr
  13. The Pioneer's Way: Leading a Trailblazing Life that Builds Meaning for Your Family, Your Community, and You
    The Pioneer's Way: Leading a Trailblazing Life that Builds Meaning for Your Family, Your Community, and You Jennifer Hayden Epperson
  14. Mastering AI for Healthcare
    Mastering AI for Healthcare Nilashis Roy
  15. The Maverick Effect: The Inside Story of India's IT Revolution
    The Maverick Effect: The Inside Story of India's IT Revolution P. Mathai Abraham
  16. GPS for Success: Skills, Strategies, and Secrets of Superachievers
    GPS for Success: Skills, Strategies, and Secrets of Superachievers Barry A. Franklin
  17. Enterprise in Action: A Guide To Entrepreneurship
    Enterprise in Action: A Guide To Entrepreneurship Peter A. Lawrence
  18. A Joosr Guide to… The Ascent of Money by Niall Ferguson: A Financial History of the World
    A Joosr Guide to… The Ascent of Money by Niall Ferguson: A Financial History of the World Joosr