sdi/events.py
author Anoop Jacob Thomas<anoop@fossee.in>
Tue, 09 Nov 2010 13:40:41 +0530
branchanoop
changeset 248 73ad1c61bb74
parent 247 6fd2e9275805
permissions -rw-r--r--
Fixed a bug.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
53
b226923fbf64 added send_mail after registration
nishanth
parents:
diff changeset
     1
from django.core.mail import send_mail
b226923fbf64 added send_mail after registration
nishanth
parents:
diff changeset
     2
54
7515c2d1f5c5 fixed a typo error
nishanth
parents: 53
diff changeset
     3
def send_reg_complete_mail(email, first_name, last_name):
53
b226923fbf64 added send_mail after registration
nishanth
parents:
diff changeset
     4
    """ send registration complete email to the registered user.
b226923fbf64 added send_mail after registration
nishanth
parents:
diff changeset
     5
    """
b226923fbf64 added send_mail after registration
nishanth
parents:
diff changeset
     6
118
6c3602582f9f included the send_mail and created the corresponding event in events
nishanth
parents: 73
diff changeset
     7
    subject = "Sage Days 25, India - Registration"
53
b226923fbf64 added send_mail after registration
nishanth
parents:
diff changeset
     8
b226923fbf64 added send_mail after registration
nishanth
parents:
diff changeset
     9
    message = """
55
1091f42e4a41 updated the whitespace
nishanth
parents: 54
diff changeset
    10
Dear %s %s,
53
b226923fbf64 added send_mail after registration
nishanth
parents:
diff changeset
    11
55
1091f42e4a41 updated the whitespace
nishanth
parents: 54
diff changeset
    12
Thank you for registering on Sage Days 25, India. Since we have limited number of seats we will be mailing you the status of your registration shortly.
1091f42e4a41 updated the whitespace
nishanth
parents: 54
diff changeset
    13
Meanwhile you may join the Sage Days mailing list/group at [http://groups.google.com/group/sagedays25].
53
b226923fbf64 added send_mail after registration
nishanth
parents:
diff changeset
    14
55
1091f42e4a41 updated the whitespace
nishanth
parents: 54
diff changeset
    15
Registration Fee:
1091f42e4a41 updated the whitespace
nishanth
parents: 54
diff changeset
    16
There is a registration fee of Rs.200/- and it can be paid on reporting at the conference.
53
b226923fbf64 added send_mail after registration
nishanth
parents:
diff changeset
    17
55
1091f42e4a41 updated the whitespace
nishanth
parents: 54
diff changeset
    18
Accommodation:
1091f42e4a41 updated the whitespace
nishanth
parents: 54
diff changeset
    19
The accommodation for delegates is limited and hence you shall be notified on the status of your accommodation(if required) soon.
53
b226923fbf64 added send_mail after registration
nishanth
parents:
diff changeset
    20
55
1091f42e4a41 updated the whitespace
nishanth
parents: 54
diff changeset
    21
Queries:
1091f42e4a41 updated the whitespace
nishanth
parents: 54
diff changeset
    22
Feel free to contact us at sagedays@fossee.in for any queries.
53
b226923fbf64 added send_mail after registration
nishanth
parents:
diff changeset
    23
73
dab739f4381a updated the registration email content
nishanth
parents: 56
diff changeset
    24
If you did not register for Sage Days 25, please ignore this mail and report the incident to sagedays@fossee.in
dab739f4381a updated the registration email content
nishanth
parents: 56
diff changeset
    25
55
1091f42e4a41 updated the whitespace
nishanth
parents: 54
diff changeset
    26
Thanking you,
53
b226923fbf64 added send_mail after registration
nishanth
parents:
diff changeset
    27
55
1091f42e4a41 updated the whitespace
nishanth
parents: 54
diff changeset
    28
Sage Days India Team,
1091f42e4a41 updated the whitespace
nishanth
parents: 54
diff changeset
    29
FOSSEE, IIT Bombay.
53
b226923fbf64 added send_mail after registration
nishanth
parents:
diff changeset
    30
    """%(first_name.title(), last_name.title())
b226923fbf64 added send_mail after registration
nishanth
parents:
diff changeset
    31
b226923fbf64 added send_mail after registration
nishanth
parents:
diff changeset
    32
    send_mail(subject, message, "sagedays@fossee.in", [email])
b226923fbf64 added send_mail after registration
nishanth
parents:
diff changeset
    33
248
73ad1c61bb74 Fixed a bug.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 247
diff changeset
    34
def send_rwd_email(inc):
73ad1c61bb74 Fixed a bug.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 247
diff changeset
    35
    
73ad1c61bb74 Fixed a bug.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 247
diff changeset
    36
    user = inc.registrant
73ad1c61bb74 Fixed a bug.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 247
diff changeset
    37
    sub = "Sage Days - Reward for participation in sprints"
73ad1c61bb74 Fixed a bug.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 247
diff changeset
    38
73ad1c61bb74 Fixed a bug.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 247
diff changeset
    39
    msg = """
73ad1c61bb74 Fixed a bug.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 247
diff changeset
    40
Dear %s, 
73ad1c61bb74 Fixed a bug.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 247
diff changeset
    41
73ad1c61bb74 Fixed a bug.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 247
diff changeset
    42
Thank you for your enthusiastic participation in Sage days 25. 
73ad1c61bb74 Fixed a bug.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 247
diff changeset
    43
73ad1c61bb74 Fixed a bug.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 247
diff changeset
    44
You have made a significant contribution during sprints and as promised, you have been selected to receive the following in appreciation of your efforts.
73ad1c61bb74 Fixed a bug.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 247
diff changeset
    45
A cash prize of Rs.%s %s
73ad1c61bb74 Fixed a bug.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 247
diff changeset
    46
73ad1c61bb74 Fixed a bug.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 247
diff changeset
    47
We would be sending the money as DD and hence need your name as it is in your account.
73ad1c61bb74 Fixed a bug.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 247
diff changeset
    48
73ad1c61bb74 Fixed a bug.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 247
diff changeset
    49
The details you have entered while registering are as follows.
73ad1c61bb74 Fixed a bug.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 247
diff changeset
    50
73ad1c61bb74 Fixed a bug.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 247
diff changeset
    51
Name: %s
73ad1c61bb74 Fixed a bug.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 247
diff changeset
    52
Address: %s
73ad1c61bb74 Fixed a bug.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 247
diff changeset
    53
73ad1c61bb74 Fixed a bug.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 247
diff changeset
    54
If you would like to change these details, please click this link http://fossee.in/sage_days/registration/cnf_addr/%s?email=%s and update your name and address at the latest by 20:00 IST 7th September, 2010
73ad1c61bb74 Fixed a bug.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 247
diff changeset
    55
73ad1c61bb74 Fixed a bug.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 247
diff changeset
    56
We hope this reward will encourage you to continue your contribution towards Open Source in general and SAGE in particular.
73ad1c61bb74 Fixed a bug.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 247
diff changeset
    57
73ad1c61bb74 Fixed a bug.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 247
diff changeset
    58
Thanking You,
73ad1c61bb74 Fixed a bug.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 247
diff changeset
    59
73ad1c61bb74 Fixed a bug.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 247
diff changeset
    60
Sage Days India Team,
73ad1c61bb74 Fixed a bug.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 247
diff changeset
    61
FOSSEE, IIT Bombay.
73ad1c61bb74 Fixed a bug.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 247
diff changeset
    62
73ad1c61bb74 Fixed a bug.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 247
diff changeset
    63
"""%(user, inc.amount, " and a tshirt" if inc.t_shirt else "", user, user.address, user.id, user.email)
73ad1c61bb74 Fixed a bug.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 247
diff changeset
    64
