472,791 Members | 1,444 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,791 software developers and data experts.

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 1324
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.co.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
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...
6
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 =...
6
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...
2
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...
6
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...
4
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...
4
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...
5
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...
1
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...
0
by: Rina0 | last post by:
Cybersecurity engineering is a specialized field that focuses on the design, development, and implementation of systems, processes, and technologies that protect against cyber threats and...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 2 August 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: erikbower65 | last post by:
Using CodiumAI's pr-agent is simple and powerful. Follow these steps: 1. Install CodiumAI CLI: Ensure Node.js is installed, then run 'npm install -g codiumai' in the terminal. 2. Connect to...
0
linyimin
by: linyimin | last post by:
Spring Startup Analyzer generates an interactive Spring application startup report that lets you understand what contributes to the application startup time and helps to optimize it. Support for...
0
by: erikbower65 | last post by:
Here's a concise step-by-step guide for manually installing IntelliJ IDEA: 1. Download: Visit the official JetBrains website and download the IntelliJ IDEA Community or Ultimate edition based on...
0
by: Taofi | last post by:
I try to insert a new record but the error message says the number of query names and destination fields are not the same This are my field names ID, Budgeted, Actual, Status and Differences ...
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: lllomh | last post by:
How does React native implement an English player?
0
by: Mushico | last post by:
How to calculate date of retirement from date of birth

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.