Development reference documentation
All of the modules listed are applications.
apiv1 - restful API
Restful api for opencomparison, based on django-tastypie
(docs
|
pypi
|
repo).
This module consists of two components - module api
and the resource definition module resources.
The api urls are exposed in project’s main urls.py file
apiv1.api
apiv1.resources
core - Kernal bits
core.fields
core.models
feeds - RSS and Atom feeds
This application defines RSS and Atom feeds
that are made available to the users of OpenComparison
feeds.urls
feeds.feeds
grid - package grid app
Grid application - displays and
manipulates the package grid
grid.views
grid.models
grid.forms
profiles - profiles app
Manages user profiles
profiles.models
profiles.context_processors
-
profiles.context_processors.lazy_profile(request)[source]
Returns context variables required by templates that assume a profile
on each request
pypi - pypi app
All connection points with PyPI
pypi.slurper
pypi.versioning
-
pypi.versioning.compare_versions(version1, version2)[source]
Determines the order of versions
-
pypi.versioning.highest_version(versions)[source]
returns the highest version
searchv2 - searchv2 app
searchv2.views