73ad1c61bb74 Fixed a bug.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 247
diff changeset
    65
    send_mail(sub, msg, "sagedays@fossee.in", [user.email])
73ad1c61bb74 Fixed a bug.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 247
diff changeset
    66
163
b23792dfea3d fixed a typo
nishanhth
parents: 162
diff changeset
    67
def send_wsp_ptc_confirm(user):
162
27dd4494e7b4 created the mail event and added it in view for send_wsp_ptc
nishanhth
parents: 148
diff changeset
    68
    """ send a mail telling a worksho has been scheduled.
27dd4494e7b4 created the mail event and added it in view for send_wsp_ptc
nishanhth
parents: 148
diff changeset
    69
    """
27dd4494e7b4 created the mail event and added it in view for send_wsp_ptc
nishanhth
parents: 148
diff changeset
    70
27dd4494e7b4 created the mail event and added it in view for send_wsp_ptc
nishanhth
parents: 148
diff changeset
    71
    subject = "Sage Days 25, India - Python Workshop"
27dd4494e7b4 created the mail event and added it in view for send_wsp_ptc
nishanhth
parents: 148
diff changeset
    72
193
9b2a63bb8d16 made neccesary changes to cancel python workshop.
anoop
parents: 188
diff changeset
    73
    subject_cancellation = "Sage Days 25, India - Cancellation of Python Workshop"
9b2a63bb8d16 made neccesary changes to cancel python workshop.
anoop
parents: 188
diff changeset
    74
9b2a63bb8d16 made neccesary changes to cancel python workshop.
anoop
parents: 188
diff changeset
    75
    message_cancellation = """
9b2a63bb8d16 made neccesary changes to cancel python workshop.
anoop
parents: 188
diff changeset
    76
Dear %s %s,
9b2a63bb8d16 made neccesary changes to cancel python workshop.
anoop
parents: 188
diff changeset
    77
9b2a63bb8d16 made neccesary changes to cancel python workshop.
anoop
parents: 188
diff changeset
    78
We are sorry to announce that we are cancelling the one day Pre-Sage Days
9b2a63bb8d16 made neccesary changes to cancel python workshop.
anoop
parents: 188
diff changeset
    79
workshop which was scheduled on July 31st.
9b2a63bb8d16 made neccesary changes to cancel python workshop.
anoop
parents: 188
diff changeset
    80
9b2a63bb8d16 made neccesary changes to cancel python workshop.
anoop
parents: 188
diff changeset
    81
It has been cancelled due to low response from the people who requested 
9b2a63bb8d16 made neccesary changes to cancel python workshop.
anoop
parents: 188
diff changeset
    82
for the workshop.
9b2a63bb8d16 made neccesary changes to cancel python workshop.
anoop
parents: 188
diff changeset
    83
9b2a63bb8d16 made neccesary changes to cancel python workshop.
anoop
parents: 188
diff changeset
    84
Thanking you,
9b2a63bb8d16 made neccesary changes to cancel python workshop.
anoop
parents: 188
diff changeset
    85
9b2a63bb8d16 made neccesary changes to cancel python workshop.
anoop
parents: 188
diff changeset
    86
Sage Days India Team,
9b2a63bb8d16 made neccesary changes to cancel python workshop.
anoop
parents: 188
diff changeset
    87
FOSSEE, IIT Bombay.
195
145053464556 fixed a bug in events.py.
anoop
parents: 193
diff changeset
    88
    """%(user.first_name.title(), user.last_name.title())
193
9b2a63bb8d16 made neccesary changes to cancel python workshop.
anoop
parents: 188
diff changeset
    89
162
27dd4494e7b4 created the mail event and added it in view for send_wsp_ptc
nishanhth
parents: 148
diff changeset
    90
    message = """
27dd4494e7b4 created the mail event and added it in view for send_wsp_ptc
nishanhth
parents: 148
diff changeset
    91
Dear %s %s,
27dd4494e7b4 created the mail event and added it in view for send_wsp_ptc
nishanhth
parents: 148
diff changeset
    92
188
a537559a96c9 updated the matter for pre-Sage Days python workshop.
anoop
parents: 187
diff changeset
    93
Till now, only one person has confirmed to attend pre-"Sage Days" Python workshop. If there is very little interest for the workshop, there is no point in conducting a workshop. We will hence be forced to annul the workshop. So please confirm your participation in the workshop by 29th July, 2010 afternoon.
a537559a96c9 updated the matter for pre-Sage Days python workshop.
anoop
parents: 187
diff changeset
    94
165
29e92b23e198 updated email and template
nishanth
parents: 164
diff changeset
    95
We are conducting a one day workshop for people who are new to Python.
170
8d01dc446ef3 updated email matter
nishanth
parents: 165
diff changeset
    96
Although Python is not a pre requisite for Sage Days, this workshop aims at getting people started with Python so that they can make most out of Sage Days 25.
164
a55636fd7dbd updated the email matter
nishanth
parents: 163
diff changeset
    97
a55636fd7dbd updated the email matter
nishanth
parents: 163
diff changeset
    98
Date: 31 July, 2010
a55636fd7dbd updated the email matter
nishanth
parents: 163
diff changeset
    99
Duration: 9:00 AM - 6:00 PM
a55636fd7dbd updated the email matter
nishanth
parents: 163
diff changeset
   100
Venue: CFD Lab, Aero Annex, Aerospace Department, IIT Bombay
a55636fd7dbd updated the email matter
nishanth
parents: 163
diff changeset
   101
Pre Requisites: Fresh and Open mind
a55636fd7dbd updated the email matter
nishanth
parents: 163
diff changeset
   102
a55636fd7dbd updated the email matter
nishanth
parents: 163
diff changeset
   103
We shall be giving laptops to people who do not have. But they will be given on First Come First Serve basis and are very limited in number. Hence you are advised to bring your own laptop. http://fossee.in/installation-how-to has the instructions on installing the software that is used in the workshop.
a55636fd7dbd updated the email matter
nishanth
parents: 163
diff changeset
   104
171
27c108711186 updated the mail to say no lunch and put link for details on workshop
nishanth
parents: 170
diff changeset
   105
NOTE: Participants have to make their own lunch arrangements.
162
27dd4494e7b4 created the mail event and added it in view for send_wsp_ptc
nishanhth
parents: 148
diff changeset
   106
27dd4494e7b4 created the mail event and added it in view for send_wsp_ptc
nishanhth
parents: 148
diff changeset
   107
Please click the link below or paste it in a browser to confirm your participation.
27dd4494e7b4 created the mail event and added it in view for send_wsp_ptc
nishanhth
parents: 148
diff changeset
   108
http://fossee.in/sage_days/registration/cnf_wsp_ptc/%s?email=%s
27dd4494e7b4 created the mail event and added it in view for send_wsp_ptc
nishanhth
parents: 148
diff changeset
   109
27dd4494e7b4 created the mail event and added it in view for send_wsp_ptc
nishanhth
parents: 148
diff changeset
   110
Please ignore this mail if you are not likely to attend the workshop.
27dd4494e7b4 created the mail event and added it in view for send_wsp_ptc
nishanhth
parents: 148
diff changeset
   111
165
29e92b23e198 updated email and template
nishanth
parents: 164
diff changeset
   112
PS: If anyone who has not registered for Sage Days or not requested a workshop but is interested in attending, drop a mail to sagedays@fossee.in and we will be happy to have them also at the workshop.
164
a55636fd7dbd updated the email matter
nishanth
parents: 163
diff changeset
   113
171
27c108711186 updated the mail to say no lunch and put link for details on workshop
nishanth
parents: 170
diff changeset
   114
Visit http://fossee.in/sage_days/pre_sage_days_workshop for more details on the workshop.
27c108711186 updated the mail to say no lunch and put link for details on workshop
nishanth
parents: 170
diff changeset
   115
162
27dd4494e7b4 created the mail event and added it in view for send_wsp_ptc
nishanhth
parents: 148
diff changeset
   116
Thanking you,
27dd4494e7b4 created the mail event and added it in view for send_wsp_ptc
nishanhth
parents: 148
diff changeset
   117
27dd4494e7b4 created the mail event and added it in view for send_wsp_ptc
nishanhth
parents: 148
diff changeset
   118
Sage Days India Team,
27dd4494e7b4 created the mail event and added it in view for send_wsp_ptc
nishanhth
parents: 148
diff changeset
   119
FOSSEE, IIT Bombay.
27dd4494e7b4 created the mail event and added it in view for send_wsp_ptc
nishanhth
parents: 148
diff changeset
   120
    """%(user.first_name.title(), user.last_name.title(), user.id, user.email)
27dd4494e7b4 created the mail event and added it in view for send_wsp_ptc
nishanhth
parents: 148
diff changeset
   121
193
9b2a63bb8d16 made neccesary changes to cancel python workshop.
anoop
parents: 188
diff changeset
   122
    send_mail(subject_cancellation, message_cancellation, "sagedays@fossee.in", [user.email])
162
27dd4494e7b4 created the mail event and added it in view for send_wsp_ptc
nishanhth
parents: 148
diff changeset
   123
27dd4494e7b4 created the mail event and added it in view for send_wsp_ptc
nishanhth
parents: 148
diff changeset
   124
137
02a5304a2c5f fixed a typo and corrected at various places accordingly
nishanth
parents: 119
diff changeset
   125
def send_sgd_ptc_confirm(user):
118
6c3602582f9f included the send_mail and created the corresponding event in events
nishanth
parents: 73
diff changeset
   126
    """ send a mail telling that you have been selected to attend sage days.
6c3602582f9f included the send_mail and created the corresponding event in events
nishanth
parents: 73
diff changeset
   127
    """
6c3602582f9f included the send_mail and created the corresponding event in events
nishanth
parents: 73
diff changeset
   128
6c3602582f9f included the send_mail and created the corresponding event in events
nishanth
parents: 73
diff changeset
   129
    subject = "Sage Days 25, India - Selected for participation"
6c3602582f9f included the send_mail and created the corresponding event in events
nishanth
parents: 73
diff changeset
   130
6c3602582f9f included the send_mail and created the corresponding event in events
nishanth
parents: 73
diff changeset
   131
    message = """
6c3602582f9f included the send_mail and created the corresponding event in events
nishanth
parents: 73
diff changeset
   132
Dear %s %s,
6c3602582f9f included the send_mail and created the corresponding event in events
nishanth
parents: 73
diff changeset
   133
6c3602582f9f included the send_mail and created the corresponding event in events
nishanth
parents: 73
diff changeset
   134
You have been selected to attend Sage Days 25, India.
6c3602582f9f included the send_mail and created the corresponding event in events
nishanth
parents: 73
diff changeset
   135
6c3602582f9f included the send_mail and created the corresponding event in events
nishanth
parents: 73
diff changeset
   136
Please click the link below or paste it in a browser to confirm your participation.
6c3602582f9f included the send_mail and created the corresponding event in events
nishanth
parents: 73
diff changeset
   137
http://fossee.in/sage_days/registration/cnf_sgd_ptc/%s?email=%s
6c3602582f9f included the send_mail and created the corresponding event in events
nishanth
parents: 73
diff changeset
   138
6c3602582f9f included the send_mail and created the corresponding event in events
nishanth
parents: 73
diff changeset
   139
Please ignore this mail if you are not likely to attend Sage Days 25, India.
6c3602582f9f included the send_mail and created the corresponding event in events
nishanth
parents: 73
diff changeset
   140
6c3602582f9f included the send_mail and created the corresponding event in events
nishanth
parents: 73
diff changeset
   141
PS:
211
a098e677b5a0 changed last date for confirmation+added exception.
anoop
parents: 207
diff changeset
   142
Your participation will be confirmed only if you visit the link above at the latest by 5 August, 2010. Mostly you will have to arrange accommodation yourself, since you have registered very late. If you don't hear from us about accommodation, please understand you are not given one.
199
46482d03ef95 changed last date for late registration.
anoop
parents: 196
diff changeset
   143
211
a098e677b5a0 changed last date for confirmation+added exception.
anoop
parents: 207
diff changeset
   144
If by any chance you have not confirmed your participation by 5 August,  2010 and still want to participate, write a mail to sagedays@fossee.in
118
6c3602582f9f included the send_mail and created the corresponding event in events
nishanth
parents: 73
diff changeset
   145
6c3602582f9f included the send_mail and created the corresponding event in events
nishanth
parents: 73
diff changeset
   146
Thanking you,
6c3602582f9f included the send_mail and created the corresponding event in events
nishanth
parents: 73
diff changeset
   147
6c3602582f9f included the send_mail and created the corresponding event in events
nishanth
parents: 73
diff changeset
   148
Sage Days India Team,
6c3602582f9f included the send_mail and created the corresponding event in events
nishanth
parents: 73
diff changeset
   149
FOSSEE, IIT Bombay.
119
eecbb1e59a3a fixed a typo
nishanth
parents: 118
diff changeset
   150
    """%(user.first_name.title(), user.last_name.title(), user.id, user.email)
118
6c3602582f9f included the send_mail and created the corresponding event in events
nishanth
parents: 73
diff changeset
   151
119
eecbb1e59a3a fixed a typo
nishanth
parents: 118
diff changeset
   152
    send_mail(subject, message, "sagedays@fossee.in", [user.email])
118
6c3602582f9f included the send_mail and created the corresponding event in events
nishanth
parents: 73
diff changeset
   153
148
f986e4fee615 created mail that should be shown to enter IIT for sgedays
nishanth
parents: 137
diff changeset
   154
