There is a small difference between a "release package" and a "source tarball". Release packages are something that can be installed with "python setup.py install". Source tarballs do not contain HTML docs, do not have properly set csb.__version__ number
and basically need to be built first with "csb/build.py". This produces a release package.
If a release package would be sufficient for you, then it is very simple: we upload every release to PyPi. Just query the PyPi stats for package "csb". One way to do it is to parse this XML:
and then search for "csb-n.n.n.tar.gz", where "n" is a digit (\d+). Another option is to use a PyPi API, such as:
But in case you really need the source tarball, it is a bit more work:
1) use a mercurial client to get the changeset id of the latest stable release (releases are tagged with labels) -- you basically need the ID of the newest label
2) then download the tarball from here:
where ChangesetID is the changeset ID.