From python at rtcms.ga Wed Apr 1 03:07:22 2020 From: python at rtcms.ga (Ravi Teja CMS) Date: Wed, 1 Apr 2020 12:37:22 +0530 Subject: [Chennaipy] [X-POST]HydPy April 2020 Online Meetup In-Reply-To: References: Message-ID: Hi Everyone, We are glad to inform you all, the next meetup from Hyderabad Python User Group[1] is scheduled for 7th April 2020(Tuesday). Please check the detailed agenda on meetup link[2] and do RSVP. Topic - How pip works internally - by Pradyun Gedam[3] Location - Online via GoToWebinar[4] In case you have any further questions, please feel free to reach out to us at our Telegram group[5] or Email us at [6] our mailing list. Please help spread the word and do follow us on social media[7][8][9] to get more frequent updates. [1] - https://www.meetup.com/HydPyGroup [2] - https://www.meetup.com/HydPyGroup/events/269498071/ [3] - https://pradyunsg.me/ [4] - http://bit.ly/7thAprilMeetUp [5] - http://bit.ly/join-hydpy [6] - hydpy at python.org [7] - https://www.facebook.com/HydPy/ [8] - https://twitter.com/hydPython [9] - https://www.linkedin.com/company/hyderabad-python-user-group/ Thanks, Ravi Teja CMS On Behalf of Team HydPy. From deepika at analyticsvidhya.com Wed Apr 1 09:35:20 2020 From: deepika at analyticsvidhya.com (Deepika Singhal) Date: Wed, 1 Apr 2020 19:05:20 +0530 Subject: [Chennaipy] [BangPypers] Machine Learning Starter Program - 14 Day Free Access For Everyone Message-ID: Dear ChennaiPy Users, Analytics Vidhya has opened a starter program for everyone to learn the basics of Machine Learning - during the lockdown, to help everyone use their time productively. Machine Learning Starter Program is a step-by-step online program to learn the basics of Machine Learning, hear from industry experts and data science professionals, and apply your learning in machine learning hackathons! Components of Machine Learning Starter Program: - Machine Learning Basics Course - Expert Talks on various machine learning topics by industry practitioners - 2 awesome machine learning hackathons - E-book on ?Machine Learning Simplified? To join the Machine Learning Starter Program - for FREE - Use the code ?LOCKDOWN Why should you join this program? 1. Kickstarter Program For Beginners 2. 14-day free access 3. Enhance and complement your learning through competition and hackathon exposure We believe in a holistic learning approach and that?s how we?ve curated the Machine Learning Starter Program. Thanks Team Analytics Vidhya -- This message contains confidential information and is intended only for the individual named. If you are not the name addressee you should not disseminate, distribute or copy this e-mail. You cannot use or forward any attachments in the email. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. Analytics Vidhya Educon Private Limited, DLF Phase 2, Gurgaon, India,?www.analyticsvidhya.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From deepika at analyticsvidhya.com Wed Apr 1 09:37:07 2020 From: deepika at analyticsvidhya.com (Deepika Singhal) Date: Wed, 1 Apr 2020 19:07:07 +0530 Subject: [Chennaipy] [ChennaiPy] Machine Learning Starter Program - 14 Day Free Access For Everyone Message-ID: Dear ChennaiPy Users, Analytics Vidhya has opened a starter program for everyone to learn the basics of Machine Learning - during the lockdown, to help everyone use their time productively. Machine Learning Starter Program is a step-by-step online program to learn the basics of Machine Learning, hear from industry experts and data science professionals, and apply your learning in machine learning hackathons! Components of Machine Learning Starter Program: - Machine Learning Basics Course - Expert Talks on various machine learning topics by industry practitioners - 2 awesome machine learning hackathons - E-book on ?Machine Learning Simplified? To join the Machine Learning Starter Program - for FREE - Use the code ?LOCKDOWN Why should you join this program? 1. Kickstarter Program For Beginners 2. 14-day free access 3. Enhance and complement your learning through competition and hackathon exposure We believe in a holistic learning approach and that?s how we?ve curated the Machine Learning Starter Program. Thanks Team Analytics Vidhya -- This message contains confidential information and is intended only for the individual named. If you are not the name addressee you should not disseminate, distribute or copy this e-mail. You cannot use or forward any attachments in the email. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. Analytics Vidhya Educon Private Limited, DLF Phase 2, Gurgaon, India,?www.analyticsvidhya.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From sakthirengaraj at gmail.com Mon Apr 20 01:05:05 2020 From: sakthirengaraj at gmail.com (Rengaraj D) Date: Mon, 20 Apr 2020 10:35:05 +0530 Subject: [Chennaipy] April meetup call for speakers Message-ID: Hi Everyone We are planning to have online chennaipy April meetup on 25th April Saturday. This time we are doing only 10 mins Lightning talks. We have 6 talk slot. If you would like to do a talk please send in your Talk title and talk description or you can also comment in the meetup event page [1] Regards Rengaraj [1]. https://www.meetup.com/Chennaipy/events/270151833/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From arvindamirtaa at gmail.com Mon Apr 20 04:23:02 2020 From: arvindamirtaa at gmail.com (Arvind Nedumaran) Date: Mon, 20 Apr 2020 08:23:02 +0000 Subject: [Chennaipy] April meetup call for speakers In-Reply-To: References: Message-ID: Is this going to be a virtual meetup? It's not advisable to conduct an in person meetup at this time. Sent from Outlook Mobile ________________________________ From: Chennaipy on behalf of Rengaraj D Sent: Monday, April 20, 2020 10:35:05 AM To: Chennai Python User Group Mailing List Subject: [Chennaipy] April meetup call for speakers Hi Everyone We are planning to have online chennaipy April meetup on 25th April Saturday. This time we are doing only 10 mins Lightning talks. We have 6 talk slot. If you would like to do a talk please send in your Talk title and talk description or you can also comment in the meetup event page [1] Regards Rengaraj [1]. https://www.meetup.com/Chennaipy/events/270151833/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From sakthirengaraj at gmail.com Mon Apr 20 05:35:10 2020 From: sakthirengaraj at gmail.com (Rengaraj D) Date: Mon, 20 Apr 2020 15:05:10 +0530 Subject: [Chennaipy] April meetup call for speakers In-Reply-To: References: Message-ID: On Mon, 20 Apr 2020 at 13:53, Arvind Nedumaran wrote: > Is this going to be a virtual meetup? It's not advisable to conduct an in > person meetup at this time. > It is an online event we never mentioned any physical location. Regards Rengaraj -------------- next part -------------- An HTML attachment was scrubbed... URL: From tkdhanasekar at gmail.com Wed Apr 22 05:09:57 2020 From: tkdhanasekar at gmail.com (Dhanasekar) Date: Wed, 22 Apr 2020 14:39:57 +0530 Subject: [Chennaipy] Error on pip installation Message-ID: Hi i need to install a python package 'perspective-python' installed python version 3.7.4 and # pip3 install perspective-python i got the following error "ERROR: Failed building wheel for perspective-python Failed to build perspective-python ERROR: Could not build wheels for perspective-python which use PEP 517 and cannot be installed directly" after search give # pip3 install perspective-python --no-use-pep517 will also not solve the issue to install the package any clues about to overcome the PEP 517 issue will be helpful Thanks regards, T.Dhanasekar -------------- next part -------------- An HTML attachment was scrubbed... URL: From ssenthilanand at gmail.com Wed Apr 22 05:50:02 2020 From: ssenthilanand at gmail.com (Senthil Anand) Date: Wed, 22 Apr 2020 15:20:02 +0530 Subject: [Chennaipy] Error on pip installation In-Reply-To: References: Message-ID: Which platform? Do you have all the c++ dependencies and any build time python dependencies to build the wheel installed in your system? On Wed 22 Apr, 2020, 2:40 PM Dhanasekar, wrote: > Hi > > i need to install a python package 'perspective-python' > installed python version 3.7.4 > and # pip3 install perspective-python > i got the following error > > "ERROR: Failed building wheel for perspective-python > Failed to build perspective-python > ERROR: Could not build wheels for perspective-python which use PEP 517 and > cannot be installed directly" > -------------- next part -------------- An HTML attachment was scrubbed... URL: From tkdhanasekar at gmail.com Wed Apr 22 07:36:27 2020 From: tkdhanasekar at gmail.com (Dhanasekar) Date: Wed, 22 Apr 2020 17:06:27 +0530 Subject: [Chennaipy] Error on pip installation In-Reply-To: References: Message-ID: Which platform? > > centos 7 > Do you have all the c++ dependencies and any build time python > dependencies to build the wheel installed in your system? > > no idea about c++ dependency if so any links for dependency package for c++ package pyarrow==0.15.1 was installed as prerequisite > https://perspective.finos.org/docs/md/installation.html > _______________________________________________ > Chennaipy mailing list > Chennaipy at python.org > https://mail.python.org/mailman/listinfo/chennaipy > -------------- next part -------------- An HTML attachment was scrubbed... URL: From sakthirengaraj at gmail.com Fri Apr 24 22:05:28 2020 From: sakthirengaraj at gmail.com (Rengaraj D) Date: Sat, 25 Apr 2020 07:35:28 +0530 Subject: [Chennaipy] April Meetup Schedule Message-ID: Hi Everyone ## Schedule * Introduction - 5 mins * Python In 10 mins by Rengaraj * Multi threaded programming using Python by Dr. Muralidharan * Web Scrapping by Jithin Joseph * Surprising facts about 'programming in python' by Narendran Solai ## Timings and Date * 25/04/2020 at 3:00 PM to 4:30 PM ## Venue * Online * We have sent mail with meeting link to the members who did RSVP. ## Meetup page * https://www.meetup.com/Chennaipy/events/270151833/ ## For Beginners * https://learnxinyminutes.com/docs/python/ * https://developers.google.com/edu/python Regards Rengaraj -------------- next part -------------- An HTML attachment was scrubbed... URL: From stylesen at gmail.com Sat Apr 25 01:35:56 2020 From: stylesen at gmail.com (Senthil Kumaran S) Date: Sat, 25 Apr 2020 11:05:56 +0530 Subject: [Chennaipy] April Meetup Schedule In-Reply-To: References: Message-ID: <005fda6d-e026-a8c9-ea89-79fbb38d0237@gmail.com> Hi Rengaraj, On 25/04/20 7:35 am, Rengaraj D wrote: > * Online > * We have sent mail?with meeting link to the members who did RSVP. I did not RSVP, I would like to join this meeting. Is there a way I can get the link? Thank You. -- Senthil Kumaran S http://www.stylesen.org/ http://www.sasenthilkumaran.com/ From arvindamirtaa at gmail.com Sat Apr 25 03:57:44 2020 From: arvindamirtaa at gmail.com (Arvind Nedumaran) Date: Sat, 25 Apr 2020 07:57:44 +0000 Subject: [Chennaipy] April Meetup Schedule In-Reply-To: <005fda6d-e026-a8c9-ea89-79fbb38d0237@gmail.com> References: , <005fda6d-e026-a8c9-ea89-79fbb38d0237@gmail.com> Message-ID: Can I get a link? I have not RSVPd yet and I couldn't RSVP on meetup right now. Sent from Outlook Mobile ________________________________ From: Chennaipy on behalf of Senthil Kumaran S Sent: Saturday, April 25, 2020 11:05:56 AM To: Chennai Python User Group Mailing List ; Rengaraj D Subject: Re: [Chennaipy] April Meetup Schedule Hi Rengaraj, On 25/04/20 7:35 am, Rengaraj D wrote: > * Online > * We have sent mail with meeting link to the members who did RSVP. I did not RSVP, I would like to join this meeting. Is there a way I can get the link? Thank You. -- Senthil Kumaran S http://www.stylesen.org/ http://www.sasenthilkumaran.com/ _______________________________________________ Chennaipy mailing list Chennaipy at python.org https://mail.python.org/mailman/listinfo/chennaipy -------------- next part -------------- An HTML attachment was scrubbed... URL: From bharathpgp at gmail.com Sat Apr 25 05:15:11 2020 From: bharathpgp at gmail.com (Bharath Natarajan) Date: Sat, 25 Apr 2020 14:45:11 +0530 Subject: [Chennaipy] April Meetup Schedule In-Reply-To: References: Message-ID: I didn't RSVP can I participate today? Can I get the link please? -- bharath natarajan On Sat, 25 Apr 2020, 07:36 Rengaraj D, wrote: > Hi Everyone > > ## Schedule > > * Introduction - 5 mins > * Python In 10 mins > by Rengaraj > * Multi threaded programming using Python > by Dr. Muralidharan > * Web Scrapping > by Jithin Joseph > * Surprising facts about 'programming in python' > by Narendran Solai > > ## Timings and Date > > * 25/04/2020 at 3:00 PM to 4:30 PM > > ## Venue > > * Online > * We have sent mail with meeting link to the members who did RSVP. > > ## Meetup page > * https://www.meetup.com/Chennaipy/events/270151833/ > > ## For Beginners > > * https://learnxinyminutes.com/docs/python/ > * https://developers.google.com/edu/python > > Regards > Rengaraj > _______________________________________________ > Chennaipy mailing list > Chennaipy at python.org > https://mail.python.org/mailman/listinfo/chennaipy > -------------- next part -------------- An HTML attachment was scrubbed... URL: From selvi.dct at gmail.com Sat Apr 25 07:23:32 2020 From: selvi.dct at gmail.com (selvi dct) Date: Sat, 25 Apr 2020 16:53:32 +0530 Subject: [Chennaipy] ChennaiPy - 25-04-2020 Message-ID: Hi, Please find the MIM. Start by the - Vijay Rangaraj : 15:20 - 15:33 ------------------------- Newbies to the python. Notes : - Python is an interpreter language - Interpreter executes line by line Problem : - Rolling the dice to get random numbers - Using import random module, to generate random numbers - Complexity here is have more dices and many faces for dice - To resolve this we can using list to hold faces for the dice - To select only the faces in the list, we can use the function from random is random.choice() giving the list as argument. - Use print to check the selection - To give wait period for the program to print the output, using import time module. Function: time.sleep(1) # here it will sleep for 1 sec - Represent the output in traditional dice way using the below: chr(rolled_value) # convert the integer into unicode value, make sure to have unicode value to be saved in the dice to show the values in dice format # suggestion : range(9856, 9856+6) to save the - Reference : https://en.wikipedia.org/wiki/Dice Dr M.Muralidharan : 15:35 - 15:51 ---------------------------------- Multithreading in Python Notes : - Python is involed in most of applications. - One of the most popular language - In all the domains, we have the modules and packages Multithreading : - Process : - is the program execution - each process has its only own data struction called PCB - heavy weight - can have child process created using fork - Thread : - light weight - sub set of the process - all the threads can be run at the same time to increase the efficiency - Modules available - Thread - spawn, manage, sync threads # deprecated - Threading - higher level, improved sync modules - Queue - Locking Mechanism - Locking and releasing is used for syncronisation purpose - Explained with examples for each Module listed above - Advantages : - better use of resources - Disadvantages : - complexity increases - debug issues - dead locks can occur - sync is cpu and memory intense - Applications : - web servers and browsers - games - text editors and IDE Jitin Joseph : 15:53 - 16:15 ------------------------------ Webscraping in Python Notes : - is a technique to fetch data and information from websites - extracting data from web pages - web crawling can be achieved by webscraping Scrapy : - Usages : - e-commerce price comparision - machine learning - Rules : - its legal based on the usage - needs to check the terms and conditions - check robot.txt - should not crawl at disruptive rate - General Steps : - get the url - validate the rules - write code to scarp the code - Challenges : - throttle limit - authentication required - ip ban - broken html or bad code - Tools : - Beautiful soup 4 - Scrapy - Example demoed - Architecture diagram of scrapy Questions : - when a URL Prompt for Captcha, do they try to limit bot login ? and will OCR can over come it ? # Ans : Need to check the rules - does robot.txt applies to all websites ? # Ans : Yes most of the websites will have it - is there any other page or method to identify the dsiallowed url ? # Ans : Only robots.txt Narendra Sridharan : 16:15 - 16:30 ----------------------------------- Surprising fact of Programming in Python Notes : - Newbie encounter surprises about python Jupyter : - Using Jupyter from anaconda - Export .pyinb into .py - Export into ppt also Surprises : - syntatic sugars - not brackets only indentation - no semicolons - for loops are completly different - negative indexing - no switch case - multiple assignments - functional programming - lambdas, genertors - concurrent programming - co-routines - async programming - aspect object programming - Questions : - negative indexing - for last part of the filenames from path - os.path.basename() # get the basename - a=[0,1,2,3,4] a[-1]=4 Vijay : 16:30 - 16:48 ---------------------- Threads, Locking and The GIL Notes : - Deeper into the locking - GIL Demo : - For Threads - have two threads running to increment a variable - changed from 100, 1000, 10000 - after 100000, the incrementer counter values gets corrupted - Why - less the < 10000 the values are not getting corrupted - Dis-assemble - did.dis(function) - to details the assembly language code - explaination of the assemble steps - load the attr - inplace_add - store_attr - Able to see the race conditions - which is causing the corruptions - To resolve this we can use Locks - Lessons Learnt - when using multi thread, we should use locks for value changes - GIL - As interpreter only one thread can be executed - When thread relases the GIL : - when the blocking system call is invoked - when more than 10000 instructions Questions : - pre-empted is under control of OS - dis is used to get python byte code generators Abhishek Mishra : 16:48 - 17:00 -------------------------------- PyConIndia - Open online this year 2020 - https://in.pycon.org/cfp/2020/proposals/ - Date : 2-5th October - CFP - submit the talks - https://pyconindia.zulipchat.com/login/ # suggestion and chat Conclusion and Thanks by Vijay. -- Regards, Selvi.... -------------- next part -------------- An HTML attachment was scrubbed... URL: From sakthirengaraj at gmail.com Sat Apr 25 08:25:31 2020 From: sakthirengaraj at gmail.com (Rengaraj D) Date: Sat, 25 Apr 2020 17:55:31 +0530 Subject: [Chennaipy] ChennaiPy - 25-04-2020 In-Reply-To: References: Message-ID: On Sat, 25 Apr 2020, 5:47 pm selvi dct, wrote: > Hi, > > Please find the MIM. > > Start by the - Vijay > Thank you for the minutes of meeting. Regards Rengaraj -------------- next part -------------- An HTML attachment was scrubbed... URL: