Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #73898

Re: general module auditing

From Mark Lawrence <breamoreboy@yahoo.co.uk>
Subject Re: general module auditing
Date 2014-07-03 13:36 +0100
References (2 earlier) <mailman.11393.1404266687.18130.python-list@python.org> <53b4539b$0$2901$e4fe514c@news.xs4all.nl> <CAOF-KfhjG82iaS-K9tT3RT1wBMJ_MREUte61FsTPcR1jQKcEaA@mail.gmail.com> <lp2unv$mji$1@ger.gmane.org> <CAOF-KfhLG4UwMOUKaK3q-YD+fEV4RtaHTqD=f19NKBq+N5htYw@mail.gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.11455.1404391030.18130.python-list@python.org> (permalink)

Show all headers | View raw


On 03/07/2014 10:27, Rita wrote:
>
>
>
> On Thu, Jul 3, 2014 at 2:54 AM, Mark Lawrence <breamoreboy@yahoo.co.uk
> <mailto:breamoreboy@yahoo.co.uk>> wrote:
>
>     On 03/07/2014 02:17, Rita wrote:
>
>
>         On Wed, Jul 2, 2014 at 2:46 PM, Irmen de Jong
>         <irmen.NOSPAM@xs4all.nl <mailto:irmen.NOSPAM@xs4all.nl>
>         <mailto:irmen.NOSPAM@xs4all.nl
>         <mailto:irmen.NOSPAM@xs4all.nl>__>> 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
>              <irmen.NOSPAM@xs4all.nl <mailto:irmen.NOSPAM@xs4all.nl>
>         <mailto:irmen.NOSPAM@xs4all.nl <mailto:irmen.NOSPAM@xs4all.nl>__>>
>
>               > 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
>         <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

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

general module auditing Rita <rmorgan466@gmail.com> - 2014-07-01 06:38 -0400
  Re: general module auditing Irmen de Jong <irmen.NOSPAM@xs4all.nl> - 2014-07-01 20:16 +0200
    Re: general module auditing Rita <rmorgan466@gmail.com> - 2014-07-01 22:04 -0400
      Re: general module auditing Irmen de Jong <irmen.NOSPAM@xs4all.nl> - 2014-07-02 20:46 +0200
        Re: general module auditing Rita <rmorgan466@gmail.com> - 2014-07-02 21:17 -0400
        Re: general module auditing Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-07-03 07:54 +0100
        Re: general module auditing Rita <rmorgan466@gmail.com> - 2014-07-03 05:27 -0400
        Re: general module auditing Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-07-03 13:36 +0100
        Re: general module auditing Rita <rmorgan466@gmail.com> - 2014-07-03 19:09 -0400
          Re: general module auditing Irmen de Jong <irmen.NOSPAM@xs4all.nl> - 2014-07-04 19:05 +0200
            Re: general module auditing Irmen de Jong <irmen.NOSPAM@xs4all.nl> - 2014-07-04 19:10 +0200
        Re: general module auditing Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-07-04 00:19 +0100

csiph-web