CBOR Using Python
.MP4, AVC, 1280x720, 30 fps | English, AAC, 2 Ch | 1h 36m | 630 MB
Instructor: Yago Caetano
.MP4, AVC, 1280x720, 30 fps | English, AAC, 2 Ch | 1h 36m | 630 MB
Instructor: Yago Caetano
A lightweight alternative to JSON
What you'll learn
- The CBOR Format
- Why JSON and CBOR exists
- How use Python to work with CBOR
- How use CBOR in practical application
- How to measure API response time
- How analyse network packets with Wireshark
Requirements
- Python basics
- API basics
Description
This course is designed for beginner programming students, especially those learning Python. The goal is to provide a comprehensive understanding of two important data formats: JSON and CBOR.
Key Topics Covered:
1. What is JSON:
Definition and structure of JSON
How and why JSON is widely used for data interchange
2. Why JSON is Used:
Advantages and use cases of JSON
Practical examples of applications that use JSON
3. What is CBOR:
Definition and structure of CBOR
Introduction to CBOR as an efficient binary format
4. Why Use CBOR:
Advantages and benefits of CBOR compared to other data formats
Examples of scenarios where CBOR is more suitable than JSON
5. Differences Between JSON and CBOR:
Detailed comparison between the two formats
Analysis of the advantages and disadvantages of each
Practical Project:
As part of the course, you will develop a Python API with routes that use both JSON and CBOR. Using Wireshark, we will perform practical comparisons between the two approaches, measuring response times and analyzing the efficiency of each format.
What You Will Learn:
- How to structure and manipulate data in JSON and CBOR
- Best practices for using these data formats in your applications
- How to develop and test a Python API that supports multiple data formats
- Tools and techniques for analyzing and optimizing data interchange performance
Why Take This Course:
This course will not only provide theoretical knowledge about JSON and CBOR but also offer valuable practical experience, preparing you to apply this knowledge to real-world projects. By the end of the course, you will have a clear understanding of the differences between JSON and CBOR and know how to choose the most suitable format for your needs.