Code Monkey home page Code Monkey logo

fedwebanalysis's Introduction

fedwebanalysis

A Flask-based website and Python scripts automating web analysis on federal government domains for the Sunlight Foundation's Web Integrity Project. The website is designed to be hosted on an AWS EC2 instance, which calls Python programs to run on another AWS EC2 instance, and stores output onto a Google Drive account. This site structure flows from what capacities AWS provides in its free student account, so fedwedanalysis will work on a AWS Free Tier.

It is recommended reaching the EC2 instances via Putty and FileZilla.

Flask EC2

  • Contains templates folder, with HTML files of the website.
  • Contains static folder, with CSS file of the website.
  • Contains an uploads folder.
  • Contains your access .pem file for the computing instance inside your .ssh folder
  • Contains app.py, helpers.py, client_secrets.json file (from your Google OAuth access), and optionally a settings.yaml file

Computing EC2

  • Contains domain specific scraping Python programs, which obtain all the URLs on a federal domains' sitemap
  • Contains term finding Python program adapted highly from Eric Nost's EDGI controlf.py, which counts the usage of a file of terms over a set of urls
  • Contains term aggregating Python program conceptually adapted from Eric Nost's EDGI termcount.R
  • Contains web_monitoring folder with two files internetarchive.py and utils.py taken from a component of EDGI's Web Monitoring Project
  • Contains bash files for running each Python program
  • Contains your access .pem file for the Flask instance inside your .ssh folder

fedwebanalysis's People

Contributors

gayatri-a-b 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.