Constructs a request to the PyPI server and returns a list of yarg.parse.Package.
Parameters: | pypi_server – (option) URL to the PyPI server. >>> import yarg
>>> yarg.newest_packages()
[<Package yarg>, <Package gray>, <Package ragy>]
|
---|
Constructs a request to the PyPI server and returns a list of yarg.parse.Package.
Parameters: | pypi_server – (option) URL to the PyPI server. >>> import yarg
>>> yarg.latest_updated_packages()
[<Package yarg>, <Package gray>, <Package ragy>]
|
---|
A PyPI package generated from the RSS feed information.
Parameters: | pypi_dict – A dictionary retrieved from the PyPI server. |
---|
>>> package = yarg.newest_packages()[0]
>>> package.name
u'yarg'
>>> package = yarg.latest_updated_packages()[0]
>>> package.name
u'yarg'
>>> package = yarg.newest_packages()[0]
>>> package.name
u'yarg'
>>> package = yarg.latest_updated_packages()[0]
>>> package.name
u'yarg'
This is only available for yarg.latest_updated_packages(), for yarg.newest_packages() will return None
>>> package = yarg.latest_updated_packages()[0]
>>> package.url
u'http://pypi.python.org/pypi/yarg'