Ninad077 commited on
Commit
ea7b72f
·
verified ·
1 Parent(s): d4c5286

Upload ap.py

Browse files
Files changed (1) hide show
  1. ap.py +45 -45
ap.py CHANGED
@@ -20,23 +20,23 @@ def get_base64_image(image_path):
20
  # Define your Slack email addresses and webhook URLs
21
  Slack_email_addresses = {
22
  'Rahul Mandowara': '[email protected]',
23
- 'Abhimanyu Malik':'[email protected]',
24
- 'Viky Sangoi': '[email protected]',
25
- 'Ninad Mandavkar': '[email protected]',
26
  'Priyanshi Nahata': '[email protected]',
27
- 'Kiran Jadhav': '[email protected]',
28
  'Bhavin Parmar': '[email protected]',
29
- 'Rasika Jadhav': '[email protected]',
30
  'Roshani Mohan': '[email protected]',
31
- 'Omkar Pawar': '[email protected]',
32
  'Abhilash Sawant': '[email protected]',
33
  'Hemant Yadav': '[email protected]',
34
- 'Sandeep Salunkhe': '[email protected]',
35
- 'Siddhesh Mayekar': '[email protected]',
36
- 'Chetan Patole': '[email protected]',
37
  'Shweta Kanungo': '[email protected]',
38
- 'Chandni Chaurasia': '[email protected]',
39
- 'Rasika Salunkhe': '[email protected]',
40
  'Bhushan Khapare': '[email protected]',
41
  'Vaibhavi':'[email protected]',
42
  'daily-alerts-for-unsubscribed-companies': 'daily-alerts-for-unsu-aaaanufptnpzgjtmknapgi45oq@gofynd.slack.com',
@@ -48,22 +48,22 @@ Slack_email_addresses = {
48
  gmail_addresses = {
49
  'Rahul Mandowara': '[email protected]',
50
  'Abhimanyu':'[email protected]',
51
- 'Viky Sangoi': '[email protected]',
52
- 'Ninad Mandavkar': '[email protected]',
53
- 'Omkar Pawar': '[email protected]',
54
  'Priyanshi Nahata': '[email protected]',
55
- 'Kiran Jadhav': '[email protected]',
56
  'Bhavin Parmar': '[email protected]',
57
- 'Rasika Jadhav': '[email protected]',
58
  'Roshani Mohan': '[email protected]',
59
  'Abhilash Sawant': '[email protected]',
60
  'Hemant Yadav': '[email protected]',
61
- 'Sandeeo Salunkhe': '[email protected]',
62
- 'Siddhesh Mayekar': '[email protected]',
63
- 'Chetan Patole': '[email protected]',
64
  'Shweta Kanungo': '[email protected]',
65
- 'Chandni Chaurasia': '[email protected]',
66
- 'Rasika Salunkhe': '[email protected]',
67
  'Bhushan Khapare': '[email protected]',
68
  'Vaibhavi': '[email protected]',
69
  'daily-alerts-for-unsubscribed-companies': 'daily-alerts-for-unsu-aaaanufptnpzgjtmknapgi45oq@gofynd.slack.com',
@@ -74,30 +74,30 @@ gmail_addresses = {
74
  }
75
 
76
  Webhook_urls = {
77
- 'Rahul Mandowara': os.getenv('Slack_Rahul'),
78
- 'Abhimanyu Malik': os.getenv('Slack_Abhimanyu'),
79
- 'Viky Sangoi': os.getenv('VS'),
80
- 'Ninad Mandavkar': os.getenv('SLACK_NINAD'),
81
- 'Priyanshi Nahata': os.getenv('Slack_Priyanshi'),
82
- 'Kiran Jadhav': os.getenv('Slack_Kiran'),
83
- 'Bhavin Parmar': os.getenv('Slack_Bhavin'),
84
- 'Rasika Jadhav': os.getenv('Slack_RJ'),
85
- 'Roshani Mohan': os.getenv('Slack_Roshani'),
86
- 'Omkar Pawar': os.getenv('Slack_omkar'),
87
- 'Abhilash Sawant': os.getenv('Slack_Abhilash'),
88
- 'Hemant Yadav': os.getenv('Slack_Hemant'),
89
- 'Sandeep Salunkhe': os.getenv('Slack_Sandeep'),
90
- 'Siddhesh Mayekar': os.getenv('Slack_Sid'),
91
- 'Chetan Patole': os.getenv('Slack_Chetan'),
92
- 'Shweta Kanungo': os.getenv('Slack_Shweta'),
93
- 'Chandni Chaurasia': os.getenv('Slack_Chandni'),
94
- 'Rasika Salunkhe': os.getenv('Slack_Rasika'),
95
- 'Bhushan Khapare': os.getenv('Slack_Bhushan'),
96
- 'Vaibhavi': os.getenv('Slack_Vaibhavi'),
97
- 'daily-alerts-for-unsubscribed-companies': os.getenv('Slack_daily_alerts'),
98
- 'finance_team_internal': os.getenv('Slack_finance'),
99
- 'valyx-fynd-poc': os.getenv('valyx_poc'),
100
- 'valyx_auto_invoices': os.getenv('slack_valyx_auto')
101
  }
102
 
103
  # Define your email server details
 
20
  # Define your Slack email addresses and webhook URLs
21
  Slack_email_addresses = {
22
  'Rahul Mandowara': '[email protected]',
23
+ 'Abhimanyu':'[email protected]',
24
+ 'VS': '[email protected]',
25
+ 'ninadmandavkar': '[email protected]',
26
  'Priyanshi Nahata': '[email protected]',
27
+ 'kiran jadhav': '[email protected]',
28
  'Bhavin Parmar': '[email protected]',
29
+ 'RJ': '[email protected]',
30
  'Roshani Mohan': '[email protected]',
31
+ 'omkarsp': '[email protected]',
32
  'Abhilash Sawant': '[email protected]',
33
  'Hemant Yadav': '[email protected]',
34
+ 'SandeeP Salunkhe': '[email protected]',
35
+ 'Sid': '[email protected]',
36
+ 'chetanpatole': '[email protected]',
37
  'Shweta Kanungo': '[email protected]',
38
+ 'chandnichaurasia': '[email protected]',
39
+ 'Rasika': '[email protected]',
40
  'Bhushan Khapare': '[email protected]',
41
  'Vaibhavi':'[email protected]',
42
  'daily-alerts-for-unsubscribed-companies': 'daily-alerts-for-unsu-aaaanufptnpzgjtmknapgi45oq@gofynd.slack.com',
 
48
  gmail_addresses = {
49
  'Rahul Mandowara': '[email protected]',
50
  'Abhimanyu':'[email protected]',
51
+ 'VS': '[email protected]',
52
+ 'ninadmandavkar': '[email protected]',
53
+ 'omkarsp': '[email protected]',
54
  'Priyanshi Nahata': '[email protected]',
55
+ 'kiran jadhav': '[email protected]',
56
  'Bhavin Parmar': '[email protected]',
57
+ 'RJ': '[email protected]',
58
  'Roshani Mohan': '[email protected]',
59
  'Abhilash Sawant': '[email protected]',
60
  'Hemant Yadav': '[email protected]',
61
+ 'SandeeP Salunkhe': '[email protected]',
62
+ 'Sid': '[email protected]',
63
+ 'chetanpatole': '[email protected]',
64
  'Shweta Kanungo': '[email protected]',
65
+ 'chandnichaurasia': '[email protected]',
66
+ 'Rasika': '[email protected]',
67
  'Bhushan Khapare': '[email protected]',
68
  'Vaibhavi': '[email protected]',
69
  'daily-alerts-for-unsubscribed-companies': 'daily-alerts-for-unsu-aaaanufptnpzgjtmknapgi45oq@gofynd.slack.com',
 
74
  }
75
 
76
  Webhook_urls = {
77
+ 'Rahul Mandowara': 'https://hooks.slack.com/services/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',
78
+ 'Abhimanyu':'https://hooks.slack.com/services/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',
79
+ 'VS': 'https://hooks.slack.com/services/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',
80
+ 'ninadmandavkar': 'https://hooks.slack.com/services/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',
81
+ 'Priyanshi Nahata': 'https://hooks.slack.com/services/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',
82
+ 'kiran jadhav': 'https://hooks.slack.com/services/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',
83
+ 'Bhavin Parmar': 'https://hooks.slack.com/services/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',
84
+ 'RJ': 'https://hooks.slack.com/services/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',
85
+ 'Roshani Mohan': 'https://hooks.slack.com/services/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',
86
+ 'omkarsp': 'https://hooks.slack.com/services/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',
87
+ 'Abhilash Sawant': 'https://hooks.slack.com/services/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',
88
+ 'Hemant Yadav': 'https://hooks.slack.com/services/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',
89
+ 'SandeeP Salunkhe': 'https://hooks.slack.com/services/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',
90
+ 'Sid': 'https://hooks.slack.com/services/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',
91
+ 'chetanpatole': 'https://hooks.slack.com/services/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',
92
+ 'Shweta Kanungo': 'https://hooks.slack.com/services/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',
93
+ 'chandnichaurasia': 'https://hooks.slack.com/services/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',
94
+ 'Rasika': 'https://hooks.slack.com/services/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',
95
+ 'Bhushan Khapare': 'https://hooks.slack.com/services/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',
96
+ 'Vaibhavi': 'https://hooks.slack.com/services/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',
97
+ 'daily-alerts-for-unsubscribed-companies': 'https://hooks.slack.com/services/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',
98
+ 'finance_team_internal': 'https://hooks.slack.com/services/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',
99
+ 'valyx-fynd-poc': 'https://hooks.slack.com/services/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',
100
+ 'valyx_auto_invoices': 'https://hooks.slack.com/services/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'
101
  }
102
 
103
  # Define your email server details