473,796 Members | 2,515 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Can one query full name (or version) of selected packages at pypi?

Hi everyone

I suspect this has come up before, but google and group searches for
"python package index query" or "pypi query" and the like haven't
turned anything up.

I want to monitor the versions of the list of packages I like having
around, and I expect that the python package index might be a good
place to do this. Typically, such packages would include, say, Pyrex
and PyParsing, for example.

So: I would like to query the package index with a short name (perhaps
wildcarded), and retrieve either the full name (from which to strip the
ver.) or version number, and compare it with what I have on disk. At
this stage, just reporting the differences is fine.

I could do these steps myself with normal http access and
screen-scraping, but is there already such a system/script somewhere?
Alternatively, how do you all keep versions of python addons
up-to-date? Manually?

regards
Caleb

Apr 20 '06 #1
6 1372
On 20/04/2006 7:26 PM, Caleb Hattingh wrote:
Hi everyone

I suspect this has come up before, but google and group searches for
"python package index query" or "pypi query" and the like haven't
turned anything up.

I want to monitor the versions of the list of packages I like having
around, and I expect that the python package index might be a good
place to do this. Typically, such packages would include, say, Pyrex
and PyParsing, for example.

So: I would like to query the package index with a short name (perhaps
wildcarded), and retrieve either the full name (from which to strip the
ver.) or version number, and compare it with what I have on disk. At
this stage, just reporting the differences is fine.

I could do these steps myself with normal http access and
screen-scraping, but is there already such a system/script somewhere?
Alternatively, how do you all keep versions of python addons
up-to-date? Manually?


Suggestion: subscribe to python-announce-list, use a filter ...
Apr 20 '06 #2
Caleb Hattingh wrote:
So: I would like to query the package index with a short name (perhaps
wildcarded), and retrieve either the full name (from which to strip the
ver.) or version number, and compare it with what I have on disk. At
this stage, just reporting the differences is fine.

I could do these steps myself with normal http access and
screen-scraping, but is there already such a system/script somewhere?
You can query the Cheeseshop through XML-RPC, see

http://www.inkdroid.org/journal/2005...i-over-xmlrpc/
Alternatively, how do you all keep versions of python addons
up-to-date? Manually?


I use Debian; this automatically gives me updates of all of
my packages.

Regards,
Martin
Apr 23 '06 #3
Hi Martin

Pretty much exactly what I wanted :)

How up-to-date does Debian keep its package list for python addons, or
are you running Unstable? My big problem, being in South Africa, is
that I have to get any distros on cover CDs or order from
distro-resellers, and they never have Testing or Unstable. Broadband
hasn't exactly hit the local market, although things might be looking
up in a few years or so.

keep well
Caleb

Apr 25 '06 #4
Caleb Hattingh wrote:
How up-to-date does Debian keep its package list for python addons,
or are you running Unstable?
I'm running unstable indeed.
My big problem, being in South Africa, is that I have to get any
distros on cover CDs or order from distro-resellers, and they never
have Testing or Unstable. Broadband hasn't exactly hit the local
market, although things might be looking up in a few years or so.


That's indeed a problem, then. In this part of the world, an "always
online" attitude is fairly common-place, ignoring that this does
not apply to the whole world (yet).

Regards,
Martin
Apr 26 '06 #5
[Caleb Hattingh]
My big problem, being in South Africa, is
that I have to get any distros on cover CDs or order from
distro-resellers, and they never have Testing or Unstable. Broadband
hasn't exactly hit the local market, although things might be looking
up in a few years or so.


I have no idea how useful the following will be, but I've
bought CDs several times from linuxemporium.c o.uk
and they've always been very obliging when I've contacted
them directly for updates etc. Obviously I can't speak for
them, but I don't imagine it's any harder for them to burn
Debian Unstable/Testing than burning any other download.

They're UK-based, but maybe a distributor in your part
of the world might be equally obliging.

TJG

Apr 27 '06 #6
On Thu, Apr 20, 2006 at 02:26:02AM -0700, Caleb Hattingh wrote:
I could do these steps myself with normal http access and
screen-scraping, but is there already such a system/script somewhere?
Alternatively, how do you all keep versions of python addons
up-to-date? Manually?

I use easy_install. Unfortunately not all packages work. Most notably the
following failed last time I tried:
twisted
pygtk
PIL
win32all
ctypes

Mostly this is because they do something a little bit non standard with
distutils. Newer versions of easy_install may have sorted these problems, I
have not tried in the last month or two.

http://peak.telecommunity.com/DevCenter/EasyInstall

I hope that helps you out,
Chris
Apr 28 '06 #7

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

Similar topics

0
1378
by: RCIC | last post by:
Trying to get a user's full name using ADSI. It works in our Win2000 Active Directory but fails when I try to get a user's full name from a trusted WinNT domain. The error is "Cannot create ActiveX component." Here's my code Dim myObject As Objec myObject = GetObject("WinNT://" & strDomain & "/" & strUsername & ",User" Return myObject.FullName( Any ideas why Also: I tried using a LDAP path (LDAP://cn=Username, dc=Domain) and that...
6
4964
by: seansan | last post by:
Hi, Does anyone know how to read the full access version number in visual basic? I need to know if the current program instance is SR-1 or SP-3, etc... I currently use: DB_DAO = DBEngine.Version DB_JET = CurrentDb().Version DB_VERSION = Application.SysCmd(acSysCmdAccessVer)
6
1950
by: Jo K. | last post by:
I have a bounded field called Name. It's used to type in the full name of a customer (intentionally set up that way instead of seperating the first and last names) I would like to be able to seperate the names in say a report. When merging data from the database to a word document, I would like the database to insert the first name for the "Dear" part of the letter. eg. James Smith is the full entry in the field. The report would...
2
582
by: Jesper | last post by:
Hi, I don't know if its possible, but I would like to get the full name of the user. Using string name = System.Environment.UserName; only gives me the login name of the user - however, when I push the windows start button (in XP) , my full name is shown at the top of the start pop-up. Is it possible to query for this full name value somewhere??
6
1611
by: wantagofast | last post by:
Hello all! I have been searching for what seems like days now on how to have my users full name (ie. John Smith) to appear on my intranet but can't seem to be able to find the correct asp code. I have the users authenticate by IIS via AD. I found some code to pull the user name but I really would like to pull the users full name. Would someone be so kind as to share with me the code to do just that. I need the complete code as I am...
4
1417
by: Brian Henry | last post by:
I am creating a plugin system and each plug-in has a class called "Connect", which is what I created as the entry point for the plug-in. The problem is, I need to get the Full type name of this to create a instance of it. previously I was doing this a different name by using the same root namespace name but different class names, but our new structure won't allow for this, mainly because of possibly namespace naming conflicts between...
4
5644
by: Mindy | last post by:
hey, guys, I have a simple question --- simple only for you. I created a combo box called "pick up a name". And the underlying table has lastname and firstname columns. The full name can be showed in the pull down menu because in the raw source I use something like"select xx.last_na, selctxx.first_na from xx" but after click on the pull down menu, only the last name showed in the box instead of full name. How to show the full name in...
5
3486
by: CindySue | last post by:
I'm not a programmer. I have a table called nicknames with two fields--a nickname field and a full name field. I also have a Licensed Provider table with a full name field and some other info. I have a form to enter new licensed providers. I want to be able to enter the nickname in a field and then have it fill in the full name field. I've been looking for ways but everything I try gives me the message that there is no macro with that name, so...
1
5986
by: hbkiwi | last post by:
Hi, Just playing with Access fairly new to it (like days old). Also it's my first post here so if I'm in the wrong place, sorry.. What I'm wanting to know is basically I have lets call it Table Data and I've got Last Name, First Name in the columns. I than have Table Full Name, with column Full Name. I have a relationship between the primary key of Table Data and the column Full Name. I have a form that displays the Full Name column. Its in...
0
10457
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10231
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10176
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9054
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6792
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5443
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5576
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4119
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3733
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.