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


Groups > comp.lang.python > #73898

Re: general module auditing

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 <python-python-list@m.gmane.org>
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 <breamoreboy@yahoo.co.uk>
Subject Re: general module auditing
Date Thu, 03 Jul 2014 13:36:59 +0100
References <mailman.11361.1404211117.18130.python-list@python.org> <53b2fae4$0$2878$e4fe514c@news.xs4all.nl> <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>
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 <CAOF-KfhLG4UwMOUKaK3q-YD+fEV4RtaHTqD=f19NKBq+N5htYw@mail.gmail.com>
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 <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.11455.1404391030.18130.python-list@python.org> (permalink)
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

Show key headers only | 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