Coder Social home page Coder Social logo

mission-to-mars's Introduction

Mission-to-Mars

Overview

This project used BeautifulSoup and Splinter in python to scrape full-resolution images of Mars’s hemispheres and the titles of those images. The Mars Facts were summarized using pd.read_html. The scraped data were stored on a Mongo database, and a web application in python (Flask) was used to display the data, and alter the design of the web app using Bootstrap 3 to accommodate these images.

Softwares:

Pandas, BeautifulSoup, Splinter, ChromeDriverManager, Flask, PyMongo, MongoDB, HTML5, Bootstrap 3

Results:

The image URLs and titles of Mars's hemispheres were add a dictionary.

This is an image

Code was added to a scraping.py file. Mongo database was updated and index.html file modified so the webpage contains all the information collected, including the full-resolution image and title for each hemisphere image.

changes in style

  1. Changed "Scrape New Data" to "btn-warning" style.
  2. Obtained code for "Mars Facts" table from "pd.to_html". Online resources were consulted for changing the table background and style as hover with yellow highlight.
  3. Mars Hemispheres aligned in one row.

This is an image

mission-to-mars's People

Contributors

swang202 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.