Cappreccia Swanson's starred repositories
FrontEnd-Code-PlayGround
book exercises https://www.amazon.com/dp/B0D2G6BG3J
h4cker
This repository is primarily maintained by Omar Santos (@santosomar) and includes thousands of resources related to ethical hacking, bug bounties, digital forensics and incident response (DFIR), artificial intelligence security, vulnerability research, exploit development, reverse engineering, and more.
github-fun
Docs for GitHub Fundamentals Bootcamp workshop
actions-cert-prep
GitHub Actions Cert Prep Practice Repo
oreilly_sql_fundamentals_for_data
Resources for O'Reilly "SQL Fundamentals for Data" online training
SwiftUIDesignList
A SwiftUI design library for custom fonts and colors. A Kitchen Sink app demoing custom colors and fonts applied from the SwiftUI design library.
python-cheatsheet
All-inclusive Python cheatsheet
WWCodePython_BeginnerSeries
WWCode Python - Beginner Python Study Group Series
WWCodePython_BeginnerSeries
WWCode Python - Beginner Python Study Group Series
css-reference
CSS Reference: a free visual guide to the most popular CSS properties
free-classes
Files for our free classes
PayBack-App
A mobile-based app that allows users to manage lending and borrowing money with friends and family. Built with Express, PostgreSQL, and React. Awarded "Most Creative App" at the GDI 2022 Hackathon.
BORROW-APP
GDI Hackathon Team Participant November 2022
teams-toolkit
Developer tools for building Teams apps
javascript-algorithms
📝 Algorithms and data structures implemented in JavaScript with explanations and links to further readings
winget-pkgs
The Microsoft community Windows Package Manager manifest repository
cpp-cheatsheet
Modern C++ Cheatsheet
simple-flask-server-example
A very simple Python Flask server (classroom example)
BORROW-APP
GDI Hackathon Award Winner Application, that tracks borrowed and lent money in an intuitive manner.
introduction-to-github
Get started using GitHub in less than an hour.
web_scraping_challenge
## Step 1 - Scraping Complete your initial scraping using Jupyter Notebook, BeautifulSoup, Pandas, and Requests/Splinter. * Create a Jupyter Notebook file called `mission_to_mars.ipynb` and use this to complete all of your scraping and analysis tasks. The following outlines what you need to scrape. ### NASA Mars News * Scrape the [Mars News Site](https://redplanetscience.com/) and collect the latest News Title and Paragraph Text. Assign the text to variables that you can reference later. ```python # Example: news_title = "NASA's Next Mars Mission to Investigate Interior of Red Planet" news_p = "Preparation of NASA's next spacecraft to Mars, InSight, has ramped up this summer, on course for launch next May from Vandenberg Air Force Base in central California -- the first interplanetary launch in history from America's West Coast." ``` ### JPL Mars Space Images - Featured Image * Visit the url for the Featured Space Image site [here](https://spaceimages-mars.com). * Use splinter to navigate the site and find the image url for the current Featured Mars Image and assign the url string to a variable called `featured_image_url`. * Make sure to find the image url to the full size `.jpg` image. * Make sure to save a complete url string for this image. ```python # Example: featured_image_url = 'https://spaceimages-mars.com/image/featured/mars2.jpg' ``` ### Mars Facts * Visit the Mars Facts webpage [here](https://galaxyfacts-mars.com) and use Pandas to scrape the table containing facts about the planet including Diameter, Mass, etc. * Use Pandas to convert the data to a HTML table string. ### Mars Hemispheres * Visit the astrogeology site [here](https://marshemispheres.com/) to obtain high resolution images for each of Mar's hemispheres. * You will need to click each of the links to the hemispheres in order to find the image url to the full resolution image. * Save both the image url string for the full resolution hemisphere image, and the Hemisphere title containing the hemisphere name. Use a Python dictionary to store the data using the keys `img_url` and `title`. * Append the dictionary with the image url string and the hemisphere title to a list. This list will contain one dictionary for each hemisphere. ```python # Example: hemisphere_image_urls = [ {"title": "Valles Marineris Hemisphere", "img_url": "..."}, {"title": "Cerberus Hemisphere", "img_url": "..."}, {"title": "Schiaparelli Hemisphere", "img_url": "..."}, {"title": "Syrtis Major Hemisphere", "img_url": "..."}, ] ``` - - - ## Step 2 - MongoDB and Flask Application Use MongoDB with Flask templating to create a new HTML page that displays all of the information that was scraped from the URLs above. * Start by converting your Jupyter notebook into a Python script called `scrape_mars.py` with a function called `scrape` that will execute all of your scraping code from above and return one Python dictionary containing all of the scraped data. * Next, create a route called `/scrape` that will import your `scrape_mars.py` script and call your `scrape` function. * Store the return value in Mongo as a Python dictionary. * Create a root route `/` that will query your Mongo database and pass the mars data into an HTML template to display the data. * Create a template HTML file called `index.html` that will take the mars data dictionary and display all of the data in the appropriate HTML elements. Use the following as a guide for what the final product should look like, but feel free to create your own design. ![final_app_part1.png](Images/final_app.png) - - - ## Step 3 - Submission To submit your work to BootCampSpot, create a new GitHub repository and upload the following: 1. The Jupyter Notebook containing the scraping code used. 2. Screenshots of your final application. 3. Submit the link to your new repository to BootCampSpot. 4. Ensure your repository has regular commits and a thorough README.md file ## Hints * Use Splinter to navigate the sites when needed and BeautifulSoup to help find and parse out the necessary data. * Use Pymongo for CRUD applications for your database. For this homework, you can simply overwrite the existing document each time the `/scrape` url is visited and new data is obtained. * Use Bootstrap to structure your HTML template.