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

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.

Om den här boken

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.

Kom igång med den här boken idag för 0 kr

  • Få full tillgång till alla böcker i appen under provperioden
  • Ingen bindningstid, avsluta när du vill
Prova gratis nu
Mer än 52 000 personer har gett Nextory 5 stjärnor i App Store och på Google Play.

Andra läsare gillade också

Hoppa över listan
  1. Learning Penetration Testing with Python : Utilize Python scripting to execute effective and efficient penetration tests

    Christopher Duffy

  2. Python Object-Oriented Programming : Build robust and maintainable object-oriented Python applications and libraries

    Dusty Phillips, Steven F. Lott

  3. Python Architecture Patterns : Master API design, event-driven structures, and package management in Python

    Jaime Buelta

  4. Python for Geeks : Build production-ready applications using advanced Python concepts and industry best practices

    Muhammad Asif

  5. Modern Python Cookbook : 133 recipes to develop flawless and expressive programs in Python 3.8

    Steven F. Lott

  6. Learning Data Mining with Python : Use Python to manipulate data and build predictive models

    Robert Layton

  7. Python Data Analysis : Perform data collection, data processing, wrangling, visualization, and model building using Python

    Ivan Idris, Armando Fandango, Avinash Navlani

  8. The Python Workshop : Write Python code to solve challenging real-world problems

    Mario Corchero Jiménez, Andrew Bird, Dr Lau Cher Han, Corey Wade, Graham Lee

  9. Python for Security and Networking : Leverage Python modules and tools in securing your network and applications

    José Manuel Ortega

  10. Hands-On Web Scraping with Python : Extract quality data from the web using effective Python techniques

    Anish Chapagain

  11. Python Machine Learning, Second Edition : Machine Learning and Deep Learning with Python, scikit-learn, and TensorFlow

    Sebastian Raschka, Vahid Mirjalili

  12. Hands-On RESTful Python Web Services : Develop RESTful web services or APIs with modern Python 3.7

    Gaston C. Hillar