Commit 40e38102 authored by Alexander Lercher's avatar Alexander Lercher

Small changes

parent d94169eb
...@@ -2,22 +2,14 @@ import networkx as nx ...@@ -2,22 +2,14 @@ import networkx as nx
import matplotlib.pyplot as plt import matplotlib.pyplot as plt
from collections import Counter from collections import Counter
import HyperGraph as hg import HyperGraph as hg
import pandas as pd
import json
import warnings import warnings
import csv
import community
import time
import mplleaflet
import values as values
from matplotlib import colors
# pip install networkx # pip install networkx
# pip install matplotlib # pip install matplotlib
# pip install pandas ## pip install pandas
# pip install community ## pip install community
# pip install mplleaflet ## pip install mplleaflet
# pip install values ## pip install values
class SemanticLinking: class SemanticLinking:
......
This diff is collapsed.
import pika import pika
EXCHANGE_NAME = 'rest-gateway' EXCHANGE_NAME = 'inhub'
EXCHANGE_TYPE = 'direct' EXCHANGE_TYPE = 'direct'
ROUTING_KEY = 'rest-gateway' ROUTING_KEY = 'trace-retrieval'
connection = pika.BlockingConnection(pika.ConnectionParameters('143.205.173.36', 30302, heartbeat=600, blocked_connection_timeout=300)) connection = pika.BlockingConnection(pika.ConnectionParameters('143.205.173.36', 30302, heartbeat=60, blocked_connection_timeout=30))
channel = connection.channel() channel = connection.channel()
channel.exchange_declare(exchange=EXCHANGE_NAME, exchange_type=EXCHANGE_TYPE) channel.exchange_declare(exchange=EXCHANGE_NAME, exchange_type=EXCHANGE_TYPE)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment