Docker Container wallstreetbets-sentiment-analysis

Overview

Docker Container wallstreetbets-sentiment-analysis

A docker container using restful endpoints exposed on port 5000 "/analyze" to gather sentiment analysis on the wsb subreddit.

Getting Started

These instructions will cover usage information and for the docker container

Prerequisities

In order to run this container you'll need docker installed.

Usage

Container Startup

List the different parameters available to your container

docker run -p 5000:5000 -e CLIENT_ID= -e CLIENT_SECRET= -e USERNAME= -e PASSWORD= restfulleo/wallstreetbets-sentiment-analysis

Environment Variables

  • CLIENT_ID - A client_id from valid reddit account with a developer application setup.
  • CLIENT_SECRET - A client_secret from that developer application setup for the reddit account.
  • USERNAME - The username for the reddit account used above.
  • PASSWORD - The password used for the reddit account.

Useful File Locations

  • /app - source directory

Built With

  • astroid==2.4.2
  • certifi==2020.12.5
  • chardet==4.0.0
  • click==7.1.2
  • colorama==0.4.4
  • cycler==0.10.0
  • Flask==1.1.2
  • idna==2.10
  • isort==5.7.0
  • itsdangerous==1.1.0
  • Jinja2==2.11.2
  • joblib==1.0.0
  • kiwisolver==1.3.1
  • lazy-object-proxy==1.4.3
  • MarkupSafe==1.1.1
  • matplotlib==3.3.3
  • mccabe==0.6.1
  • nltk==3.5
  • numpy==1.19.5
  • pandas==1.2.1
  • Pillow==8.1.0
  • praw==7.1.0
  • prawcore==1.5.0
  • pylint==2.6.0
  • pyparsing==2.4.7
  • python-dateutil==2.8.1
  • pytz==2020.5
  • regex==2020.11.13
  • requests==2.25.1
  • rope==0.18.0
  • six==1.15.0
  • squarify==0.4.3
  • toml==0.10.2
  • tqdm==4.56.0
  • update-checker==0.18.0
  • urllib3==1.26.2
  • websocket-client==0.57.0
  • Werkzeug==1.0.1
  • wrapt==1.12.1

Find Us

Authors

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

You might also like...
docker-compose工程部署时的辅助脚本

okta-cmd Introduction docker-compose 辅助脚本

Linux, Jenkins, AWS, SRE, Prometheus, Docker, Python, Ansible, Git, Kubernetes, Terraform, OpenStack, SQL, NoSQL, Azure, GCP, DNS, Elastic, Network, Virtualization. DevOps Interview Questions
Linux, Jenkins, AWS, SRE, Prometheus, Docker, Python, Ansible, Git, Kubernetes, Terraform, OpenStack, SQL, NoSQL, Azure, GCP, DNS, Elastic, Network, Virtualization. DevOps Interview Questions

Linux, Jenkins, AWS, SRE, Prometheus, Docker, Python, Ansible, Git, Kubernetes, Terraform, OpenStack, SQL, NoSQL, Azure, GCP, DNS, Elastic, Network, Virtualization. DevOps Interview Questions

🐳 Docker templates for various languages.
🐳 Docker templates for various languages.

Docker Deployment Templates One Stop repository for Docker Compose and Docker Templates for Deployment. Features Python (FastAPI, Flask) Screenshots D

Lima is an alternative to using Docker Desktop on your Mac.
Lima is an alternative to using Docker Desktop on your Mac.

lima-xbar-plugin Table of Contents Description Installation Dependencies Lima is an alternative to using Docker Desktop on your Mac. Description This

Some automation scripts to setup a deployable development database server (with docker).

Postgres-Docker Database Initializer This is a simple automation script that will create a Docker Postgres database with a custom username, password,

A job launching library for docker, EC2, GCP, etc.

doodad A library for packaging dependencies and launching scripts (with a focus on python) on different platforms using Docker. Currently supported pl

A repository containing a short tutorial for Docker (with Python).
A repository containing a short tutorial for Docker (with Python).

Docker Tutorial for IFT 6758 Lab In this repository, we examine the advtanges of virtualization, what Docker is and how we can deploy simple programs

Bitnami Docker Image for Python using snapshots for the system packages repositories

Python Snapshot packaged by Bitnami What is Python Snapshot? Python is a programming language that lets you work quickly and integrate systems more ef

Hatch plugin for Docker containers

hatch-containers CI/CD Package Meta This provides a plugin for Hatch that allows

Comments
  • MIT License is missing

    MIT License is missing

    The actual MIT License is missing. https://github.com/asad70/wallstreetbets-sentiment-analysis/blame/master/README.md#L95

    The license is also missing in https://github.com/asad70/reddit-sentiment-analysis https://github.com/asad70/Insider-Trading

    I found a template here that could be used. https://choosealicense.com/licenses/mit/

    MIT License
    
    Copyright (c) [year] [fullname]
    
    Permission is hereby granted, free of charge, to any person obtaining a copy
    of this software and associated documentation files (the "Software"), to deal
    in the Software without restriction, including without limitation the rights
    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    copies of the Software, and to permit persons to whom the Software is
    furnished to do so, subject to the following conditions:
    
    The above copyright notice and this permission notice shall be included in all
    copies or substantial portions of the Software.
    
    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
    AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
    OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
    SOFTWARE.
    
    opened by wmaiouiru 1
  • a potential update for the blacklist

    a potential update for the blacklist

    Hello, my results are the following ones:

    10 most mentioned picks: 
    GME: 431
    ON: 28
    ARE: 26
    NOK: 23
    BB: 23
    GO: 16
    CAN: 14
    UK: 13
    LOW: 10
    STAY: 8
    
    Sentiment analysis of top 5 picks:
        Bearish Neutral Bullish Total/Compound
    GME   0.084   0.826   0.090          0.011
    ON    0.074   0.830   0.096          0.235
    ARE   0.101   0.797   0.102          0.058
    NOK   0.125   0.763   0.112         -0.064
    BB    0.091   0.831   0.077         -0.042
    

    I guess ON, ARE, and others in the top 10 must be on the blacklist.

    PS: Very nice repo ! Hope I can catch a train with it next time !

    opened by balibou 1
  • Docker Addition

    Docker Addition

    Hello,

    I've gone ahead and created a docker file, api script file, and modified the wsb script to include functions and a WSB class to access the results from the script. The api script exposes an endpoint /analyze on localhost:5000 to call the Wallstreetbets.py script and return the results printed to console as a json object. Please review this and let me know if there are issues with these changes.

    opened by RestfulLeo23 1
Owner
null
Push Container Image To Docker Registry In Python

push-container-image-to-docker-registry 概要 push-container-image-to-docker-registry は、エッジコンピューティング環境において、特定のエッジ端末上の Private Docker Registry に特定のコンテナイメー

Latona, Inc. 3 Nov 4, 2021
Build Netbox as a Docker container

netbox-docker The Github repository houses the components needed to build Netbox as a Docker container. Images are built using this code and are relea

Farshad Nick 1 Dec 18, 2021
This Docker container is build to run on a server an provide an easy to use interface for every student to vote for their councilors

This Docker container is build to run on a server and provide an easy to use interface for every student to vote for their councilors.

Robin Adelwarth 7 Nov 23, 2022
Build and Push docker image in Python (luigi + docker-py)

Docker build images workflow in Python Since docker hub stopped building images for free accounts, I've been looking for another way to do it. I could

Fabien D. 2 Dec 15, 2022
Python IMDB Docker - A docker tutorial to containerize a python script.

Python_IMDB_Docker A docker tutorial to containerize a python script. Build the docker in the current directory: docker build -t python-imdb . Run the

Sarthak Babbar 1 Dec 30, 2021
Get Response Of Container Deployment Kube with python

get-response-of-container-deployment-kube 概要 get-response-of-container-deployment-kube は、例えばエッジコンピューティング環境のコンテナデプロイメントシステムにおいて、デプロイ元の端末がデプロイ先のコンテナデプロイ

Latona, Inc. 3 Nov 5, 2021
Hw-ci - Hardware CD/CI and Development Container

Hardware CI & Dev Containter These containers were created for my personal hardware development projects and courses duing my undergraduate degree. Pl

Matthew Dwyer 6 Dec 25, 2022
Visual disk-usage analyser for docker images

whaler What? A command-line tool for visually investigating the disk usage of docker images Why? Large images are slow to move and expensive to store.

Treebeard Technologies 194 Sep 1, 2022
A Python library for the Docker Engine API

Docker SDK for Python A Python library for the Docker Engine API. It lets you do anything the docker command does, but from within Python apps – run c

Docker 6.1k Dec 31, 2022
Hackergame nc 类题目的 Docker 容器资源限制、动态 flag、网页终端

Hackergame nc 类题目的 Docker 容器资源限制、动态 flag、网页终端 快速入门 配置证书 证书用于验证用户 Token。请确保这里的证书文件(cert.pem)与 Hackergame 平台 配置的证书相同,这样 Hackergame 平台为每个用户生成的 Token 才可以通

USTC Hackergame 68 Nov 9, 2022