def send_cnf_email(user):
f986e4fee615 created mail that should be shown to enter IIT for sgedays
nishanth
parents: 137
diff changeset
   155
    """ send email so that it can be shown at the gate in IIT
f986e4fee615 created mail that should be shown to enter IIT for sgedays
nishanth
parents: 137
diff changeset
   156
    """
f986e4fee615 created mail that should be shown to enter IIT for sgedays
nishanth
parents: 137
diff changeset
   157
f986e4fee615 created mail that should be shown to enter IIT for sgedays
nishanth
parents: 137
diff changeset
   158
    subject = "Sage Days 25, India - Thankyou for confirming participation"
f986e4fee615 created mail that should be shown to enter IIT for sgedays
nishanth
parents: 137
diff changeset
   159
f986e4fee615 created mail that should be shown to enter IIT for sgedays
nishanth
parents: 137
diff changeset
   160
    message = """
f986e4fee615 created mail that should be shown to enter IIT for sgedays
nishanth
parents: 137
diff changeset
   161
Dear %s %s,
f986e4fee615 created mail that should be shown to enter IIT for sgedays
nishanth
parents: 137
diff changeset
   162
f986e4fee615 created mail that should be shown to enter IIT for sgedays
nishanth
parents: 137
diff changeset
   163
Thank you for confirming your participation in Sage Days 25, India.
f986e4fee615 created mail that should be shown to enter IIT for sgedays
nishanth
parents: 137
diff changeset
   164
f986e4fee615 created mail that should be shown to enter IIT for sgedays
nishanth
parents: 137
diff changeset
   165
Please carry a copy of this email, to be shown at the security outpost to enter IIT Bombay.
f986e4fee615 created mail that should be shown to enter IIT for sgedays
nishanth
parents: 137
diff changeset
   166
f986e4fee615 created mail that should be shown to enter IIT for sgedays
nishanth
parents: 137
diff changeset
   167
PS: Take a pass for your Laptop/Camera while entering into the campus.
f986e4fee615 created mail that should be shown to enter IIT for sgedays
nishanth
parents: 137
diff changeset
   168
f986e4fee615 created mail that should be shown to enter IIT for sgedays
nishanth
parents: 137
diff changeset
   169
Thanking you,
f986e4fee615 created mail that should be shown to enter IIT for sgedays
nishanth
parents: 137
diff changeset
   170
f986e4fee615 created mail that should be shown to enter IIT for sgedays
nishanth
parents: 137
diff changeset
   171
Sage Days India Team,
f986e4fee615 created mail that should be shown to enter IIT for sgedays
nishanth
parents: 137
diff changeset
   172
FOSSEE, IIT Bombay.
f986e4fee615 created mail that should be shown to enter IIT for sgedays
nishanth
parents: 137
diff changeset
   173
    """%(user.first_name.title(), user.last_name.title())
f986e4fee615 created mail that should be shown to enter IIT for sgedays
nishanth
parents: 137
diff changeset
   174
f986e4fee615 created mail that should be shown to enter IIT for sgedays
nishanth
parents: 137
diff changeset
   175
    send_mail(subject, message, "sagedays@fossee.in", [user.email])
f986e4fee615 created mail that should be shown to enter IIT for sgedays
nishanth
parents: 137
diff changeset
   176
212
5c71757e7e0e Edited mail contents and added another function to send wait-listed email.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 211
diff changeset
   177
def send_acco_confirm_mail(user_obj, venue, amount, bedding=False):
178
f87248c912b4 created view for sending acco_confirm
nishanth
parents: 171
diff changeset
   178
    """ take the given message and add it to main message and send the mail.
f87248c912b4 created view for sending acco_confirm
nishanth
parents: 171
diff changeset
   179
    """
148
f986e4fee615 created mail that should be shown to enter IIT for sgedays
nishanth
parents: 137
diff changeset
   180
212
5c71757e7e0e Edited mail contents and added another function to send wait-listed email.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 211
diff changeset
   181
    subject = "[Sage Days 25, India] Accommodation details"
5c71757e7e0e Edited mail contents and added another function to send wait-listed email.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 211
diff changeset
   182
5c71757e7e0e Edited mail contents and added another function to send wait-listed email.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 211
diff changeset
   183
    if bedding:
5c71757e7e0e Edited mail contents and added another function to send wait-listed email.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 211
diff changeset
   184
        bedding_content = 'Also it will be helpful for you to carry some '\
5c71757e7e0e Edited mail contents and added another function to send wait-listed email.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 211
diff changeset
   185
            'kind of light bedding although a single mat is likely to be '\
5c71757e7e0e Edited mail contents and added another function to send wait-listed email.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 211
diff changeset
   186
            'provided. '
5c71757e7e0e Edited mail contents and added another function to send wait-listed email.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 211
diff changeset
   187
    else:
5c71757e7e0e Edited mail contents and added another function to send wait-listed email.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 211
diff changeset
   188
        bedding_content = ''
5c71757e7e0e Edited mail contents and added another function to send wait-listed email.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 211
diff changeset
   189
5c71757e7e0e Edited mail contents and added another function to send wait-listed email.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 211
diff changeset
   190
    main_message = """
5c71757e7e0e Edited mail contents and added another function to send wait-listed email.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 211
diff changeset
   191
Dear %(first_name)s %(last_name)s,
178
f87248c912b4 created view for sending acco_confirm
nishanth
parents: 171
diff changeset
   192
212
5c71757e7e0e Edited mail contents and added another function to send wait-listed email.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 211
diff changeset
   193
  We are pleased to inform that you have been allotted accommodation
5c71757e7e0e Edited mail contents and added another function to send wait-listed email.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 211
diff changeset
   194
during Sage Days 25, as per your request at the time of registration.
5c71757e7e0e Edited mail contents and added another function to send wait-listed email.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 211
diff changeset
   195
Please note that the accommodation availability in IITB is very limited
5c71757e7e0e Edited mail contents and added another function to send wait-listed email.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 211
diff changeset
   196
for residing students and staff themselves and hence we have alloted all
5c71757e7e0e Edited mail contents and added another function to send wait-listed email.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 211
diff changeset
   197
the rooms on twin shared basis for the participants of Sage Days 25. Also
5c71757e7e0e Edited mail contents and added another function to send wait-listed email.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 211
diff changeset
   198
there is a charge involved with the accommodation which is mentioned
5c71757e7e0e Edited mail contents and added another function to send wait-listed email.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 211
diff changeset
   199
below. Kindly oblige. When you arrive at IIT Bombay please feel free to
5c71757e7e0e Edited mail contents and added another function to send wait-listed email.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 211
diff changeset
   200
call Madhusudan.C.S on +91-9987214220 for further details on getting to
5c71757e7e0e Edited mail contents and added another function to send wait-listed email.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 211
diff changeset
   201
the place of accommodation. If Madhusudan is not reachable, as a fall back
5c71757e7e0e Edited mail contents and added another function to send wait-listed email.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 211
diff changeset
   202
please feel free to contact Anoop on +91-8149769093. %(bedding)sPlease
5c71757e7e0e Edited mail contents and added another function to send wait-listed email.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 211
diff changeset
   203
carry your valid Identity card. Also please confirm the requirement of
5c71757e7e0e Edited mail contents and added another function to send wait-listed email.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 211
diff changeset
   204
accommodation as per these conditions by Saturday, Aug 7th, 2010 evening.
5c71757e7e0e Edited mail contents and added another function to send wait-listed email.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 211
diff changeset
   205
If we receive no response from you by 7th evening we will your allot the
5c71757e7e0e Edited mail contents and added another function to send wait-listed email.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 211
diff changeset
   206
accommodation to other participants who are wait-listed now.
178
f87248c912b4 created view for sending acco_confirm
nishanth
parents: 171
diff changeset
   207
212
5c71757e7e0e Edited mail contents and added another function to send wait-listed email.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 211
diff changeset
   208
Your accommodation venue: %(venue)s
5c71757e7e0e Edited mail contents and added another function to send wait-listed email.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 211
diff changeset
   209
Charge: Rs. %(amount)s per day
178
f87248c912b4 created view for sending acco_confirm
nishanth
parents: 171
diff changeset
   210
212
5c71757e7e0e Edited mail contents and added another function to send wait-listed email.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 211
diff changeset
   211
Please note that you need to deposit the money for all the four days at
5c71757e7e0e Edited mail contents and added another function to send wait-listed email.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 211
diff changeset
   212
the time of obtaining the accommodation. If you are leaving early we will
5c71757e7e0e Edited mail contents and added another function to send wait-listed email.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 211
diff changeset
   213
reimburse the remaining amount.
178
f87248c912b4 created view for sending acco_confirm
nishanth
parents: 171
diff changeset
   214
f87248c912b4 created view for sending acco_confirm
nishanth
parents: 171
diff changeset
   215
Thanking you,
f87248c912b4 created view for sending acco_confirm
nishanth
parents: 171
diff changeset
   216
f87248c912b4 created view for sending acco_confirm
nishanth
parents: 171
diff changeset
   217
Sage Days India Team,
212
5c71757e7e0e Edited mail contents and added another function to send wait-listed email.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 211
diff changeset
   218
FOSSEE, IIT Bombay.""" % {
5c71757e7e0e Edited mail contents and added another function to send wait-listed email.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 211
diff changeset
   219
           'first_name': user_obj.first_name.title(),
5c71757e7e0e Edited mail contents and added another function to send wait-listed email.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 211
diff changeset
   220
           'last_name': user_obj.last_name.title(),
5c71757e7e0e Edited mail contents and added another function to send wait-listed email.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 211
diff changeset
   221
           'venue': venue,
5c71757e7e0e Edited mail contents and added another function to send wait-listed email.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 211
diff changeset
   222
           'amount': amount,
5c71757e7e0e Edited mail contents and added another function to send wait-listed email.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 211
diff changeset
   223
           'bedding': bedding_content,
5c71757e7e0e Edited mail contents and added another function to send wait-listed email.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 211
diff changeset
   224
           }
5c71757e7e0e Edited mail contents and added another function to send wait-listed email.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 211
diff changeset
   225
5c71757e7e0e Edited mail contents and added another function to send wait-listed email.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 211
diff changeset
   226
    send_mail(subject, main_message, "sagedays@fossee.in", [user_obj.email])
5c71757e7e0e Edited mail contents and added another function to send wait-listed email.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 211
diff changeset
   227
5c71757e7e0e Edited mail contents and added another function to send wait-listed email.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 211
diff changeset
   228
def send_acco_reject_mail(user_obj):
5c71757e7e0e Edited mail contents and added another function to send wait-listed email.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 211
diff changeset
   229
    """ Send the accommodation reject mail.
5c71757e7e0e Edited mail contents and added another function to send wait-listed email.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 211
diff changeset
   230
    """
5c71757e7e0e Edited mail contents and added another function to send wait-listed email.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 211
diff changeset
   231
5c71757e7e0e Edited mail contents and added another function to send wait-listed email.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 211
diff changeset
   232
    subject = "[Sage Days 25, India] Accommodation details"
5c71757e7e0e Edited mail contents and added another function to send wait-listed email.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 211
diff changeset
   233
5c71757e7e0e Edited mail contents and added another function to send wait-listed email.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 211
diff changeset
   234
    main_message = """
5c71757e7e0e Edited mail contents and added another function to send wait-listed email.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 211
diff changeset
   235
Dear %(first_name)s %(last_name)s,
5c71757e7e0e Edited mail contents and added another function to send wait-listed email.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 211
diff changeset
   236
5c71757e7e0e Edited mail contents and added another function to send wait-listed email.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 211
diff changeset
   237
  We regret to inform you that we haven't been able to allot accommodation
5c71757e7e0e Edited mail contents and added another function to send wait-listed email.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 211
diff changeset
   238
to you because of a lot of demand and the facilities in IIT Bombay is
5c71757e7e0e Edited mail contents and added another function to send wait-listed email.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 211
diff changeset
   239
extremely limited. Although we haven't completely rejected your request.
5c71757e7e0e Edited mail contents and added another function to send wait-listed email.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 211
diff changeset
   240
You have been wait-listed for accommodation and if participants who have
5c71757e7e0e Edited mail contents and added another function to send wait-listed email.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 211
diff changeset
   241
been alloted accommodation don't confirm by 7th August, 2010 evening we
5c71757e7e0e Edited mail contents and added another function to send wait-listed email.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 211
diff changeset
   242
will allot them to the wait-listed participants. Although please note, if
5c71757e7e0e Edited mail contents and added another function to send wait-listed email.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 211
diff changeset
   243
alloted accommodation, there will be charges associated with
5c71757e7e0e Edited mail contents and added another function to send wait-listed email.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 211
diff changeset
   244
accommodation, the details of which will be sent if you have been given
5c71757e7e0e Edited mail contents and added another function to send wait-listed email.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 211
diff changeset
   245
accommodation.
5c71757e7e0e Edited mail contents and added another function to send wait-listed email.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 211
diff changeset
   246
5c71757e7e0e Edited mail contents and added another function to send wait-listed email.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 211
diff changeset
   247
Thanking you,
5c71757e7e0e Edited mail contents and added another function to send wait-listed email.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 211
diff changeset
   248
5c71757e7e0e Edited mail contents and added another function to send wait-listed email.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 211
diff changeset
   249
Sage Days India Team,
5c71757e7e0e Edited mail contents and added another function to send wait-listed email.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 211
diff changeset
   250
FOSSEE, IIT Bombay.""" % {
5c71757e7e0e Edited mail contents and added another function to send wait-listed email.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 211
diff changeset
   251
           'first_name': user_obj.first_name.title(),
5c71757e7e0e Edited mail contents and added another function to send wait-listed email.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 211
diff changeset
   252
           'last_name': user_obj.last_name.title()
5c71757e7e0e Edited mail contents and added another function to send wait-listed email.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 211
diff changeset
   253
           }
148
f986e4fee615 created mail that should be shown to enter IIT for sgedays
nishanth
parents: 137
diff changeset
   254
185
3ab058807ef6 fixed namespace problem
nishanth
parents: 184
diff changeset
   255
    send_mail(subject, main_message, "sagedays@fossee.in", [user_obj.email])
148
f986e4fee615 created mail that should be shown to enter IIT for sgedays
nishanth
parents: 137
diff changeset
   256
