Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'python.': 0.02; 'package,': 0.03; 'from:addr:yahoo.co.uk': 0.04; 'affected': 0.07; 'globally.': 0.07; 'facts': 0.09; 'lawrence': 0.09; 'matplotlib': 0.09; 'meaningful': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'statements': 0.09; 'subject:module': 0.09; 'thats': 0.09; 'wrapper': 0.09; 'developer': 0.10; 'python': 0.11; 'language.': 0.14; 'question.': 0.14; '12:38,': 0.16; 'etc...': 0.16; 'group?': 0.16; 'helps.': 0.16; 'imports': 0.16; 'numpy': 0.16; 'pylab': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'so)': 0.16; 'folder': 0.16; 'language': 0.16; 'wrote:': 0.18; 'discussion': 0.18; 'wed,': 0.18; 'module': 0.19; 'campus': 0.19; 'mechanism': 0.19; 'thu,': 0.19; 'machine': 0.22; '>>>': 0.22; 'import': 0.22; 'header:User- Agent:1': 0.23; 'module,': 0.24; '---': 0.24; 'developers': 0.25; 'first,': 0.26; 'gets': 0.27; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'point': 0.28; 'on,': 0.29; 'am,': 0.29; 'url:mailman': 0.30; 'figure': 0.32; 'run': 0.32; 'another': 0.32; 'url:python': 0.33; 'everyone': 0.33; 'could': 0.34; 'but': 0.35; 'there': 0.35; 'located': 0.36; 'really': 0.36; 'module.': 0.36; 'url:listinfo': 0.36; 'url:org': 0.36; 'so,': 0.37; 'list': 0.37; 'list.': 0.37; 'to:addr:python-list': 0.38; 'fact': 0.38; 'pm,': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'url:mail': 0.40; 'how': 0.40; 'even': 0.60; 'remove': 0.60; 'tell': 0.60; 'free': 0.61; 'affect': 0.61; 'viruses': 0.61; 'times': 0.62; "you'll": 0.62; 'protection': 0.63; 'our': 0.64; 'more': 0.64; 'details': 0.65; 'antivirus': 0.68; 'to,': 0.72; 'jul': 0.74; 'rita': 0.84; 'mean.': 0.91; 'mount': 0.93 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Mark Lawrence Subject: Re: general module auditing Date: Thu, 03 Jul 2014 13:36:59 +0100 References: <53b2fae4$0$2878$e4fe514c@news.xs4all.nl> <53b4539b$0$2901$e4fe514c@news.xs4all.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: host-92-18-5-57.as13285.net User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 In-Reply-To: X-Antivirus: avast! (VPS 140703-0, 03/07/2014), Outbound message X-Antivirus-Status: Clean X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 122 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1404391030 news.xs4all.nl 2910 [2001:888:2000:d::a6]:59989 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:73898 On 03/07/2014 10:27, Rita wrote: > > > > On Thu, Jul 3, 2014 at 2:54 AM, Mark Lawrence > wrote: > > On 03/07/2014 02:17, Rita wrote: > > > On Wed, Jul 2, 2014 at 2:46 PM, Irmen de Jong > > __>> wrote: > > On 2-7-2014 4:04, Rita wrote: > > yes, this helps. But I want to know who uses the module, > serpent. > So, when > > I upgrade it or remove it they won't be affected adversely. > > (Please don't top-post, it makes the discussion harder to > follow.) > > > On Tue, Jul 1, 2014 at 2:16 PM, Irmen de Jong > > __>> > > > wrote: > > > >> On 1-7-2014 12:38, Rita wrote: > >>> i work in a group of developers (15 or so) who are > located > globally. I > >>> would like to know what modules everyone is uses if I > ever have to > >> upgrade > >>> my python. Is there mechanism which will let me see who is > using what? > >>> > >>> ie, > >>> > >>> tom,matplotlib > >>> bob, pylab > >>> nancy, numpy > >>> nancy, matplotlib > >>> > >>> etc... > >>> > >>> > >> > >> Well, if your group is all using Pip (and perhaps even > virtualenv), you > >> could use pip > >> list. In my case: > >> > >> $ pip list > > [...] > > > Why would the fact that you upgrade or remove a package, affect > another developer in > your group? Are you all using the same machine to develop > on, with > one Python installation? > > I think you'll have to tell us some more details about the > way you > work together before > we can give a meaningful answer to your question. > > Irmen > > -- > https://mail.python.org/__mailman/listinfo/python-list > > > we have a shared mount point which has our python install. we have 3 > servers on one part of the campus and 2 in another part. > > I want to find out what packages our user base is using thats > the final > goal. I can figure out who is using python by writing a wrapper > but not > what module. > > -- > --- Get your facts first, then you can distort them as you please.-- > > > You can check every users's program for import statements but do you > really need to, why not check what's in the site-packages folder for > your python install? > > -- > My fellow Pythonistas, ask not what our language can do for you, ask > what you can do for our language. > > Mark Lawrence > > how can i get frequency of the module usage? thats the end goal. > > -- > --- Get your facts first, then you can distort them as you please.-- > > Count the number of imports or count the times a given program gets run for the number of imports depending on what you mean. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com