From ssmadhu80 at gmail.com Thu Feb 1 05:24:26 2018 From: ssmadhu80 at gmail.com (Madhusudhanan Sambath) Date: Thu, 1 Feb 2018 15:54:26 +0530 Subject: [Chennaipy] how use sentiwordnet score to classify data using svm Message-ID: hi to all, hope al r fine. i have doubt , how to utilize the score of sentiwordnet,to be an input for any classifier like svm/MLE/Decision tree. any help please Thanks and regards S.Madhusudhanan, -------------- next part -------------- An HTML attachment was scrubbed... URL: From 77minds at gmail.com Sun Feb 4 11:45:24 2018 From: 77minds at gmail.com (Karthikeyan A K) Date: Sun, 4 Feb 2018 22:15:24 +0530 Subject: [Chennaipy] [Job] Web designers needed Message-ID: Hello People, One of the websites I am creating needs designers. Please checkout here http://www.nyoboo.com/channels/4/messages/9 -- Karthikeyan A K Author of https://mindaslab.github.io/I-Love-Ruby/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From tshrinivasan at gmail.com Mon Feb 5 01:42:54 2018 From: tshrinivasan at gmail.com (Shrinivasan T) Date: Mon, 5 Feb 2018 12:12:54 +0530 Subject: [Chennaipy] Fwd: [ILUGC] ILUG-C monthly meet - Saturday, 10 February 2018 In-Reply-To: References: Message-ID: ---------- Forwarded message ---------- From: "Shakthi Kannan" Date: Feb 5, 2018 11:11 AM Subject: [ILUGC] ILUG-C monthly meet - Saturday, 10 February 2018 To: Cc: Hi, Indian Linux Users Group, Chennai [ ILUGC ] is spreading awareness on Free/Open Source Software (F/OSS) in Chennai since January 1998. We usually meet on the second Saturday of every month, and for this month we shall meet on Saturday, February 10, 2018 at 1500 IST. Venue: Classroom No 1, Aerospace Engineering, Near Gajendra Circle, IIT Madras. Link for the Map: http://bit.ly/iitm-aero You can give a talk or present a demo on F/OSS. Please provide the following details if you are interested: Topic Description Duration About Yourself Entry free. SK -- Shakthi Kannan http://www.shakthimaan.com _____________________________________ ILUGC List: http://www.freelists.org/list/ilugc ILUGC Web: http://ilugc.in/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From tshrinivasan at gmail.com Wed Feb 7 01:51:19 2018 From: tshrinivasan at gmail.com (Shrinivasan T) Date: Wed, 7 Feb 2018 12:21:19 +0530 Subject: [Chennaipy] Fwd: [Commercial] An Affordable Laptop from IIT Bombay In-Reply-To: References: Message-ID: Last week Saturday, met Mr. Mohamed Kasim, from IIT Bombay. He demonstrated me a tiny, lightweight, cute laptop. It is a 11.6? laptop, based on an atom quad core processor. It has 4GB RAM, 32 GB NAND flash, an expansion slot through which one can attach an optional 2.5? HDD/SDD, and most importantly, 10 hours of time, thanks to a 10,000 mAh battery. It has two USB ports, a mini HDMI port and a microSD card slot. It also has wifi and bluetooth. This laptop comes with Debian Linux operating system and a lot of useful software, such as LibreOffice, LaTeX, Scilab, OpenModelica, Inkscape, GIMP, Blender, OpenFOAM, eSim, Synfig Studio, and various editors and browsers. The cost is 10,000 INR. I checked for its performance. Opened LibreOffice, Eclipse, Gimp, Blender and explored their basic operations. The performance was smooth. Cant see any lagging or heating. Currently, the laptop is available Institutes and organizations for bulk orders. The service and support support centers are being setup across the country. It is really lightweight. It is price is too low for its performance. You will love to buy immediately if you see it and experience it. The same happened to me. Read here the announcement from Prof. Kannan, IITB https://www.linkedin.com/pulse/affordable-laptop-kannan-moudgalya/ Video ? https://www.youtube.com/watch?v=Ae3EZsK_yuM&feature=youtu.be A brochure on this laptop is available here: https://goo.gl/hKfGfs. If you are interested in buying it for your organization/college/school, contact Mr. Mohamed Kasim on mohamedkasim AT iitb DOT ac DOT in Read here to see few photos - https://goinggnu.wordpress.com/2018/02/06/an-affordable-laptop-from-iit-bombay/ -- Regards, T.Shrinivasan My Life with GNU/Linux : http://goinggnu.wordpress.com Free E-Magazine on Free Open Source Software in Tamil : http://kaniyam.com Get Free Tamil Ebooks for Android, iOS, Kindle, Computer : http://FreeTamilEbooks.com From vijaykumar at bravegnu.org Wed Feb 7 23:37:58 2018 From: vijaykumar at bravegnu.org (Vijay Kumar) Date: Thu, 8 Feb 2018 10:07:58 +0530 Subject: [Chennaipy] Talks for the Next Meet Message-ID: <01cb7a98462b3f51c13d028eb56b8506.squirrel@gator3315.hostgator.com> Hi Everyone, The next meetup is on the 24th (4th Saturday) of this month. If you would like to do a talk (20 min) at the upcoming meetup, please reply with your talk title and talk description. Regards, Vijay From anithagk12 at gmail.com Sat Feb 10 07:55:18 2018 From: anithagk12 at gmail.com (anitha ganesan) Date: Sat, 10 Feb 2018 18:25:18 +0530 Subject: [Chennaipy] Importing data to osm using python Message-ID: Hai to all, I have doubt, how to import a csv data file to osm using python. I am using windows 7 OS, so I can't able to *import osmium *module. any help please Thanks and reagards Anitha Ganesan -------------- next part -------------- An HTML attachment was scrubbed... URL: From rahul.poruri at gmail.com Sat Feb 10 09:32:09 2018 From: rahul.poruri at gmail.com (rahul .poruri) Date: Sat, 10 Feb 2018 20:02:09 +0530 Subject: [Chennaipy] Importing data to osm using python In-Reply-To: References: Message-ID: > I have doubt, how to import a csv data file to osm using python. I am > using windows 7 OS, so I can't able to *import osmium *module. > Can you tell us where you installed the *osmium *module? And given that you're on Windows, what Python did you install? Is it the standard python distribution from python.org or one of the other distributions like anaconda or canopy? -------------- next part -------------- An HTML attachment was scrubbed... URL: From anithagk12 at gmail.com Sat Feb 10 10:11:54 2018 From: anithagk12 at gmail.com (anitha ganesan) Date: Sat, 10 Feb 2018 20:41:54 +0530 Subject: [Chennaipy] Importing data to osm using python In-Reply-To: References: Message-ID: Thank you for your reply, I can't able to install osmium, It shows some error when I try to install. I am using python 2.7.13, it was installed from python.org. This has happened when I try to install. https://pastebin.com/rxz8ykUU Thank you, On Sat, Feb 10, 2018 at 8:02 PM, rahul .poruri wrote: > > I have doubt, how to import a csv data file to osm using python. I am >> using windows 7 OS, so I can't able to *import osmium *module. >> > > Can you tell us where you installed the *osmium *module? And given that > you're on Windows, what Python did you install? Is it the standard python > distribution from python.org or one of the other distributions like > anaconda or canopy? > > _______________________________________________ > Chennaipy mailing list > Chennaipy at python.org > https://mail.python.org/mailman/listinfo/chennaipy > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From saravana4285 at gmail.com Sat Feb 10 22:37:31 2018 From: saravana4285 at gmail.com (Saravanan Muthu) Date: Sat, 10 Feb 2018 19:37:31 -0800 Subject: [Chennaipy] Finding duplicates of row in csv In-Reply-To: References: Message-ID: Hello All, I have a csv with multiple column , and I need to figure out the duplicates entry ,I have imported csv and assigned the row to dictionary ,please share a logic to find the duplicates , sample data is below , Name age employer Kumar 28 133678 Kumar 28 133678 Anil. 42. 133567 Kumar entry need to be finded out -------------- next part -------------- An HTML attachment was scrubbed... URL: From rajagopal.jagannathan at gmail.com Mon Feb 12 08:18:51 2018 From: rajagopal.jagannathan at gmail.com (Rajagopal Jagannathan) Date: Mon, 12 Feb 2018 18:48:51 +0530 Subject: [Chennaipy] Finding duplicates of row in csv In-Reply-To: References: Message-ID: You can do this in multiple ways. in Shell script sort | uniq -c If you have to use Python, then the faster way to do it would be to load the csv into a Pandas dataframe, which should allow you to use dataframe.duplicated() If you don't want to use pandas then you can loop through the csv and create a set or hashmap with the row as the key and count as the value Hope this helps. On Sun, Feb 11, 2018 at 9:07 AM, Saravanan Muthu wrote: > Hello All, > I have a csv with multiple column , and I need to figure out the > duplicates entry ,I have imported csv and assigned the row to dictionary > ,please share a logic to find the duplicates , sample data is below , > > Name age employer > Kumar 28 133678 > Kumar 28 133678 > Anil. 42. 133567 > > Kumar entry need to be finded out > > _______________________________________________ > Chennaipy mailing list > Chennaipy at python.org > https://mail.python.org/mailman/listinfo/chennaipy > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dinesh at testpress.in Thu Feb 15 11:45:06 2018 From: dinesh at testpress.in (Dinesh Kumar) Date: Thu, 15 Feb 2018 22:15:06 +0530 Subject: [Chennaipy] [JOB]: Senior Python / Django Developer at Testpress.in Message-ID: Dear Chennai Pythonistas, Testpress is India's fastest growing e-learning platform based in Chennai. We help students prepare for competitive exams effectively. We collaborate with various coaching organizations and act as a platform to help students access their study materials online. Our platform provides interesting features like gamification, microlearning, course and student management. We think big, start small and scale fast. We like to find problems and fix them 'the right way'. Most importantly we don't fear to create constructive disruption. We are completely bootstrapped, profitable with 100% YOY growth. We are looking for python developers to join our team. *Job Description:* - Full stack web/mobile application development in Django, Backbone JS / Ember JS, HTML - Implement the web or mobile interfaces using XHTML, CSS, and JavaScript - Execute full lifecycle software development - Write well designed, testable, efficient code - Develop software verification plans and quality assurance procedures - Document and maintain software functionality - Tailor and deploy software tools, processes, and metrics. *Desired Skills and Experience:* - Strong analytical skills - Minimum 2 years of Python / Django Experience - Skilled in javascript, HTML, CSS - Strong understanding of databases (RDBMS) - Loves to learn new technologies and is a fast learner - Extremely comfortable with Linux - Be extremely customer-centric. Should like going the extra mile to make the customer happy *Salary: * - 4 LPA - 7LPA. You will have an opportunity to learn new things on daily basis and improve learning experience by building tools that are impacting millions of student's life. If you are the kind of engineer who is passionate about building systems at large scale, send your resumes to careers at testpress.in with the subject line [Chennai Py]: Application for Senior Python / Django Developer. Thank you Dinesh Kumar P https://testpress.in/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From vijaykumar at bravegnu.org Fri Feb 16 08:40:58 2018 From: vijaykumar at bravegnu.org (Vijay Kumar) Date: Fri, 16 Feb 2018 19:10:58 +0530 Subject: [Chennaipy] Reminder: Talks for the Next Meet Message-ID: Hi Everyone, Just wanted to remind people about the upcoming meetup. There are 2 20-minute talk slots available. Please reply with your talk details, if you are interested. Regards, Vijay From sureshvv at hotmail.com Sat Feb 17 02:53:45 2018 From: sureshvv at hotmail.com (suresh) Date: Sat, 17 Feb 2018 13:23:45 +0530 Subject: [Chennaipy] Reminder: Talks for the Next Meet In-Reply-To: References: Message-ID: On Friday 16 February 2018 07:10 PM, Vijay Kumar wrote: > Just wanted to remind people about the upcoming meetup. There are 2 > 20-minute talk slots available. Please reply with your talk details, if > you are interested. > Hi Vijay: I would like to make a presentation on: Porting a django app to Google App Engine (GAE): The Good, Bad and Ugly! Not sure if this topic has been covered before though. Thank you. Suresh From vijaykumar at bravegnu.org Sat Feb 17 07:02:42 2018 From: vijaykumar at bravegnu.org (Vijay Kumar) Date: Sat, 17 Feb 2018 17:32:42 +0530 Subject: [Chennaipy] Reminder: Talks for the Next Meet In-Reply-To: References: Message-ID: <4fd1a01ab1bed76dfda918da90dab634.squirrel@gator3315.hostgator.com> On Sat, February 17, 2018 1:23 pm, suresh wrote: > Hi Vijay: > > > I would like to make a presentation on: > > > Porting a django app to Google App Engine (GAE): The Good, Bad and Ugly! > Hi Suresh, Thanks! Your talk has been added! Regards, Vijay From ssuhail.ahmed93 at gmail.com Tue Feb 20 03:12:03 2018 From: ssuhail.ahmed93 at gmail.com (Syed Suhail Ahmed) Date: Tue, 20 Feb 2018 13:42:03 +0530 Subject: [Chennaipy] [OT] CTO Talk at Orangescape Technologies on March 10 Message-ID: Orangescape technologies is conducting India's first and only "CTO Talk" event that brings best of technology leaders together to share, learn and inspire! When : 10th March, 2018, 11 am Where: OrangeScape, TIDEL Park, Chennai Register here . -------------- next part -------------- An HTML attachment was scrubbed... URL: From vijaykumar at bravegnu.org Wed Feb 21 00:24:16 2018 From: vijaykumar at bravegnu.org (Vijay Kumar) Date: Wed, 21 Feb 2018 10:54:16 +0530 Subject: [Chennaipy] February Meetup (RSVP Required) Message-ID: # February Meetup ## Date & Time * 24th February (Saturday) * 3:00pm to 6:00pm ## Venue IITM, IC&SR Building, Hall 3, Near Gajendra Circle, IIT Madras, Adyar, Chennai Map Link: https://www.openstreetmap.org/#map=18/12.99180/80.23225 Map Link: https://maps.google.com/?q=12.9915998,80.2323055 ## Schedule * Introduction (15 min) * Why Tensorflow for Deep Learning (20 min) by Manish * Porting a Django App to Google App Engine (20 min) by Suresh * Networking Tea Break Sponsored by Muthu Softlabs (http://www.mslabs.in) (30 min) * String Theory: Bytes vs Strings (20 min) by Vijay Kumar * Lightning Talks (15 min) * Discussions (30 min) Only the talk titles are included here, for the sake of brevity. For details about the talks and the speakers, please visit https://www.meetup.com/Chennaipy/events/247580531/ ## RSVP There is no entry fees. All are welcome. Please RSVP on our Meetup page https://www.meetup.com/Chennaipy/events/247580531/ ## New to Python? If you are new to Python, you can make best use of the meetup, if you go through any of the following resources, before attending the meetup. * Invent Your Own Computer Games with Python, Chapters 1 - 9 http://inventwithpython.com/chapters/ * Google's Python Course (with Lecture Videos) https://developers.google.com/edu/python/ * How to Think Like a Computer Scientist, Chapters 1 - 12 http://greenteapress.com/wp/think-python-2e/ From karthik120 at gmail.com Fri Feb 23 04:32:43 2018 From: karthik120 at gmail.com (Karthikeyan S) Date: Fri, 23 Feb 2018 15:02:43 +0530 Subject: [Chennaipy] Require help in code Message-ID: Hi Python group, I wrote a code to execute list of jenkins job by reading a text file. So far, it's able to read the text file and get the jobs one by one. Only problem is with the requests command Please see the sample code below #!/usr/bin/env python import requests,time,json fobj = open("file") for x in fobj: x = x.replace("\n", "") url="https://username:password at localhost /jenkins/job/job-name/buildWithParameters" params = {'BRANCH':x} headers = {"Content-Type": "application/xml"} r = request.post(url , params=params, verify=False) print(r.status_code) print(r.text) #time.sleep(45) fobj.close() Error ------ Traceback (most recent call last): File "./delete_build_job_exeuction.py", line 12, in r = sess.post(url , params=params, verify=False) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/requests/sessions.py", line 555, in post return self.request('POST', url, data=data, json=json, **kwargs) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/requests/sessions.py", line 508, in request resp = self.send(prep, **send_kwargs) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/requests/sessions.py", line 618, in send r = adapter.send(request, **kwargs) File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/requests/adapters.py", line 506, in send raise SSLError(e, request=request) requests.exceptions.SSLError: HTTPSConnectionPool(host='localhost', port=443): Max retries exceeded with url: /jenkins/job/job--name/buildWithParameter/buildWithParameters?BRANCH=super (Caused by SSLError(SSLEOFError(8, u'EOF occurred in violation of protocol (_ssl.c:590)'),)) Could you please help ? -------------- next part -------------- An HTML attachment was scrubbed... URL: From saravana4285 at gmail.com Fri Feb 23 04:38:37 2018 From: saravana4285 at gmail.com (Saravanan Muthu) Date: Fri, 23 Feb 2018 01:38:37 -0800 Subject: [Chennaipy] Require help in code In-Reply-To: References: Message-ID: Hi I think the import command needs to be refined , try import all modules separately. On Feb 23, 2018 3:05 PM, "Karthikeyan S" wrote: > Hi Python group, > > I wrote a code to execute list of jenkins job by reading a text file. So > far, it's able to read the text file and get the jobs one by one. Only > problem is with the requests command > > Please see the sample code below > > #!/usr/bin/env python > import requests,time,json > fobj = open("file") > for x in fobj: > x = x.replace("\n", "") > url="https://username:password at localhost/jenkins/job/job-name/ > buildWithParameters" > params = {'BRANCH':x} > headers = {"Content-Type": "application/xml"} > r = request.post(url , params=params, verify=False) > print(r.status_code) > print(r.text) > #time.sleep(45) > fobj.close() > > > Error > ------ > Traceback (most recent call last): > File "./delete_build_job_exeuction.py", line 12, in > r = sess.post(url , params=params, verify=False) > File "/Library/Frameworks/Python.framework/Versions/2.7/lib/ > python2.7/site-packages/requests/sessions.py", line 555, in post > return self.request('POST', url, data=data, json=json, **kwargs) > File "/Library/Frameworks/Python.framework/Versions/2.7/lib/ > python2.7/site-packages/requests/sessions.py", line 508, in request > resp = self.send(prep, **send_kwargs) > File "/Library/Frameworks/Python.framework/Versions/2.7/lib/ > python2.7/site-packages/requests/sessions.py", line 618, in send > r = adapter.send(request, **kwargs) > File "/Library/Frameworks/Python.framework/Versions/2.7/lib/ > python2.7/site-packages/requests/adapters.py", line 506, in send > raise SSLError(e, request=request) > requests.exceptions.SSLError: HTTPSConnectionPool(host='localhost', > port=443): Max retries exceeded with url: /jenkins/job/job--name/ > buildWithParameter/buildWithParameters?BRANCH=super (Caused by > SSLError(SSLEOFError(8, u'EOF occurred in violation of protocol > (_ssl.c:590)'),)) > > > Could you please help ? > > > _______________________________________________ > Chennaipy mailing list > Chennaipy at python.org > https://mail.python.org/mailman/listinfo/chennaipy > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From team at srmkzilla.net Thu Feb 22 10:41:46 2018 From: team at srmkzilla.net (Team SRMKZILLA) Date: Thu, 22 Feb 2018 21:11:46 +0530 Subject: [Chennaipy] SRM FOSS Meetup 2018-Call for speakers Message-ID: <161be2d7951.c0301ae1152526.8894305055315510133@srmkzilla.net> Greetings from SRMKZILLA! SRMKZILLA an active Mozilla Campus Club is hosting SRM FOSS Meetup 2018 a full-day series of conferences and workshops, from Beginner to advanced level on 24th March, 2018 at SRM Institute of Science and Technology (formerly known as SRM University) Kattankulathur Campus. Our discussion topics focus on: Web Technologies, programming language, ML & AI, Content management system or anything which is promoted by Free and Open source community. Each of our session will last 50 minutes including both presentation and discussion. Here is an exciting opportunity to become speaker. You can join us and talk about free and open source software. If you are interested fill call for speakers form below Speaking at SRM FOSS Meetup 2018 is a great opportunity to INFLUENCE the IT minds around the city and also get INSPIRED by others as we encourage open and interactive activities between speakers and audience. As SRM FOSS Meetup 2018 aims at a SHARING space, we welcome all speakers who can bring here your own stories with UP-TO-DATE knowledge or PRACTICAL experiences INSTEAD OF PROMOTING A SPECIFIC COMPANY OR BRAND (we will surely not accept topics that concentrate on advertising or promoting your company or brand). SRM FOSS Meetup 2018 is open to everyone anybody who ha experience in relevant fields can join us and talk about free and open source software. Fill this form to become a speaker now :http://bit.ly/srmfossmeetup18-cof Last Date of Submission: 28th Feb 2018 Event date: 24th March 2018 Venue:SRM Institute of Science and Technology (formerly known as SRM University) Kattankulathur Campus,Chennai For more information, please visit: www.srmkzilla.net For any support, please contact us at: info at srmkzilla.net. Thanks and Regards Team SrmKzilla Mozilla Campus Club SRM Institute of Science &Technology Contact:8008835481 Visit us :www.srmkzilla.net Like us at: https://www.facebook.com/Srmkzilla/ =====-----=====-----===== Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you -------------- next part -------------- An HTML attachment was scrubbed... URL: From karthik120 at gmail.com Fri Feb 23 04:41:36 2018 From: karthik120 at gmail.com (Karthikeyan S) Date: Fri, 23 Feb 2018 15:11:36 +0530 Subject: [Chennaipy] Require help in code In-Reply-To: References: Message-ID: Nope same error On Fri, Feb 23, 2018 at 3:08 PM, Saravanan Muthu wrote: > Hi > I think the import command needs to be refined , try import all modules > separately. > > On Feb 23, 2018 3:05 PM, "Karthikeyan S" wrote: > >> Hi Python group, >> >> I wrote a code to execute list of jenkins job by reading a text file. So >> far, it's able to read the text file and get the jobs one by one. Only >> problem is with the requests command >> >> Please see the sample code below >> >> #!/usr/bin/env python >> import requests,time,json >> fobj = open("file") >> for x in fobj: >> x = x.replace("\n", "") >> url="https://username:password at localhost/jenkins/job/job- >> name/buildWithParameters" >> params = {'BRANCH':x} >> headers = {"Content-Type": "application/xml"} >> r = request.post(url , params=params, verify=False) >> print(r.status_code) >> print(r.text) >> #time.sleep(45) >> fobj.close() >> >> >> Error >> ------ >> Traceback (most recent call last): >> File "./delete_build_job_exeuction.py", line 12, in >> r = sess.post(url , params=params, verify=False) >> File "/Library/Frameworks/Python.framework/Versions/2.7/lib/pytho >> n2.7/site-packages/requests/sessions.py", line 555, in post >> return self.request('POST', url, data=data, json=json, **kwargs) >> File "/Library/Frameworks/Python.framework/Versions/2.7/lib/pytho >> n2.7/site-packages/requests/sessions.py", line 508, in request >> resp = self.send(prep, **send_kwargs) >> File "/Library/Frameworks/Python.framework/Versions/2.7/lib/pytho >> n2.7/site-packages/requests/sessions.py", line 618, in send >> r = adapter.send(request, **kwargs) >> File "/Library/Frameworks/Python.framework/Versions/2.7/lib/pytho >> n2.7/site-packages/requests/adapters.py", line 506, in send >> raise SSLError(e, request=request) >> requests.exceptions.SSLError: HTTPSConnectionPool(host='localhost', >> port=443): Max retries exceeded with url: /jenkins/job/job--name/buildWi >> thParameter/buildWithParameters?BRANCH=super (Caused by >> SSLError(SSLEOFError(8, u'EOF occurred in violation of protocol >> (_ssl.c:590)'),)) >> >> >> Could you please help ? >> >> >> _______________________________________________ >> Chennaipy mailing list >> Chennaipy at python.org >> https://mail.python.org/mailman/listinfo/chennaipy >> >> > _______________________________________________ > Chennaipy mailing list > Chennaipy at python.org > https://mail.python.org/mailman/listinfo/chennaipy > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From shrayasr at gmail.com Fri Feb 23 04:43:53 2018 From: shrayasr at gmail.com (Shrayas rajagopal) Date: Fri, 23 Feb 2018 15:13:53 +0530 Subject: [Chennaipy] Require help in code In-Reply-To: References: Message-ID: Hi Karthikeyan, On Fri, Feb 23, 2018 at 3:02 PM, Karthikeyan S wrote: [...] > Could you please help ? Are you able to execute the same thing outside of python? i.e. with another RESTful client like postman? Regards, Shrayas From karthik120 at gmail.com Fri Feb 23 05:07:34 2018 From: karthik120 at gmail.com (Karthikeyan S) Date: Fri, 23 Feb 2018 15:37:34 +0530 Subject: [Chennaipy] Require help in code In-Reply-To: References: Message-ID: Yes, via CURL command it works perfectly. On Fri, Feb 23, 2018 at 3:13 PM, Shrayas rajagopal wrote: > Hi Karthikeyan, > > On Fri, Feb 23, 2018 at 3:02 PM, Karthikeyan S > wrote: > > [...] > > > Could you please help ? > > Are you able to execute the same thing outside of python? i.e. with > another RESTful client like postman? > > Regards, > Shrayas > _______________________________________________ > Chennaipy mailing list > Chennaipy at python.org > https://mail.python.org/mailman/listinfo/chennaipy > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bharath at testpress.in Fri Feb 23 05:22:29 2018 From: bharath at testpress.in (Bharathwaaj S) Date: Fri, 23 Feb 2018 15:52:29 +0530 Subject: [Chennaipy] Require help in code In-Reply-To: References: Message-ID: Try using session. import requests,time,json session = requests.Session() adapter = requests.adapters.HTTPAdapter(max_retries = 5) session.mount('http://', adapter) fobj = open("file") for x in fobj: x = x.replace("\n", "") url="https://username:password at localhost/jenkins/job/job-name/ buildWithParameters" params = {'BRANCH':x} headers = {"Content-Type": "application/xml"} r = *session*.post(url , params=params, verify=False) print(r.status_code) print(r.text) #time.sleep(45) fobj.close() On Fri, Feb 23, 2018 at 3:37 PM, Karthikeyan S wrote: > Yes, via CURL command it works perfectly. > > On Fri, Feb 23, 2018 at 3:13 PM, Shrayas rajagopal > wrote: > >> Hi Karthikeyan, >> >> On Fri, Feb 23, 2018 at 3:02 PM, Karthikeyan S >> wrote: >> >> [...] >> >> > Could you please help ? >> >> Are you able to execute the same thing outside of python? i.e. with >> another RESTful client like postman? >> >> Regards, >> Shrayas >> _______________________________________________ >> Chennaipy mailing list >> Chennaipy at python.org >> https://mail.python.org/mailman/listinfo/chennaipy >> > > > _______________________________________________ > Chennaipy mailing list > Chennaipy at python.org > https://mail.python.org/mailman/listinfo/chennaipy > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From karthik120 at gmail.com Fri Feb 23 05:25:46 2018 From: karthik120 at gmail.com (Karthikeyan S) Date: Fri, 23 Feb 2018 15:55:46 +0530 Subject: [Chennaipy] Require help in code In-Reply-To: References: Message-ID: I saw this sort of code with session in the stackoverflow and I tried it before posting it in the forum.. The error remains the same. On Fri, Feb 23, 2018 at 3:52 PM, Bharathwaaj S wrote: > Try using session. > > import requests,time,json > > session = requests.Session() > adapter = requests.adapters.HTTPAdapter(max_retries = 5) > session.mount('http://', adapter) > > fobj = open("file") > for x in fobj: > x = x.replace("\n", "") > url="https://username:password at localhost/jenkins/job/job-name/ > buildWithParameters" > params = {'BRANCH':x} > headers = {"Content-Type": "application/xml"} > r = *session*.post(url , params=params, verify=False) > print(r.status_code) > print(r.text) > #time.sleep(45) > fobj.close() > > > > On Fri, Feb 23, 2018 at 3:37 PM, Karthikeyan S > wrote: > >> Yes, via CURL command it works perfectly. >> >> On Fri, Feb 23, 2018 at 3:13 PM, Shrayas rajagopal >> wrote: >> >>> Hi Karthikeyan, >>> >>> On Fri, Feb 23, 2018 at 3:02 PM, Karthikeyan S >>> wrote: >>> >>> [...] >>> >>> > Could you please help ? >>> >>> Are you able to execute the same thing outside of python? i.e. with >>> another RESTful client like postman? >>> >>> Regards, >>> Shrayas >>> _______________________________________________ >>> Chennaipy mailing list >>> Chennaipy at python.org >>> https://mail.python.org/mailman/listinfo/chennaipy >>> >> >> >> _______________________________________________ >> Chennaipy mailing list >> Chennaipy at python.org >> https://mail.python.org/mailman/listinfo/chennaipy >> >> > > _______________________________________________ > Chennaipy mailing list > Chennaipy at python.org > https://mail.python.org/mailman/listinfo/chennaipy > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From karthik120 at gmail.com Fri Feb 23 05:29:01 2018 From: karthik120 at gmail.com (Karthikeyan S) Date: Fri, 23 Feb 2018 15:59:01 +0530 Subject: [Chennaipy] Require help in code In-Reply-To: References: Message-ID: Changing it to sessions resulted in the error below (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 8] nodename nor servname provided, or not known',)) On Fri, Feb 23, 2018 at 3:55 PM, Karthikeyan S wrote: > I saw this sort of code with session in the stackoverflow and I tried it > before posting it in the forum.. The error remains the same. > > On Fri, Feb 23, 2018 at 3:52 PM, Bharathwaaj S > wrote: > >> Try using session. >> >> import requests,time,json >> >> session = requests.Session() >> adapter = requests.adapters.HTTPAdapter(max_retries = 5) >> session.mount('http://', adapter) >> >> fobj = open("file") >> for x in fobj: >> x = x.replace("\n", "") >> url="https://username:password at localhost/jenkins/job/job-name/ >> buildWithParameters" >> params = {'BRANCH':x} >> headers = {"Content-Type": "application/xml"} >> r = *session*.post(url , params=params, verify=False) >> print(r.status_code) >> print(r.text) >> #time.sleep(45) >> fobj.close() >> >> >> >> On Fri, Feb 23, 2018 at 3:37 PM, Karthikeyan S >> wrote: >> >>> Yes, via CURL command it works perfectly. >>> >>> On Fri, Feb 23, 2018 at 3:13 PM, Shrayas rajagopal >>> wrote: >>> >>>> Hi Karthikeyan, >>>> >>>> On Fri, Feb 23, 2018 at 3:02 PM, Karthikeyan S >>>> wrote: >>>> >>>> [...] >>>> >>>> > Could you please help ? >>>> >>>> Are you able to execute the same thing outside of python? i.e. with >>>> another RESTful client like postman? >>>> >>>> Regards, >>>> Shrayas >>>> _______________________________________________ >>>> Chennaipy mailing list >>>> Chennaipy at python.org >>>> https://mail.python.org/mailman/listinfo/chennaipy >>>> >>> >>> >>> _______________________________________________ >>> Chennaipy mailing list >>> Chennaipy at python.org >>> https://mail.python.org/mailman/listinfo/chennaipy >>> >>> >> >> _______________________________________________ >> Chennaipy mailing list >> Chennaipy at python.org >> https://mail.python.org/mailman/listinfo/chennaipy >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ssv5088 at gmail.com Fri Feb 23 05:35:15 2018 From: ssv5088 at gmail.com (Venkata Raman S S) Date: Fri, 23 Feb 2018 16:05:15 +0530 Subject: [Chennaipy] Chennaipy Digest, Vol 54, Issue 16 In-Reply-To: References: Message-ID: Hi Karthikeyan, There could be some SSL certificate handling issue from within python. Please see if it works for you after adding the follow code snippet to your code. try: import _ssl _ssl.PROTOCOL_SSLv23 = _ssl.PROTOCOL_TLSv1 except: traceback.print_exc() pass On 23 February 2018 at 15:59, wrote: > Send Chennaipy mailing list submissions to > chennaipy at python.org > > To subscribe or unsubscribe via the World Wide Web, visit > https://mail.python.org/mailman/listinfo/chennaipy > or, via email, send a message with subject or body 'help' to > chennaipy-request at python.org > > You can reach the person managing the list at > chennaipy-owner at python.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Chennaipy digest..." > > > Today's Topics: > > 1. Re: Require help in code (Karthikeyan S) > 2. Re: Require help in code (Karthikeyan S) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Fri, 23 Feb 2018 15:55:46 +0530 > From: Karthikeyan S > To: Chennai Python User Group Mailing List > Subject: Re: [Chennaipy] Require help in code > Message-ID: > gmail.com> > Content-Type: text/plain; charset="utf-8" > > I saw this sort of code with session in the stackoverflow and I tried it > before posting it in the forum.. The error remains the same. > > On Fri, Feb 23, 2018 at 3:52 PM, Bharathwaaj S > wrote: > > > Try using session. > > > > import requests,time,json > > > > session = requests.Session() > > adapter = requests.adapters.HTTPAdapter(max_retries = 5) > > session.mount('http://', adapter) > > > > fobj = open("file") > > for x in fobj: > > x = x.replace("\n", "") > > url="https://username:password at localhost/jenkins/job/job-name/ > > buildWithParameters" > > params = {'BRANCH':x} > > headers = {"Content-Type": "application/xml"} > > r = *session*.post(url , params=params, verify=False) > > print(r.status_code) > > print(r.text) > > #time.sleep(45) > > fobj.close() > > > > > > > > On Fri, Feb 23, 2018 at 3:37 PM, Karthikeyan S > > wrote: > > > >> Yes, via CURL command it works perfectly. > >> > >> On Fri, Feb 23, 2018 at 3:13 PM, Shrayas rajagopal > >> wrote: > >> > >>> Hi Karthikeyan, > >>> > >>> On Fri, Feb 23, 2018 at 3:02 PM, Karthikeyan S > >>> wrote: > >>> > >>> [...] > >>> > >>> > Could you please help ? > >>> > >>> Are you able to execute the same thing outside of python? i.e. with > >>> another RESTful client like postman? > >>> > >>> Regards, > >>> Shrayas > >>> _______________________________________________ > >>> Chennaipy mailing list > >>> Chennaipy at python.org > >>> https://mail.python.org/mailman/listinfo/chennaipy > >>> > >> > >> > >> _______________________________________________ > >> Chennaipy mailing list > >> Chennaipy at python.org > >> https://mail.python.org/mailman/listinfo/chennaipy > >> > >> > > > > _______________________________________________ > > Chennaipy mailing list > > Chennaipy at python.org > > https://mail.python.org/mailman/listinfo/chennaipy > > > > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: attachments/20180223/b59479bf/attachment-0001.html> > > ------------------------------ > > Message: 2 > Date: Fri, 23 Feb 2018 15:59:01 +0530 > From: Karthikeyan S > To: Chennai Python User Group Mailing List > Subject: Re: [Chennaipy] Require help in code > Message-ID: > 4bANohKwvw at mail.gmail.com> > Content-Type: text/plain; charset="utf-8" > > Changing it to sessions resulted in the error below > > (Caused by NewConnectionError(' object at 0x106278610>: Failed to establish a new connection: [Errno 8] > nodename nor servname provided, or not known',)) > > On Fri, Feb 23, 2018 at 3:55 PM, Karthikeyan S > wrote: > > > I saw this sort of code with session in the stackoverflow and I tried it > > before posting it in the forum.. The error remains the same. > > > > On Fri, Feb 23, 2018 at 3:52 PM, Bharathwaaj S > > wrote: > > > >> Try using session. > >> > >> import requests,time,json > >> > >> session = requests.Session() > >> adapter = requests.adapters.HTTPAdapter(max_retries = 5) > >> session.mount('http://', adapter) > >> > >> fobj = open("file") > >> for x in fobj: > >> x = x.replace("\n", "") > >> url="https://username:password at localhost/jenkins/job/job-name/ > >> buildWithParameters" > >> params = {'BRANCH':x} > >> headers = {"Content-Type": "application/xml"} > >> r = *session*.post(url , params=params, verify=False) > >> print(r.status_code) > >> print(r.text) > >> #time.sleep(45) > >> fobj.close() > >> > >> > >> > >> On Fri, Feb 23, 2018 at 3:37 PM, Karthikeyan S > >> wrote: > >> > >>> Yes, via CURL command it works perfectly. > >>> > >>> On Fri, Feb 23, 2018 at 3:13 PM, Shrayas rajagopal > > >>> wrote: > >>> > >>>> Hi Karthikeyan, > >>>> > >>>> On Fri, Feb 23, 2018 at 3:02 PM, Karthikeyan S > >>>> wrote: > >>>> > >>>> [...] > >>>> > >>>> > Could you please help ? > >>>> > >>>> Are you able to execute the same thing outside of python? i.e. with > >>>> another RESTful client like postman? > >>>> > >>>> Regards, > >>>> Shrayas > >>>> _______________________________________________ > >>>> Chennaipy mailing list > >>>> Chennaipy at python.org > >>>> https://mail.python.org/mailman/listinfo/chennaipy > >>>> > >>> > >>> > >>> _______________________________________________ > >>> Chennaipy mailing list > >>> Chennaipy at python.org > >>> https://mail.python.org/mailman/listinfo/chennaipy > >>> > >>> > >> > >> _______________________________________________ > >> Chennaipy mailing list > >> Chennaipy at python.org > >> https://mail.python.org/mailman/listinfo/chennaipy > >> > >> > > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: attachments/20180223/3a78e13b/attachment.html> > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > Chennaipy mailing list > Chennaipy at python.org > https://mail.python.org/mailman/listinfo/chennaipy > > > ------------------------------ > > End of Chennaipy Digest, Vol 54, Issue 16 > ***************************************** > -- Thanks, *S. S. Venkata Raman*. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bharath at testpress.in Fri Feb 23 05:48:28 2018 From: bharath at testpress.in (Bharathwaaj S) Date: Fri, 23 Feb 2018 16:18:28 +0530 Subject: [Chennaipy] Require help in code In-Reply-To: References: Message-ID: This looks like hosts entry missing. But since it seems to work in curl, I'm clueless. :/ On Fri, Feb 23, 2018 at 3:59 PM, Karthikeyan S wrote: > Changing it to sessions resulted in the error below > > (Caused by NewConnectionError(' object at 0x106278610>: Failed to establish a new connection: [Errno 8] > nodename nor servname provided, or not known',)) > > On Fri, Feb 23, 2018 at 3:55 PM, Karthikeyan S > wrote: > >> I saw this sort of code with session in the stackoverflow and I tried it >> before posting it in the forum.. The error remains the same. >> >> On Fri, Feb 23, 2018 at 3:52 PM, Bharathwaaj S >> wrote: >> >>> Try using session. >>> >>> import requests,time,json >>> >>> session = requests.Session() >>> adapter = requests.adapters.HTTPAdapter(max_retries = 5) >>> session.mount('http://', adapter) >>> >>> fobj = open("file") >>> for x in fobj: >>> x = x.replace("\n", "") >>> url="https://username:password at localhost/jenkins/job/job-name/ >>> buildWithParameters" >>> params = {'BRANCH':x} >>> headers = {"Content-Type": "application/xml"} >>> r = *session*.post(url , params=params, verify=False) >>> print(r.status_code) >>> print(r.text) >>> #time.sleep(45) >>> fobj.close() >>> >>> >>> >>> On Fri, Feb 23, 2018 at 3:37 PM, Karthikeyan S >>> wrote: >>> >>>> Yes, via CURL command it works perfectly. >>>> >>>> On Fri, Feb 23, 2018 at 3:13 PM, Shrayas rajagopal >>>> wrote: >>>> >>>>> Hi Karthikeyan, >>>>> >>>>> On Fri, Feb 23, 2018 at 3:02 PM, Karthikeyan S >>>>> wrote: >>>>> >>>>> [...] >>>>> >>>>> > Could you please help ? >>>>> >>>>> Are you able to execute the same thing outside of python? i.e. with >>>>> another RESTful client like postman? >>>>> >>>>> Regards, >>>>> Shrayas >>>>> _______________________________________________ >>>>> Chennaipy mailing list >>>>> Chennaipy at python.org >>>>> https://mail.python.org/mailman/listinfo/chennaipy >>>>> >>>> >>>> >>>> _______________________________________________ >>>> Chennaipy mailing list >>>> Chennaipy at python.org >>>> https://mail.python.org/mailman/listinfo/chennaipy >>>> >>>> >>> >>> _______________________________________________ >>> Chennaipy mailing list >>> Chennaipy at python.org >>> https://mail.python.org/mailman/listinfo/chennaipy >>> >>> >> > > _______________________________________________ > Chennaipy mailing list > Chennaipy at python.org > https://mail.python.org/mailman/listinfo/chennaipy > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From karthik120 at gmail.com Fri Feb 23 05:57:31 2018 From: karthik120 at gmail.com (Karthikeyan S) Date: Fri, 23 Feb 2018 16:27:31 +0530 Subject: [Chennaipy] Require help in code In-Reply-To: References: Message-ID: Thanks Everyone.. The issue seem to be specific with Mac.. I have moved the script to CentOS to make it work. On Fri, Feb 23, 2018 at 4:18 PM, Bharathwaaj S wrote: > This looks like hosts entry missing. But since it seems to work in curl, > I'm clueless. :/ > > On Fri, Feb 23, 2018 at 3:59 PM, Karthikeyan S > wrote: > >> Changing it to sessions resulted in the error below >> >> (Caused by NewConnectionError('> object at 0x106278610>: Failed to establish a new connection: [Errno 8] >> nodename nor servname provided, or not known',)) >> >> On Fri, Feb 23, 2018 at 3:55 PM, Karthikeyan S >> wrote: >> >>> I saw this sort of code with session in the stackoverflow and I tried it >>> before posting it in the forum.. The error remains the same. >>> >>> On Fri, Feb 23, 2018 at 3:52 PM, Bharathwaaj S >>> wrote: >>> >>>> Try using session. >>>> >>>> import requests,time,json >>>> >>>> session = requests.Session() >>>> adapter = requests.adapters.HTTPAdapter(max_retries = 5) >>>> session.mount('http://', adapter) >>>> >>>> fobj = open("file") >>>> for x in fobj: >>>> x = x.replace("\n", "") >>>> url="https://username:password at localhost/jenkins/job/job-name/ >>>> buildWithParameters" >>>> params = {'BRANCH':x} >>>> headers = {"Content-Type": "application/xml"} >>>> r = *session*.post(url , params=params, verify=False) >>>> print(r.status_code) >>>> print(r.text) >>>> #time.sleep(45) >>>> fobj.close() >>>> >>>> >>>> >>>> On Fri, Feb 23, 2018 at 3:37 PM, Karthikeyan S >>>> wrote: >>>> >>>>> Yes, via CURL command it works perfectly. >>>>> >>>>> On Fri, Feb 23, 2018 at 3:13 PM, Shrayas rajagopal >>>> > wrote: >>>>> >>>>>> Hi Karthikeyan, >>>>>> >>>>>> On Fri, Feb 23, 2018 at 3:02 PM, Karthikeyan S >>>>>> wrote: >>>>>> >>>>>> [...] >>>>>> >>>>>> > Could you please help ? >>>>>> >>>>>> Are you able to execute the same thing outside of python? i.e. with >>>>>> another RESTful client like postman? >>>>>> >>>>>> Regards, >>>>>> Shrayas >>>>>> _______________________________________________ >>>>>> Chennaipy mailing list >>>>>> Chennaipy at python.org >>>>>> https://mail.python.org/mailman/listinfo/chennaipy >>>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> Chennaipy mailing list >>>>> Chennaipy at python.org >>>>> https://mail.python.org/mailman/listinfo/chennaipy >>>>> >>>>> >>>> >>>> _______________________________________________ >>>> Chennaipy mailing list >>>> Chennaipy at python.org >>>> https://mail.python.org/mailman/listinfo/chennaipy >>>> >>>> >>> >> >> _______________________________________________ >> Chennaipy mailing list >> Chennaipy at python.org >> https://mail.python.org/mailman/listinfo/chennaipy >> >> > > _______________________________________________ > Chennaipy mailing list > Chennaipy at python.org > https://mail.python.org/mailman/listinfo/chennaipy > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From shrayasr at gmail.com Fri Feb 23 06:07:40 2018 From: shrayasr at gmail.com (Shrayas rajagopal) Date: Fri, 23 Feb 2018 16:37:40 +0530 Subject: [Chennaipy] Require help in code In-Reply-To: References: Message-ID: Hi, On Fri, Feb 23, 2018 at 3:37 PM, Karthikeyan S wrote: > Yes, via CURL command it works perfectly. Can you share the cURL command for it? On Fri, Feb 23, 2018 at 4:27 PM, Karthikeyan S wrote: > Thanks Everyone.. The issue seem to be specific with Mac.. I have moved the > script to CentOS to make it work. It might be a better approach to actually investigate _why_ the problem occured in the first place. That way you get closure on the source of the problem and what you did to fix it. I don't see why it shouldn't work on Mac but work on CentOS. Regards, Shrayas From vijaykumar at bravegnu.org Fri Feb 23 06:17:46 2018 From: vijaykumar at bravegnu.org (Vijay Kumar) Date: Fri, 23 Feb 2018 16:47:46 +0530 Subject: [Chennaipy] Require help in code In-Reply-To: References: Message-ID: <9a31c7470e370c9ef69511d2ca6d3da3.squirrel@gator3315.hostgator.com> On Fri, February 23, 2018 4:37 pm, Shrayas rajagopal wrote: > It might be a better approach to actually investigate _why_ the > problem occured in the first place. That way you get closure on the source > of the problem and what you did to fix it. I don't see why it shouldn't > work on Mac but work on CentOS. This problem as described in the following stackoverflow post, is that, requests is defaulting to a SSL version that Jenkins does not support. https://stackoverflow.com/a/24166498/1295013 The solution is described here at: https://lukasa.co.uk/2013/01/Choosing_SSL_Version_In_Requests/ Regards, Vijay From karthik120 at gmail.com Fri Feb 23 06:56:09 2018 From: karthik120 at gmail.com (Karthikeyan S) Date: Fri, 23 Feb 2018 17:26:09 +0530 Subject: [Chennaipy] Require help in code In-Reply-To: <1519385950401.1197164982@boxbe> References: <1519385950401.1197164982@boxbe> Message-ID: Thank you.. will share curl command later today On Feb 23, 2018 5:09 PM, "Shrayas rajagopal" wrote: > [image: Boxbe] This message is eligible > for Automatic Cleanup! (shrayasr at gmail.com) Add cleanup rule > > | More info > > > Hi, > > On Fri, Feb 23, 2018 at 3:37 PM, Karthikeyan S > wrote: > > Yes, via CURL command it works perfectly. > > Can you share the cURL command for it? > > On Fri, Feb 23, 2018 at 4:27 PM, Karthikeyan S > wrote: > > Thanks Everyone.. The issue seem to be specific with Mac.. I have moved > the > > script to CentOS to make it work. > > It might be a better approach to actually investigate _why_ the > problem occured in the first place. That way you get closure on the > source of the problem and what you did to fix it. I don't see why it > shouldn't work on Mac but work on CentOS. > > Regards, > Shrayas > _______________________________________________ > Chennaipy mailing list > Chennaipy at python.org > https://mail.python.org/mailman/listinfo/chennaipy > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From karthik120 at gmail.com Fri Feb 23 06:56:39 2018 From: karthik120 at gmail.com (Karthikeyan S) Date: Fri, 23 Feb 2018 17:26:39 +0530 Subject: [Chennaipy] Require help in code In-Reply-To: <1519385935958.1197164982@boxbe> References: <1519385935958.1197164982@boxbe> Message-ID: Thanks Vijay.. let me try this in MAC On Feb 23, 2018 5:08 PM, "Vijay Kumar" wrote: > [image: Boxbe] This message is eligible > for Automatic Cleanup! (vijaykumar at bravegnu.org) Add cleanup rule > > | More info > > > On Fri, February 23, 2018 4:37 pm, Shrayas rajagopal wrote: > > It might be a better approach to actually investigate _why_ the > > problem occured in the first place. That way you get closure on the > source > > of the problem and what you did to fix it. I don't see why it shouldn't > > work on Mac but work on CentOS. > > This problem as described in the following stackoverflow post, is that, > requests is defaulting to a SSL version that Jenkins does not support. > > https://stackoverflow.com/a/24166498/1295013 > > The solution is described here at: > https://lukasa.co.uk/2013/01/Choosing_SSL_Version_In_Requests/ > > Regards, > Vijay > _______________________________________________ > Chennaipy mailing list > Chennaipy at python.org > https://mail.python.org/mailman/listinfo/chennaipy > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From karthik120 at gmail.com Fri Feb 23 10:45:37 2018 From: karthik120 at gmail.com (Karthikeyan S) Date: Fri, 23 Feb 2018 21:15:37 +0530 Subject: [Chennaipy] Require help in code In-Reply-To: References: <1519385950401.1197164982@boxbe> Message-ID: curl -X POST https:// @localhost//buildWithParameters?BRANCH= On Fri, Feb 23, 2018 at 5:26 PM, Karthikeyan S wrote: > Thank you.. will share curl command later today > > On Feb 23, 2018 5:09 PM, "Shrayas rajagopal" wrote: > >> [image: Boxbe] This message is eligible >> for Automatic Cleanup! (shrayasr at gmail.com) Add cleanup rule >> >> | More info >> >> >> Hi, >> >> On Fri, Feb 23, 2018 at 3:37 PM, Karthikeyan S >> wrote: >> > Yes, via CURL command it works perfectly. >> >> Can you share the cURL command for it? >> >> On Fri, Feb 23, 2018 at 4:27 PM, Karthikeyan S >> wrote: >> > Thanks Everyone.. The issue seem to be specific with Mac.. I have moved >> the >> > script to CentOS to make it work. >> >> It might be a better approach to actually investigate _why_ the >> problem occured in the first place. That way you get closure on the >> source of the problem and what you did to fix it. I don't see why it >> shouldn't work on Mac but work on CentOS. >> >> Regards, >> Shrayas >> _______________________________________________ >> Chennaipy mailing list >> Chennaipy at python.org >> https://mail.python.org/mailman/listinfo/chennaipy >> >> -------------- next part -------------- An HTML attachment was scrubbed... URL: From bharath at testpress.in Sun Feb 25 02:17:38 2018 From: bharath at testpress.in (Bharathwaaj S) Date: Sun, 25 Feb 2018 12:47:38 +0530 Subject: [Chennaipy] Require help in code In-Reply-To: References: <1519385950401.1197164982@boxbe> Message-ID: Thank you Vijay. That was insightful. Kind regards, Bharath On Fri, Feb 23, 2018 at 9:15 PM, Karthikeyan S wrote: > curl -X POST https://@localhost// > buildWithParameters?BRANCH= > > > On Fri, Feb 23, 2018 at 5:26 PM, Karthikeyan S > wrote: > >> Thank you.. will share curl command later today >> >> On Feb 23, 2018 5:09 PM, "Shrayas rajagopal" wrote: >> >>> [image: Boxbe] This message is >>> eligible for Automatic Cleanup! (shrayasr at gmail.com) Add cleanup rule >>> >>> | More info >>> >>> >>> Hi, >>> >>> On Fri, Feb 23, 2018 at 3:37 PM, Karthikeyan S >>> wrote: >>> > Yes, via CURL command it works perfectly. >>> >>> Can you share the cURL command for it? >>> >>> On Fri, Feb 23, 2018 at 4:27 PM, Karthikeyan S >>> wrote: >>> > Thanks Everyone.. The issue seem to be specific with Mac.. I have >>> moved the >>> > script to CentOS to make it work. >>> >>> It might be a better approach to actually investigate _why_ the >>> problem occured in the first place. That way you get closure on the >>> source of the problem and what you did to fix it. I don't see why it >>> shouldn't work on Mac but work on CentOS. >>> >>> Regards, >>> Shrayas >>> _______________________________________________ >>> Chennaipy mailing list >>> Chennaipy at python.org >>> https://mail.python.org/mailman/listinfo/chennaipy >>> >>> > > _______________________________________________ > Chennaipy mailing list > Chennaipy at python.org > https://mail.python.org/mailman/listinfo/chennaipy > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From oopsgopi at gmail.com Tue Feb 27 08:17:05 2018 From: oopsgopi at gmail.com (gopinath p) Date: Tue, 27 Feb 2018 13:17:05 +0000 Subject: [Chennaipy] Chennaipy MoM - Feb 2018 Message-ID: Hi All, Please find the MoM of ChennaiPy Feb edition of 2018. *Date:* 24-Feb-2018 *Venue:* IITM Chennai *Introduction/Welcome Note:* - Welcome attendies & thank sponser. - Explained Agenda for the day(meetup) - Set Context about meetup & what it is about. *Speaker:* Vijay Kumar *Talk 1: Porting Django App to Google App Engine(GAP)* - Started addressing the talk's topic as Good(Progressive Web App), Bad(Django) & Ugly(Google App Engine). - Explained pros & Cons of all three tech & highlighted the type of GAP as Standard & Flexible, by mention the difference type of services provided by GAP. - Explain the Advantage on Micro service advantages & challenges faced during the deployment of django application in GAP. *Speaker:* Suresh *Talk 2: String Theory: Bytes vs Strings* - Started the talk by mention Data representation & manipulation - Explained how data transfer happen over network TCP & UDP. Irrespective of data type all value/string will be converted in to bytes string during transfer. - Explained how various data conversion happens - Integer object - Binary Files - Writing integer & string to file - Explained ASCII vs utf-8 & utf-32 vs utf-8. Its major role in data conversion to store/transfer. - Explained Character string vs bytes string. Check the weight/size of the file by writing string to a file & bytes to a file. - Gave few tidbits *Speaker:* Vijay Kumar *Lightning Talk 1:* pysangamam - ChennaiPy organising first python conference in TamilNadu *Lightning Talk 2:* Tuts about machine learning reference - http://neuralnetworksanddeeplearning.com - http://www.deeplearningbook.org/ - https://www.youtube.com/playlist?list=PL6Xpj9I5qXYEcOhn7TqghAJ6NAPrNmUBH - https://github.com/Hvass-Labs/TensorFlow-Tutorials *Lightning Talk 3:* Difference b/w Data & big-data, when data to consider as big-data & also big-data to machine-learning. Thanks Gopinath P -------------- next part -------------- An HTML attachment was scrubbed... URL: From vijaykumar at bravegnu.org Tue Feb 27 23:46:59 2018 From: vijaykumar at bravegnu.org (Vijay Kumar) Date: Wed, 28 Feb 2018 10:16:59 +0530 Subject: [Chennaipy] Chennaipy MoM - Feb 2018 In-Reply-To: References: Message-ID: On Tue, February 27, 2018 6:47 pm, gopinath p wrote: > Hi All, > > > Please find the MoM of ChennaiPy Feb edition of 2018. Any volunteers to add this to the website? The photos are on the meetup event page. Regards, Vijay From vijaykumar at bravegnu.org Tue Feb 27 23:49:29 2018 From: vijaykumar at bravegnu.org (Vijay Kumar) Date: Wed, 28 Feb 2018 10:19:29 +0530 Subject: [Chennaipy] Talk Slides: String Theory Message-ID: <70bccc729cd078c9872e2141dc55c1c1.squirrel@gator3315.hostgator.com> Hi Everyone, The slides used during my talk "String Theory: Bytes vs Strings" is available from https://www.dropbox.com/s/7vo2nfy94v5qd04/slides.html?dl=1 Regards, Vijay From msraghunathan at gmail.com Wed Feb 28 01:45:30 2018 From: msraghunathan at gmail.com (Raghunathan) Date: Wed, 28 Feb 2018 12:15:30 +0530 Subject: [Chennaipy] Talk Slides: String Theory In-Reply-To: <70bccc729cd078c9872e2141dc55c1c1.squirrel@gator3315.hostgator.com> References: <70bccc729cd078c9872e2141dc55c1c1.squirrel@gator3315.hostgator.com> Message-ID: Dear Vijay, I could not download from the dropbox... can you share that as google drive file ... or share it via mail in zipped format... Regards Raghunathan On 28 February 2018 at 10:19, Vijay Kumar wrote: > Hi Everyone, > The slides used during my talk "String Theory: Bytes vs Strings" is > available from https://www.dropbox.com/s/7vo2nfy94v5qd04/slides.html?dl=1 > > Regards, > Vijay > _______________________________________________ > Chennaipy mailing list > Chennaipy at python.org > https://mail.python.org/mailman/listinfo/chennaipy > -- Message composed and sent from *Vertu Ti* -------------- next part -------------- An HTML attachment was scrubbed... URL: From sakthirengaraj at gmail.com Wed Feb 28 01:53:59 2018 From: sakthirengaraj at gmail.com (Rengaraj D) Date: Wed, 28 Feb 2018 12:23:59 +0530 Subject: [Chennaipy] Chennaipy MoM - Feb 2018 In-Reply-To: References: Message-ID: On 28 February 2018 at 10:16, Vijay Kumar wrote: > On Tue, February 27, 2018 6:47 pm, gopinath p wrote: > > Hi All, > > > > > > Please find the MoM of ChennaiPy Feb edition of 2018. > > Any volunteers to add this to the website? The photos are on the meetup > event page. > > @Vijay I will do that. -------------- next part -------------- An HTML attachment was scrubbed... URL: From arunram.atma at gmail.com Wed Feb 28 02:07:28 2018 From: arunram.atma at gmail.com (Arunram A) Date: Wed, 28 Feb 2018 12:37:28 +0530 Subject: [Chennaipy] Talk Slides: String Theory In-Reply-To: <70bccc729cd078c9872e2141dc55c1c1.squirrel@gator3315.hostgator.com> References: <70bccc729cd078c9872e2141dc55c1c1.squirrel@gator3315.hostgator.com> Message-ID: Hi Vijay, Can you tell what's the tool / library that you have used for creating the slides in html format? Thanks. Regards, Arunram A. On Wed, Feb 28, 2018 at 10:19 AM, Vijay Kumar wrote: > Hi Everyone, > The slides used during my talk "String Theory: Bytes vs Strings" is > available from https://www.dropbox.com/s/7vo2nfy94v5qd04/slides.html?dl=1 > > Regards, > Vijay > _______________________________________________ > Chennaipy mailing list > Chennaipy at python.org > https://mail.python.org/mailman/listinfo/chennaipy > -------------- next part -------------- An HTML attachment was scrubbed... URL: From vijaykumar at bravegnu.org Wed Feb 28 02:24:42 2018 From: vijaykumar at bravegnu.org (Vijay Kumar) Date: Wed, 28 Feb 2018 12:54:42 +0530 Subject: [Chennaipy] Talk Slides: String Theory In-Reply-To: References: <70bccc729cd078c9872e2141dc55c1c1.squirrel@gator3315.hostgator.com> Message-ID: On Wed, February 28, 2018 12:37 pm, Arunram A wrote: > Hi Vijay, > > > Can you tell what's the tool / library that you have used for creating > the slides in html format? Hi Arunram, I use Asciidoc to generate the slides. Asciidoc can generate output in various formats (called backends) from Asciidoc source. I use a customized version of the slidy backend. Regards, Vijay From vijaykumar at bravegnu.org Wed Feb 28 01:54:54 2018 From: vijaykumar at bravegnu.org (Vijay Kumar) Date: Wed, 28 Feb 2018 12:24:54 +0530 Subject: [Chennaipy] Talk Slides: String Theory In-Reply-To: References: <70bccc729cd078c9872e2141dc55c1c1.squirrel@gator3315.hostgator.com> Message-ID: <53569496e70567c421892a9b334e654e.squirrel@gator3315.hostgator.com> On Wed, February 28, 2018 12:15 pm, Raghunathan wrote: > Dear Vijay, > > > I could not download from the dropbox... can you share that as google > drive file ... or share it via mail in zipped format... > > Regards > Raghunathan I think you are mistaken, you should be able to access the slides. The slides are actually in HTML format, and when you click on the link, the slides.html file will get downloaded. You can then open the downloaded HTML file in your browser. HTH. Regards, Vijay From msraghunathan at gmail.com Wed Feb 28 03:50:08 2018 From: msraghunathan at gmail.com (Raghunathan) Date: Wed, 28 Feb 2018 14:20:08 +0530 Subject: [Chennaipy] Talk Slides: String Theory In-Reply-To: <53569496e70567c421892a9b334e654e.squirrel@gator3315.hostgator.com> References: <70bccc729cd078c9872e2141dc55c1c1.squirrel@gator3315.hostgator.com> <53569496e70567c421892a9b334e654e.squirrel@gator3315.hostgator.com> Message-ID: Hi Vijay, Yes, I mistook the way it downloads.. and sorry for troubling you.. Now I can see those slides and thanks for the clarification. Regards On 28 February 2018 at 12:24, Vijay Kumar wrote: > On Wed, February 28, 2018 12:15 pm, Raghunathan wrote: > > Dear Vijay, > > > > > > I could not download from the dropbox... can you share that as google > > drive file ... or share it via mail in zipped format... > > > > Regards > > Raghunathan > > I think you are mistaken, you should be able to access the slides. The > slides are actually in HTML format, and when you click on the link, the > slides.html file will get downloaded. You can then open the downloaded > HTML file in your browser. > > HTH. > > Regards, > Vijay > > _______________________________________________ > Chennaipy mailing list > Chennaipy at python.org > https://mail.python.org/mailman/listinfo/chennaipy > -- Message composed and sent from *Vertu Ti* -------------- next part -------------- An HTML attachment was scrubbed... URL: