Search Art Gallery with Flask
Python Project to Build a Web App
Sarah holds a Bachelor´s degree in Computer Science and is a full stack web and mobile software developer based in Canada.
Sarah worked several years at Amazon as software development engineer. She also has experience in Academia.
She was teaching assistant at the University of Toronto.
PYTHON PROJECT DESCRIPTION
The goal of this project is to create a Flask app to display art works of the Metropolitan Museum of Art of New York. It is an art search engine. The app will open in the browser with an input box to enter the name of the painting or sculpture and a button to run the application. Once the user enters the search term and press the button, it will display the first result for that term from the Metropolitan Museum. For each search term, the application must display the title, artist and a picture of the art piece.
Additionally you are given some extra ideas to improve the project final outcome.
WHAT YOU WILL LEARN
To make the application work you will need to implement the following:
– Exception handling.
– Different dependencies through pipenv. See here for more information about pipenv.
– API call. That involves using the Requests library, parsing JSON files and defining functions with conditionals and a bit of documentation research.
– HTML templates using the modern Jinja2 templates so that you can display the query results.
– Flask module. You will have to develop a web application using the popular Python library. Flask is a Python web framework used to build web applications.
One of the main features of Flask is its simplicity and ease of use. The framework is designed to be easy to understand and use, making it a great choice for beginners or developers who want to quickly prototype and build small to medium-sized web applications. Flask follows a minimalist approach, providing only the essential tools and components needed to build a web application, without imposing any unnecessary restrictions or conventions.
Flask uses routes and views. Routes are URL patterns that map to specific functions in your application, called views. When a user visits a specific URL, Flask uses the corresponding view function to handle the request and generate a response. This allows developers to easily define the different pages and functionalities of their web application, making it more organized and maintainable.
Another advantage of Flask is its flexibility. As a microframework, it allows developers to choose the tools and components they want to use in their application, rather than being tied to a specific set of technologies or conventions. This means that Flask can be easily integrated with other libraries or frameworks, allowing developers to take advantage of their favorite tools or technologies.
Flask also provides built-in support for unit testing, which is an essential part of any software development process. It includes testing tools and utilities that make it easy for developers to write tests for their applications and ensure that they are working correctly. This helps in improving the quality and reliability of the application, as well as facilitating the process of debugging and identifying any potential issues. See here for more examples and information about Flask.
DIGITAL DOWNLOAD CONTENT
You will receive an email with a ZIP file. It is also available in your personal account of Practity. The ZIP file includes:
a) One PDF: the project instructions and a guidelines section with the challenge broken down in several assignments so you can complete the project step by step.
b) Source Code: three py files with the code including long comments explaining how the code works and links to sites that may help you understand specific topics. The code is clean and readable, written by a senior developer. An excellent way to learn and adopt right habits to create quality software.
c) HTML/CSS templates.
The challenge is aimed at intermediate-advanced level students. Learners must know Python functions, conditionals and data structures like dictionaries.
It is also recommended to be familiar with Object Oriented Programming (classes) and the Flask library. This Python project is designed to help you gain hands-on experience in creating web apps, calling APIs, and managing dependencies with pipenv. You will have the opportunity to practice Python concepts such as conditional statements or dictionaries. Moreover, thanks to the solutions provided, you will enhance your understanding of these key programming techniques.
Not only will you sharpen your Python skills, but you will also learn how to build a web application from scratch using Flask. This framework allows for easy development and deployment of web apps, making it an essential tool for any aspiring Python developer.
If you need additional information, do not hesitate to contact us.
Specification: Web App with Flask. Show Met Museum Paintings
1 review for Web App with Flask. Show Met Museum Paintings
Only logged in customers who have purchased this product may leave a review.