| |
- dataplot.plotmodels.Model(django.db.models.base.Model)
-
- Game
- Player
- Score
- Team
- django.db.models.manager.Manager(__builtin__.object)
-
- GameManager
- PlayerManager
Game = <class 'dataplot.soccer.models.Game'>
class GameManager(django.db.models.manager.Manager) |
| |
- Method resolution order:
- GameManager
- django.db.models.manager.Manager
- __builtin__.object
Methods defined here:
- create_from_file(self, filename=None)
- Create new bike rides based on records in a text file.
- create_from_line(self, line)
- Create one game based on line of text datafile.
- export_games_to_file(self, filename=None)
- Export data to a text file.
- get_export_text(self)
- Text for exported data file.
- get_latest(self)
Data and other attributes defined here:
- DEFAULT_DATAFILE = './dataplot/soccer/games.txt'
- TUPKEYS = ('name', 'goals', 'own_goals')
- __slotnames__ = []
Methods inherited from django.db.models.manager.Manager:
- __init__(self)
- all(self)
- complex_filter(self, *args, **kwargs)
- contribute_to_class(self, model, name)
- count(self)
- create(self, **kwargs)
- dates(self, *args, **kwargs)
- distinct(self, *args, **kwargs)
- exclude(self, *args, **kwargs)
- extra(self, *args, **kwargs)
- filter(self, *args, **kwargs)
- get(self, *args, **kwargs)
- get_empty_query_set(self)
- get_or_create(self, **kwargs)
- get_query_set(self)
- Returns a new QuerySet object. Subclasses can override this method
to easily customize the behavior of the Manager.
- in_bulk(self, *args, **kwargs)
- iterator(self, *args, **kwargs)
- latest(self, *args, **kwargs)
- none(self)
- order_by(self, *args, **kwargs)
- select_related(self, *args, **kwargs)
- values(self, *args, **kwargs)
Data and other attributes inherited from django.db.models.manager.Manager:
- __dict__ = <dictproxy object>
- dictionary for instance variables (if defined)
- __weakref__ = <attribute '__weakref__' of 'Manager' objects>
- list of weak references to the object (if defined)
- creation_counter = 50
| Player = <class 'dataplot.soccer.models.Player'>
class PlayerManager(django.db.models.manager.Manager) |
|
Adds plotting methods. |
|
- Method resolution order:
- PlayerManager
- django.db.models.manager.Manager
- __builtin__.object
Methods defined here:
- SquareScatter_args(self)
- frequent_players(self)
- get_goals_and_victories_args(self)
- get_ts_data(self)
- Plot args for making multiple time series of win%
We should replace this data filtering method with some
database-backed method, so statistics can be looked up and
plotted faster/easier.
- multi_time_series_args = _curried(*moreargs, **morekwargs)
- offense_defense_args = _curried(*moreargs, **morekwargs)
- plotable(self)
- wins_diff_args(self)
Data and other attributes defined here:
- __slotnames__ = []
Methods inherited from django.db.models.manager.Manager:
- __init__(self)
- all(self)
- complex_filter(self, *args, **kwargs)
- contribute_to_class(self, model, name)
- count(self)
- create(self, **kwargs)
- dates(self, *args, **kwargs)
- distinct(self, *args, **kwargs)
- exclude(self, *args, **kwargs)
- extra(self, *args, **kwargs)
- filter(self, *args, **kwargs)
- get(self, *args, **kwargs)
- get_empty_query_set(self)
- get_or_create(self, **kwargs)
- get_query_set(self)
- Returns a new QuerySet object. Subclasses can override this method
to easily customize the behavior of the Manager.
- in_bulk(self, *args, **kwargs)
- iterator(self, *args, **kwargs)
- latest(self, *args, **kwargs)
- none(self)
- order_by(self, *args, **kwargs)
- select_related(self, *args, **kwargs)
- values(self, *args, **kwargs)
Data and other attributes inherited from django.db.models.manager.Manager:
- __dict__ = <dictproxy object>
- dictionary for instance variables (if defined)
- __weakref__ = <attribute '__weakref__' of 'Manager' objects>
- list of weak references to the object (if defined)
- creation_counter = 50
| Score = <class 'dataplot.soccer.models.Score'> Team = <class 'dataplot.soccer.models.Team'> |