472,986 Members | 2,480 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,986 software developers and data experts.

"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
Dec 27 '07 #1
3 1290
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
Dec 27 '07 #2
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 <ny*******@gmail.comwrote:
I don't quite understand what the word "impure" means here!

On Dec 27, 2007 10:53 PM, <ky******@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://mail.python.org/mailman/listinfo/python-list

--
http://search.goldwatches.com/?Search=Movado+Watches
http://www.jewelerslounge.com
http://www.goldwatches.com
Dec 28 '07 #3
On Dec 27, 5:38 pm, "Martin v. Lwis" <mar...@v.loewis.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
Dec 28 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Thorsten Kampe | last post by:
Has anyone ever compiled an overview of competing Python modules? Something like "there's the standard cvs module and the one from pycvs.sourceforge.net but most people use cvs (or pycvs) because...
4
by: dzieciou | last post by:
Hello! I'm new-comer in Python. I want to install few Python modules (4Suite, RDFLib, Twisted and Racoon) in my home directory, since Python installation is already installed in the system and...
2
by: . | last post by:
Hi, how can I build python modules on windows? I tried to build numarray using Microsoft Visual C++ 2003 Toolkit, but got the following error: --- error: Python was built with version 7.1 of...
3
by: Paul Mc Gee | last post by:
hi everyone i have just downloaded the latest version of postgresql and was doing the installation according to the article at http://www.faqs.org/docs/ppbook/x486.htm when i got to the point...
12
by: Byte | last post by:
Pretty much self explanatry, where are Python modules stored in Linux? (i.e. in /usr/bin/local, or where?)
4
by: Fabian Braennstroem | last post by:
Hi, I am pretty new to python and will use it mainly in combination with scientific packages. I am running ubuntu breezy right now and see that some packages are out of date. Do you have any...
5
by: Why Tea | last post by:
How do I find out what python modules are installed on a Solaris platform? I tried to import numarray, but python couldn't find it. /Why Tea
2
by: psbasha | last post by:
Hi, Is anybody tried using JAVA interface as front end and Python modules in the back end?. If so ,how to integrate the JAVA code with Python modules? How JAVA and Jython are...
0
by: J. Peng | last post by:
Hello, Is there a site for python,which collects most kinds of python modules? like CPAN for Perl. Sometime I want to use a module,like the time/date modules,don't know where I should search...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
4
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.