56
7dfacad8adee provided an interface for sending out emails
nishanth
parents: 55
diff changeset
   257
def mail_invi(to_emails):
7dfacad8adee provided an interface for sending out emails
nishanth
parents: 55
diff changeset
   258
    """ send the invitation email to given email addresses.
7dfacad8adee provided an interface for sending out emails
nishanth
parents: 55
diff changeset
   259
    """
7dfacad8adee provided an interface for sending out emails
nishanth
parents: 55
diff changeset
   260
7dfacad8adee provided an interface for sending out emails
nishanth
parents: 55
diff changeset
   261
    subject = "Invitation to Sage Days 25, India"
7dfacad8adee provided an interface for sending out emails
nishanth
parents: 55
diff changeset
   262
7dfacad8adee provided an interface for sending out emails
nishanth
parents: 55
diff changeset
   263
    message = """
7dfacad8adee provided an interface for sending out emails
nishanth
parents: 55
diff changeset
   264
Sage Days 25 - An Invitation
7dfacad8adee provided an interface for sending out emails
nishanth
parents: 55
diff changeset
   265
7dfacad8adee provided an interface for sending out emails
nishanth
parents: 55
diff changeset
   266
What is 'Sage Days'?
7dfacad8adee provided an interface for sending out emails
nishanth
parents: 55
diff changeset
   267
Sage Days is a confluence of present and prospective SAGE Users and Developers. It is an opportunity to come together to share ideas,
7dfacad8adee provided an interface for sending out emails
nishanth
parents: 55
diff changeset
   268
brainstorm and hack on Sage.
7dfacad8adee provided an interface for sending out emails
nishanth
parents: 55
diff changeset
   269
7dfacad8adee provided an interface for sending out emails
nishanth
parents: 55
diff changeset
   270
Sage Days 25 is the 25th version of Sage Days, and is being organized in Mumbai, India. In order to cater to an Indian audience and scenario, this version has been tweaked slightly. Sage Days 25 has beginner level tutorials, in addition to the usual talks and sprints, to help new users get started with Sage and help promote the use of Sage in India.
7dfacad8adee provided an interface for sending out emails
nishanth
parents: 55
diff changeset
   271
7dfacad8adee provided an interface for sending out emails
nishanth
parents: 55
diff changeset
   272
What is Sage?
7dfacad8adee provided an interface for sending out emails
nishanth
parents: 55
diff changeset
   273
Sage is a free, open-source mathematics software system licensed under the GPL. It combines the power of numerous existing open-source packages into a common Python-based interface. It's mission is to create a "viable free open source alternative to Magma, Maple, Mathematica and Matlab".
7dfacad8adee provided an interface for sending out emails
nishanth
parents: 55
diff changeset
   274
7dfacad8adee provided an interface for sending out emails
nishanth
parents: 55
diff changeset
   275
Sage has tools for a broad range of mathematical areas like Linear Algebra, Calculus, Symbolic Math,  Plotting, Rings & Groups, Graph Theory, Number Theory and Cryptography. Essentially, "it can do anything from mapping a 12-dimensional object to calculating rainfall patterns under global warming" - as Science Daily puts it . Eager to get started? Start here. [#1]
7dfacad8adee provided an interface for sending out emails
nishanth
parents: 55
diff changeset
   276
7dfacad8adee provided an interface for sending out emails
nishanth
parents: 55
diff changeset
   277
Apart from being feature rich, it's usability is one of it's greatest strengths. Sage Notebook, a web-interface for all the math you'll ever want to do, is really the killer feature! As the Sage Marketing page says, "The SAGE GUI surely works on your computer box, because it just runs in Firefox!".  Try it Now! [#2]
7dfacad8adee provided an interface for sending out emails
nishanth
parents: 55
diff changeset
   278
7dfacad8adee provided an interface for sending out emails
nishanth
parents: 55
diff changeset
   279
Why should you attend?
7dfacad8adee provided an interface for sending out emails
nishanth
parents: 55
diff changeset
   280
Sage Days 25 is being attended by the creator and lead developer of Sage, Prof. William Stein. It will also be attended by other developers of Sage. This would be a great opportunity to meet and interact with them!
7dfacad8adee provided an interface for sending out emails
nishanth
parents: 55
diff changeset
   281
7dfacad8adee provided an interface for sending out emails
nishanth
parents: 55
diff changeset
   282
The conference will be attended by a plethora of enthusiastic people from all over the country who use Sage or are interested in doing so. The conference will also see the presence of many mathematicians interested in software. Who knows, you may run into someone you'd want to collaborate with, for your future work!
7dfacad8adee provided an interface for sending out emails
nishanth
parents: 55
diff changeset
   283
7dfacad8adee provided an interface for sending out emails
nishanth
parents: 55
diff changeset
   284
This event will be a great learning experience, if you are even remotely interested in math and software for it!
7dfacad8adee provided an interface for sending out emails
nishanth
parents: 55
diff changeset
   285
7dfacad8adee provided an interface for sending out emails
nishanth
parents: 55
diff changeset
   286
When and Where?
7dfacad8adee provided an interface for sending out emails
nishanth
parents: 55
diff changeset
   287
Venue: IIT-Bombay, Mumbai, India
7dfacad8adee provided an interface for sending out emails
nishanth
parents: 55
diff changeset
   288
Dates: August 9-12, 2010
7dfacad8adee provided an interface for sending out emails
nishanth
parents: 55
diff changeset
   289
7dfacad8adee provided an interface for sending out emails
nishanth
parents: 55
diff changeset
   290
Tentative Schedule: http://fossee.in/sage_days/schedule/
7dfacad8adee provided an interface for sending out emails
nishanth
parents: 55
diff changeset
   291
Register Here: http://fossee.in/sage_days/registration/register/
7dfacad8adee provided an interface for sending out emails
nishanth
parents: 55
diff changeset
   292
7dfacad8adee provided an interface for sending out emails
nishanth
parents: 55
diff changeset
   293
[#1] http://www.sagemath.org/tour.html
7dfacad8adee provided an interface for sending out emails
nishanth
parents: 55
diff changeset
   294
[#2] http://www.sagenb.org/
7dfacad8adee provided an interface for sending out emails
nishanth
parents: 55
diff changeset
   295
7dfacad8adee provided an interface for sending out emails
nishanth
parents: 55
diff changeset
   296
--
7dfacad8adee provided an interface for sending out emails
nishanth
parents: 55
diff changeset
   297
Sage Days India Team,
7dfacad8adee provided an interface for sending out emails
nishanth
parents: 55
diff changeset
   298
FOSSEE, IIT Bombay.
7dfacad8adee provided an interface for sending out emails
nishanth
parents: 55
diff changeset
   299
7dfacad8adee provided an interface for sending out emails
nishanth
parents: 55
diff changeset
   300
"""
7dfacad8adee provided an interface for sending out emails
nishanth
parents: 55
diff changeset
   301
7dfacad8adee provided an interface for sending out emails
nishanth
parents: 55
diff changeset
   302
    for emails in to_emails:
7dfacad8adee provided an interface for sending out emails
nishanth
parents: 55
diff changeset
   303
        send_mail(subject, message, "sagedays@fossee.in", emails)
7dfacad8adee provided an interface for sending out emails
nishanth
parents: 55
diff changeset
   304
246
3a32df4b3171 added custom invitation mail page.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 212
diff changeset
   305
3a32df4b3171 added custom invitation mail page.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 212
diff changeset
   306
def mail_cust_invi(to_emails):
3a32df4b3171 added custom invitation mail page.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 212
diff changeset
   307
    """ send the custom invitation email to given email addresses.
3a32df4b3171 added custom invitation mail page.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 212
diff changeset
   308
    """
3a32df4b3171 added custom invitation mail page.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 212
diff changeset
   309
3a32df4b3171 added custom invitation mail page.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 212
diff changeset
   310
    subject = "SciPy 2010 Call for Papers & Participation"
3a32df4b3171 added custom invitation mail page.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 212
diff changeset
   311
3a32df4b3171 added custom invitation mail page.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 212
diff changeset
   312
    message = """
3a32df4b3171 added custom invitation mail page.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 212
diff changeset
   313
==========================================
3a32df4b3171 added custom invitation mail page.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 212
diff changeset
   314
SciPy 2010 Call for Papers & Participation
3a32df4b3171 added custom invitation mail page.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 212
diff changeset
   315
==========================================
3a32df4b3171 added custom invitation mail page.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 212
diff changeset
   316
247
6fd2e9275805 changed custom invitation content.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 246
diff changeset
   317
The second SciPy India Conference (scipy.in) will be held from December 13th to 18th, 2010 at IIIT-Hyderabad (http://www.iiit.ac.in/).
6fd2e9275805 changed custom invitation content.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 246
diff changeset
   318
6fd2e9275805 changed custom invitation content.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 246
diff changeset
   319
Scipy.in is a conference providing opportunities to spread the use of the Python programming language in the Scientific Computing community in India. It provides a unique opportunity to interact with the "Who's who" of the Python for Scientific Computing fraternity and learn, understand, participate and contribute what is happening in the realms of Scientific Computing using Python. Attendees of the conference and participants of the sprints planned will be able to access and review the tools available, apart from learning domain-specific applications and how the tools apply to a plethora of application problems.
6fd2e9275805 changed custom invitation content.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 246
diff changeset
   320
6fd2e9275805 changed custom invitation content.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 246
diff changeset
   321
One of the goals of the conference is to combine education, engineering and science with computing through the medium of Python and thereby extrapolate on how powerful Scientific Computing is in various fields and among different communities.
246
3a32df4b3171 added custom invitation mail page.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 212
diff changeset
   322
247
6fd2e9275805 changed custom invitation content.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 246
diff changeset
   323
At this conference, novel applications and breakthroughs made in the pursuit of science using Python are presented.  Attended by leading figures from both academia and industry, it is an excellent opportunity to experience the cutting edge of scientific software development.
246
3a32df4b3171 added custom invitation mail page.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 212
diff changeset
   324
247
6fd2e9275805 changed custom invitation content.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 246
diff changeset
   325
The conference is followed by three days of tutorials and code sprints, during which community experts provide training on several scientific Python packages.
246
3a32df4b3171 added custom invitation mail page.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 212
diff changeset
   326
247
6fd2e9275805 changed custom invitation content.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 246
diff changeset
   327
We invite you to take part by submitting a talk abstract or register as a participant on the conference website at: http://scipy.in
246
3a32df4b3171 added custom invitation mail page.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 212
diff changeset
   328
3a32df4b3171 added custom invitation mail page.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 212
diff changeset
   329
Talk/Paper Submission
3a32df4b3171 added custom invitation mail page.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 212
diff changeset
   330
=====================
3a32df4b3171 added custom invitation mail page.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 212
diff changeset
   331
247
6fd2e9275805 changed custom invitation content.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 246
diff changeset
   332
We solicit talks and accompanying papers (either formal academic or magazine-style articles) that discuss topics regarding scientific computing using Python, including applications, teaching, development and research.  Papers are included in the peer-reviewed conference proceedings, published online.
246
3a32df4b3171 added custom invitation mail page.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 212
diff changeset
   333
247
6fd2e9275805 changed custom invitation content.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 246
diff changeset
   334
Please note that submissions primarily aimed at the promotion of a commercial product or service will not be considered.
246
3a32df4b3171 added custom invitation mail page.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 212
diff changeset
   335
3a32df4b3171 added custom invitation mail page.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 212
diff changeset
   336
Important Dates
3a32df4b3171 added custom invitation mail page.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 212
diff changeset
   337
===============
3a32df4b3171 added custom invitation mail page.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 212
diff changeset
   338
3a32df4b3171 added custom invitation mail page.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 212
diff changeset
   339
Wednesday, Nov. 10: Abstracts Due
3a32df4b3171 added custom invitation mail page.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 212
diff changeset
   340
Monday, Nov. 15: Schedule announced
3a32df4b3171 added custom invitation mail page.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 212
diff changeset
   341
Sunday, Dec. 05: Proceedings paper submission due
3a32df4b3171 added custom invitation mail page.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 212
diff changeset
   342
Monday-Tuesday, Dec. 13-14: Conference
3a32df4b3171 added custom invitation mail page.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 212
diff changeset
   343
Wednesday-Friday, Dec. 15-17: Tutorials/Sprints
3a32df4b3171 added custom invitation mail page.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 212
diff changeset
   344
Saturday, Dec. 18: Sprints
3a32df4b3171 added custom invitation mail page.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 212
diff changeset
   345
247
6fd2e9275805 changed custom invitation content.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 246
diff changeset
   346
The invited speakers
6fd2e9275805 changed custom invitation content.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 246
diff changeset
   347
==================
6fd2e9275805 changed custom invitation content.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 246
diff changeset
   348
6fd2e9275805 changed custom invitation content.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 246
diff changeset
   349
* Fernando Perez -- PhD from University of Colorado.  Currently at the Helen Wills Neuroscience Institute at the University of California, Berkeley.  Original author and leader of the IPython project for interactive computing (http://ipython.scipy.org), and member of the Python Software Foundation.
6fd2e9275805 changed custom invitation content.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 246
diff changeset
   350
6fd2e9275805 changed custom invitation content.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 246
diff changeset
   351
* John Hunter -- Ph.D. from University of Chicago.  Currently at Tradelink, Inc. Chicago.  Original author and lead developer of the scientific visualization package matplotlib.
6fd2e9275805 changed custom invitation content.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 246
diff changeset
   352
6fd2e9275805 changed custom invitation content.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 246
diff changeset
   353
* Perry Greenfield -- PhD, MIT. Currently at Space Telescope Science Institute, Maryland, USA.  Has pioneered the use of Python in astronomy. He and his group have developed PyRAF, numarray (the precursor to current numpy capabilities), PyFITS and involved with the development of matplotlib.
6fd2e9275805 changed custom invitation content.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 246
diff changeset
   354
6fd2e9275805 changed custom invitation content.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 246
diff changeset
   355
* Prabhu Ramachandran -- PhD, IIT Madras.  Currently a faculty member at IIT Bombay.  He is the co-founder of the Indian Linux User Group - Chennai (ILUGC) and is the creator and lead developer of the (FOSS-India-award-winning) Mayavi and TVTK Python packages (http://code.enthought.com/projects/mayavi). Currently heads the FOSSEE (http://fossee.in) project.
6fd2e9275805 changed custom invitation content.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 246
diff changeset
   356
248
73ad1c61bb74 Fixed a bug.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 247
diff changeset
   357
* Stefan van der Walt -- PhD, Stellenbosch University, SA. Currently a researcher and lecturer in Applied Mathematics at Stellenbosch University.  One of the developers of the NumPy and SciPy packages.
247
6fd2e9275805 changed custom invitation content.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 246
diff changeset
   358
6fd2e9275805 changed custom invitation content.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 246
diff changeset
   359
* Jarrod Millman -- Member of the SciPy steering committee and an active contributor to both the NumPy and SciPy projects. He is the acting managing director and the director of computing for UC Berkeley's Neuroscience Institute, where he helped found the Neuroimaging in Python (NiPy) project.
6fd2e9275805 changed custom invitation content.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 246
diff changeset
   360
6fd2e9275805 changed custom invitation content.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 246
diff changeset
   361
6fd2e9275805 changed custom invitation content.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 246
diff changeset
   362
* Satrajit Ghosh -- PhD Boston University.  Currently a faculty member of the Speech and Hearing Biosciences and Technology program, Harvard-MIT. He is managing the development of the NiPy project (http://nipy.org/nipype/).
6fd2e9275805 changed custom invitation content.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 246
diff changeset
   363
6fd2e9275805 changed custom invitation content.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 246
diff changeset
   364
* Asokan Pichai -- Head - Software Engineering at TalentSprint. Consultant/Project manager for the Python group of the FOSSEE project. He has immense experience in the field of training and instructional design.
6fd2e9275805 changed custom invitation content.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 246
diff changeset
   365
246
3a32df4b3171 added custom invitation mail page.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 212
diff changeset
   366
Organizers
3a32df4b3171 added custom invitation mail page.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 212
diff changeset
   367
==========
3a32df4b3171 added custom invitation mail page.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 212
diff changeset
   368
3a32df4b3171 added custom invitation mail page.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 212
diff changeset
   369
* Jarrod Millman, Neuroscience Institute, UC Berkeley, USA (Conference Co-Chair)
247
6fd2e9275805 changed custom invitation content.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 246
diff changeset
   370
* Prabhu Ramachandran, Department of Aerospace Engineering, IIT Bombay, India (Conference Co-Chair)
246
3a32df4b3171 added custom invitation mail page.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 212
diff changeset
   371
* FOSSEE Team
247
6fd2e9275805 changed custom invitation content.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 246
diff changeset
   372
* EnhanceEdu Team
6fd2e9275805 changed custom invitation content.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 246
diff changeset
   373
6fd2e9275805 changed custom invitation content.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 246
diff changeset
   374
About Python
6fd2e9275805 changed custom invitation content.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 246
diff changeset
   375
============
6fd2e9275805 changed custom invitation content.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 246
diff changeset
   376
6fd2e9275805 changed custom invitation content.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 246
diff changeset
   377
Python is an interpreted, interactive, object-oriented, open source, extensible programming language. It combines clarity and readability, making it an extremely powerful language that can be used for various applications and problems.
6fd2e9275805 changed custom invitation content.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 246
diff changeset
   378
6fd2e9275805 changed custom invitation content.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 246
diff changeset
   379
Python is simple and easy to learn and apply. It offers an interactive environment in which to explore procedural, functional and object oriented approaches to problem solving. Its high level data structures, extensive documentation and clear syntax make it an ideal first language, while the large number of existing libraries make it suitable to tackle almost any programming tasks. Its simplicity makes it easy to adapt to multiple educational domains.
6fd2e9275805 changed custom invitation content.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 246
diff changeset
   380
6fd2e9275805 changed custom invitation content.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 246
diff changeset
   381
Python has several libraries that enable numeric and symbolic computing. It also interfaces well with native codes in C,C++ and FORTRAN and has excellent libraries for plotting/visualization. Python also provides libraries for general purpose computing including generating user interfaces and web development. These, coupled with it's interactive interpreter, make Python an excellent language for Scientific Computing.
6fd2e9275805 changed custom invitation content.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 246
diff changeset
   382
6fd2e9275805 changed custom invitation content.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 246
diff changeset
   383
All these features when combined with their wide-ranging applications make Python a perfect fit for use in Education, Industry and Scientific Computing.
6fd2e9275805 changed custom invitation content.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 246
diff changeset
   384
6fd2e9275805 changed custom invitation content.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 246
diff changeset
   385
Registration Fees
6fd2e9275805 changed custom invitation content.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 246
diff changeset
   386
===============
6fd2e9275805 changed custom invitation content.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 246
diff changeset
   387
6fd2e9275805 changed custom invitation content.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 246
diff changeset
   388
Registration, accommodation and food are offered at highly subsidized rates for teachers and students, while registration and food will be offered to all conference participants at subsidized rates. Details about the fees can be found at: http://scipy.in/scipyin/2010/about/fees/
6fd2e9275805 changed custom invitation content.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 246
diff changeset
   389
6fd2e9275805 changed custom invitation content.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 246
diff changeset
   390
Publicity
6fd2e9275805 changed custom invitation content.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 246
diff changeset
   391
========
6fd2e9275805 changed custom invitation content.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 246
diff changeset
   392
6fd2e9275805 changed custom invitation content.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 246
diff changeset
   393
The posters can be downloaded from the website : http://scipy.in/scipyin/2010/publicity/
6fd2e9275805 changed custom invitation content.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 246
diff changeset
   394
6fd2e9275805 changed custom invitation content.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 246
diff changeset
   395
Contact
6fd2e9275805 changed custom invitation content.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 246
diff changeset
   396
=======
6fd2e9275805 changed custom invitation content.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 246
diff changeset
   397
6fd2e9275805 changed custom invitation content.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 246
diff changeset
   398
Feel free to email the organizers at info@scipy.in
246
3a32df4b3171 added custom invitation mail page.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 212
diff changeset
   399
3a32df4b3171 added custom invitation mail page.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 212
diff changeset
   400
--
3a32df4b3171 added custom invitation mail page.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 212
diff changeset
   401
Scipy India Team,
3a32df4b3171 added custom invitation mail page.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 212
diff changeset
   402
FOSSEE, IIT Bombay.
3a32df4b3171 added custom invitation mail page.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 212
diff changeset
   403
3a32df4b3171 added custom invitation mail page.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 212
diff changeset
   404
www.scipy.in
3a32df4b3171 added custom invitation mail page.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 212
diff changeset
   405
"""
3a32df4b3171 added custom invitation mail page.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 212
diff changeset
   406
3a32df4b3171 added custom invitation mail page.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 212
diff changeset
   407
    for emails in to_emails:
3a32df4b3171 added custom invitation mail page.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 212
diff changeset
   408
        send_mail(subject, message, "info@scipy.in", emails)
3a32df4b3171 added custom invitation mail page.
Anoop Jacob Thomas<anoop@fossee.in>
parents: 212
diff changeset
   409