-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsettings.py
25 lines (22 loc) · 1.07 KB
/
settings.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
import os
from local_settings import server_type,SECRET_KEY,sms_key,sms_sid,whatsapp_api_url,whatsapp_api_password,auth_code, redis_host, bot_number,namespace,whatsapp_temp_1,gmap_key,raven_key,raven_sms_url
import numpy as np
default_r=0.5
#Approximation
lat_deg_to_km = 95.0
lon_deg_to_km = 110.0
buffer_radius = 1/np.sqrt(95*95+110*110)
# If modifying these scopes, delete the file token.pickle.
SCOPES = ['https://www.googleapis.com/auth/spreadsheets']
# SECRET_KEY = os.getenv('SECRET_KEY')
sms_url = "https://api.msg91.com/api/v2/sendsms"
sms_url_v2 = "https://api.msg91.com/api/v5/flow/"
otp_url = "https://api.msg91.com/api/v5/otp"
EARTH_RADIUS = 6378000
neighbourhood_radius = 1
# moderator_list=[9582148040,7338560646,9899284156,8448556638]
error_mailing_list=['jain.siddarth94@gmail.com','chiragb1994@gmail.com','satishck1992@gmail.com']
org_request_list =['shahraamisha@gmail.com','jain.siddarth94@gmail.com','manaspoddar220@gmail.com']
search_radius=5
redis_host = os.getenv("REDISHOST") if os.getenv("REDISHOST") else redis_host
stale_whatsapp_message_threshold = 300 #seconds