Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Python Data Model
Python Data Model

Python Data Model: Master the Power of Python Data Models

Arrow left icon
Profile Icon ACI Learning Profile Icon Daniel Lowrie Profile Icon Justin Dennison Profile Icon Mike Rodrick
Arrow right icon
€187.99
Video Jun 2024 12hrs 26mins 1st Edition
Video
€187.99
Subscription
Free Trial
Renews at €18.99p/m
Arrow left icon
Profile Icon ACI Learning Profile Icon Daniel Lowrie Profile Icon Justin Dennison Profile Icon Mike Rodrick
Arrow right icon
€187.99
Video Jun 2024 12hrs 26mins 1st Edition
Video
€187.99
Subscription
Free Trial
Renews at €18.99p/m
Video
€187.99
Subscription
Free Trial
Renews at €18.99p/m

What do you get with a video?

Product feature icon Download this video in MP4 format
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want

Key benefits

  • Explore everything from instance creation to advanced serialization
  • Learn from seasoned industry professionals in Python development
  • Build your knowledge progressively, ensuring a solid grasp of each concept

Description

Delve into Python's internal protocols and data models to unlock advanced programming capabilities. This comprehensive course, led by expert instructors Justin and Mike, starts with foundational concepts like creating and initializing instances and progresses to complex topics such as custom object representation and deletion methods. You'll explore Python's __str__ and __repr__ methods to craft custom string outputs and master the __format__ and __bytes__ methods to enhance object presentation. As you advance, you'll learn to implement iterable objects and dictionary-like behaviors through methods like __iter__, __getitem__, __setitem__, and __delitem__. You'll gain expertise in boolean representation, equality and inequality operations, leveraging hash functions, and managing object slots. The course's numeric section covers operator overloading for arithmetic and bitwise operations, extending Python's numeric capabilities to custom objects. Finally, explore advanced topics like attribute management, custom descriptors, making objects callable, context management, and serialization. By the end of this course, you'll be proficient in Python's data model protocols, enabling you to write more efficient, readable, and powerful Python code. Join us to elevate your Python programming skills to a professional level.

Who is this book for?

This course is designed for intermediate to advanced Python developers looking to deepen their understanding of Python's data model and internal protocols. A solid grasp of Python basics and object-oriented programming concepts is required.

What you will learn

  • Master Python data models and create custom object behaviors.
  • Craft custom behaviors and improve displays with methods.
  • Enhance objects with custom methods for output formats.
  • Enhance math and bitwise with operator overloading.
  • Control attribute access and create custom descriptors.
  • Use context managers and customize object serialization.

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Jun 12, 2024
Length: 12hrs 26mins
Edition : 1st
Language : English
ISBN-13 : 9781836201533
Category :
Languages :

What do you get with a video?

Product feature icon Download this video in MP4 format
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want

Product Details

Publication date : Jun 12, 2024
Length: 12hrs 26mins
Edition : 1st
Language : English
ISBN-13 : 9781836201533
Category :
Languages :

Packt Subscriptions

See our plans and pricing
Modal Close icon
€18.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
€189.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just €5 each
Feature tick icon Exclusive print discounts
€264.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just €5 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total 139.98
Put Generative AI to Work
€97.99
Object-Oriented JavaScript - Second Edition
€41.99
Total 139.98 Stars icon

Table of Contents

8 Chapters
Basics Chevron down icon Chevron up icon
Containers Chevron down icon Chevron up icon
Comparables Chevron down icon Chevron up icon
Numbers Chevron down icon Chevron up icon
Attributes Chevron down icon Chevron up icon
Functions Chevron down icon Chevron up icon
Context Managers Chevron down icon Chevron up icon
Serialization Chevron down icon Chevron up icon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

How can I download a video package for offline viewing? Chevron down icon Chevron up icon
  1. Login to your account at Packtpub.com.
  2. Click on "My Account" and then click on the "My Videos" tab to access your videos.
  3. Click on the "Download Now" link to start your video download.
How can I extract my video file? Chevron down icon Chevron up icon

All modern operating systems ship with ZIP file extraction built in. If you'd prefer to use a dedicated compression application, we've tested WinRAR / 7-Zip for Windows, Zipeg / iZip / UnRarX for Mac and 7-Zip / PeaZip for Linux. These applications support all extension files.

How can I get help and support around my video package? Chevron down icon Chevron up icon

If your video course doesn't give you what you were expecting, either because of functionality problems or because the content isn't up to scratch, please mail customercare@packt.com with details of the problem. In addition, so that we can best provide the support you need, please include the following information for our support team.

  1. Video
  2. Format watched (HTML, MP4, streaming)
  3. Chapter or section that issue relates to (if relevant)
  4. System being played on
  5. Browser used (if relevant)
  6. Details of support
Why can’t I download my video package? Chevron down icon Chevron up icon

In the even that you are having issues downloading your video package then please follow these instructions:

  1. Disable all your browser plugins and extensions: Some security and download manager extensions can cause issues during the download.
  2. Download the video course using a different browser: We've tested downloads operate correctly in current versions of Chrome, Firefox, Internet Explorer, and Safari.