@@ -0,0 +1,2093 @@
+#!/usr/bin/env bash%0A%0A__author__ = 'BRB2399'%0A%0A#Validate import of all libraries%0A#Yes I know there are better ways to do this, testing for now%0A%0Aimport sys%0Aimport os%0Aimport uuid%0Aimport pika%0Aimport nltk%0Aimport json%0Afrom flask import render_template, Response, request, jsonify, app%0Afrom nltk.sentiment.vader import SentimentIntensityAnalyzer%0Afrom nltk.classify import NaiveBayesClassifier%0Afrom nltk.corpus import subjectivity%0Afrom nltk.sentiment import SentimentAnalyzer%0Afrom nltk.sentiment.util import *%0Afrom nltk.corpus import stopwords%0Afrom nltk import tokenize%0Afrom nltk import bigrams %0Aimport redis%0Aimport string%0Aimport re%0Afrom elasticsearch import Elasticsearch%0Aimport platform%0Aimport os%0Afrom neo4j.v1 import GraphDatabase, basic_auth%0Aimport twython%0A%0Adef main():%0A%0A    nltk.download('stopwords')%0A    nltk.download('vader_lexicon')        %0A        %0A    print(%22%5Cn================================================================================%5Cn%22)%0A    print(%22---------------------------------- Platform Information ------------------------%22)%0A    print('machine: %7B%7D'.format(platform.machine()))%0A    print('node: %7B%7D'.format(platform.node()))    %0A    print('processor: %7B%7D'.format(platform.processor()))    %0A    print('release: %7B%7D'.format(platform.release()))%0A    print('system: %7B%7D'.format(platform.system()))    %0A    print('version: %7B%7D'.format(platform.version()))%0A    print('uname: %7B%7D'.format(platform.uname()))%0A    %0A    #mem = virtual_memory()%0A    #print('memory: %7B%7D'.format(mem.total))  # total physical memory available%0A    %0A    print('python_build: %7B%7D'.format(platform.python_build()))%0A    print('python_compiler: %7B%7D'.format(platform.python_compiler()))%0A    print('python_branch: %7B%7D'.format(platform.python_branch()))%0A    print('python_implementation: %7B%7D'.format(platform.python_implementation()))%0A    %0A    print('python_revision: %7B%7D'.format(platform.python_revision()))%0A    print('python_version: %7B%7D'.format(platform.python_version()))%0A    %0A    print(%22%5Cn================================================================================%5Cn%22)%0A    %0A    %0Aif __name__ == %22__main__%22:%0A    main()    %0A

Create test.py