Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Kivy Blueprints
  • Toc
  • feedback
Kivy Blueprints

Kivy Blueprints

By : Vasilkov
3.7 (10)
close
Kivy Blueprints

Kivy Blueprints

3.7 (10)
By: Vasilkov

Overview of this book

This book is intended for programmers who are comfortable with the Python language and who want to build desktop and mobile applications with rich GUI in Python with minimal hassle. Knowledge of Kivy is not strictly required—every aspect of the framework is described when it's first used.
Table of Contents (12 chapters)
close
10
A. The Python Ecosystem
11
Index

The server

To simplify testing and possible future integration, we want to make our server talk a well-established application-level protocol this time. Let's use Hypertext Transfer Protocol (HTTP); in addition to relative simplicity and ease of testing, it has at least two more valuable qualities:

  • Abundance of libraries to support it, both server- and client-side. This is obviously a consequence of HTTP powering the Internet, the largest and most popular network to date.
  • Unlike many other protocols, for HTTP we can write a very simple proof-of-concept JavaScript client that runs inside a web browser. This isn't strictly related to the topic of the book, but may prove useful in a number of scenarios, especially when debugging.

The library of choice that we'll utilize to build the server is Flask. There is another popular Python web framework, Django, that's also highly recommended. However, Django projects generally end up being more heavyweight, so we'll stick with...

bookmark search playlist download font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete