Python Programming Blueprints : Build nine projects by leveraging powerful frameworks such as Flask, Nameko, and Django /: Build nine projects by leveraging powerful frameworks such as Flask, Nameko, and Django. (2018)
- Record Type:
- Book
- Title:
- Python Programming Blueprints : Build nine projects by leveraging powerful frameworks such as Flask, Nameko, and Django /: Build nine projects by leveraging powerful frameworks such as Flask, Nameko, and Django. (2018)
- Main Title:
- Python Programming Blueprints : Build nine projects by leveraging powerful frameworks such as Flask, Nameko, and Django
- Further Information:
- Note: Daniel Furtado, Marcus Pennignton.
- Authors:
- Furtado, Daniel
Pennington, Marcus - Contents:
- Cover; Title Page; Copyright and Credits; Dedication; Contributors; Packt Upsell; Table of Contents; Preface; Chapter 1: Implementing the Weather Application; Setting up the environment; Core functionality; Loading parsers dynamically; Creating the application's model; Fetching data from the weather website; Getting the user's input with ArgumentParser; Creating the parser; Getting today's weather forecast; Adding helper methods; Implementing today's weather forecast; Getting five- and ten-day weather forecasts; Getting the weekend weather forecast; Summary. Chapter 2: Creating a Remote-Control Application with SpotifySetting up the environment; Creating a Spotify app; The application's configuration; Creating a configuration file; Implementing a configuration file reader; Authenticating with Spotify's web API; Implementing the client credentials flow; Implementing the authorization code flow; Authorizing our application with authorization code flow; Querying Spotify's web API; Creating the player; Adding menus for albums and track selection; Implementing the menu panel; Creating the DataManager class; Time to listen to music!; Summary. Chapter 3: Casting Votes on TwitterSetting up the environment; Creating a Twitter application; Adding the configuration file; Performing authentication; Creating the Flask application; Creating the application routes; Building the Twitter voting application; Enhancing our code; Summary; Chapter 4: Exchange Rates and the Currency ConversionCover; Title Page; Copyright and Credits; Dedication; Contributors; Packt Upsell; Table of Contents; Preface; Chapter 1: Implementing the Weather Application; Setting up the environment; Core functionality; Loading parsers dynamically; Creating the application's model; Fetching data from the weather website; Getting the user's input with ArgumentParser; Creating the parser; Getting today's weather forecast; Adding helper methods; Implementing today's weather forecast; Getting five- and ten-day weather forecasts; Getting the weekend weather forecast; Summary. Chapter 2: Creating a Remote-Control Application with SpotifySetting up the environment; Creating a Spotify app; The application's configuration; Creating a configuration file; Implementing a configuration file reader; Authenticating with Spotify's web API; Implementing the client credentials flow; Implementing the authorization code flow; Authorizing our application with authorization code flow; Querying Spotify's web API; Creating the player; Adding menus for albums and track selection; Implementing the menu panel; Creating the DataManager class; Time to listen to music!; Summary. Chapter 3: Casting Votes on TwitterSetting up the environment; Creating a Twitter application; Adding the configuration file; Performing authentication; Creating the Flask application; Creating the application routes; Building the Twitter voting application; Enhancing our code; Summary; Chapter 4: Exchange Rates and the Currency Conversion Tool; Setting up the environment; Creating the API wrapper; Adding the database helper class; Creating the command line parser; Creating the currency enumeration; Creating the command line parser; Basic validation; Adding the application's entry point. Testing our applicationSummary; Chapter 5: Building a Web Messenger with Microservices; TempMessenger Goals; Requirements; What is Nameko?; RPCs; How Nameko uses AMQP; RabbitMQ; Starting a RabbitMQ container; Installing Python requirements; Creating your first Nameko microservice; Making a call to our service; Unit-testing a Nameko microservice; Exposing HTTP entrypoints; Integration testing Nameko microservices; Storing messages; An introduction to Redis; Starting a Redis container; Installing the Python Redis client; Using Redis; Nameko Dependency Providers. Adding a Redis Dependency ProviderDesigning the Client; Creating the Dependency Provider; Creating our Message Service; Putting it all together; Saving messages; Adding a save message method to our Redis client; Adding a save message RPC; Retrieving all messages; Adding a get all messages method to our Redis client; Adding a get all messages RPC; Putting it all together; Displaying messages in the web browser; Adding a Jinja2 Dependency Provider; Creating the template renderer; Creating our homepage template; Creating the Dependency Provider; Making a HTML response; Putting it all together. … (more)
- Publisher Details:
- Birmingham : Packt Publishing
- Publication Date:
- 2018
- Extent:
- 1 online resource (449 pages)
- Subjects:
- 005.133
Computers -- Software Development & Engineering -- General
Python (Computer program language)
Computer programming
Computers -- Programming Languages -- Python
Computers -- Web -- General
Internet: general works
Computer programming / software development
Programming & scripting languages: general
Electronic books - Languages:
- English
- ISBNs:
- 9781786464903
- Related ISBNs:
- 178646490X
9781786468161 - Notes:
- Note: Online resource; title from PDF title page (EBSCO, Dec. 14, 2018).
Note: Print version record. - Access Rights:
- Legal Deposit; Only available on premises controlled by the deposit library and to one user at any one time; The Legal Deposit Libraries (Non-Print Works) Regulations (UK).
- Access Usage:
- Restricted: Printing from this resource is governed by The Legal Deposit Libraries (Non-Print Works) Regulations (UK) and UK copyright law currently in force.
- View Content:
- Available online (eLD content is only available in our Reading Rooms) ↗
- Physical Locations:
- British Library HMNTS - ELD.DS.272929
- Ingest File:
- 02_320.xml