Index
A
- asynchronous decorators
- using, by refactoring code / Refactoring code to take advantage of asynchronous decorators
- asynchronous execution / Understanding synchronous and asynchronous execution
- asynchronous request handlers
- URL patterns, mapping to / Mapping URL patterns to asynchronous request handlers
- authentication / Understanding authentication, permissions, and throttling
- authentication credentials
- used, for browsing Django API / Browsing the API with authentication credentials
B
- blueprints
- combining, with resourceful routing / Combining blueprints with resourceful routing
- registering / Registering the blueprint and running migrations
- Browsable API
- used, to test filtering / Filtering, searching and ordering in the Browsable API
- used, to test ordering / Filtering, searching and ordering in the Browsable API
- used, to test searching / Filtering, searching and ordering in the Browsable API
C
- class-based views
- cloud
- Django RESTful API, running / Running Django RESTful APIs on the cloud
- Tornado API, deploying / Understanding strategies for deploying Tornado APIs to the cloud
- code
- refactoring, for using asynchronous decorators / Refactoring code to take advantage of asynchronous decorators
- command-line script (CLI) / Registering the blueprint and running migrations
- command-line tools
- used, for making HTTP requests to Pyramid API / Making HTTP requests to the API with command-line tools
- used, for making HTTP reqquests to Pyramid API / Making HTTP requests to the API with command-line tools
- complex PostgreSQL 10.5 database interaction
- RESTful API, designing for / Designing a RESTful API to interact with a complex PostgreSQL 10.5 database
- Cross-Site Request Forger (CSRF) / Creating a database for testing
- curl command-line tool
- customized permission class
- creating, for object-level permissions / Creating a customized permission class for object-level permissions
- Cygwin terminal
D
- default parsing
- default rendering
- deployments
- deserialization
- managing / Managing serialization and deserialization
- managing, with relationships / Managing serialization and deserialization with relationships and hyperlinks
- managing, with hyperlinks / Managing serialization and deserialization with relationships and hyperlinks
- dictionary
- using, as repository / Using a dictionary as a repository
- Django 2.1 API
- browsing / Browsing the API
- endpoints, working with / Working with endpoints for the API
- browsing, with relationships / Browsing an API with relationships
- Django 2.1 API views
- writing, with wrappers / Working with wrappers to write API views
- Django API
- HTTP requests, making for / Making HTTP requests to the Django API
- browsing, with authentication credentials / Browsing the API with authentication credentials
- Django API, HTTP requests
- curl command-line tool, using / Working with command-line tools - curl and httpie
- Postman GUI tool, using / Working with GUI tools - Postman and others
- GUI tools, using / Working with GUI tools - Postman and others
- Django API views
- writing / Writing API views
- Django REST Framework (DRF)
- about / Designing a RESTful API to interact with a simple SQLite database
- used, for setting up virtual environment / Setting up the virtual environment with Django REST framework
- Django RESTful APIs
- running, on cloud / Running Django RESTful APIs on the cloud
- duplicate code
- eliminating, with model serializers / Using model serializers to eliminate duplicate code
E
- endpoints
- configuring / Configuring resource routing and endpoints
- used, for Django 2.1 API / Working with endpoints for the API
- Entertainment Software Rating Board (ESRB) / Designing a RESTful API to interact with a simple SQLite database
F
- filters
- packages, installing with requirements.txt file / Installing packages with the requirements.txt file to work with filters, throttling, and tests
- fixtures
- creating, for running clean tests / Creating fixtures to perform setup and teardown tasks for running clean tests
- creating, to teardown tasks for running clean tests / Creating fixtures to perform setup and teardown tasks for running clean tests
- Flask
- used, for setting up virtual environment / Setting up a virtual environment with Flask and Flask-RESTful
- Flask-Marshmallow schema
- creating, for model validation / Creating schemas to validate, serialize, and deserialize models
- creating, for model serialization / Creating schemas to validate, serialize, and deserialize models
- creating, for model deserialization / Creating schemas to validate, serialize, and deserialize models
- creating, for user serialization / Creating schemas to validate, serialize, and deserialize users
- creating, for user deserialization / Creating schemas to validate, serialize, and deserialize users
- creating, for user validation / Creating schemas to validate, serialize, and deserialize users
- Flask-RESTful
- used, for setting up virtual environment / Setting up a virtual environment with Flask and Flask-RESTful
- Flask API
- HTTP requests, making / Making HTTP requests to the Flask API
- Flask pluggable views
- resourceful routing, working with / Working with resourceful routing on top of Flask pluggable views
G
- generic class-based views
- advantage / Taking advantage of generic class-based views
- generic classes
- generic pagination class
- coding / Coding a generic pagination class
- Global Interpreter Lock (GIL) / Designing a RESTful API to interact with slow sensors and actuators
- Graphical User Interface (GUI)
- reference / Working with GUI tools – Postman and others
H
- HTTPie command-line tool
- about / Working with the curl and httpie command-line tools
- HTTPie command-line tool, using / Working with command-line tools - curl and httpie
- HTTP method, Django 2.1
- HTTP method, Flask
- HTTP method, Flask 1.0.2
- HTTP method, Tornado 5.1.1
- HTTP requests
- making, to Flask API / Making HTTP requests to the Flask API
- making, to Django API / Making HTTP requests to the Django API
- executing, to test throttling policies / Executing HTTP requests to test throttling policies
- making, to Pyramid API with command-line tools / Making HTTP requests to the API with command-line tools
- making, to Tornado API / Making HTTP requests to the Tornado API
- making, to Tornado non-blocking API / Making HTTP requests to the Tornado non-blocking API
- HTTP requests, Django 2.1
- executing, to test filtering / Executing HTTP requests to test filtering, searching, and ordering
- executing, to test searching / Executing HTTP requests to test filtering, searching, and ordering
- executing, to test ordering / Executing HTTP requests to test filtering, searching, and ordering
- HTTP requests, to Flask API
- curl command-line tool, using / Working with the curl and httpie command-line tools
- httpie command-line tools, using / Working with the curl and httpie command-line tools
- Postman GUI tool, using / Working with GUI tools – Postman and others
- GUI tools, using / Working with GUI tools – Postman and others
- consuming, with other programming languages / Consuming the API with other programming languages
I
- iCurlHTTP
- reference / Working with GUI tools – Postman and others
- Integrated Development Environment (IDE) / Working with GUI tools – Postman and others
J
- JavaScript Object Notation (JSON) / Understanding the tasks performed by each HTTP method
L
- Light-Emitting Diode (LED) / Designing a RESTful API to interact with slow sensors and actuators
- lightweight virtual environments
- working with / Working with lightweight virtual environments
M
- Marshmallow schema
- creating, serialize SurfboardMetricModel model / Creating a Marshmallow schema to validate, serialize, and deserialize the model
- creating, to validate SurfboardMetricModel model / Creating a Marshmallow schema to validate, serialize, and deserialize the model
- creating, to deserialize SurfboardMetricModel model / Creating a Marshmallow schema to validate, serialize, and deserialize the model
- microservices / Understanding microservices
- migrations
- executing / Registering the blueprint and running migrations
- executing, for user table generation / Running migrations to generate the user table
- running / Running migrations
- default value, setting for required field / Setting a default value for a new required field in migrations
- miles per hour (MPH) / Designing a RESTful API to interact with a simple data source
- models
- creating, with relationships / Creating models with their relationships
- unique constraints, improving / Improving unique constraints in the models
- relationships, declaring with / Declaring relationships with the models
- unique constraints, adding / Adding unique constraints to the models
- security-related data, adding / Adding security-related data to the models
- model serializers
- using, to eliminate duplicate code / Using model serializers to eliminate duplicate code
N
- NotificationModel class
- creating / Creating the model
O
- object-level permissions
- customized permission class, creating for / Creating a customized permission class for object-level permissions
- Object-Relational Mapping (ORM) / Designing a RESTful API to interact with a simple data source, Creating models with their relationships, Designing a RESTful API to interact with a simple SQLite database, Designing a RESTful API to interact with a simple data source
- Organic Light Emitting Diode (OLED) / Designing a RESTful API to interact with a simple data source
P
- packages
- installing, with requirements.txt file / Installing packages with the requirements.txt file to simplify our common tasks
- pagination
- advantage / Taking advantage of pagination
- pagination classes
- customizing / Customizing pagination classes
- pagination features
- adding / Adding pagination features
- PATCH method
- used, for updating single field for resource / Updating a single field for a resource with the PATCH method
- permissions / Understanding authentication, permissions, and throttling
- PostgreSQL
- creating, for testing / Creating a database for testing
- packages, installing with requirements.txt file / Installing packages with the requirements.txt file to work with PostgreSQL
- PostgreSQL 10.5 database
- interaction, by designing RESTful API / Designing a RESTful API to interact with a PostgreSQL 10.5 database
- creating / Creating the database
- reference / Creating the database
- configuring / Configuring the database
- PostgreSQL database
- contents, verifying / Verifying the contents of the PostgreSQL database, Verifying the contents of the PostgreSQL database
- related resources, retrieving / Creating and retrieving related resources
- related resources, creating / Creating and retrieving related resources
- creating, for testing / Creating a database for testing
- first round of unit test, writing / Writing the first round of unit tests
- Postman app
- reference / Working with GUI tools – Postman and others
- PUT method
- and PATCH method, differences / Understanding the differences between the PUT and the PATCH methods
- Pyramid 1.10
- used, for setting up virtual environment / Setting up the virtual environment with Pyramid 1.10
- Pyramid API
- HTTP requests, creating with command-line tools / Making HTTP requests to the API with command-line tools
- Pyramid project
- creating, based on template / Creating a new Pyramid project based on a template
- pytest
- used, for setting up unit tests / Setting up unit tests with pytest, Setting up unit tests with pytest
- used, for executing unit tests / Running unit tests with pytest and checking testing coverage
- used, for running unit tests / Running unit tests with pytest
- used, for setting up unit tests in Tornado API / Setting up unit tests with pytest
- Python virtual environments
- reference / Working with lightweight virtual environments
R
- related resources
- creating / Creating and retrieving related resources
- retrieving / Creating and retrieving related resources
- request handlers
- writing / Writing request handlers
- URL patterns, mapping / Mapping URL patterns to request handlers
- resource, with PATCH method
- fields, updating / Updating fields for a resource with the PATCH method
- resourceful routing
- configuring / Understanding and configuring resourceful routing
- resource routing
- configuring / Configuring resource routing and endpoints
- responses
- status codes / Understanding status codes for the responses
- RESTful API
- designing, for interaction with PostgreSQL 10.5 database / Designing a RESTful API to interact with a PostgreSQL 10.5 database
- designing, for interaction with SQLite database / Designing a RESTful API to interact with a simple SQLite database
- designing, to interact with complex PostgreSQL 10.5 database / Designing a RESTful API to interact with a complex PostgreSQL 10.5 database
- RESTful API, with Django
- requests, composing with necessary authentication / Composing requests with the necessary authentication
- RESTful API, with Django 2.1
- models, creating / Creating the models
- classes, filtering / Understanding filtering, searching, and ordering classes
- classes, searching / Understanding filtering, searching, and ordering classes
- classes, ordering / Understanding filtering, searching, and ordering classes
- filtering configuration, for views / Configuring filtering, searching, and ordering for views
- searching configuration, for views / Configuring filtering, searching, and ordering for views
- ordering configuration, for views / Configuring filtering, searching, and ordering for views
- RESTful API, with Flask
- generic pagination class, coding / Coding a generic pagination class
- pagination features, adding / Adding pagination features
- authentication, adding / Understanding the steps to add authentication and permissions
- permissions, adding / Understanding the steps to add authentication and permissions
- user model, adding / Adding a user model
- authentication, adding, resources / Adding authentication to resources
- resource classes, creating to handle users / Creating resource classes to handle users
- requests, composing with necessary authentication / Composing requests with the necessary authentication
- RESTful API, with Flask 1.0.2
- designing, for interaction with data source / Designing a RESTful API to interact with a simple data source
- output fields, configuring / Configuring output fields
- RESTful API, with Pyramid 1.10
- designing, for interaction with data source / Designing a RESTful API to interact with a simple data source
- model, creating / Creating the model
- dictionary, using as repository / Using a dictionary as a repository
- RESTful API, with Tornado 5.1.1
- designing, to interact with slow sensors / Designing a RESTful API to interact with slow sensors and actuators
- designing, to interact with actuators / Designing a RESTful API to interact with slow sensors and actuators
- classes, creating that represent drone / Creating classes that represent a drone
S
- scaffold / Creating a new Pyramid project based on a template
- scalability
- security-related data
- adding, to models / Adding security-related data to the models
- serialization
- managing / Managing serialization and deserialization
- managing, with relationships / Managing serialization and deserialization with relationships and hyperlinks
- managing, with hyperlinks / Managing serialization and deserialization with relationships and hyperlinks
- simple SQLite database
- RESTful API, designing for / Designing a RESTful API to interact with a simple SQLite database
- SQLite database
- configuring / Configuring the database
- status codes
- declaring, with enumerable responses / Declaring status codes for the responses with an enumerable
- responses / Understanding status codes for the responses
- SurfboardMetricModel model
- validating, with Marshmallow schema / Creating a Marshmallow schema to validate, serialize, and deserialize the model
- serializing, with Marshmallow schema / Creating a Marshmallow schema to validate, serialize, and deserialize the model
- deserializing, with Marshmallow schema / Creating a Marshmallow schema to validate, serialize, and deserialize the model
- synchronous execution / Understanding synchronous and asynchronous execution
T
- template
- used, for creating Pyramid project / Creating a new Pyramid project based on a template
- testing coverage
- tests
- packages, installing with requirements.txt file / Installing packages with the requirements.txt file to work with filters, throttling, and tests
- throttling
- about / Understanding authentication, permissions, and throttling
- packages, installing with requirements.txt file / Installing packages with the requirements.txt file to work with filters, throttling, and tests
- throttling classes / Understanding throttling classes and goals
- throttling goals / Understanding throttling classes and goals
- throttling policies
- configuring / Configuring throttling policies
- testing, for HTTP requests execution / Executing HTTP requests to test throttling policies
- Time to Live (TTL) / Designing a RESTful API to interact with a simple data source, Designing a RESTful API to interact with a PostgreSQL 10.5 database
- Tornado 5.1.1
- used, for setting up virtual environment / Setting up a virtual environment with Tornado 5.1.1
- Tornado API
- HTTP requests, making to / Making HTTP requests to the Tornado API
- unit tests, setting up with pytest / Setting up unit tests with pytest
- unit tests first round, writing / Writing the first round of unit tests
- unit tests, running with pytest / Running unit tests with pytest and checking testing coverage
- testing coverage, checking / Running unit tests with pytest and checking testing coverage
- testing coverage, improving / Improving testing coverage
- deploying, to cloud / Understanding strategies for deploying Tornado APIs to the cloud
- Tornado API, HTTP requests
- curl command line tool, using / Working with command-line tools - curl and httpie
- HTTPie command-line tool, using / Working with command-line tools - curl and httpie
- Postman GUI tool, using / Working with GUI tools - Postman and others
- GUI tools, using / Working with GUI tools - Postman and others
- Tornado non-blocking API
- HTTP requests, creating to / Making HTTP requests to the Tornado non-blocking API
U
- unique constraints
- adding, to models / Adding unique constraints to the models
- unit tests
- setting up, with pytest / Setting up unit tests with pytest, Setting up unit tests with pytest
- executing, with pytest / Running unit tests with pytest and checking testing coverage
- first round, writing / Writing the first round of unit tests
- running, with pytest / Running unit tests with pytest
- Unmanned Aerial Vehicle (UAV) / Designing a RESTful API to interact with slow sensors and actuators
- URL patterns
- mapping, to request handlers / Mapping URL patterns to request handlers
- mapping, to asynchronous request handlers / Mapping URL patterns to asynchronous request handlers
- user
- persisting, for configuring permission policies / Persisting the user that makes a request and configuring permission policies
- persisting, to make request for permission policies / Persisting the user that makes a request and configuring permission policies
- user table
- generating, for execution of migration / Running migrations to generate the user table
V
- view callables
- working with / Working with view callables and view configurations
- view configurations
- working with / Working with view callables and view configurations
- view handlers
- about / Understanding and configuring view handlers
- configuring / Understanding and configuring view handlers
- virtual environment
- setting up, with Flash / Setting up a virtual environment with Flask and Flask-RESTful
- setting up, with Flask-RESTful / Setting up a virtual environment with Flask and Flask-RESTful
- setting up, with Django REST framework / Setting up the virtual environment with Django REST framework
- setting up, with Pyramid 1.10 / Setting up the virtual environment with Pyramid 1.10
- setting up, with Tornado 5.1.1 / Setting up a virtual environment with Tornado 5.1.1
W
- Web Server Gateway Interface (WSGI) / Understanding strategies for deployments and scalability, Running Django RESTful APIs on the cloud
- wrappers
- used, for writing Django 2.1 API views / Working with wrappers to write API views