title: What is the naming convention for Python class references
body: <p>What is the naming convention for a variable referencing a class in Python?</p>
  <pre><code>class MyClass(object):
      pass
  
  # which one is correct?
  reference_to_class = MyClass
  
  # or
  ReferenceToClass = MyClass
  </code></pre>
  <p>Here is another example that resembles my situation:</p>
  <pre><code># cars.py
  class Car(object):
      pass
  
  class Sedan(Car):
      pass
  
  class Coupe(Car):
      pass
  
  class StatonWagon(Car):
      pass
  
  class Van(Car):
      pass
  
  def get_car_class(slug, config):
      return config.get(slug)
  
  # config.py
  CONFIG = {
      'ford-mustang': Coupe,
      'buick-riviera': Coupe,
      'chevrolet-caprice': Sedan,
      'chevy-wan' Van:
      'ford-econoline': Van
  }
  
  # main.py
  from config.py import CONFIG
  from cars import get_car_class
  
  MyCarClass = get_car_class('buick-riviera')
  
  my_car = MyCarClass()
  </code></pre>
  <p>I would prefer ReferenceToClass, that everybody new to the code knows it's a class and not an instance. But as <a href="https://stackoverflow.com/questions/13765980/what-is-the-naming-convention-for-python-class-references#comment18923309_13766060">poplitea wrote</a>, literature reference would be great.</p>