Software Repo random bits of code

 
 
ss

Snake Steak - A python module to access the Freshmeat JSON API.
 
Snake Steak can be imported as a python module or run directly from the command
line.
 
Author: uriel
License: public domain
Homepage: http://repo.cat-v.org/snake_steak/

 
Modules
       
codecs
json
sys

 
Functions
       
get_project(name)
Get the information for project `name`.
get_project_releases(name)
Get the list of existing releses for project `name`.
get_project_urls(name)
Get the list of urls for project `name`.
load_auth_code(auth_code_file=None)
Load FreshMeat JSON API auth code from `auth_code_file`.
Return the auth code string if successful, or None on failure.
 
You should call this before calling anything else in the API. You can get
your auth code from your FreshMeat account page. 
 
If auth_code_file, is None will use`$HOME/.fm_auth_code`.
main()
Snake Steak's command line interface.
post_release(proj, version, log, tags=None)
Submit a release for version `version` of project `proj` with `log` as short changelog message.
update_url(proj, url_label, new_address)
Set the url with `url_label` to point to `new_address``.

 
Data
        auth_code = 'NO_auth_code_SET'
debug = False
dry_run = False