general module auditing
Mark Lawrence
breamoreboy at yahoo.co.uk
Thu Jul 3 08:36:59 EDT 2014
On 03/07/2014 10:27, Rita wrote:
>
>
>
> On Thu, Jul 3, 2014 at 2:54 AM, Mark Lawrence <breamoreboy at yahoo.co.uk
> <mailto:breamoreboy at 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 at xs4all.nl <mailto:irmen.NOSPAM at xs4all.nl>
> <mailto:irmen.NOSPAM at xs4all.nl
> <mailto:irmen.NOSPAM at 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 at xs4all.nl <mailto:irmen.NOSPAM at xs4all.nl>
> <mailto:irmen.NOSPAM at xs4all.nl <mailto:irmen.NOSPAM at 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
More information about the Python-list
mailing list