Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!goblin1!goblin2!goblin.stu.neva.ru!newsfeed.xs4all.nl!newsfeed2.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; 'affected': 0.07; 'globally.': 0.07; 'facts': 0.09; 'lawrence': 0.09; 'matplotlib': 0.09; 'meaningful': 0.09; 'statements': 0.09; 'subject:module': 0.09; 'thats': 0.09; 'wrapper': 0.09; 'developer': 0.10; 'cc:addr:python-list': 0.11; 'python': 0.11; 'language.': 0.14; 'question.': 0.14; '12:38,': 0.16; 'etc...': 0.16; 'group?': 0.16; 'helps.': 0.16; 'numpy': 0.16; 'pylab': 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; 'cc:addr:python.org': 0.22; 'module,': 0.24; '---': 0.24; 'cc:2**0': 0.24; 'developers': 0.25; 'first,': 0.26; 'header:In-Reply-To:1': 0.27; 'point': 0.28; 'on,': 0.29; 'am,': 0.29; 'message-id:@mail.gmail.com': 0.30; 'url:mailman': 0.30; 'figure': 0.32; 'another': 0.32; 'url:python': 0.33; 'everyone': 0.33; 'could': 0.34; 'but': 0.35; 'received:google.com': 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; 'fact': 0.38; 'pm,': 0.38; 'url:mail': 0.40; 'how': 0.40; 'even': 0.60; 'remove': 0.60; 'skip:\xc2 10': 0.60; 'tell': 0.60; 'free': 0.61; 'affect': 0.61; 'viruses': 0.61; "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; 'to:addr:yahoo.co.uk': 0.84; 'mount': 0.93 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=armpePFmGaWDzPgoIvKNjPptDMbsc46r6QqoloyWG6E=; b=B0VHNUTMxkQrOk4tJBGrnru+KptbZLcBqXvYZMOjMTpeeg2GbnOfiTrJdbZ8LcASf7 LZF6v65JdUhSFomy5mvC2F4bKjcfw/csL7J8bF7rXihDc5iKBRqOJuKiyRU/pwbvlu8g SufqwYtrk4Lj6HTWPqmEFAsb5WIWwNeLohlAKpEqZ23W85JDXaoLsqrApDjTZM9x+xCl sKZL2cokk6UMXNcNWUWIuhCnwuuN+n7iDfleIQW+vKW0UPes0g+PACUNpQqO4JyJC2yp oQw61MvTsqo0OKgYsb31cWFbviJ1mlH9k+gN366oTZJV9ZPbpEriw7HWeuJwlUskShsZ 4KGw== MIME-Version: 1.0 X-Received: by 10.60.56.83 with SMTP id y19mr3235280oep.74.1404379643736; Thu, 03 Jul 2014 02:27:23 -0700 (PDT) In-Reply-To: References: <53b2fae4$0$2878$e4fe514c@news.xs4all.nl> <53b4539b$0$2901$e4fe514c@news.xs4all.nl> Date: Thu, 3 Jul 2014 05:27:23 -0400 Subject: Re: general module auditing From: Rita To: Mark Lawrence Content-Type: multipart/alternative; boundary=001a11c20c38cb75ca04fd469d9c Cc: "python-list@python.org" 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: 235 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1404379651 news.xs4all.nl 2836 [2001:888:2000:d::a6]:53352 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:73890 --001a11c20c38cb75ca04fd469d9c Content-Type: text/plain; charset=UTF-8 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 > > --- > This email is free from viruses and malware because avast! Antivirus > protection is active. > http://www.avast.com > > > -- > https://mail.python.org/mailman/listinfo/python-list > 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.-- --001a11c20c38cb75ca04fd469d9c Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable



On Thu, Jul 3, 2014 at 2:54 AM, Mark Lawrence <= ;breamoreboy@y= ahoo.co.uk> wrote:
On 03/07/2014 02:17, Rita wr= ote:

On Wed, Jul 2, 2014 at 2:46 PM, Irmen de Jong <irmen.NOSPAM@xs4all.nl
<mailto:irme= n.NOSPAM@xs4all.nl>> wrote:

=C2=A0 =C2=A0 On 2-7-2014 4:04, Rita wrote:
=C2=A0 =C2=A0 =C2=A0> yes, this helps. But I want to know who uses the m= odule, serpent.
=C2=A0 =C2=A0 So, when
=C2=A0 =C2=A0 =C2=A0> I upgrade it or remove it they won't be affect= ed adversely.

=C2=A0 =C2=A0 (Please don't top-post, it makes the discussion harder to= follow.)

=C2=A0 =C2=A0 =C2=A0> On Tue, Jul 1, 2014 at 2:16 PM, Irmen de Jong
<= /div> =C2=A0 =C2=A0 <irmen.NOSPAM@xs4all.nl <mailto:irmen.NOSPAM@xs4all.nl>>

=C2=A0 =C2=A0 =C2=A0> wrote:
=C2=A0 =C2=A0 =C2=A0>
=C2=A0 =C2=A0 =C2=A0>> On 1-7-2014 12:38, Rita wrote:
=C2=A0 =C2=A0 =C2=A0>>> i work in a group of developers (15 or so)= =C2=A0who are located
=C2=A0 =C2=A0 globally. I
=C2=A0 =C2=A0 =C2=A0>>> would like to know what modules everyone i= s uses if I ever have to
=C2=A0 =C2=A0 =C2=A0>> upgrade
=C2=A0 =C2=A0 =C2=A0>>> my python. Is there mechanism which will l= et me see who is
=C2=A0 =C2=A0 using what?
=C2=A0 =C2=A0 =C2=A0>>>
=C2=A0 =C2=A0 =C2=A0>>> ie,
=C2=A0 =C2=A0 =C2=A0>>>
=C2=A0 =C2=A0 =C2=A0>>> tom,matplotlib
=C2=A0 =C2=A0 =C2=A0>>> bob, pylab
=C2=A0 =C2=A0 =C2=A0>>> nancy, numpy
=C2=A0 =C2=A0 =C2=A0>>> nancy, matplotlib
=C2=A0 =C2=A0 =C2=A0>>>
=C2=A0 =C2=A0 =C2=A0>>> etc...
=C2=A0 =C2=A0 =C2=A0>>>
=C2=A0 =C2=A0 =C2=A0>>>
=C2=A0 =C2=A0 =C2=A0>>
=C2=A0 =C2=A0 =C2=A0>> Well, if your group is all using Pip (and perh= aps even
=C2=A0 =C2=A0 virtualenv), you
=C2=A0 =C2=A0 =C2=A0>> could use pip
=C2=A0 =C2=A0 =C2=A0>> list. In my case:
=C2=A0 =C2=A0 =C2=A0>>
=C2=A0 =C2=A0 =C2=A0>> $ pip list

=C2=A0 =C2=A0 [...]


=C2=A0 =C2=A0 Why would the fact that you upgrade or remove a package, affe= ct
=C2=A0 =C2=A0 another developer in
=C2=A0 =C2=A0 your group? Are you all using the same machine to develop on,= with
=C2=A0 =C2=A0 one Python installation?

=C2=A0 =C2=A0 I think you'll have to tell us some more details about th= e way you
=C2=A0 =C2=A0 work together before
=C2=A0 =C2=A0 we can give a meaningful answer to your question.

=C2=A0 =C2=A0 Irmen

=C2=A0 =C2=A0 --
=C2=A0 =C2=A0 https://mail.python.org/mailman/listinfo/pytho= n-list

we have a shared mount point which has our python install. we have 3
servers on one part of the campus =C2=A0and 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 re= ally 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 y= ou can do for our language.

Mark Lawrence

---
This email is free from viruses and malware because avast! Antivirus protec= tion is active.
http://www.avast.com=


--
https://mail.python.org/mailman/listinfo/python-list


how can i get frequency of the mod= ule usage? thats the end goal.

--
--- <= span>Get your facts first, then you can distort them as you please.-= -
--001a11c20c38cb75ca04fd469d9c--