"Impure" Python modules

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • kyosohma@gmail.com

    #1

    "Impure" Python modules

    Hi,

    Is there some way to get a list of "impure" Python modules/extensions
    from PyPI? I know the mySQL module is a good example, but I am
    working on creating some decent instructions on how to create Windows
    installers from impure modules and am having a hard time finding them.

    Thanks!

    Mike
  • =?ISO-8859-1?Q?=22Martin_v=2E_L=F6wis=22?=

    #2
    Re: "Impure&qu ot; Python modules

    Is there some way to get a list of "impure" Python modules/extensions
    from PyPI?
    Not easily. To create a full list, you will have to download all
    packages, and check their respective setup.py files for occurrences
    of Extension.

    A subset can probably be found by looking at all packages classified
    as Programming Language :: C

    http://pypi.python.org/pypi?:action=browse&c=181

    or Programming Language :: C++

    http://pypi.python.org/pypi?:action=...show=all&c=183

    Of course, some of those may only generate C, or deal with C in
    some other sense than being written in it.

    HTH,
    Martin

    Comment

    • Mike Driscoll

      #3
      Re: "Impure&qu ot; Python modules

      James,

      In Python extension parlance, it means that the extension was not
      written completely in Python. Example include the mySQL module,
      wxPython, and one of the openGL modules. All of those have some C/C++
      dependencies. I think numpy does too, now that I think about it.

      Anyway, I hope that answers your question.

      Mike


      On Dec 27, 2007 4:47 PM, James Matthews <nytrokiss@gmai l.comwrote:
      I don't quite understand what the word "impure" means here!
      >
      On Dec 27, 2007 10:53 PM, <kyosohma@gmail .comwrote:
      Hi,

      Is there some way to get a list of "impure" Python modules/extensions
      from PyPI? I know the mySQL module is a good example, but I am
      working on creating some decent instructions on how to create Windows
      installers from impure modules and am having a hard time finding them.

      Thanks!

      Mike
      --
      >
      >
      >
      --


      http://www.goldwatches.com

      Comment

      • kyosohma@gmail.com

        #4
        Re: &quot;Impure&qu ot; Python modules

        On Dec 27, 5:38 pm, "Martin v. Löwis" <mar...@v.loewi s.dewrote:
        Is there some way to get a list of "impure" Python modules/extensions
        from PyPI?
        >
        Not easily. To create a full list, you will have to download all
        packages, and check their respective setup.py files for occurrences
        of Extension.

        I figured as much. I thought about writing some kind of script based
        on the way Easy Setup downloads modules and just doing that, but
        there's upwards of 2000 extensions on there.
        >
        A subset can probably be found by looking at all packages classified
        as Programming Language :: C
        >
        http://pypi.python.org/pypi?:action=browse&c=181
        >
        or Programming Language :: C++
        >
        http://pypi.python.org/pypi?:action=...show=all&c=183
        >
        Of course, some of those may only generate C, or deal with C in
        some other sense than being written in it.
        >
        HTH,
        Martin
        Thanks, Martin. Those links will be helpful. I'll start looking at
        them this weekend.

        Mike

        Comment

        Working...