__init__.py 984 B

123456789101112131415161718192021222324252627282930313233
  1. """
  2. Category Theory module.
  3. Provides some of the fundamental category-theory-related classes,
  4. including categories, morphisms, diagrams. Functors are not
  5. implemented yet.
  6. The general reference work this module tries to follow is
  7. [JoyOfCats] J. Adamek, H. Herrlich. G. E. Strecker: Abstract and
  8. Concrete Categories. The Joy of Cats.
  9. The latest version of this book should be available for free download
  10. from
  11. katmat.math.uni-bremen.de/acc/acc.pdf
  12. """
  13. from .baseclasses import (Object, Morphism, IdentityMorphism,
  14. NamedMorphism, CompositeMorphism, Category,
  15. Diagram)
  16. from .diagram_drawing import (DiagramGrid, XypicDiagramDrawer,
  17. xypic_draw_diagram, preview_diagram)
  18. __all__ = [
  19. 'Object', 'Morphism', 'IdentityMorphism', 'NamedMorphism',
  20. 'CompositeMorphism', 'Category', 'Diagram',
  21. 'DiagramGrid', 'XypicDiagramDrawer', 'xypic_draw_diagram',
  22. 'preview_diagram',
  23. ]