DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports Events Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones AWS Cloud
by AWS Developer Relations
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones
AWS Cloud
by AWS Developer Relations
Building Scalable Real-Time Apps with AstraDB and Vaadin
Register Now

Trending

  • Micro Frontends on Monorepo With Remote State Management
  • Web Development Checklist
  • Building and Deploying Microservices With Spring Boot and Docker
  • Best Practices for Securing Infrastructure as Code (Iac) In the DevOps SDLC

Trending

  • Micro Frontends on Monorepo With Remote State Management
  • Web Development Checklist
  • Building and Deploying Microservices With Spring Boot and Docker
  • Best Practices for Securing Infrastructure as Code (Iac) In the DevOps SDLC
  1. DZone
  2. Data Engineering
  3. Data
  4. Just a Class Diagram for Python 3 Collections Abstract Base Classes

Just a Class Diagram for Python 3 Collections Abstract Base Classes

The class diagram depicts the main classes in Python’s collections.abs module and their relationship with built-in container types.

Sangmoon Oh user avatar by
Sangmoon Oh
·
Sep. 30, 20 · Presentation
Like (2)
Save
Tweet
Share
1.28K Views

Join the DZone community and get the full member experience.

Join For Free

collections abstract base classes and built-in container types

Collections abstract base classes and built-in container types

Python’s built-in container types such as tuple, str, bytes, list, set, and dict show well why Python is so popular. They cover all the usage in view of mutability and item order, and the operations and behaviors are really intuitive, expressive, and concise. Especially slice notation and high-order functions on these container types are even beautiful.

In Python, these container types are generalized by abstract base classes mechanism to be extended easily. The above class diagram depicts the main classes in Python’s collections.abs module and their relationship with built-in container types.

The diagram is drawn using PlantUML and the source (in plain text) of it is here.

Class diagram Python (language) Diagram

Opinions expressed by DZone contributors are their own.

Trending

  • Micro Frontends on Monorepo With Remote State Management
  • Web Development Checklist
  • Building and Deploying Microservices With Spring Boot and Docker
  • Best Practices for Securing Infrastructure as Code (Iac) In the DevOps SDLC

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com

Let's be friends: