473,382 Members | 1,365 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 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 1302
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. Löwis" <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...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.