diff --git a/_landing-page-static/images/icon-lang-php.svg b/_landing-page-static/images/icon-lang-php.svg new file mode 100644 index 000000000000..8700fd8be354 --- /dev/null +++ b/_landing-page-static/images/icon-lang-php.svg @@ -0,0 +1,47 @@ + + + + + + + + + + \ No newline at end of file diff --git a/index.html b/index.html index d62fc0bde342..25770471d98b 100755 --- a/index.html +++ b/index.html @@ -6,7 +6,7 @@ - gcloud + google-cloud @@ -24,35 +24,41 @@

Googl
     <div class=Python @@ -62,7 +68,7 @@

Googl
   <section class=
-

gcloud

+

google-cloud

Google Cloud Client Library for Python - an idiomatic, intuitive, and natural way for Python developers to integrate with Google Cloud Platform services, like Cloud Datastore @@ -71,7 +77,7 @@

gcloud

One-line install

-
$ pip install --upgrade gcloud
+
$ pip install --upgrade google-cloud
@@ -80,31 +86,31 @@

One-line install

+ + + +
+ + + + + + + + + + + + + + + + + + - + + + + \ No newline at end of file diff --git a/latest/_modules/gcloud/bigquery/job.html b/latest/_modules/google/cloud/bigquery/job.html similarity index 82% rename from latest/_modules/gcloud/bigquery/job.html rename to latest/_modules/google/cloud/bigquery/job.html index 1a9d66f1a225..906c890f4c58 100644 --- a/latest/_modules/gcloud/bigquery/job.html +++ b/latest/_modules/google/cloud/bigquery/job.html @@ -1,102 +1,257 @@ + + + + + + + + + + google.cloud.bigquery.job — google-cloud 92219b8 documentation + + + + + - - - - - gcloud.bigquery.job — gcloud 47bfd0a documentation - - - - + + + + - - - - - - - - + + + + + + + + + + + + + + + + + + + + + +
+ -
- -
- -
- - - Report an Issue - -
-
+ + +
+ + + + + + +
+
+ -
+ + + + +
+
    +
  • Docs »
  • + +
  • Module code »
  • + +
  • google.cloud.bigquery.job
  • +
  • + + -

    Source code for gcloud.bigquery.job

    +      
  • +
+
+
+
+
+ +

Source code for google.cloud.bigquery.job

 # Copyright 2015 Google Inc. All rights reserved.
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
@@ -115,32 +270,86 @@ 

Source code for gcloud.bigquery.job

 
 import six
 
-from gcloud.exceptions import NotFound
-from gcloud._helpers import _datetime_from_microseconds
-from gcloud.bigquery.dataset import Dataset
-from gcloud.bigquery.table import SchemaField
-from gcloud.bigquery.table import Table
-from gcloud.bigquery.table import _build_schema_resource
-from gcloud.bigquery.table import _parse_schema_resource
-from gcloud.bigquery._helpers import _EnumProperty
-from gcloud.bigquery._helpers import _TypedProperty
+from google.cloud.exceptions import NotFound
+from google.cloud._helpers import _datetime_from_microseconds
+from google.cloud.bigquery.dataset import Dataset
+from google.cloud.bigquery.schema import SchemaField
+from google.cloud.bigquery.table import Table
+from google.cloud.bigquery.table import _build_schema_resource
+from google.cloud.bigquery.table import _parse_schema_resource
+from google.cloud.bigquery._helpers import _EnumProperty
+from google.cloud.bigquery._helpers import _TypedProperty
+
+
+
[docs]class UDFResource(object): + """Describe a single user-defined function (UDF) resource. + :type udf_type: str + :param udf_type: the type of the resource ('inlineCode' or 'resourceUri') + + :type value: str + :param value: the inline code or resource URI. + + See + https://cloud.google.com/bigquery/user-defined-functions#api + """ + def __init__(self, udf_type, value): + self.udf_type = udf_type + self.value = value + + def __eq__(self, other): + return( + self.udf_type == other.udf_type and + self.value == other.value)
+ + +def _build_udf_resources(resources): + """ + :type resources: sequence of :class:`UDFResource` + :param resources: fields to be appended. + + :rtype: mapping + :returns: a mapping describing userDefinedFunctionResources for the query. + """ + udfs = [] + for resource in resources: + udf = {resource.udf_type: resource.value} + udfs.append(udf) + return udfs + + +
[docs]class UDFResourcesProperty(object): + """Custom property type for :class:`QueryJob`. + + Also used by :class:`~google.cloud.bigquery.query.Query`. + """ + def __get__(self, instance, owner): + """Descriptor protocol: accessor""" + if instance is None: + return self + return list(instance._udf_resources) + + def __set__(self, instance, value): + """Descriptor protocol: mutator""" + if not all(isinstance(u, UDFResource) for u in value): + raise ValueError("udf items must be UDFResource") + instance._udf_resources = tuple(value)
-
[docs]class Compression(_EnumProperty): +
[docs]class Compression(_EnumProperty): """Pseudo-enum for ``compression`` properties.""" GZIP = 'GZIP' NONE = 'NONE' ALLOWED = (GZIP, NONE)
-
[docs]class CreateDisposition(_EnumProperty): +
[docs]class CreateDisposition(_EnumProperty): """Pseudo-enum for ``create_disposition`` properties.""" CREATE_IF_NEEDED = 'CREATE_IF_NEEDED' CREATE_NEVER = 'CREATE_NEVER' ALLOWED = (CREATE_IF_NEEDED, CREATE_NEVER)
-
[docs]class DestinationFormat(_EnumProperty): +
[docs]class DestinationFormat(_EnumProperty): """Pseudo-enum for ``destination_format`` properties.""" CSV = 'CSV' NEWLINE_DELIMITED_JSON = 'NEWLINE_DELIMITED_JSON' @@ -148,21 +357,21 @@

Source code for gcloud.bigquery.job

     ALLOWED = (CSV, NEWLINE_DELIMITED_JSON, AVRO)
-
[docs]class Encoding(_EnumProperty): +
[docs]class Encoding(_EnumProperty): """Pseudo-enum for ``encoding`` properties.""" UTF_8 = 'UTF-8' ISO_8559_1 = 'ISO-8559-1' ALLOWED = (UTF_8, ISO_8559_1)
-
[docs]class QueryPriority(_EnumProperty): +
[docs]class QueryPriority(_EnumProperty): """Pseudo-enum for ``QueryJob.priority`` property.""" INTERACTIVE = 'INTERACTIVE' BATCH = 'BATCH' ALLOWED = (INTERACTIVE, BATCH)
-
[docs]class SourceFormat(_EnumProperty): +
[docs]class SourceFormat(_EnumProperty): """Pseudo-enum for ``source_format`` properties.""" CSV = 'CSV' DATASTORE_BACKUP = 'DATASTORE_BACKUP' @@ -170,7 +379,7 @@

Source code for gcloud.bigquery.job

     ALLOWED = (CSV, DATASTORE_BACKUP, NEWLINE_DELIMITED_JSON)
-
[docs]class WriteDisposition(_EnumProperty): +
[docs]class WriteDisposition(_EnumProperty): """Pseudo-enum for ``write_disposition`` properties.""" WRITE_APPEND = 'WRITE_APPEND' WRITE_TRUNCATE = 'WRITE_TRUNCATE' @@ -181,7 +390,7 @@

Source code for gcloud.bigquery.job

 class _BaseJob(object):
     """Base class for jobs.
 
-    :type client: :class:`gcloud.bigquery.client.Client`
+    :type client: :class:`google.cloud.bigquery.client.Client`
     :param client: A client which holds credentials and project configuration
                    for the dataset (which requires a project).
     """
@@ -201,11 +410,12 @@ 

Source code for gcloud.bigquery.job

     def _require_client(self, client):
         """Check client or verify over-ride.
 
-        :type client: :class:`gcloud.bigquery.client.Client` or ``NoneType``
+        :type client: :class:`~google.cloud.bigquery.client.Client` or
+                      ``NoneType``
         :param client: the client to use.  If not passed, falls back to the
                        ``client`` stored on the current dataset.
 
-        :rtype: :class:`gcloud.bigquery.client.Client`
+        :rtype: :class:`google.cloud.bigquery.client.Client`
         :returns: The client passed in or the currently bound client.
         """
         if client is None:
@@ -219,7 +429,7 @@ 

Source code for gcloud.bigquery.job

     :type name: string
     :param name: the name of the job
 
-    :type client: :class:`gcloud.bigquery.client.Client`
+    :type client: :class:`google.cloud.bigquery.client.Client`
     :param client: A client which holds credentials and project configuration
                    for the dataset (which requires a project).
     """
@@ -399,7 +609,8 @@ 

Source code for gcloud.bigquery.job

         See:
         https://cloud.google.com/bigquery/docs/reference/v2/jobs/insert
 
-        :type client: :class:`gcloud.bigquery.client.Client` or ``NoneType``
+        :type client: :class:`~google.cloud.bigquery.client.Client` or
+                      ``NoneType``
         :param client: the client to use.  If not passed, falls back to the
                        ``client`` stored on the current dataset.
         """
@@ -415,7 +626,8 @@ 

Source code for gcloud.bigquery.job

         See
         https://cloud.google.com/bigquery/docs/reference/v2/jobs/get
 
-        :type client: :class:`gcloud.bigquery.client.Client` or ``NoneType``
+        :type client: :class:`~google.cloud.bigquery.client.Client` or
+                      ``NoneType``
         :param client: the client to use.  If not passed, falls back to the
                        ``client`` stored on the current dataset.
 
@@ -438,7 +650,8 @@ 

Source code for gcloud.bigquery.job

         See
         https://cloud.google.com/bigquery/docs/reference/v2/jobs/get
 
-        :type client: :class:`gcloud.bigquery.client.Client` or ``NoneType``
+        :type client: :class:`~google.cloud.bigquery.client.Client` or
+                      ``NoneType``
         :param client: the client to use.  If not passed, falls back to the
                        ``client`` stored on the current dataset.
         """
@@ -454,7 +667,8 @@ 

Source code for gcloud.bigquery.job

         See
         https://cloud.google.com/bigquery/docs/reference/v2/jobs/cancel
 
-        :type client: :class:`gcloud.bigquery.client.Client` or ``NoneType``
+        :type client: :class:`~google.cloud.bigquery.client.Client` or
+                      ``NoneType``
         :param client: the client to use.  If not passed, falls back to the
                        ``client`` stored on the current dataset.
         """
@@ -483,24 +697,24 @@ 

Source code for gcloud.bigquery.job

     _write_disposition = None
 
 
-
[docs]class LoadTableFromStorageJob(_AsyncJob): +
[docs]class LoadTableFromStorageJob(_AsyncJob): """Asynchronous job for loading data into a table from CloudStorage. :type name: string :param name: the name of the job - :type destination: :class:`gcloud.bigquery.table.Table` + :type destination: :class:`google.cloud.bigquery.table.Table` :param destination: Table into which data is to be loaded. :type source_uris: sequence of string :param source_uris: URIs of one or more data files to be loaded, in format ``gs://<bucket_name>/<object_name_or_glob>``. - :type client: :class:`gcloud.bigquery.client.Client` + :type client: :class:`google.cloud.bigquery.client.Client` :param client: A client which holds credentials and project configuration for the dataset (which requires a project). - :type schema: list of :class:`gcloud.bigquery.table.SchemaField` + :type schema: list of :class:`google.cloud.bigquery.table.SchemaField` :param schema: The job's schema """ @@ -695,7 +909,7 @@

Source code for gcloud.bigquery.job

         self.schema = _parse_schema_resource(schema)
 
     @classmethod
-
[docs] def from_api_repr(cls, resource, client): +
[docs] def from_api_repr(cls, resource, client): """Factory: construct a job given its API representation .. note: @@ -706,11 +920,11 @@

Source code for gcloud.bigquery.job

         :type resource: dict
         :param resource: dataset job representation returned from the API
 
-        :type client: :class:`gcloud.bigquery.client.Client`
+        :type client: :class:`google.cloud.bigquery.client.Client`
         :param client: Client which holds credentials and project
                        configuration for the dataset.
 
-        :rtype: :class:`gcloud.bigquery.job.LoadTableFromStorageJob`
+        :rtype: :class:`google.cloud.bigquery.job.LoadTableFromStorageJob`
         :returns: Job parsed from ``resource``.
         """
         name, config = cls._get_resource_config(resource)
@@ -732,19 +946,19 @@ 

Source code for gcloud.bigquery.job

     _write_disposition = None
 
 
-
[docs]class CopyJob(_AsyncJob): +
[docs]class CopyJob(_AsyncJob): """Asynchronous job: copy data into a table from other tables. :type name: string :param name: the name of the job - :type destination: :class:`gcloud.bigquery.table.Table` + :type destination: :class:`google.cloud.bigquery.table.Table` :param destination: Table into which data is to be loaded. - :type sources: list of :class:`gcloud.bigquery.table.Table` + :type sources: list of :class:`google.cloud.bigquery.table.Table` :param sources: Table into which data is to be loaded. - :type client: :class:`gcloud.bigquery.client.Client` + :type client: :class:`google.cloud.bigquery.client.Client` :param client: A client which holds credentials and project configuration for the dataset (which requires a project). """ @@ -805,7 +1019,7 @@

Source code for gcloud.bigquery.job

         return resource
 
     @classmethod
-
[docs] def from_api_repr(cls, resource, client): +
[docs] def from_api_repr(cls, resource, client): """Factory: construct a job given its API representation .. note: @@ -816,11 +1030,11 @@

Source code for gcloud.bigquery.job

         :type resource: dict
         :param resource: dataset job representation returned from the API
 
-        :type client: :class:`gcloud.bigquery.client.Client`
+        :type client: :class:`google.cloud.bigquery.client.Client`
         :param client: Client which holds credentials and project
                        configuration for the dataset.
 
-        :rtype: :class:`gcloud.bigquery.job.CopyJob`
+        :rtype: :class:`google.cloud.bigquery.job.CopyJob`
         :returns: Job parsed from ``resource``.
         """
         name, config = cls._get_resource_config(resource)
@@ -847,13 +1061,13 @@ 

Source code for gcloud.bigquery.job

     _print_header = None
 
 
-
[docs]class ExtractTableToStorageJob(_AsyncJob): +
[docs]class ExtractTableToStorageJob(_AsyncJob): """Asynchronous job: extract data from a table into Cloud Storage. :type name: string :param name: the name of the job - :type source: :class:`gcloud.bigquery.table.Table` + :type source: :class:`google.cloud.bigquery.table.Table` :param source: Table into which data is to be loaded. :type destination_uris: list of string @@ -861,7 +1075,7 @@

Source code for gcloud.bigquery.job

                              extracted data will be written, in format
                              ``gs://<bucket_name>/<object_name_or_glob>``.
 
-    :type client: :class:`gcloud.bigquery.client.Client`
+    :type client: :class:`google.cloud.bigquery.client.Client`
     :param client: A client which holds credentials and project configuration
                    for the dataset (which requires a project).
     """
@@ -931,7 +1145,7 @@ 

Source code for gcloud.bigquery.job

         return resource
 
     @classmethod
-
[docs] def from_api_repr(cls, resource, client): +
[docs] def from_api_repr(cls, resource, client): """Factory: construct a job given its API representation .. note: @@ -942,11 +1156,11 @@

Source code for gcloud.bigquery.job

         :type resource: dict
         :param resource: dataset job representation returned from the API
 
-        :type client: :class:`gcloud.bigquery.client.Client`
+        :type client: :class:`google.cloud.bigquery.client.Client`
         :param client: Client which holds credentials and project
                        configuration for the dataset.
 
-        :rtype: :class:`gcloud.bigquery.job.ExtractTableToStorageJob`
+        :rtype: :class:`google.cloud.bigquery.job.ExtractTableToStorageJob`
         :returns: Job parsed from ``resource``.
         """
         name, config = cls._get_resource_config(resource)
@@ -975,7 +1189,7 @@ 

Source code for gcloud.bigquery.job

     _write_disposition = None
 
 
-
[docs]class QueryJob(_AsyncJob): +
[docs]class QueryJob(_AsyncJob): """Asynchronous job: query tables. :type name: string @@ -984,15 +1198,22 @@

Source code for gcloud.bigquery.job

     :type query: string
     :param query: SQL query string
 
-    :type client: :class:`gcloud.bigquery.client.Client`
+    :type client: :class:`google.cloud.bigquery.client.Client`
     :param client: A client which holds credentials and project configuration
                    for the dataset (which requires a project).
+
+    :type udf_resources: tuple
+    :param udf_resources: An iterable of
+                        :class:`google.cloud.bigquery.job.UDFResource`
+                        (empty by default)
     """
     _JOB_TYPE = 'query'
+    _UDF_KEY = 'userDefinedFunctionResources'
 
-    def __init__(self, name, query, client):
+    def __init__(self, name, query, client, udf_resources=()):
         super(QueryJob, self).__init__(name, client)
         self.query = query
+        self.udf_resources = udf_resources
         self._configuration = _AsyncQueryConfiguration()
 
     allow_large_results = _TypedProperty('allow_large_results', bool)
@@ -1025,6 +1246,8 @@ 

Source code for gcloud.bigquery.job

     https://cloud.google.com/bigquery/docs/reference/v2/jobs#configuration.query.priority
     """
 
+    udf_resources = UDFResourcesProperty()
+
     use_query_cache = _TypedProperty('use_query_cache', bool)
     """See:
     https://cloud.google.com/bigquery/docs/reference/v2/jobs#configuration.query.useQueryCache
@@ -1078,6 +1301,9 @@ 

Source code for gcloud.bigquery.job

             configuration['useLegacySql'] = self.use_legacy_sql
         if self.write_disposition is not None:
             configuration['writeDisposition'] = self.write_disposition
+        if len(self._udf_resources) > 0:
+            configuration[self._UDF_KEY] = _build_udf_resources(
+                self._udf_resources)
 
     def _build_resource(self):
         """Generate a resource for :meth:`begin`."""
@@ -1119,17 +1345,17 @@ 

Source code for gcloud.bigquery.job

                 self.destination = dataset.table(dest_remote['tableId'])
 
     @classmethod
-
[docs] def from_api_repr(cls, resource, client): +
[docs] def from_api_repr(cls, resource, client): """Factory: construct a job given its API representation :type resource: dict :param resource: dataset job representation returned from the API - :type client: :class:`gcloud.bigquery.client.Client` + :type client: :class:`google.cloud.bigquery.client.Client` :param client: Client which holds credentials and project configuration for the dataset. - :rtype: :class:`gcloud.bigquery.job.RunAsyncQueryJob` + :rtype: :class:`google.cloud.bigquery.job.RunAsyncQueryJob` :returns: Job parsed from ``resource``. """ name, config = cls._get_resource_config(resource) @@ -1139,123 +1365,62 @@

Source code for gcloud.bigquery.job

         return job
-
-
+
+
+ + +
- -
+
+

+ © Copyright 2014, Google. - - - +

+
+ Built with Sphinx using a theme provided by Read the Docs. + + + +
+ + + + + + + + + + + + + + + + + + + + + + + - + + + + \ No newline at end of file diff --git a/latest/_modules/gcloud/bigquery/query.html b/latest/_modules/google/cloud/bigquery/query.html similarity index 73% rename from latest/_modules/gcloud/bigquery/query.html rename to latest/_modules/google/cloud/bigquery/query.html index 52e05b8084a2..91ab0e0b7fde 100644 --- a/latest/_modules/gcloud/bigquery/query.html +++ b/latest/_modules/google/cloud/bigquery/query.html @@ -1,102 +1,257 @@ + + + + + + + + + + google.cloud.bigquery.query — google-cloud 92219b8 documentation + + + + + - - - - - gcloud.bigquery.query — gcloud 47bfd0a documentation - - - - + + + + - - - - - - - - + + + + + + + + + + + + + + + + + + + + + +
+ -
- -
- -
- - - Report an Issue - -
-
+ + +
+ + + + + + +
+
+ + + + + -
+
+
    +
  • Docs »
  • + +
  • Module code »
  • + +
  • google.cloud.bigquery.query
  • +
  • -

    Source code for gcloud.bigquery.query

    +          
    +        
    +      
  • +
+
+
+
+
+ +

Source code for google.cloud.bigquery.query

 # Copyright 2015 Google Inc. All rights reserved.
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
@@ -115,11 +270,13 @@ 

Source code for gcloud.bigquery.query

 
 import six
 
-from gcloud.bigquery._helpers import _TypedProperty
-from gcloud.bigquery._helpers import _rows_from_json
-from gcloud.bigquery.dataset import Dataset
-from gcloud.bigquery.job import QueryJob
-from gcloud.bigquery.table import _parse_schema_resource
+from google.cloud.bigquery._helpers import _TypedProperty
+from google.cloud.bigquery._helpers import _rows_from_json
+from google.cloud.bigquery.dataset import Dataset
+from google.cloud.bigquery.job import QueryJob
+from google.cloud.bigquery.job import UDFResourcesProperty
+from google.cloud.bigquery.job import _build_udf_resources
+from google.cloud.bigquery.table import _parse_schema_resource
 
 
 class _SyncQueryConfiguration(object):
@@ -136,21 +293,30 @@ 

Source code for gcloud.bigquery.query

     _use_legacy_sql = None
 
 
-
[docs]class QueryResults(object): +
[docs]class QueryResults(object): """Synchronous job: query tables. :type query: string :param query: SQL query string - :type client: :class:`gcloud.bigquery.client.Client` + :type client: :class:`google.cloud.bigquery.client.Client` :param client: A client which holds credentials and project configuration for the dataset (which requires a project). + + :type udf_resources: tuple + :param udf_resources: An iterable of + :class:`google.cloud.bigquery.job.UDFResource` + (empty by default) """ - def __init__(self, query, client): + + _UDF_KEY = 'userDefinedFunctionResources' + + def __init__(self, query, client, udf_resources=()): self._client = client self._properties = {} self.query = query self._configuration = _SyncQueryConfiguration() + self.udf_resources = udf_resources self._job = None @property @@ -165,11 +331,12 @@

Source code for gcloud.bigquery.query

     def _require_client(self, client):
         """Check client or verify over-ride.
 
-        :type client: :class:`gcloud.bigquery.client.Client` or ``NoneType``
+        :type client: :class:`~google.cloud.bigquery.client.Client` or
+                      ``NoneType``
         :param client: the client to use.  If not passed, falls back to the
                        ``client`` stored on the current dataset.
 
-        :rtype: :class:`gcloud.bigquery.client.Client`
+        :rtype: :class:`google.cloud.bigquery.client.Client`
         :returns: The client passed in or the currently bound client.
         """
         if client is None:
@@ -232,7 +399,7 @@ 

Source code for gcloud.bigquery.query

     def job(self):
         """Job instance used to run the query.
 
-        :rtype: :class:`gcloud.bigquery.job.QueryJob`, or ``NoneType``
+        :rtype: :class:`google.cloud.bigquery.job.QueryJob`, or ``NoneType``
         :returns: Job instance used to run the query (None until
                   ``jobReference`` property is set by the server).
         """
@@ -257,7 +424,7 @@ 

Source code for gcloud.bigquery.query

 
     @property
     def total_rows(self):
-        """Total number of rows returned by the query
+        """Total number of rows returned by the query.
 
         See:
         https://cloud.google.com/bigquery/docs/reference/v2/jobs/query#totalRows
@@ -269,7 +436,7 @@ 

Source code for gcloud.bigquery.query

 
     @property
     def total_bytes_processed(self):
-        """Total number of bytes processed by the query
+        """Total number of bytes processed by the query.
 
         See:
         https://cloud.google.com/bigquery/docs/reference/v2/jobs/query#totalBytesProcessed
@@ -328,6 +495,8 @@ 

Source code for gcloud.bigquery.query

     https://cloud.google.com/bigquery/docs/reference/v2/jobs/query#timeoutMs
     """
 
+    udf_resources = UDFResourcesProperty()
+
     use_query_cache = _TypedProperty('use_query_cache', bool)
     """See:
     https://cloud.google.com/bigquery/docs/reference/v2/jobs/query#useQueryCache
@@ -376,15 +545,19 @@ 

Source code for gcloud.bigquery.query

         if self.dry_run is not None:
             resource['dryRun'] = self.dry_run
 
+        if len(self._udf_resources) > 0:
+            resource[self._UDF_KEY] = _build_udf_resources(self._udf_resources)
+
         return resource
 
-
[docs] def run(self, client=None): +
[docs] def run(self, client=None): """API call: run the query via a POST request See: https://cloud.google.com/bigquery/docs/reference/v2/jobs/query - :type client: :class:`gcloud.bigquery.client.Client` or ``NoneType`` + :type client: :class:`~google.cloud.bigquery.client.Client` or + ``NoneType`` :param client: the client to use. If not passed, falls back to the ``client`` stored on the current dataset. """ @@ -394,7 +567,7 @@

Source code for gcloud.bigquery.query

             method='POST', path=path, data=self._build_resource())
         self._set_properties(api_response)
-
[docs] def fetch_data(self, max_results=None, page_token=None, start_index=None, +
[docs] def fetch_data(self, max_results=None, page_token=None, start_index=None, timeout_ms=None, client=None): """API call: fetch a page of query result data via a GET request @@ -414,7 +587,8 @@

Source code for gcloud.bigquery.query

         :param timeout_ms: timeout, in milliseconds, to wait for query to
                            complete
 
-        :type client: :class:`gcloud.bigquery.client.Client` or ``NoneType``
+        :type client: :class:`~google.cloud.bigquery.client.Client` or
+                      ``NoneType``
         :param client: the client to use.  If not passed, falls back to the
                        ``client`` stored on the current dataset.
 
@@ -460,123 +634,62 @@ 

Source code for gcloud.bigquery.query

         return rows_data, total_rows, page_token
-
-
+
+
+ + +
+ +
+

+ © Copyright 2014, Google. - -

+

+
+ Built with Sphinx using a theme provided by Read the Docs. - - - + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + \ No newline at end of file diff --git a/latest/_modules/google/cloud/bigquery/schema.html b/latest/_modules/google/cloud/bigquery/schema.html new file mode 100644 index 000000000000..1ed87423c82f --- /dev/null +++ b/latest/_modules/google/cloud/bigquery/schema.html @@ -0,0 +1,367 @@ + + + + + + + + + + + google.cloud.bigquery.schema — google-cloud 92219b8 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + +
+ + + + + + +
+
+ + + + + + +
+
    +
  • Docs »
  • + +
  • Module code »
  • + +
  • google.cloud.bigquery.schema
  • +
  • + + + +
  • +
+
+
+
+
+ +

Source code for google.cloud.bigquery.schema

+# Copyright 2015 Google Inc. All rights reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Scheamas for BigQuery tables / queries."""
+
+
+
[docs]class SchemaField(object): + """Describe a single field within a table schema. + + :type name: str + :param name: the name of the field. + + :type field_type: str + :param field_type: the type of the field (one of 'STRING', 'INTEGER', + 'FLOAT', 'BOOLEAN', 'TIMESTAMP' or 'RECORD'). + + :type mode: str + :param mode: the type of the field (one of 'NULLABLE', 'REQUIRED', + or 'REPEATED'). + + :type description: str + :param description: optional description for the field. + + :type fields: list of :class:`SchemaField`, or None + :param fields: subfields (requires ``field_type`` of 'RECORD'). + """ + def __init__(self, name, field_type, mode='NULLABLE', description=None, + fields=None): + self.name = name + self.field_type = field_type + self.mode = mode + self.description = description + self.fields = fields + + def __eq__(self, other): + return ( + self.name == other.name and + self.field_type.lower() == other.field_type.lower() and + self.mode == other.mode and + self.description == other.description and + self.fields == other.fields)
+
+ +
+
+ + +
+
+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/latest/_modules/gcloud/bigquery/table.html b/latest/_modules/google/cloud/bigquery/table.html similarity index 79% rename from latest/_modules/gcloud/bigquery/table.html rename to latest/_modules/google/cloud/bigquery/table.html index d650d39d3d27..2bbae21bea66 100644 --- a/latest/_modules/gcloud/bigquery/table.html +++ b/latest/_modules/google/cloud/bigquery/table.html @@ -1,102 +1,257 @@ + + + + + + + + + + google.cloud.bigquery.table — google-cloud 92219b8 documentation + + + + + + + - - - - - gcloud.bigquery.table — gcloud 47bfd0a documentation - - - - + + - - - - - - - - + + + + + + + + + + + + + + + + + + + + + +
+ -
- -
- -
- - - Report an Issue - -
-
+ + +
+ + + + -
+ +
+
+ + + + + + +
+
    +
  • Docs »
  • + +
  • Module code »
  • + +
  • google.cloud.bigquery.table
  • +
  • + + -

    Source code for gcloud.bigquery.table

    +      
  • +
+
+
+
+
+ +

Source code for google.cloud.bigquery.table

 # Copyright 2015 Google Inc. All rights reserved.
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
@@ -119,58 +274,22 @@ 

Source code for gcloud.bigquery.table

 
 import six
 
-from gcloud._helpers import _datetime_from_microseconds
-from gcloud._helpers import _microseconds_from_datetime
-from gcloud._helpers import _millis_from_datetime
-from gcloud.exceptions import NotFound
-from gcloud.streaming.http_wrapper import Request
-from gcloud.streaming.http_wrapper import make_api_request
-from gcloud.streaming.transfer import RESUMABLE_UPLOAD
-from gcloud.streaming.transfer import Upload
-from gcloud.bigquery._helpers import _rows_from_json
+from google.cloud._helpers import _datetime_from_microseconds
+from google.cloud._helpers import _microseconds_from_datetime
+from google.cloud._helpers import _millis_from_datetime
+from google.cloud.exceptions import NotFound
+from google.cloud.streaming.http_wrapper import Request
+from google.cloud.streaming.http_wrapper import make_api_request
+from google.cloud.streaming.transfer import RESUMABLE_UPLOAD
+from google.cloud.streaming.transfer import Upload
+from google.cloud.bigquery.schema import SchemaField
+from google.cloud.bigquery._helpers import _rows_from_json
 
 
 _MARKER = object()
 
 
-
[docs]class SchemaField(object): - """Describe a single field within a table schema. - - :type name: str - :param name: the name of the field - - :type field_type: str - :param field_type: the type of the field (one of 'STRING', 'INTEGER', - 'FLOAT', 'BOOLEAN', 'TIMESTAMP' or 'RECORD') - - :type mode: str - :param mode: the type of the field (one of 'NULLABLE', 'REQUIRED', - or 'REPEATED') - - :type description: str - :param description: optional description for the field - - :type fields: list of :class:`SchemaField`, or None - :param fields: subfields (requires ``field_type`` of 'RECORD'). - """ - def __init__(self, name, field_type, mode='NULLABLE', description=None, - fields=None): - self.name = name - self.field_type = field_type - self.mode = mode - self.description = description - self.fields = fields - - def __eq__(self, other): - return ( - self.name == other.name and - self.field_type.lower() == other.field_type.lower() and - self.mode == other.mode and - self.description == other.description and - self.fields == other.fields)
- - -
[docs]class Table(object): +
[docs]class Table(object): """Tables represent a set of rows whose values correspond to a schema. See: @@ -179,7 +298,7 @@

Source code for gcloud.bigquery.table

     :type name: str
     :param name: the name of the table
 
-    :type dataset: :class:`gcloud.bigquery.dataset.Dataset`
+    :type dataset: :class:`google.cloud.bigquery.dataset.Dataset`
     :param dataset: The dataset which contains the table.
 
     :type schema: list of :class:`SchemaField`
@@ -329,6 +448,59 @@ 

Source code for gcloud.bigquery.table

         """
         return self._properties.get('type')
 
+    @property
+    def partitioning_type(self):
+        """Time partitioning of the table.
+        :rtype: str, or ``NoneType``
+        :returns: Returns type if the table is partitioned, None otherwise.
+        """
+        return self._properties.get('timePartitioning', {}).get('type')
+
+    @partitioning_type.setter
+    def partitioning_type(self, value):
+        """Update the partitioning type of the table
+
+        :type value: str
+        :param value: partitioning type only "DAY" is currently supported
+        """
+        if value not in ('DAY', None):
+            raise ValueError("value must be one of ['DAY', None]")
+
+        if value is None:
+            self._properties.pop('timePartitioning', None)
+        else:
+            time_part = self._properties.setdefault('timePartitioning', {})
+            time_part['type'] = value.upper()
+
+    @property
+    def partition_expiration(self):
+        """Expiration time in ms for a partition
+        :rtype: int, or ``NoneType``
+        :returns: Returns the time in ms for partition expiration
+        """
+        return self._properties.get('timePartitioning', {}).get('expirationMs')
+
+    @partition_expiration.setter
+    def partition_expiration(self, value):
+        """Update the experation time in ms for a partition
+
+        :type value: int
+        :param value: partition experiation time in ms
+        """
+        if not isinstance(value, (int, type(None))):
+            raise ValueError(
+                "must be an integer representing millisseconds or None")
+
+        if value is None:
+            if 'timePartitioning' in self._properties:
+                self._properties['timePartitioning'].pop('expirationMs')
+        else:
+            try:
+                self._properties['timePartitioning']['expirationMs'] = value
+            except KeyError:
+                self._properties['timePartitioning'] = {'type': 'DAY'}
+                self._properties['timePartitioning']['expirationMs'] = value
+
     @property
     def description(self):
         """Description of the table.
@@ -447,17 +619,34 @@ 

Source code for gcloud.bigquery.table

         """Delete SQL query defining the table as a view."""
         self._properties.pop('view', None)
 
+
[docs] def list_partitions(self, client=None): + """List the partitions in a table. + + :type client: :class:`~google.cloud.bigquery.client.Client` or + ``NoneType`` + :param client: the client to use. If not passed, falls back to the + ``client`` stored on the current dataset. + + :rtype: list + :returns: a list of time partitions + """ + query = self._require_client(client).run_sync_query( + 'SELECT partition_id from [%s.%s$__PARTITIONS_SUMMARY__]' % + (self.dataset_name, self.name)) + query.run() + return [row[0] for row in query.rows]
+ @classmethod -
[docs] def from_api_repr(cls, resource, dataset): +
[docs] def from_api_repr(cls, resource, dataset): """Factory: construct a table given its API representation :type resource: dict :param resource: table resource representation returned from the API - :type dataset: :class:`gcloud.bigquery.dataset.Dataset` + :type dataset: :class:`google.cloud.bigquery.dataset.Dataset` :param dataset: The dataset containing the table. - :rtype: :class:`gcloud.bigquery.table.Table` + :rtype: :class:`google.cloud.bigquery.table.Table` :returns: Table parsed from ``resource``. """ if ('tableReference' not in resource or @@ -472,11 +661,12 @@

Source code for gcloud.bigquery.table

     def _require_client(self, client):
         """Check client or verify over-ride.
 
-        :type client: :class:`gcloud.bigquery.client.Client` or ``NoneType``
+        :type client: :class:`~google.cloud.bigquery.client.Client` or
+                      ``NoneType``
         :param client: the client to use.  If not passed, falls back to the
                        ``client`` stored on the current dataset.
 
-        :rtype: :class:`gcloud.bigquery.client.Client`
+        :rtype: :class:`google.cloud.bigquery.client.Client`
         :returns: The client passed in or the currently bound client.
         """
         if client is None:
@@ -522,6 +712,9 @@ 

Source code for gcloud.bigquery.table

         if self.location is not None:
             resource['location'] = self.location
 
+        if self.partitioning_type is not None:
+            resource['timePartitioning'] = self._properties['timePartitioning']
+
         if self.view_query is not None:
             view = resource['view'] = {}
             view['query'] = self.view_query
@@ -534,13 +727,14 @@ 

Source code for gcloud.bigquery.table

 
         return resource
 
-
[docs] def create(self, client=None): +
[docs] def create(self, client=None): """API call: create the dataset via a PUT request See: https://cloud.google.com/bigquery/docs/reference/v2/tables/insert - :type client: :class:`gcloud.bigquery.client.Client` or ``NoneType`` + :type client: :class:`~google.cloud.bigquery.client.Client` or + ``NoneType`` :param client: the client to use. If not passed, falls back to the ``client`` stored on the current dataset. """ @@ -551,13 +745,14 @@

Source code for gcloud.bigquery.table

             method='POST', path=path, data=self._build_resource())
         self._set_properties(api_response)
-
[docs] def exists(self, client=None): +
[docs] def exists(self, client=None): """API call: test for the existence of the table via a GET request See https://cloud.google.com/bigquery/docs/reference/v2/tables/get - :type client: :class:`gcloud.bigquery.client.Client` or ``NoneType`` + :type client: :class:`~google.cloud.bigquery.client.Client` or + ``NoneType`` :param client: the client to use. If not passed, falls back to the ``client`` stored on the current dataset. @@ -574,13 +769,14 @@

Source code for gcloud.bigquery.table

         else:
             return True
-
[docs] def reload(self, client=None): +
[docs] def reload(self, client=None): """API call: refresh table properties via a GET request See https://cloud.google.com/bigquery/docs/reference/v2/tables/get - :type client: :class:`gcloud.bigquery.client.Client` or ``NoneType`` + :type client: :class:`~google.cloud.bigquery.client.Client` or + ``NoneType`` :param client: the client to use. If not passed, falls back to the ``client`` stored on the current dataset. """ @@ -590,7 +786,7 @@

Source code for gcloud.bigquery.table

             method='GET', path=self.path)
         self._set_properties(api_response)
-
[docs] def patch(self, +
[docs] def patch(self, client=None, friendly_name=_MARKER, description=_MARKER, @@ -603,7 +799,8 @@

Source code for gcloud.bigquery.table

         See
         https://cloud.google.com/bigquery/docs/reference/v2/tables/patch
 
-        :type client: :class:`gcloud.bigquery.client.Client` or ``NoneType``
+        :type client: :class:`~google.cloud.bigquery.client.Client` or
+                      ``NoneType``
         :param client: the client to use.  If not passed, falls back to the
                        ``client`` stored on the current dataset.
 
@@ -663,13 +860,14 @@ 

Source code for gcloud.bigquery.table

             method='PATCH', path=self.path, data=partial)
         self._set_properties(api_response)
-
[docs] def update(self, client=None): +
[docs] def update(self, client=None): """API call: update table properties via a PUT request See https://cloud.google.com/bigquery/docs/reference/v2/tables/update - :type client: :class:`gcloud.bigquery.client.Client` or ``NoneType`` + :type client: :class:`~google.cloud.bigquery.client.Client` or + ``NoneType`` :param client: the client to use. If not passed, falls back to the ``client`` stored on the current dataset. """ @@ -678,20 +876,21 @@

Source code for gcloud.bigquery.table

             method='PUT', path=self.path, data=self._build_resource())
         self._set_properties(api_response)
-
[docs] def delete(self, client=None): +
[docs] def delete(self, client=None): """API call: delete the table via a DELETE request See: https://cloud.google.com/bigquery/docs/reference/v2/tables/delete - :type client: :class:`gcloud.bigquery.client.Client` or ``NoneType`` + :type client: :class:`~google.cloud.bigquery.client.Client` or + ``NoneType`` :param client: the client to use. If not passed, falls back to the ``client`` stored on the current dataset. """ client = self._require_client(client) client.connection.api_request(method='DELETE', path=self.path)
-
[docs] def fetch_data(self, max_results=None, page_token=None, client=None): +
[docs] def fetch_data(self, max_results=None, page_token=None, client=None): """API call: fetch the table data via a GET request See: @@ -711,7 +910,8 @@

Source code for gcloud.bigquery.table

         :type page_token: str or ``NoneType``
         :param page_token: token representing a cursor into the table's rows.
 
-        :type client: :class:`gcloud.bigquery.client.Client` or ``NoneType``
+        :type client: :class:`~google.cloud.bigquery.client.Client` or
+                      ``NoneType``
         :param client: the client to use.  If not passed, falls back to the
                        ``client`` stored on the current dataset.
 
@@ -743,7 +943,7 @@ 

Source code for gcloud.bigquery.table

 
         return rows_data, total_rows, page_token
-
[docs] def insert_data(self, +
[docs] def insert_data(self, rows, row_ids=None, skip_invalid_rows=None, @@ -777,7 +977,8 @@

Source code for gcloud.bigquery.table

                                 schema of the template table. See:
                                 https://cloud.google.com/bigquery/streaming-data-into-bigquery#template-tables
 
-        :type client: :class:`gcloud.bigquery.client.Client` or ``NoneType``
+        :type client: :class:`~google.cloud.bigquery.client.Client` or
+                      ``NoneType``
         :param client: the client to use.  If not passed, falls back to the
                        ``client`` stored on the current dataset.
 
@@ -830,7 +1031,7 @@ 

Source code for gcloud.bigquery.table

         return errors
# pylint: disable=too-many-arguments,too-many-locals -
[docs] def upload_from_file(self, +
[docs] def upload_from_file(self, file_obj, source_format, rewind=False, @@ -859,7 +1060,7 @@

Source code for gcloud.bigquery.table

         :type source_format: str
         :param source_format: one of 'CSV' or 'NEWLINE_DELIMITED_JSON'.
                               job configuration option; see
-                              :meth:`gcloud.bigquery.job.LoadJob`
+                              :meth:`google.cloud.bigquery.job.LoadJob`
 
         :type rewind: boolean
         :param rewind: If True, seek to the beginning of the file handle before
@@ -876,51 +1077,52 @@ 

Source code for gcloud.bigquery.table

 
         :type allow_jagged_rows: boolean
         :param allow_jagged_rows: job configuration option;  see
-                                  :meth:`gcloud.bigquery.job.LoadJob`
+                                  :meth:`google.cloud.bigquery.job.LoadJob`.
 
         :type allow_quoted_newlines: boolean
         :param allow_quoted_newlines: job configuration option; see
-                                      :meth:`gcloud.bigquery.job.LoadJob`
+                                      :meth:`google.cloud.bigquery.job.LoadJob`.
 
         :type create_disposition: str
         :param create_disposition: job configuration option; see
-                                   :meth:`gcloud.bigquery.job.LoadJob`
+                                   :meth:`google.cloud.bigquery.job.LoadJob`.
 
         :type encoding: str
         :param encoding: job configuration option; see
-                         :meth:`gcloud.bigquery.job.LoadJob`
+                         :meth:`google.cloud.bigquery.job.LoadJob`.
 
         :type field_delimiter: str
         :param field_delimiter: job configuration option; see
-                                :meth:`gcloud.bigquery.job.LoadJob`
+                                :meth:`google.cloud.bigquery.job.LoadJob`.
 
         :type ignore_unknown_values: boolean
         :param ignore_unknown_values: job configuration option; see
-                                      :meth:`gcloud.bigquery.job.LoadJob`
+                                      :meth:`google.cloud.bigquery.job.LoadJob`.
 
         :type max_bad_records: integer
         :param max_bad_records: job configuration option; see
-                                :meth:`gcloud.bigquery.job.LoadJob`
+                                :meth:`google.cloud.bigquery.job.LoadJob`.
 
         :type quote_character: str
         :param quote_character: job configuration option; see
-                                :meth:`gcloud.bigquery.job.LoadJob`
+                                :meth:`google.cloud.bigquery.job.LoadJob`.
 
         :type skip_leading_rows: integer
         :param skip_leading_rows: job configuration option; see
-                                  :meth:`gcloud.bigquery.job.LoadJob`
+                                  :meth:`google.cloud.bigquery.job.LoadJob`.
 
         :type write_disposition: str
         :param write_disposition: job configuration option; see
-                                  :meth:`gcloud.bigquery.job.LoadJob`
+                                  :meth:`google.cloud.bigquery.job.LoadJob`.
 
-        :type client: :class:`gcloud.storage.client.Client` or ``NoneType``
+        :type client: :class:`~google.cloud.storage.client.Client` or
+                      ``NoneType``
         :param client: Optional. The client to use.  If not passed, falls back
                        to the ``client`` stored on the current dataset.
 
-        :rtype: :class:`gcloud.bigquery.jobs.LoadTableFromStorageJob`
+        :rtype: :class:`google.cloud.bigquery.jobs.LoadTableFromStorageJob`
         :returns: the job instance used to load the data (e.g., for
-                  querying status)
+                  querying status).
         :raises: :class:`ValueError` if ``size`` is not passed in and can not
                  be determined, or if the ``file_obj`` can be detected to be
                  a file opened in text mode.
@@ -1122,123 +1324,62 @@ 

Source code for gcloud.bigquery.table

         self._relative_path = ''
 
-
-
+ + + + + + + + + + + - - + + + + + + + + - - - - + + + + + + + + + + \ No newline at end of file diff --git a/latest/_modules/google/cloud/bigtable/client.html b/latest/_modules/google/cloud/bigtable/client.html new file mode 100644 index 000000000000..028919c77aac --- /dev/null +++ b/latest/_modules/google/cloud/bigtable/client.html @@ -0,0 +1,651 @@ + + + + + + + + + + + google.cloud.bigtable.client — google-cloud 92219b8 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + +
+ + + + + + +
+
+ + + + + + +
+
    +
  • Docs »
  • + +
  • Module code »
  • + +
  • google.cloud.bigtable.client
  • +
  • + + + +
  • +
+
+
+
+
+ +

Source code for google.cloud.bigtable.client

+# Copyright 2015 Google Inc. All rights reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Parent client for calling the Google Cloud Bigtable API.
+
+This is the base from which all interactions with the API occur.
+
+In the hierarchy of API concepts
+
+* a :class:`Client` owns an :class:`.Instance`
+* a :class:`.Instance` owns a :class:`~google.cloud.bigtable.table.Table`
+* a :class:`~google.cloud.bigtable.table.Table` owns a
+  :class:`~.column_family.ColumnFamily`
+* a :class:`~google.cloud.bigtable.table.Table` owns a :class:`~.row.Row`
+  (and all the cells in the row)
+"""
+
+
+from pkg_resources import get_distribution
+
+from google.cloud._helpers import make_secure_stub
+from google.cloud.bigtable._generated import bigtable_instance_admin_pb2
+from google.cloud.bigtable._generated import bigtable_pb2
+from google.cloud.bigtable._generated import bigtable_table_admin_pb2
+from google.cloud.bigtable._generated import operations_grpc_pb2
+from google.cloud.bigtable.cluster import DEFAULT_SERVE_NODES
+from google.cloud.bigtable.instance import Instance
+from google.cloud.bigtable.instance import _EXISTING_INSTANCE_LOCATION_ID
+from google.cloud.client import _ClientFactoryMixin
+from google.cloud.client import _ClientProjectMixin
+from google.cloud.credentials import get_credentials
+
+
+TABLE_ADMIN_HOST = 'bigtableadmin.googleapis.com'
+"""Table Admin API request host."""
+
+INSTANCE_ADMIN_HOST = 'bigtableadmin.googleapis.com'
+"""Cluster Admin API request host."""
+
+DATA_API_HOST = 'bigtable.googleapis.com'
+"""Data API request host."""
+
+OPERATIONS_API_HOST = INSTANCE_ADMIN_HOST
+
+ADMIN_SCOPE = 'https://www.googleapis.com/auth/bigtable.admin'
+"""Scope for interacting with the Cluster Admin and Table Admin APIs."""
+DATA_SCOPE = 'https://www.googleapis.com/auth/bigtable.data'
+"""Scope for reading and writing table data."""
+READ_ONLY_SCOPE = 'https://www.googleapis.com/auth/bigtable.data.readonly'
+"""Scope for reading table data."""
+
+DEFAULT_USER_AGENT = 'google-cloud-python/{0}'.format(
+    get_distribution('google-cloud').version)
+"""The default user agent for API requests."""
+
+
+def _make_data_stub(client):
+    """Creates gRPC stub to make requests to the Data API.
+
+    :type client: :class:`Client`
+    :param client: The client that will hold the stub.
+
+    :rtype: :class:`._generated.bigtable_pb2.BigtableStub`
+    :returns: A gRPC stub object.
+    """
+    return make_secure_stub(client.credentials, client.user_agent,
+                            bigtable_pb2.BigtableStub, DATA_API_HOST)
+
+
+def _make_instance_stub(client):
+    """Creates gRPC stub to make requests to the Instance Admin API.
+
+    :type client: :class:`Client`
+    :param client: The client that will hold the stub.
+
+    :rtype: :class:`.bigtable_instance_admin_pb2.BigtableInstanceAdminStub`
+    :returns: A gRPC stub object.
+    """
+    return make_secure_stub(
+        client.credentials, client.user_agent,
+        bigtable_instance_admin_pb2.BigtableInstanceAdminStub,
+        INSTANCE_ADMIN_HOST)
+
+
+def _make_operations_stub(client):
+    """Creates gRPC stub to make requests to the Operations API.
+
+    These are for long-running operations of the Instance Admin API,
+    hence the host and port matching.
+
+    :type client: :class:`Client`
+    :param client: The client that will hold the stub.
+
+    :rtype: :class:`._generated.operations_grpc_pb2.OperationsStub`
+    :returns: A gRPC stub object.
+    """
+    return make_secure_stub(client.credentials, client.user_agent,
+                            operations_grpc_pb2.OperationsStub,
+                            OPERATIONS_API_HOST)
+
+
+def _make_table_stub(client):
+    """Creates gRPC stub to make requests to the Table Admin API.
+
+    :type client: :class:`Client`
+    :param client: The client that will hold the stub.
+
+    :rtype: :class:`.bigtable_instance_admin_pb2.BigtableTableAdminStub`
+    :returns: A gRPC stub object.
+    """
+    return make_secure_stub(client.credentials, client.user_agent,
+                            bigtable_table_admin_pb2.BigtableTableAdminStub,
+                            TABLE_ADMIN_HOST)
+
+
+
[docs]class Client(_ClientFactoryMixin, _ClientProjectMixin): + """Client for interacting with Google Cloud Bigtable API. + + .. note:: + + Since the Cloud Bigtable API requires the gRPC transport, no + ``http`` argument is accepted by this class. + + :type project: :class:`str` or :func:`unicode <unicode>` + :param project: (Optional) The ID of the project which owns the + instances, tables and data. If not provided, will + attempt to determine from the environment. + + :type credentials: + :class:`OAuth2Credentials <oauth2client.client.OAuth2Credentials>` or + :data:`NoneType <types.NoneType>` + :param credentials: (Optional) The OAuth2 Credentials to use for this + client. If not provided, defaults to the Google + Application Default Credentials. + + :type read_only: bool + :param read_only: (Optional) Boolean indicating if the data scope should be + for reading only (or for writing as well). Defaults to + :data:`False`. + + :type admin: bool + :param admin: (Optional) Boolean indicating if the client will be used to + interact with the Instance Admin or Table Admin APIs. This + requires the :const:`ADMIN_SCOPE`. Defaults to :data:`False`. + + :type user_agent: str + :param user_agent: (Optional) The user agent to be used with API request. + Defaults to :const:`DEFAULT_USER_AGENT`. + + :raises: :class:`ValueError <exceptions.ValueError>` if both ``read_only`` + and ``admin`` are :data:`True` + """ + + _instance_stub_internal = None + _operations_stub_internal = None + _table_stub_internal = None + + def __init__(self, project=None, credentials=None, + read_only=False, admin=False, user_agent=DEFAULT_USER_AGENT): + _ClientProjectMixin.__init__(self, project=project) + if credentials is None: + credentials = get_credentials() + + if read_only and admin: + raise ValueError('A read-only client cannot also perform' + 'administrative actions.') + + scopes = [] + if read_only: + scopes.append(READ_ONLY_SCOPE) + else: + scopes.append(DATA_SCOPE) + + if admin: + scopes.append(ADMIN_SCOPE) + + self._admin = bool(admin) + try: + credentials = credentials.create_scoped(scopes) + except AttributeError: + pass + self._credentials = credentials + self.user_agent = user_agent + + # Create gRPC stubs for making requests. + self._data_stub = _make_data_stub(self) + if self._admin: + self._instance_stub_internal = _make_instance_stub(self) + self._operations_stub_internal = _make_operations_stub(self) + self._table_stub_internal = _make_table_stub(self) + +
[docs] def copy(self): + """Make a copy of this client. + + Copies the local data stored as simple types but does not copy the + current state of any open connections with the Cloud Bigtable API. + + :rtype: :class:`.Client` + :returns: A copy of the current client. + """ + credentials = self._credentials + copied_creds = credentials.create_scoped(credentials.scopes) + return self.__class__( + self.project, + copied_creds, + READ_ONLY_SCOPE in copied_creds.scopes, + self._admin, + self.user_agent, + )
+ + @property + def credentials(self): + """Getter for client's credentials. + + :rtype: + :class:`OAuth2Credentials <oauth2client.client.OAuth2Credentials>` + :returns: The credentials stored on the client. + """ + return self._credentials + + @property + def project_name(self): + """Project name to be used with Instance Admin API. + + .. note:: + + This property will not change if ``project`` does not, but the + return value is not cached. + + The project name is of the form + + ``"projects/{project}"`` + + :rtype: str + :returns: The project name to be used with the Cloud Bigtable Admin + API RPC service. + """ + return 'projects/' + self.project + + @property + def _instance_stub(self): + """Getter for the gRPC stub used for the Instance Admin API. + + :rtype: :class:`.bigtable_instance_admin_pb2.BigtableInstanceAdminStub` + :returns: A gRPC stub object. + :raises: :class:`ValueError <exceptions.ValueError>` if the current + client is not an admin client or if it has not been + :meth:`start`-ed. + """ + if not self._admin: + raise ValueError('Client is not an admin client.') + return self._instance_stub_internal + + @property + def _operations_stub(self): + """Getter for the gRPC stub used for the Operations API. + + :rtype: :class:`._generated.operations_grpc_pb2.OperationsStub` + :returns: A gRPC stub object. + :raises: :class:`ValueError <exceptions.ValueError>` if the current + client is not an admin client or if it has not been + :meth:`start`-ed. + """ + if not self._admin: + raise ValueError('Client is not an admin client.') + return self._operations_stub_internal + + @property + def _table_stub(self): + """Getter for the gRPC stub used for the Table Admin API. + + :rtype: :class:`.bigtable_instance_admin_pb2.BigtableTableAdminStub` + :returns: A gRPC stub object. + :raises: :class:`ValueError <exceptions.ValueError>` if the current + client is not an admin client or if it has not been + :meth:`start`-ed. + """ + if not self._admin: + raise ValueError('Client is not an admin client.') + return self._table_stub_internal + +
[docs] def instance(self, instance_id, location=_EXISTING_INSTANCE_LOCATION_ID, + display_name=None, serve_nodes=DEFAULT_SERVE_NODES): + """Factory to create a instance associated with this client. + + :type instance_id: str + :param instance_id: The ID of the instance. + + :type location: string + :param location: location name, in form + ``projects/<project>/locations/<location>``; used to + set up the instance's cluster. + + :type display_name: str + :param display_name: (Optional) The display name for the instance in + the Cloud Console UI. (Must be between 4 and 30 + characters.) If this value is not set in the + constructor, will fall back to the instance ID. + + :type serve_nodes: int + :param serve_nodes: (Optional) The number of nodes in the instance's + cluster; used to set up the instance's cluster. + + :rtype: :class:`.Instance` + :returns: an instance owned by this client. + """ + return Instance(instance_id, self, location, + display_name=display_name, serve_nodes=serve_nodes)
+ +
[docs] def list_instances(self): + """List instances owned by the project. + + :rtype: tuple + :returns: A pair of results, the first is a list of + :class:`.Instance` objects returned and the second is a + list of strings (the failed locations in the request). + """ + request_pb = bigtable_instance_admin_pb2.ListInstancesRequest( + parent=self.project_name) + + response = self._instance_stub.ListInstances(request_pb) + + instances = [Instance.from_pb(instance_pb, self) + for instance_pb in response.instances] + return instances, response.failed_locations
+
+ +
+
+ + +
+
+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/latest/_modules/gcloud/bigtable/cluster.html b/latest/_modules/google/cloud/bigtable/cluster.html similarity index 51% rename from latest/_modules/gcloud/bigtable/cluster.html rename to latest/_modules/google/cloud/bigtable/cluster.html index da46fb72ff64..01457e18d07d 100644 --- a/latest/_modules/gcloud/bigtable/cluster.html +++ b/latest/_modules/google/cloud/bigtable/cluster.html @@ -1,102 +1,257 @@ + + + + + + + + + + google.cloud.bigtable.cluster — google-cloud 92219b8 documentation + + + + + + + - - - - - gcloud.bigtable.cluster — gcloud 47bfd0a documentation - - - - + + - - - - - - - - + + + + + + + + + + + + + + + + + + + + + +
+ -
- -
- -
- - - Report an Issue - -
-
+ + +
+ + + + + + +
+
+ + -
+ + + +
+
    +
  • Docs »
  • + +
  • Module code »
  • + +
  • google.cloud.bigtable.cluster
  • +
  • -

    Source code for gcloud.bigtable.cluster

    +          
    +        
    +      
  • +
+
+
+
+
+ +

Source code for google.cloud.bigtable.cluster

 # Copyright 2015 Google Inc. All rights reserved.
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
@@ -116,29 +271,29 @@ 

Source code for gcloud.bigtable.cluster

 
 import re
 
-from google.longrunning import operations_pb2
-
-from gcloud.bigtable._generated_v2 import (
+from google.cloud.bigtable._generated import (
     instance_pb2 as data_v2_pb2)
-from gcloud.bigtable._generated_v2 import (
+from google.cloud.bigtable._generated import (
     bigtable_instance_admin_pb2 as messages_v2_pb2)
+from google.cloud.operation import Operation
+from google.cloud.operation import _compute_type_url
+from google.cloud.operation import _register_type_url
 
 
 _CLUSTER_NAME_RE = re.compile(r'^projects/(?P<project>[^/]+)/'
                               r'instances/(?P<instance>[^/]+)/clusters/'
                               r'(?P<cluster_id>[a-z][-a-z0-9]*)$')
-_OPERATION_NAME_RE = re.compile(r'^operations/'
-                                r'projects/([^/]+)/'
-                                r'instances/([^/]+)/'
-                                r'clusters/([a-z][-a-z0-9]*)/'
-                                r'operations/(?P<operation_id>\d+)$')
-_TYPE_URL_MAP = {
-}
 
 DEFAULT_SERVE_NODES = 3
 """Default number of nodes to use when creating a cluster."""
 
 
+_UPDATE_CLUSTER_METADATA_URL = _compute_type_url(
+    messages_v2_pb2.UpdateClusterMetadata)
+_register_type_url(
+    _UPDATE_CLUSTER_METADATA_URL, messages_v2_pb2.UpdateClusterMetadata)
+
+
 def _prepare_create_request(cluster):
     """Creates a protobuf request for a CreateCluster request.
 
@@ -157,111 +312,7 @@ 

Source code for gcloud.bigtable.cluster

     )
 
 
-def _parse_pb_any_to_native(any_val, expected_type=None):
-    """Convert a serialized "google.protobuf.Any" value to actual type.
-
-    :type any_val: :class:`google.protobuf.any_pb2.Any`
-    :param any_val: A serialized protobuf value container.
-
-    :type expected_type: str
-    :param expected_type: (Optional) The type URL we expect ``any_val``
-                          to have.
-
-    :rtype: object
-    :returns: The de-serialized object.
-    :raises: :class:`ValueError <exceptions.ValueError>` if the
-             ``expected_type`` does not match the ``type_url`` on the input.
-    """
-    if expected_type is not None and expected_type != any_val.type_url:
-        raise ValueError('Expected type: %s, Received: %s' % (
-            expected_type, any_val.type_url))
-    container_class = _TYPE_URL_MAP[any_val.type_url]
-    return container_class.FromString(any_val.value)
-
-
-def _process_operation(operation_pb):
-    """Processes a create protobuf response.
-
-    :type operation_pb: :class:`google.longrunning.operations_pb2.Operation`
-    :param operation_pb: The long-running operation response from a
-                         Create/Update/Undelete cluster request.
-
-    :rtype: tuple
-    :returns: integer ID of the operation (``operation_id``).
-    :raises: :class:`ValueError <exceptions.ValueError>` if the operation name
-             doesn't match the :data:`_OPERATION_NAME_RE` regex.
-    """
-    match = _OPERATION_NAME_RE.match(operation_pb.name)
-    if match is None:
-        raise ValueError('Operation name was not in the expected '
-                         'format after a cluster modification.',
-                         operation_pb.name)
-    operation_id = int(match.group('operation_id'))
-
-    return operation_id
-
-
-
[docs]class Operation(object): - """Representation of a Google API Long-Running Operation. - - In particular, these will be the result of operations on - clusters using the Cloud Bigtable API. - - :type op_type: str - :param op_type: The type of operation being performed. Expect - ``create``, ``update`` or ``undelete``. - - :type op_id: int - :param op_id: The ID of the operation. - - :type cluster: :class:`Cluster` - :param cluster: The cluster that created the operation. - """ - - def __init__(self, op_type, op_id, cluster=None): - self.op_type = op_type - self.op_id = op_id - self._cluster = cluster - self._complete = False - - def __eq__(self, other): - if not isinstance(other, self.__class__): - return False - return (other.op_type == self.op_type and - other.op_id == self.op_id and - other._cluster == self._cluster and - other._complete == self._complete) - - def __ne__(self, other): - return not self.__eq__(other) - -
[docs] def finished(self): - """Check if the operation has finished. - - :rtype: bool - :returns: A boolean indicating if the current operation has completed. - :raises: :class:`ValueError <exceptions.ValueError>` if the operation - has already completed. - """ - if self._complete: - raise ValueError('The operation has completed.') - - operation_name = ('operations/' + self._cluster.name + - '/operations/%d' % (self.op_id,)) - request_pb = operations_pb2.GetOperationRequest(name=operation_name) - # We expect a `google.longrunning.operations_pb2.Operation`. - client = self._cluster._instance._client - operation_pb = client._operations_stub.GetOperation( - request_pb, client.timeout_seconds) - - if operation_pb.done: - self._complete = True - return True - else: - return False
- - -
[docs]class Cluster(object): +
[docs]class Cluster(object): """Representation of a Google Cloud Bigtable Cluster. We can use a :class:`Cluster` to: @@ -270,7 +321,6 @@

Source code for gcloud.bigtable.cluster

     * :meth:`create` itself
     * :meth:`update` itself
     * :meth:`delete` itself
-    * :meth:`undelete` itself
 
     .. note::
 
@@ -306,7 +356,7 @@ 

Source code for gcloud.bigtable.cluster

         self.location = cluster_pb.location
 
     @classmethod
-
[docs] def from_pb(cls, cluster_pb, instance): +
[docs] def from_pb(cls, cluster_pb, instance): """Creates a cluster instance from a protobuf. :type cluster_pb: :class:`instance_pb2.Cluster` @@ -339,7 +389,7 @@

Source code for gcloud.bigtable.cluster

         result._update_from_pb(cluster_pb)
         return result
-
[docs] def copy(self): +
[docs] def copy(self): """Make a copy of this cluster. Copies the local data stored as simple types and copies the client @@ -384,18 +434,18 @@

Source code for gcloud.bigtable.cluster

     def __ne__(self, other):
         return not self.__eq__(other)
 
-
[docs] def reload(self): +
[docs] def reload(self): """Reload the metadata for this cluster.""" request_pb = messages_v2_pb2.GetClusterRequest(name=self.name) - # We expect a `._generated_v2.instance_pb2.Cluster`. + # We expect a `._generated.instance_pb2.Cluster`. cluster_pb = self._instance._client._instance_stub.GetCluster( - request_pb, self._instance._client.timeout_seconds) + request_pb) # NOTE: _update_from_pb does not check that the project, instance and # cluster ID on the response match the request. self._update_from_pb(cluster_pb)
-
[docs] def create(self): +
[docs] def create(self): """Create this cluster. .. note:: @@ -417,13 +467,15 @@

Source code for gcloud.bigtable.cluster

         """
         request_pb = _prepare_create_request(self)
         # We expect a `google.longrunning.operations_pb2.Operation`.
-        operation_pb = self._instance._client._instance_stub.CreateCluster(
-            request_pb, self._instance._client.timeout_seconds)
+        client = self._instance._client
+        operation_pb = client._instance_stub.CreateCluster(request_pb)
 
-        op_id = _process_operation(operation_pb)
-        return Operation('create', op_id, cluster=self)
+ operation = Operation.from_pb(operation_pb, client) + operation.target = self + operation.metadata['request_type'] = 'CreateCluster' + return operation
-
[docs] def update(self): +
[docs] def update(self): """Update this cluster. .. note:: @@ -445,14 +497,16 @@

Source code for gcloud.bigtable.cluster

             name=self.name,
             serve_nodes=self.serve_nodes,
         )
-        # Ignore expected `._generated_v2.instance_pb2.Cluster`.
-        operation_pb = self._instance._client._instance_stub.UpdateCluster(
-            request_pb, self._instance._client.timeout_seconds)
+        # We expect a `google.longrunning.operations_pb2.Operation`.
+        client = self._instance._client
+        operation_pb = client._instance_stub.UpdateCluster(request_pb)
 
-        op_id = _process_operation(operation_pb)
-        return Operation('update', op_id, cluster=self)
+ operation = Operation.from_pb(operation_pb, client) + operation.target = self + operation.metadata['request_type'] = 'UpdateCluster' + return operation
-
[docs] def delete(self): +
[docs] def delete(self): """Delete this cluster. Marks a cluster and all of its tables for permanent deletion in 7 days. @@ -466,11 +520,6 @@

Source code for gcloud.bigtable.cluster

 
         * All tables within the cluster will become unavailable.
 
-        Prior to the cluster's ``delete_time``:
-
-        * The cluster can be recovered with a call to ``UndeleteCluster``.
-        * All other attempts to modify or delete the cluster will be rejected.
-
         At the cluster's ``delete_time``:
 
         * The cluster and **all of its tables** will immediately and
@@ -479,127 +528,65 @@ 

Source code for gcloud.bigtable.cluster

         """
         request_pb = messages_v2_pb2.DeleteClusterRequest(name=self.name)
         # We expect a `google.protobuf.empty_pb2.Empty`
-        self._instance._client._instance_stub.DeleteCluster(
-            request_pb, self._instance._client.timeout_seconds)
+ self._instance._client._instance_stub.DeleteCluster(request_pb)
-
-
+
+ + +
+ + + + + + + - - + + + + + + + + - - - - + + + + + + + + + + \ No newline at end of file diff --git a/latest/_modules/gcloud/bigtable/column_family.html b/latest/_modules/google/cloud/bigtable/column_family.html similarity index 73% rename from latest/_modules/gcloud/bigtable/column_family.html rename to latest/_modules/google/cloud/bigtable/column_family.html index d9f159abd973..a1b69994ebec 100644 --- a/latest/_modules/gcloud/bigtable/column_family.html +++ b/latest/_modules/google/cloud/bigtable/column_family.html @@ -1,102 +1,257 @@ + + + + + + + + + + google.cloud.bigtable.column_family — google-cloud 92219b8 documentation + + + + + - - - - - gcloud.bigtable.column_family — gcloud 47bfd0a documentation - - - - + + + + - - - - - - - - + + + + + + + + + + + + + + + + + + + + + +
+ -
- -
- -
- - - Report an Issue - -
-
+ + +
+ + + + + + +
+
+ + -
+ + + +
+
    +
  • Docs »
  • + +
  • Module code »
  • + +
  • google.cloud.bigtable.column_family
  • +
  • -

    Source code for gcloud.bigtable.column_family

    +          
    +        
    +      
  • +
+
+
+
+
+ +

Source code for google.cloud.bigtable.column_family

 # Copyright 2015 Google Inc. All rights reserved.
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
@@ -118,10 +273,9 @@ 

Source code for gcloud.bigtable.column_family

from google.protobuf import duration_pb2 -from gcloud._helpers import _total_seconds -from gcloud.bigtable._generated_v2 import ( +from google.cloud.bigtable._generated import ( table_pb2 as table_v2_pb2) -from gcloud.bigtable._generated_v2 import ( +from google.cloud.bigtable._generated import ( bigtable_table_admin_pb2 as table_admin_v2_pb2) @@ -139,7 +293,7 @@

Source code for gcloud.bigtable.column_family

:rtype: :class:`google.protobuf.duration_pb2.Duration` :returns: A duration object equivalent to the time delta. """ - seconds_decimal = _total_seconds(timedelta_val) + seconds_decimal = timedelta_val.total_seconds() # Truncate the parts other than the integer. seconds = int(seconds_decimal) if seconds_decimal < 0: @@ -171,7 +325,7 @@

Source code for gcloud.bigtable.column_family

) -
[docs]class GarbageCollectionRule(object): +
[docs]class GarbageCollectionRule(object): """Garbage collection rule for column families within a table. Cells in the column family (within a table) fitting the rule will be @@ -192,7 +346,7 @@

Source code for gcloud.bigtable.column_family

return not self.__eq__(other)
-
[docs]class MaxVersionsGCRule(GarbageCollectionRule): +
[docs]class MaxVersionsGCRule(GarbageCollectionRule): """Garbage collection limiting the number of versions of a cell. :type max_num_versions: int @@ -207,7 +361,7 @@

Source code for gcloud.bigtable.column_family

return False return other.max_num_versions == self.max_num_versions -
[docs] def to_pb(self): +
[docs] def to_pb(self): """Converts the garbage collection rule to a protobuf. :rtype: :class:`.table_v2_pb2.GcRule` @@ -216,7 +370,7 @@

Source code for gcloud.bigtable.column_family

return table_v2_pb2.GcRule(max_num_versions=self.max_num_versions)
-
[docs]class MaxAgeGCRule(GarbageCollectionRule): +
[docs]class MaxAgeGCRule(GarbageCollectionRule): """Garbage collection limiting the age of a cell. :type max_age: :class:`datetime.timedelta` @@ -231,7 +385,7 @@

Source code for gcloud.bigtable.column_family

return False return other.max_age == self.max_age -
[docs] def to_pb(self): +
[docs] def to_pb(self): """Converts the garbage collection rule to a protobuf. :rtype: :class:`.table_v2_pb2.GcRule` @@ -241,7 +395,7 @@

Source code for gcloud.bigtable.column_family

return table_v2_pb2.GcRule(max_age=max_age)
-
[docs]class GCRuleUnion(GarbageCollectionRule): +
[docs]class GCRuleUnion(GarbageCollectionRule): """Union of garbage collection rules. :type rules: list @@ -256,7 +410,7 @@

Source code for gcloud.bigtable.column_family

return False return other.rules == self.rules -
[docs] def to_pb(self): +
[docs] def to_pb(self): """Converts the union into a single GC rule as a protobuf. :rtype: :class:`.table_v2_pb2.GcRule` @@ -267,7 +421,7 @@

Source code for gcloud.bigtable.column_family

return table_v2_pb2.GcRule(union=union)
-
[docs]class GCRuleIntersection(GarbageCollectionRule): +
[docs]class GCRuleIntersection(GarbageCollectionRule): """Intersection of garbage collection rules. :type rules: list @@ -282,7 +436,7 @@

Source code for gcloud.bigtable.column_family

return False return other.rules == self.rules -
[docs] def to_pb(self): +
[docs] def to_pb(self): """Converts the intersection into a single GC rule as a protobuf. :rtype: :class:`.table_v2_pb2.GcRule` @@ -293,7 +447,7 @@

Source code for gcloud.bigtable.column_family

return table_v2_pb2.GcRule(intersection=intersection)
-
[docs]class ColumnFamily(object): +
[docs]class ColumnFamily(object): """Representation of a Google Cloud Bigtable Column Family. We can use a :class:`ColumnFamily` to: @@ -306,7 +460,7 @@

Source code for gcloud.bigtable.column_family

:param column_family_id: The ID of the column family. Must be of the form ``[_a-zA-Z0-9][-_.a-zA-Z0-9]*``. - :type table: :class:`Table <gcloud.bigtable.table.Table>` + :type table: :class:`Table <google.cloud.bigtable.table.Table>` :param table: The table that owns the column family. :type gc_rule: :class:`GarbageCollectionRule` @@ -347,7 +501,7 @@

Source code for gcloud.bigtable.column_family

def __ne__(self, other): return not self.__eq__(other) -
[docs] def to_pb(self): +
[docs] def to_pb(self): """Converts the column family to a protobuf. :rtype: :class:`.table_v2_pb2.ColumnFamily` @@ -358,7 +512,7 @@

Source code for gcloud.bigtable.column_family

else: return table_v2_pb2.ColumnFamily(gc_rule=self.gc_rule.to_pb())
-
[docs] def create(self): +
[docs] def create(self): """Create this column family.""" column_family = self.to_pb() request_pb = table_admin_v2_pb2.ModifyColumnFamiliesRequest( @@ -371,10 +525,9 @@

Source code for gcloud.bigtable.column_family

# We expect a `.table_v2_pb2.ColumnFamily`. We ignore it since the only # data it contains are the GC rule and the column family ID already # stored on this instance. - client._table_stub.ModifyColumnFamilies(request_pb, - client.timeout_seconds)
+ client._table_stub.ModifyColumnFamilies(request_pb)
-
[docs] def update(self): +
[docs] def update(self): """Update this column family. .. note:: @@ -392,10 +545,9 @@

Source code for gcloud.bigtable.column_family

# We expect a `.table_v2_pb2.ColumnFamily`. We ignore it since the only # data it contains are the GC rule and the column family ID already # stored on this instance. - client._table_stub.ModifyColumnFamilies(request_pb, - client.timeout_seconds)
+ client._table_stub.ModifyColumnFamilies(request_pb)
-
[docs] def delete(self): +
[docs] def delete(self): """Delete this column family.""" request_pb = table_admin_v2_pb2.ModifyColumnFamiliesRequest( name=self._table.name) @@ -404,8 +556,7 @@

Source code for gcloud.bigtable.column_family

drop=True) client = self._table._instance._client # We expect a `google.protobuf.empty_pb2.Empty` - client._table_stub.ModifyColumnFamilies(request_pb, - client.timeout_seconds)
+ client._table_stub.ModifyColumnFamilies(request_pb)
def _gc_rule_from_pb(gc_rule_pb): @@ -441,123 +592,62 @@

Source code for gcloud.bigtable.column_family

raise ValueError('Unexpected rule name', rule_name)
-
-
+
+
+ - - - +
+ + + + + + + + + + + + + + + + + + + + + + + - + + + + \ No newline at end of file diff --git a/latest/_modules/gcloud/bigtable/instance.html b/latest/_modules/google/cloud/bigtable/instance.html similarity index 54% rename from latest/_modules/gcloud/bigtable/instance.html rename to latest/_modules/google/cloud/bigtable/instance.html index a6c7001cff79..48aba8864588 100644 --- a/latest/_modules/gcloud/bigtable/instance.html +++ b/latest/_modules/google/cloud/bigtable/instance.html @@ -1,102 +1,257 @@ + + + + + + + + + + google.cloud.bigtable.instance — google-cloud 92219b8 documentation + + + + + + + - - - - - gcloud.bigtable.instance — gcloud 47bfd0a documentation - - - - + + - - - - - - - - + + + + + + + + + + + + + + + + + + + + + +
+ -
- -
- -
- - - Report an Issue - -
-
+ + +
+ + + + + + +
+
+ + + -
+ + +
+
    +
  • Docs »
  • + +
  • Module code »
  • + +
  • google.cloud.bigtable.instance
  • +
  • + + -

    Source code for gcloud.bigtable.instance

    +      
  • +
+
+
+
+
+ +

Source code for google.cloud.bigtable.instance

 # Copyright 2015 Google Inc. All rights reserved.
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
@@ -116,33 +271,29 @@ 

Source code for gcloud.bigtable.instance

 
 import re
 
-from google.longrunning import operations_pb2
-
-from gcloud._helpers import _pb_timestamp_to_datetime
-from gcloud.bigtable._generated_v2 import (
+from google.cloud.bigtable._generated import (
     instance_pb2 as data_v2_pb2)
-from gcloud.bigtable._generated_v2 import (
+from google.cloud.bigtable._generated import (
     bigtable_instance_admin_pb2 as messages_v2_pb2)
-from gcloud.bigtable._generated_v2 import (
+from google.cloud.bigtable._generated import (
     bigtable_table_admin_pb2 as table_messages_v2_pb2)
-from gcloud.bigtable.cluster import Cluster
-from gcloud.bigtable.cluster import DEFAULT_SERVE_NODES
-from gcloud.bigtable.table import Table
+from google.cloud.bigtable.cluster import Cluster
+from google.cloud.bigtable.cluster import DEFAULT_SERVE_NODES
+from google.cloud.bigtable.table import Table
+from google.cloud.operation import Operation
+from google.cloud.operation import _compute_type_url
+from google.cloud.operation import _register_type_url
 
 
 _EXISTING_INSTANCE_LOCATION_ID = 'see-existing-cluster'
 _INSTANCE_NAME_RE = re.compile(r'^projects/(?P<project>[^/]+)/'
                                r'instances/(?P<instance_id>[a-z][-a-z0-9]*)$')
-_OPERATION_NAME_RE = re.compile(r'^operations/projects/([^/]+)/'
-                                r'instances/([a-z][-a-z0-9]*)/'
-                                r'locations/(?P<location_id>[a-z][-a-z0-9]*)/'
-                                r'operations/(?P<operation_id>\d+)$')
-_TYPE_URL_BASE = 'type.googleapis.com/google.bigtable.'
-_ADMIN_TYPE_URL_BASE = _TYPE_URL_BASE + 'admin.v2.'
-_INSTANCE_CREATE_METADATA = _ADMIN_TYPE_URL_BASE + 'CreateInstanceMetadata'
-_TYPE_URL_MAP = {
-    _INSTANCE_CREATE_METADATA: messages_v2_pb2.CreateInstanceMetadata,
-}
+
+
+_CREATE_INSTANCE_METADATA_URL = _compute_type_url(
+    messages_v2_pb2.CreateInstanceMetadata)
+_register_type_url(
+    _CREATE_INSTANCE_METADATA_URL, messages_v2_pb2.CreateInstanceMetadata)
 
 
 def _prepare_create_request(instance):
@@ -170,126 +321,7 @@ 

Source code for gcloud.bigtable.instance

     return message
 
 
-def _parse_pb_any_to_native(any_val, expected_type=None):
-    """Convert a serialized "google.protobuf.Any" value to actual type.
-
-    :type any_val: :class:`google.protobuf.any_pb2.Any`
-    :param any_val: A serialized protobuf value container.
-
-    :type expected_type: str
-    :param expected_type: (Optional) The type URL we expect ``any_val``
-                          to have.
-
-    :rtype: object
-    :returns: The de-serialized object.
-    :raises: :class:`ValueError <exceptions.ValueError>` if the
-             ``expected_type`` does not match the ``type_url`` on the input.
-    """
-    if expected_type is not None and expected_type != any_val.type_url:
-        raise ValueError('Expected type: %s, Received: %s' % (
-            expected_type, any_val.type_url))
-    container_class = _TYPE_URL_MAP[any_val.type_url]
-    return container_class.FromString(any_val.value)
-
-
-def _process_operation(operation_pb):
-    """Processes a create protobuf response.
-
-    :type operation_pb: :class:`google.longrunning.operations_pb2.Operation`
-    :param operation_pb: The long-running operation response from a
-                         Create/Update/Undelete instance request.
-
-    :rtype: (int, str, datetime)
-    :returns: (operation_id, location_id, operation_begin).
-    :raises: :class:`ValueError <exceptions.ValueError>` if the operation name
-             doesn't match the :data:`_OPERATION_NAME_RE` regex.
-    """
-    match = _OPERATION_NAME_RE.match(operation_pb.name)
-    if match is None:
-        raise ValueError('Operation name was not in the expected '
-                         'format after instance creation.',
-                         operation_pb.name)
-    location_id = match.group('location_id')
-    operation_id = int(match.group('operation_id'))
-
-    request_metadata = _parse_pb_any_to_native(operation_pb.metadata)
-    operation_begin = _pb_timestamp_to_datetime(
-        request_metadata.request_time)
-
-    return operation_id, location_id, operation_begin
-
-
-
[docs]class Operation(object): - """Representation of a Google API Long-Running Operation. - - In particular, these will be the result of operations on - instances using the Cloud Bigtable API. - - :type op_type: str - :param op_type: The type of operation being performed. Expect - ``create``, ``update`` or ``undelete``. - - :type op_id: int - :param op_id: The ID of the operation. - - :type begin: :class:`datetime.datetime` - :param begin: The time when the operation was started. - - :type location_id: str - :param location_id: ID of the location in which the operation is running - - :type instance: :class:`Instance` - :param instance: The instance that created the operation. - """ - - def __init__(self, op_type, op_id, begin, location_id, instance=None): - self.op_type = op_type - self.op_id = op_id - self.begin = begin - self.location_id = location_id - self._instance = instance - self._complete = False - - def __eq__(self, other): - if not isinstance(other, self.__class__): - return False - return (other.op_type == self.op_type and - other.op_id == self.op_id and - other.begin == self.begin and - other.location_id == self.location_id and - other._instance == self._instance and - other._complete == self._complete) - - def __ne__(self, other): - return not self.__eq__(other) - -
[docs] def finished(self): - """Check if the operation has finished. - - :rtype: bool - :returns: A boolean indicating if the current operation has completed. - :raises: :class:`ValueError <exceptions.ValueError>` if the operation - has already completed. - """ - if self._complete: - raise ValueError('The operation has completed.') - - operation_name = ( - 'operations/%s/locations/%s/operations/%d' % - (self._instance.name, self.location_id, self.op_id)) - request_pb = operations_pb2.GetOperationRequest(name=operation_name) - # We expect a `google.longrunning.operations_pb2.Operation`. - operation_pb = self._instance._client._operations_stub.GetOperation( - request_pb, self._instance._client.timeout_seconds) - - if operation_pb.done: - self._complete = True - return True - else: - return False
- - -
[docs]class Instance(object): +
[docs]class Instance(object): """Representation of a Google Cloud Bigtable Instance. We can use a :class:`Instance` to: @@ -298,7 +330,6 @@

Source code for gcloud.bigtable.instance

     * :meth:`create` itself
     * :meth:`update` itself
     * :meth:`delete` itself
-    * :meth:`undelete` itself
 
     .. note::
 
@@ -308,7 +339,7 @@ 

Source code for gcloud.bigtable.instance

     :type instance_id: str
     :param instance_id: The ID of the instance.
 
-    :type client: :class:`Client <gcloud.bigtable.client.Client>`
+    :type client: :class:`Client <google.cloud.bigtable.client.Client>`
     :param client: The client that owns the instance. Provides
                    authorization and a project ID.
 
@@ -348,13 +379,13 @@ 

Source code for gcloud.bigtable.instance

         self.display_name = instance_pb.display_name
 
     @classmethod
-
[docs] def from_pb(cls, instance_pb, client): +
[docs] def from_pb(cls, instance_pb, client): """Creates a instance instance from a protobuf. :type instance_pb: :class:`instance_pb2.Instance` :param instance_pb: A instance protobuf object. - :type client: :class:`Client <gcloud.bigtable.client.Client>` + :type client: :class:`Client <google.cloud.bigtable.client.Client>` :param client: The client that owns the instance. :rtype: :class:`Instance` @@ -378,7 +409,7 @@

Source code for gcloud.bigtable.instance

         result._update_from_pb(instance_pb)
         return result
-
[docs] def copy(self): +
[docs] def copy(self): """Make a copy of this instance. Copies the local data stored as simple types and copies the client @@ -424,18 +455,17 @@

Source code for gcloud.bigtable.instance

     def __ne__(self, other):
         return not self.__eq__(other)
 
-
[docs] def reload(self): +
[docs] def reload(self): """Reload the metadata for this instance.""" request_pb = messages_v2_pb2.GetInstanceRequest(name=self.name) # We expect `data_v2_pb2.Instance`. - instance_pb = self._client._instance_stub.GetInstance( - request_pb, self._client.timeout_seconds) + instance_pb = self._client._instance_stub.GetInstance(request_pb) # NOTE: _update_from_pb does not check that the project and # instance ID on the response match the request. self._update_from_pb(instance_pb)
-
[docs] def create(self): +
[docs] def create(self): """Create this instance. .. note:: @@ -457,13 +487,14 @@

Source code for gcloud.bigtable.instance

         """
         request_pb = _prepare_create_request(self)
         # We expect a `google.longrunning.operations_pb2.Operation`.
-        operation_pb = self._client._instance_stub.CreateInstance(
-            request_pb, self._client.timeout_seconds)
+        operation_pb = self._client._instance_stub.CreateInstance(request_pb)
 
-        op_id, loc_id, op_begin = _process_operation(operation_pb)
-        return Operation('create', op_id, op_begin, loc_id, instance=self)
+ operation = Operation.from_pb(operation_pb, self._client) + operation.target = self + operation.metadata['request_type'] = 'CreateInstance' + return operation
-
[docs] def update(self): +
[docs] def update(self): """Update this instance. .. note:: @@ -482,10 +513,9 @@

Source code for gcloud.bigtable.instance

             display_name=self.display_name,
         )
         # Ignore the expected `data_v2_pb2.Instance`.
-        self._client._instance_stub.UpdateInstance(
-            request_pb, self._client.timeout_seconds)
+ self._client._instance_stub.UpdateInstance(request_pb)
-
[docs] def delete(self): +
[docs] def delete(self): """Delete this instance. Marks a instance and all of its tables for permanent deletion @@ -501,11 +531,6 @@

Source code for gcloud.bigtable.instance

 
         * All tables within the instance will become unavailable.
 
-        Prior to the instance's ``delete_time``:
-
-        * The instance can be recovered with a call to ``UndeleteInstance``.
-        * All other attempts to modify or delete the instance will be rejected.
-
         At the instance's ``delete_time``:
 
         * The instance and **all of its tables** will immediately and
@@ -514,10 +539,9 @@ 

Source code for gcloud.bigtable.instance

         """
         request_pb = messages_v2_pb2.DeleteInstanceRequest(name=self.name)
         # We expect a `google.protobuf.empty_pb2.Empty`
-        self._client._instance_stub.DeleteInstance(
-            request_pb, self._client.timeout_seconds)
+ self._client._instance_stub.DeleteInstance(request_pb)
-
[docs] def cluster(self, cluster_id, serve_nodes=3): +
[docs] def cluster(self, cluster_id, serve_nodes=3): """Factory to create a cluster associated with this client. :type cluster_id: str @@ -532,7 +556,7 @@

Source code for gcloud.bigtable.instance

         """
         return Cluster(cluster_id, self, serve_nodes=serve_nodes)
-
[docs] def list_clusters(self): +
[docs] def list_clusters(self): """Lists clusters in this instance. :rtype: tuple @@ -543,7 +567,7 @@

Source code for gcloud.bigtable.instance

         request_pb = messages_v2_pb2.ListClustersRequest(parent=self.name)
         # We expect a `.cluster_messages_v1_pb2.ListClustersResponse`
         list_clusters_response = self._client._instance_stub.ListClusters(
-            request_pb, self._client.timeout_seconds)
+            request_pb)
 
         failed_locations = [
             location for location in list_clusters_response.failed_locations]
@@ -551,29 +575,28 @@ 

Source code for gcloud.bigtable.instance

                     for cluster_pb in list_clusters_response.clusters]
         return clusters, failed_locations
-
[docs] def table(self, table_id): +
[docs] def table(self, table_id): """Factory to create a table associated with this instance. :type table_id: str :param table_id: The ID of the table. - :rtype: :class:`Table <gcloud.bigtable.table.Table>` + :rtype: :class:`Table <google.cloud.bigtable.table.Table>` :returns: The table owned by this instance. """ return Table(table_id, self)
-
[docs] def list_tables(self): +
[docs] def list_tables(self): """List the tables in this instance. - :rtype: list of :class:`Table <gcloud.bigtable.table.Table>` + :rtype: list of :class:`Table <google.cloud.bigtable.table.Table>` :returns: The list of tables owned by the instance. :raises: :class:`ValueError <exceptions.ValueError>` if one of the returned tables has a name that is not of the expected format. """ request_pb = table_messages_v2_pb2.ListTablesRequest(parent=self.name) # We expect a `table_messages_v2_pb2.ListTablesResponse` - table_list_pb = self._client._table_stub.ListTables( - request_pb, self._client.timeout_seconds) + table_list_pb = self._client._table_stub.ListTables(request_pb) result = [] for table_pb in table_list_pb.tables: @@ -587,123 +610,62 @@

Source code for gcloud.bigtable.instance

         return result
-
-
+
+
+ - - - +
+ + + + + + + + + + + + + + + + + + + + + + + - + + + + \ No newline at end of file diff --git a/latest/_modules/gcloud/bigtable/row.html b/latest/_modules/google/cloud/bigtable/row.html similarity index 82% rename from latest/_modules/gcloud/bigtable/row.html rename to latest/_modules/google/cloud/bigtable/row.html index deeb528a3727..d84e7329c6f3 100644 --- a/latest/_modules/gcloud/bigtable/row.html +++ b/latest/_modules/google/cloud/bigtable/row.html @@ -1,102 +1,257 @@ + + + + + + + + + + google.cloud.bigtable.row — google-cloud 92219b8 documentation + + + + + - - - - - gcloud.bigtable.row — gcloud 47bfd0a documentation - - - - + + + + - - - - - - - - + + + + + + + + + + + + + + + + + + + + + +
+ -
- -
- -
- - - Report an Issue - -
-
+ + +
+ + + + + + +
+
+ + -
+ + + +
+
    +
  • Docs »
  • + +
  • Module code »
  • + +
  • google.cloud.bigtable.row
  • +
  • -

    Source code for gcloud.bigtable.row

    +          
    +        
    +      
  • +
+
+
+
+
+ +

Source code for google.cloud.bigtable.row

 # Copyright 2015 Google Inc. All rights reserved.
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
@@ -118,12 +273,12 @@ 

Source code for gcloud.bigtable.row

 
 import six
 
-from gcloud._helpers import _datetime_from_microseconds
-from gcloud._helpers import _microseconds_from_datetime
-from gcloud._helpers import _to_bytes
-from gcloud.bigtable._generated_v2 import (
+from google.cloud._helpers import _datetime_from_microseconds
+from google.cloud._helpers import _microseconds_from_datetime
+from google.cloud._helpers import _to_bytes
+from google.cloud.bigtable._generated import (
     data_pb2 as data_v2_pb2)
-from gcloud.bigtable._generated_v2 import (
+from google.cloud.bigtable._generated import (
     bigtable_pb2 as messages_v2_pb2)
 
 
@@ -133,7 +288,7 @@ 

Source code for gcloud.bigtable.row

 """The maximum number of mutations that a row can accumulate."""
 
 
-
[docs]class Row(object): +
[docs]class Row(object): """Base representation of a Google Cloud Bigtable Row. This class has three subclasses corresponding to the three @@ -146,7 +301,7 @@

Source code for gcloud.bigtable.row

     :type row_key: bytes
     :param row_key: The key for the current row.
 
-    :type table: :class:`Table <gcloud.bigtable.table.Table>`
+    :type table: :class:`Table <google.cloud.bigtable.table.Table>`
     :param table: The table that owns the row.
     """
 
@@ -168,7 +323,7 @@ 

Source code for gcloud.bigtable.row

     :type row_key: bytes
     :param row_key: The key for the current row.
 
-    :type table: :class:`Table <gcloud.bigtable.table.Table>`
+    :type table: :class:`Table <google.cloud.bigtable.table.Table>`
     :param table: The table that owns the row.
     """
 
@@ -317,7 +472,7 @@ 

Source code for gcloud.bigtable.row

             mutations_list.extend(to_append)
 
 
-
[docs]class DirectRow(_SetDeleteRow): +
[docs]class DirectRow(_SetDeleteRow): """Google Cloud Bigtable Row for sending "direct" mutations. These mutations directly set or delete cell contents: @@ -343,7 +498,7 @@

Source code for gcloud.bigtable.row

     :type row_key: bytes
     :param row_key: The key for the current row.
 
-    :type table: :class:`Table <gcloud.bigtable.table.Table>`
+    :type table: :class:`Table <google.cloud.bigtable.table.Table>`
     :param table: The table that owns the row.
     """
 
@@ -366,7 +521,7 @@ 

Source code for gcloud.bigtable.row

         """
         return self._pb_mutations
 
-
[docs] def set_cell(self, column_family_id, column, value, timestamp=None): +
[docs] def set_cell(self, column_family_id, column, value, timestamp=None): """Sets a value in this row. The cell is determined by the ``row_key`` of this :class:`DirectRow` @@ -400,7 +555,7 @@

Source code for gcloud.bigtable.row

         self._set_cell(column_family_id, column, value, timestamp=timestamp,
                        state=None)
-
[docs] def delete(self): +
[docs] def delete(self): """Deletes this row from the table. .. note:: @@ -412,7 +567,7 @@

Source code for gcloud.bigtable.row

         """
         self._delete(state=None)
-
[docs] def delete_cell(self, column_family_id, column, time_range=None): +
[docs] def delete_cell(self, column_family_id, column, time_range=None): """Deletes cell in this row. .. note:: @@ -438,7 +593,7 @@

Source code for gcloud.bigtable.row

         self._delete_cells(column_family_id, [column], time_range=time_range,
                            state=None)
-
[docs] def delete_cells(self, column_family_id, columns, time_range=None): +
[docs] def delete_cells(self, column_family_id, columns, time_range=None): """Deletes cells in this row. .. note:: @@ -466,7 +621,7 @@

Source code for gcloud.bigtable.row

         self._delete_cells(column_family_id, columns, time_range=time_range,
                            state=None)
-
[docs] def commit(self): +
[docs] def commit(self): """Makes a ``MutateRow`` API request. If no mutations have been created in the row, no request is made. @@ -495,15 +650,15 @@

Source code for gcloud.bigtable.row

         )
         # We expect a `google.protobuf.empty_pb2.Empty`
         client = self._table._instance._client
-        client._data_stub.MutateRow(request_pb, client.timeout_seconds)
+        client._data_stub.MutateRow(request_pb)
         self.clear()
-
[docs] def clear(self): +
[docs] def clear(self): """Removes all currently accumulated mutations on the current row.""" del self._pb_mutations[:]
-
[docs]class ConditionalRow(_SetDeleteRow): +
[docs]class ConditionalRow(_SetDeleteRow): """Google Cloud Bigtable Row for sending mutations conditionally. Each mutation has an associated state: :data:`True` or :data:`False`. @@ -533,7 +688,7 @@

Source code for gcloud.bigtable.row

     :type row_key: bytes
     :param row_key: The key for the current row.
 
-    :type table: :class:`Table <gcloud.bigtable.table.Table>`
+    :type table: :class:`Table <google.cloud.bigtable.table.Table>`
     :param table: The table that owns the row.
 
     :type filter_: :class:`.RowFilter`
@@ -567,7 +722,7 @@ 

Source code for gcloud.bigtable.row

         else:
             return self._false_pb_mutations
 
-
[docs] def commit(self): +
[docs] def commit(self): """Makes a ``CheckAndMutateRow`` API request. If no mutations have been created in the row, no request is made. @@ -612,13 +767,12 @@

Source code for gcloud.bigtable.row

         )
         # We expect a `.messages_v2_pb2.CheckAndMutateRowResponse`
         client = self._table._instance._client
-        resp = client._data_stub.CheckAndMutateRow(
-            request_pb, client.timeout_seconds)
+        resp = client._data_stub.CheckAndMutateRow(request_pb)
         self.clear()
         return resp.predicate_matched
# pylint: disable=arguments-differ -
[docs] def set_cell(self, column_family_id, column, value, timestamp=None, +
[docs] def set_cell(self, column_family_id, column, value, timestamp=None, state=True): """Sets a value in this row. @@ -658,7 +812,7 @@

Source code for gcloud.bigtable.row

         self._set_cell(column_family_id, column, value, timestamp=timestamp,
                        state=state)
-
[docs] def delete(self, state=True): +
[docs] def delete(self, state=True): """Deletes this row from the table. .. note:: @@ -674,7 +828,7 @@

Source code for gcloud.bigtable.row

         """
         self._delete(state=state)
-
[docs] def delete_cell(self, column_family_id, column, time_range=None, +
[docs] def delete_cell(self, column_family_id, column, time_range=None, state=True): """Deletes cell in this row. @@ -705,7 +859,7 @@

Source code for gcloud.bigtable.row

         self._delete_cells(column_family_id, [column], time_range=time_range,
                            state=state)
-
[docs] def delete_cells(self, column_family_id, columns, time_range=None, +
[docs] def delete_cells(self, column_family_id, columns, time_range=None, state=True): """Deletes cells in this row. @@ -739,13 +893,13 @@

Source code for gcloud.bigtable.row

                            state=state)
# pylint: enable=arguments-differ -
[docs] def clear(self): +
[docs] def clear(self): """Removes all currently accumulated mutations on the current row.""" del self._true_pb_mutations[:] del self._false_pb_mutations[:]
-
[docs]class AppendRow(Row): +
[docs]class AppendRow(Row): """Google Cloud Bigtable Row for sending append mutations. These mutations are intended to augment the value of an existing cell @@ -762,7 +916,7 @@

Source code for gcloud.bigtable.row

     :type row_key: bytes
     :param row_key: The key for the current row.
 
-    :type table: :class:`Table <gcloud.bigtable.table.Table>`
+    :type table: :class:`Table <google.cloud.bigtable.table.Table>`
     :param table: The table that owns the row.
     """
 
@@ -770,11 +924,11 @@ 

Source code for gcloud.bigtable.row

         super(AppendRow, self).__init__(row_key, table)
         self._rule_pb_list = []
 
-
[docs] def clear(self): +
[docs] def clear(self): """Removes all currently accumulated modifications on current row.""" del self._rule_pb_list[:]
-
[docs] def append_cell_value(self, column_family_id, column, value): +
[docs] def append_cell_value(self, column_family_id, column, value): """Appends a value to an existing cell. .. note:: @@ -806,7 +960,7 @@

Source code for gcloud.bigtable.row

             append_value=value)
         self._rule_pb_list.append(rule_pb)
-
[docs] def increment_cell_value(self, column_family_id, column, int_value): +
[docs] def increment_cell_value(self, column_family_id, column, int_value): """Increments a value in an existing cell. Assumes the value in the cell is stored as a 64 bit integer @@ -843,7 +997,7 @@

Source code for gcloud.bigtable.row

             increment_amount=int_value)
         self._rule_pb_list.append(rule_pb)
-
[docs] def commit(self): +
[docs] def commit(self): """Makes a ``ReadModifyWriteRow`` API request. This commits modifications made by :meth:`append_cell_value` and @@ -900,8 +1054,7 @@

Source code for gcloud.bigtable.row

         )
         # We expect a `.data_v2_pb2.Row`
         client = self._table._instance._client
-        row_response = client._data_stub.ReadModifyWriteRow(
-            request_pb, client.timeout_seconds)
+        row_response = client._data_stub.ReadModifyWriteRow(request_pb)
 
         # Reset modifications after commit-ing request.
         self.clear()
@@ -953,7 +1106,7 @@ 

Source code for gcloud.bigtable.row

 def _parse_family_pb(family_pb):
     """Parses a Family protobuf into a dictionary.
 
-    :type family_pb: :class:`._generated_v2.data_pb2.Family`
+    :type family_pb: :class:`._generated.data_pb2.Family`
     :param family_pb: A protobuf
 
     :rtype: tuple
@@ -988,123 +1141,62 @@ 

Source code for gcloud.bigtable.row

     return family_pb.name, result
 
-
-
+
+
+ - - - +
+ + + + + + + + + + + + + + + + + + + + + + + - + + + + \ No newline at end of file diff --git a/latest/_modules/gcloud/bigtable/row_data.html b/latest/_modules/google/cloud/bigtable/row_data.html similarity index 81% rename from latest/_modules/gcloud/bigtable/row_data.html rename to latest/_modules/google/cloud/bigtable/row_data.html index b597731f59e6..8c59e39db4bf 100644 --- a/latest/_modules/gcloud/bigtable/row_data.html +++ b/latest/_modules/google/cloud/bigtable/row_data.html @@ -1,102 +1,257 @@ + + + + + + + + + + google.cloud.bigtable.row_data — google-cloud 92219b8 documentation + + + + + - - - - - gcloud.bigtable.row_data — gcloud 47bfd0a documentation - - - - + + + + - - - - - - - - + + + + + + + + + + + + + + + + + + + + + +
+ -
- -
- -
- - - Report an Issue - -
-
+ + +
+ + + + + + +
+
+ + -
+ + + +
+
    +
  • Docs »
  • + +
  • Module code »
  • + +
  • google.cloud.bigtable.row_data
  • +
  • -

    Source code for gcloud.bigtable.row_data

    +          
    +        
    +      
  • +
+
+
+
+
+ +

Source code for google.cloud.bigtable.row_data

 # Copyright 2016 Google Inc. All rights reserved.
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
@@ -117,11 +272,11 @@ 

Source code for gcloud.bigtable.row_data

 import copy
 import six
 
-from gcloud._helpers import _datetime_from_microseconds
-from gcloud._helpers import _to_bytes
+from google.cloud._helpers import _datetime_from_microseconds
+from google.cloud._helpers import _to_bytes
 
 
-
[docs]class Cell(object): +
[docs]class Cell(object): """Representation of a Google Cloud Bigtable Cell. :type value: bytes @@ -140,10 +295,10 @@

Source code for gcloud.bigtable.row_data

         self.labels = list(labels)
 
     @classmethod
-
[docs] def from_pb(cls, cell_pb): +
[docs] def from_pb(cls, cell_pb): """Create a new cell from a Cell protobuf. - :type cell_pb: :class:`._generated_v2.data_pb2.Cell` + :type cell_pb: :class:`._generated.data_pb2.Cell` :param cell_pb: The protobuf to convert. :rtype: :class:`Cell` @@ -166,7 +321,7 @@

Source code for gcloud.bigtable.row_data

         return not self.__eq__(other)
-
[docs]class PartialCellData(object): +
[docs]class PartialCellData(object): """Representation of partial cell in a Google Cloud Bigtable Table. These are expected to be updated directly from a @@ -200,7 +355,7 @@

Source code for gcloud.bigtable.row_data

         self.labels = labels
         self.value = value
 
-
[docs] def append_value(self, value): +
[docs] def append_value(self, value): """Append bytes from a new chunk to value. :type value: bytes @@ -209,7 +364,7 @@

Source code for gcloud.bigtable.row_data

         self.value += value
-
[docs]class PartialRowData(object): +
[docs]class PartialRowData(object): """Representation of partial row in a Google Cloud Bigtable Table. These are expected to be updated directly from a @@ -232,7 +387,7 @@

Source code for gcloud.bigtable.row_data

     def __ne__(self, other):
         return not self.__eq__(other)
 
-
[docs] def to_dict(self): +
[docs] def to_dict(self): """Convert the cells to a dictionary. This is intended to be used with HappyBase, so the column family and @@ -271,19 +426,18 @@

Source code for gcloud.bigtable.row_data

         return self._row_key
-
[docs]class InvalidReadRowsResponse(RuntimeError): +
[docs]class InvalidReadRowsResponse(RuntimeError): """Exception raised to to invalid response data from back-end."""
-
[docs]class InvalidChunk(RuntimeError): +
[docs]class InvalidChunk(RuntimeError): """Exception raised to to invalid chunk data from back-end."""
-
[docs]class PartialRowsData(object): +
[docs]class PartialRowsData(object): """Convenience wrapper for consuming a ``ReadRows`` streaming response. - :type response_iterator: - :class:`grpc.framework.alpha._reexport._CancellableIterator` + :type response_iterator: :class:`grpc._channel._Rendezvous` :param response_iterator: A streaming iterator returned from a ``ReadRows`` request. """ @@ -348,11 +502,11 @@

Source code for gcloud.bigtable.row_data

         #       mutable private data.
         return self._rows
 
-
[docs] def cancel(self): +
[docs] def cancel(self): """Cancels the iterator, closing the stream.""" self._response_iterator.cancel()
-
[docs] def consume_next(self): +
[docs] def consume_next(self): """Consume the next ``ReadRowsResponse`` from the stream. Parse the response and its chunks into a new/existing row in @@ -403,7 +557,7 @@

Source code for gcloud.bigtable.row_data

                 self._save_current_cell()
                 cell = None
-
[docs] def consume_all(self, max_loops=None): +
[docs] def consume_all(self, max_loops=None): """Consume the streamed responses until there are no more. This simply calls :meth:`consume_next` until there are no @@ -541,123 +695,62 @@

Source code for gcloud.bigtable.row_data

         raise InvalidChunk(*args)
 
-
-
+
+
+ - - - +
+ + + + + + + + + + + + + + + + + + + + + + + - + + + + \ No newline at end of file diff --git a/latest/_modules/gcloud/bigtable/row_filters.html b/latest/_modules/google/cloud/bigtable/row_filters.html similarity index 77% rename from latest/_modules/gcloud/bigtable/row_filters.html rename to latest/_modules/google/cloud/bigtable/row_filters.html index 5d8f9cc402ae..7be2954bdd27 100644 --- a/latest/_modules/gcloud/bigtable/row_filters.html +++ b/latest/_modules/google/cloud/bigtable/row_filters.html @@ -1,102 +1,257 @@ + + + + + + + + + + google.cloud.bigtable.row_filters — google-cloud 92219b8 documentation + + + + + - - - - - gcloud.bigtable.row_filters — gcloud 47bfd0a documentation - - - - + + + + - - - - - - - - + + + + + + + + + + + + + + + + + + + + + +
+ -
- -
- -
- - - Report an Issue - -
-
+ + +
+ + + + + + +
+
+ + -
+ + + +
+
    +
  • Docs »
  • + +
  • Module code »
  • + +
  • google.cloud.bigtable.row_filters
  • +
  • -

    Source code for gcloud.bigtable.row_filters

    +          
    +        
    +      
  • +
+
+
+
+
+ +

Source code for google.cloud.bigtable.row_filters

 # Copyright 2016 Google Inc. All rights reserved.
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
@@ -114,13 +269,13 @@ 

Source code for gcloud.bigtable.row_filters

 """Filters for Google Cloud Bigtable Row classes."""
 
 
-from gcloud._helpers import _microseconds_from_datetime
-from gcloud._helpers import _to_bytes
-from gcloud.bigtable._generated_v2 import (
+from google.cloud._helpers import _microseconds_from_datetime
+from google.cloud._helpers import _to_bytes
+from google.cloud.bigtable._generated import (
     data_pb2 as data_v2_pb2)
 
 
-
[docs]class RowFilter(object): +
[docs]class RowFilter(object): """Basic filter to apply to cells in a row. These values can be combined via :class:`RowFilterChain`, @@ -151,7 +306,7 @@

Source code for gcloud.bigtable.row_filters

         return other.flag == self.flag
 
 
-
[docs]class SinkFilter(_BoolFilter): +
[docs]class SinkFilter(_BoolFilter): """Advanced row filter to skip parent filters. :type flag: bool @@ -162,7 +317,7 @@

Source code for gcloud.bigtable.row_filters

                  of a :class:`ConditionalRowFilter`.
     """
 
-
[docs] def to_pb(self): +
[docs] def to_pb(self): """Converts the row filter to a protobuf. :rtype: :class:`.data_v2_pb2.RowFilter` @@ -171,7 +326,7 @@

Source code for gcloud.bigtable.row_filters

         return data_v2_pb2.RowFilter(sink=self.flag)
-
[docs]class PassAllFilter(_BoolFilter): +
[docs]class PassAllFilter(_BoolFilter): """Row filter equivalent to not filtering at all. :type flag: bool @@ -180,7 +335,7 @@

Source code for gcloud.bigtable.row_filters

                  completeness.
     """
 
-
[docs] def to_pb(self): +
[docs] def to_pb(self): """Converts the row filter to a protobuf. :rtype: :class:`.data_v2_pb2.RowFilter` @@ -189,7 +344,7 @@

Source code for gcloud.bigtable.row_filters

         return data_v2_pb2.RowFilter(pass_all_filter=self.flag)
-
[docs]class BlockAllFilter(_BoolFilter): +
[docs]class BlockAllFilter(_BoolFilter): """Row filter that doesn't match any cells. :type flag: bool @@ -197,7 +352,7 @@

Source code for gcloud.bigtable.row_filters

                  temporarily disabling just part of a filter.
     """
 
-
[docs] def to_pb(self): +
[docs] def to_pb(self): """Converts the row filter to a protobuf. :rtype: :class:`.data_v2_pb2.RowFilter` @@ -227,7 +382,7 @@

Source code for gcloud.bigtable.row_filters

         return other.regex == self.regex
 
 
-
[docs]class RowKeyRegexFilter(_RegexFilter): +
[docs]class RowKeyRegexFilter(_RegexFilter): """Row filter for a row key regular expression. The ``regex`` must be valid RE2 patterns. See Google's @@ -250,7 +405,7 @@

Source code for gcloud.bigtable.row_filters

                   since the row key is already specified.
     """
 
-
[docs] def to_pb(self): +
[docs] def to_pb(self): """Converts the row filter to a protobuf. :rtype: :class:`.data_v2_pb2.RowFilter` @@ -259,7 +414,7 @@

Source code for gcloud.bigtable.row_filters

         return data_v2_pb2.RowFilter(row_key_regex_filter=self.regex)
-
[docs]class RowSampleFilter(RowFilter): +
[docs]class RowSampleFilter(RowFilter): """Matches all cells from a row with probability p. :type sample: float @@ -275,7 +430,7 @@

Source code for gcloud.bigtable.row_filters

             return False
         return other.sample == self.sample
 
-
[docs] def to_pb(self): +
[docs] def to_pb(self): """Converts the row filter to a protobuf. :rtype: :class:`.data_v2_pb2.RowFilter` @@ -284,7 +439,7 @@

Source code for gcloud.bigtable.row_filters

         return data_v2_pb2.RowFilter(row_sample_filter=self.sample)
-
[docs]class FamilyNameRegexFilter(_RegexFilter): +
[docs]class FamilyNameRegexFilter(_RegexFilter): """Row filter for a family name regular expression. The ``regex`` must be valid RE2 patterns. See Google's @@ -299,7 +454,7 @@

Source code for gcloud.bigtable.row_filters

                   used as a literal.
     """
 
-
[docs] def to_pb(self): +
[docs] def to_pb(self): """Converts the row filter to a protobuf. :rtype: :class:`.data_v2_pb2.RowFilter` @@ -308,7 +463,7 @@

Source code for gcloud.bigtable.row_filters

         return data_v2_pb2.RowFilter(family_name_regex_filter=self.regex)
-
[docs]class ColumnQualifierRegexFilter(_RegexFilter): +
[docs]class ColumnQualifierRegexFilter(_RegexFilter): """Row filter for a column qualifier regular expression. The ``regex`` must be valid RE2 patterns. See Google's @@ -329,7 +484,7 @@

Source code for gcloud.bigtable.row_filters

                   match this regex (irrespective of column family).
     """
 
-
[docs] def to_pb(self): +
[docs] def to_pb(self): """Converts the row filter to a protobuf. :rtype: :class:`.data_v2_pb2.RowFilter` @@ -338,7 +493,7 @@

Source code for gcloud.bigtable.row_filters

         return data_v2_pb2.RowFilter(column_qualifier_regex_filter=self.regex)
-
[docs]class TimestampRange(object): +
[docs]class TimestampRange(object): """Range of time with inclusive lower and exclusive upper bounds. :type start: :class:`datetime.datetime` @@ -363,7 +518,7 @@

Source code for gcloud.bigtable.row_filters

     def __ne__(self, other):
         return not self.__eq__(other)
 
-
[docs] def to_pb(self): +
[docs] def to_pb(self): """Converts the :class:`TimestampRange` to a protobuf. :rtype: :class:`.data_v2_pb2.TimestampRange` @@ -379,7 +534,7 @@

Source code for gcloud.bigtable.row_filters

         return data_v2_pb2.TimestampRange(**timestamp_range_kwargs)
-
[docs]class TimestampRangeFilter(RowFilter): +
[docs]class TimestampRangeFilter(RowFilter): """Row filter that limits cells to a range of time. :type range_: :class:`TimestampRange` @@ -394,7 +549,7 @@

Source code for gcloud.bigtable.row_filters

             return False
         return other.range_ == self.range_
 
-
[docs] def to_pb(self): +
[docs] def to_pb(self): """Converts the row filter to a protobuf. First converts the ``range_`` on the current object to a protobuf and @@ -407,7 +562,7 @@

Source code for gcloud.bigtable.row_filters

             timestamp_range_filter=self.range_.to_pb())
-
[docs]class ColumnRangeFilter(RowFilter): +
[docs]class ColumnRangeFilter(RowFilter): """A row filter to restrict to a range of columns. Both the start and end column can be included or excluded in the range. @@ -473,7 +628,7 @@

Source code for gcloud.bigtable.row_filters

                 other.inclusive_start == self.inclusive_start and
                 other.inclusive_end == self.inclusive_end)
 
-
[docs] def to_pb(self): +
[docs] def to_pb(self): """Converts the row filter to a protobuf. First converts to a :class:`.data_v2_pb2.ColumnRange` and then uses it @@ -500,7 +655,7 @@

Source code for gcloud.bigtable.row_filters

         return data_v2_pb2.RowFilter(column_range_filter=column_range)
-
[docs]class ValueRegexFilter(_RegexFilter): +
[docs]class ValueRegexFilter(_RegexFilter): """Row filter for a value regular expression. The ``regex`` must be valid RE2 patterns. See Google's @@ -521,7 +676,7 @@

Source code for gcloud.bigtable.row_filters

                   match this regex.
     """
 
-
[docs] def to_pb(self): +
[docs] def to_pb(self): """Converts the row filter to a protobuf. :rtype: :class:`.data_v2_pb2.RowFilter` @@ -530,7 +685,7 @@

Source code for gcloud.bigtable.row_filters

         return data_v2_pb2.RowFilter(value_regex_filter=self.regex)
-
[docs]class ValueRangeFilter(RowFilter): +
[docs]class ValueRangeFilter(RowFilter): """A range of values to restrict to in a row filter. Will only match cells that have values in this range. @@ -590,7 +745,7 @@

Source code for gcloud.bigtable.row_filters

                 other.inclusive_start == self.inclusive_start and
                 other.inclusive_end == self.inclusive_end)
 
-
[docs] def to_pb(self): +
[docs] def to_pb(self): """Converts the row filter to a protobuf. First converts to a :class:`.data_v2_pb2.ValueRange` and then uses @@ -636,14 +791,14 @@

Source code for gcloud.bigtable.row_filters

         return other.num_cells == self.num_cells
 
 
-
[docs]class CellsRowOffsetFilter(_CellCountFilter): +
[docs]class CellsRowOffsetFilter(_CellCountFilter): """Row filter to skip cells in a row. :type num_cells: int :param num_cells: Skips the first N cells of the row. """ -
[docs] def to_pb(self): +
[docs] def to_pb(self): """Converts the row filter to a protobuf. :rtype: :class:`.data_v2_pb2.RowFilter` @@ -653,14 +808,14 @@

Source code for gcloud.bigtable.row_filters

             cells_per_row_offset_filter=self.num_cells)
-
[docs]class CellsRowLimitFilter(_CellCountFilter): +
[docs]class CellsRowLimitFilter(_CellCountFilter): """Row filter to limit cells in a row. :type num_cells: int :param num_cells: Matches only the first N cells of the row. """ -
[docs] def to_pb(self): +
[docs] def to_pb(self): """Converts the row filter to a protobuf. :rtype: :class:`.data_v2_pb2.RowFilter` @@ -669,7 +824,7 @@

Source code for gcloud.bigtable.row_filters

         return data_v2_pb2.RowFilter(cells_per_row_limit_filter=self.num_cells)
-
[docs]class CellsColumnLimitFilter(_CellCountFilter): +
[docs]class CellsColumnLimitFilter(_CellCountFilter): """Row filter to limit cells in a column. :type num_cells: int @@ -678,7 +833,7 @@

Source code for gcloud.bigtable.row_filters

                       timestamps of each cell.
     """
 
-
[docs] def to_pb(self): +
[docs] def to_pb(self): """Converts the row filter to a protobuf. :rtype: :class:`.data_v2_pb2.RowFilter` @@ -688,7 +843,7 @@

Source code for gcloud.bigtable.row_filters

             cells_per_column_limit_filter=self.num_cells)
-
[docs]class StripValueTransformerFilter(_BoolFilter): +
[docs]class StripValueTransformerFilter(_BoolFilter): """Row filter that transforms cells into empty string (0 bytes). :type flag: bool @@ -697,7 +852,7 @@

Source code for gcloud.bigtable.row_filters

                  transformer than a generic query / filter.
     """
 
-
[docs] def to_pb(self): +
[docs] def to_pb(self): """Converts the row filter to a protobuf. :rtype: :class:`.data_v2_pb2.RowFilter` @@ -706,7 +861,7 @@

Source code for gcloud.bigtable.row_filters

         return data_v2_pb2.RowFilter(strip_value_transformer=self.flag)
-
[docs]class ApplyLabelFilter(RowFilter): +
[docs]class ApplyLabelFilter(RowFilter): """Filter to apply labels to cells. Intended to be used as an intermediate filter on a pre-existing filtered @@ -733,7 +888,7 @@

Source code for gcloud.bigtable.row_filters

             return False
         return other.label == self.label
 
-
[docs] def to_pb(self): +
[docs] def to_pb(self): """Converts the row filter to a protobuf. :rtype: :class:`.data_v2_pb2.RowFilter` @@ -764,7 +919,7 @@

Source code for gcloud.bigtable.row_filters

         return other.filters == self.filters
 
 
-
[docs]class RowFilterChain(_FilterCombination): +
[docs]class RowFilterChain(_FilterCombination): """Chain of row filters. Sends rows through several filters in sequence. The filters are "chained" @@ -775,7 +930,7 @@

Source code for gcloud.bigtable.row_filters

     :param filters: List of :class:`RowFilter`
     """
 
-
[docs] def to_pb(self): +
[docs] def to_pb(self): """Converts the row filter to a protobuf. :rtype: :class:`.data_v2_pb2.RowFilter` @@ -786,7 +941,7 @@

Source code for gcloud.bigtable.row_filters

         return data_v2_pb2.RowFilter(chain=chain)
-
[docs]class RowFilterUnion(_FilterCombination): +
[docs]class RowFilterUnion(_FilterCombination): """Union of row filters. Sends rows through several filters simultaneously, then @@ -799,7 +954,7 @@

Source code for gcloud.bigtable.row_filters

     :param filters: List of :class:`RowFilter`
     """
 
-
[docs] def to_pb(self): +
[docs] def to_pb(self): """Converts the row filter to a protobuf. :rtype: :class:`.data_v2_pb2.RowFilter` @@ -810,7 +965,7 @@

Source code for gcloud.bigtable.row_filters

         return data_v2_pb2.RowFilter(interleave=interleave)
-
[docs]class ConditionalRowFilter(RowFilter): +
[docs]class ConditionalRowFilter(RowFilter): """Conditional row filter which exhibits ternary behavior. Executes one of two filters based on another filter. If the ``base_filter`` @@ -852,7 +1007,7 @@

Source code for gcloud.bigtable.row_filters

                 other.true_filter == self.true_filter and
                 other.false_filter == self.false_filter)
 
-
[docs] def to_pb(self): +
[docs] def to_pb(self): """Converts the row filter to a protobuf. :rtype: :class:`.data_v2_pb2.RowFilter` @@ -867,123 +1022,62 @@

Source code for gcloud.bigtable.row_filters

         return data_v2_pb2.RowFilter(condition=condition)
-
-
+
+
+ - - - +
+ + + + + + + + + + + + + + + + + + + + + + + - + + + + \ No newline at end of file diff --git a/latest/_modules/gcloud/bigtable/table.html b/latest/_modules/google/cloud/bigtable/table.html similarity index 73% rename from latest/_modules/gcloud/bigtable/table.html rename to latest/_modules/google/cloud/bigtable/table.html index d350159722c9..2abe079815b3 100644 --- a/latest/_modules/gcloud/bigtable/table.html +++ b/latest/_modules/google/cloud/bigtable/table.html @@ -1,102 +1,257 @@ + + + + + + + + + + google.cloud.bigtable.table — google-cloud 92219b8 documentation + + + + + - - - - - gcloud.bigtable.table — gcloud 47bfd0a documentation - - - - + + + + - - - - - - - - + + + + + + + + + + + + + + + + + + + + + +
+ -
- -
- -
- - - Report an Issue - -
-
+ + +
+ + + + + + +
+
+ + -
+ + + +
+
    +
  • Docs »
  • + +
  • Module code »
  • + +
  • google.cloud.bigtable.table
  • +
  • -

    Source code for gcloud.bigtable.table

    +          
    +        
    +      
  • +
+
+
+
+
+ +

Source code for google.cloud.bigtable.table

 # Copyright 2015 Google Inc. All rights reserved.
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
@@ -113,22 +268,22 @@ 

Source code for gcloud.bigtable.table

 
 """User friendly container for Google Cloud Bigtable Table."""
 
-from gcloud._helpers import _to_bytes
-from gcloud.bigtable._generated_v2 import (
+from google.cloud._helpers import _to_bytes
+from google.cloud.bigtable._generated import (
     bigtable_pb2 as data_messages_v2_pb2)
-from gcloud.bigtable._generated_v2 import (
+from google.cloud.bigtable._generated import (
     bigtable_table_admin_pb2 as table_admin_messages_v2_pb2)
-from gcloud.bigtable._generated_v2 import (
+from google.cloud.bigtable._generated import (
     table_pb2 as table_v2_pb2)
-from gcloud.bigtable.column_family import _gc_rule_from_pb
-from gcloud.bigtable.column_family import ColumnFamily
-from gcloud.bigtable.row import AppendRow
-from gcloud.bigtable.row import ConditionalRow
-from gcloud.bigtable.row import DirectRow
-from gcloud.bigtable.row_data import PartialRowsData
+from google.cloud.bigtable.column_family import _gc_rule_from_pb
+from google.cloud.bigtable.column_family import ColumnFamily
+from google.cloud.bigtable.row import AppendRow
+from google.cloud.bigtable.row import ConditionalRow
+from google.cloud.bigtable.row import DirectRow
+from google.cloud.bigtable.row_data import PartialRowsData
 
 
-
[docs]class Table(object): +
[docs]class Table(object): """Representation of a Google Cloud Bigtable Table. .. note:: @@ -174,7 +329,7 @@

Source code for gcloud.bigtable.table

         """
         return self._instance.name + '/tables/' + self.table_id
 
-
[docs] def column_family(self, column_family_id, gc_rule=None): +
[docs] def column_family(self, column_family_id, gc_rule=None): """Factory to create a column family associated with this table. :type column_family_id: str @@ -190,7 +345,7 @@

Source code for gcloud.bigtable.table

         """
         return ColumnFamily(column_family_id, self, gc_rule=gc_rule)
-
[docs] def row(self, row_key, filter_=None, append=False): +
[docs] def row(self, row_key, filter_=None, append=False): """Factory to create a row associated with this table. .. warning:: @@ -232,13 +387,13 @@

Source code for gcloud.bigtable.table

     def __ne__(self, other):
         return not self.__eq__(other)
 
-
[docs] def create(self, initial_split_keys=None, column_families=()): +
[docs] def create(self, initial_split_keys=None, column_families=()): """Creates this table. .. note:: A create request returns a - :class:`._generated_v2.table_pb2.Table` but we don't use + :class:`._generated.table_pb2.Table` but we don't use this response. :type initial_split_keys: list @@ -273,18 +428,18 @@

Source code for gcloud.bigtable.table

             table=table_pb,
         )
         client = self._instance._client
-        # We expect a `._generated_v2.table_pb2.Table`
-        client._table_stub.CreateTable(request_pb, client.timeout_seconds)
+ # We expect a `._generated.table_pb2.Table` + client._table_stub.CreateTable(request_pb)
-
[docs] def delete(self): +
[docs] def delete(self): """Delete this table.""" request_pb = table_admin_messages_v2_pb2.DeleteTableRequest( name=self.name) client = self._instance._client # We expect a `google.protobuf.empty_pb2.Empty` - client._table_stub.DeleteTable(request_pb, client.timeout_seconds)
+ client._table_stub.DeleteTable(request_pb)
-
[docs] def list_column_families(self): +
[docs] def list_column_families(self): """List the column families owned by this table. :rtype: dict @@ -298,9 +453,8 @@

Source code for gcloud.bigtable.table

         request_pb = table_admin_messages_v2_pb2.GetTableRequest(
             name=self.name)
         client = self._instance._client
-        # We expect a `._generated_v2.table_pb2.Table`
-        table_pb = client._table_stub.GetTable(request_pb,
-                                               client.timeout_seconds)
+        # We expect a `._generated.table_pb2.Table`
+        table_pb = client._table_stub.GetTable(request_pb)
 
         result = {}
         for column_family_id, value_pb in table_pb.column_families.items():
@@ -310,7 +464,7 @@ 

Source code for gcloud.bigtable.table

             result[column_family_id] = column_family
         return result
-
[docs] def read_row(self, row_key, filter_=None): +
[docs] def read_row(self, row_key, filter_=None): """Read a single row from this table. :type row_key: bytes @@ -329,8 +483,7 @@

Source code for gcloud.bigtable.table

         request_pb = _create_row_request(self.name, row_key=row_key,
                                          filter_=filter_)
         client = self._instance._client
-        response_iterator = client._data_stub.ReadRows(request_pb,
-                                                       client.timeout_seconds)
+        response_iterator = client._data_stub.ReadRows(request_pb)
         rows_data = PartialRowsData(response_iterator)
         rows_data.consume_all()
         if rows_data.state not in (rows_data.NEW_ROW, rows_data.START):
@@ -341,7 +494,7 @@ 

Source code for gcloud.bigtable.table

 
         return rows_data.rows[row_key]
-
[docs] def read_rows(self, start_key=None, end_key=None, limit=None, +
[docs] def read_rows(self, start_key=None, end_key=None, limit=None, filter_=None): """Read rows from this table. @@ -373,12 +526,11 @@

Source code for gcloud.bigtable.table

             self.name, start_key=start_key, end_key=end_key, filter_=filter_,
             limit=limit)
         client = self._instance._client
-        response_iterator = client._data_stub.ReadRows(request_pb,
-                                                       client.timeout_seconds)
+        response_iterator = client._data_stub.ReadRows(request_pb)
         # We expect an iterator of `data_messages_v2_pb2.ReadRowsResponse`
         return PartialRowsData(response_iterator)
-
[docs] def sample_row_keys(self): +
[docs] def sample_row_keys(self): """Read a sample of row keys in the table. The returned row keys will delimit contiguous sections of the table of @@ -404,7 +556,7 @@

Source code for gcloud.bigtable.table

         samples would require space roughly equal to the difference in their
         ``offset_bytes`` fields.
 
-        :rtype: :class:`grpc.framework.alpha._reexport._CancellableIterator`
+        :rtype: :class:`grpc._channel._Rendezvous`
         :returns: A cancel-able iterator. Can be consumed by calling ``next()``
                   or by casting to a :class:`list` and can be cancelled by
                   calling ``cancel()``.
@@ -412,8 +564,7 @@ 

Source code for gcloud.bigtable.table

         request_pb = data_messages_v2_pb2.SampleRowKeysRequest(
             table_name=self.name)
         client = self._instance._client
-        response_iterator = client._data_stub.SampleRowKeys(
-            request_pb, client.timeout_seconds)
+        response_iterator = client._data_stub.SampleRowKeys(request_pb)
         return response_iterator
@@ -478,123 +629,62 @@

Source code for gcloud.bigtable.table

     return message
 
-
-
+
+
+ - - - +
+ + + + + + + + + + + + + + + + + + + + + + + - + + + + \ No newline at end of file diff --git a/latest/_modules/gcloud/client.html b/latest/_modules/google/cloud/client.html similarity index 68% rename from latest/_modules/gcloud/client.html rename to latest/_modules/google/cloud/client.html index 2949f474c00f..a6145e907b12 100644 --- a/latest/_modules/gcloud/client.html +++ b/latest/_modules/google/cloud/client.html @@ -1,102 +1,257 @@ + + + + + + + + + + google.cloud.client — google-cloud 92219b8 documentation + + + + + - - - - - gcloud.client — gcloud 47bfd0a documentation - - - - + + + + - - - - - - - - + + + + + + + + + + + + + + + + + + + + + +
+ -
- -
- -
- - - Report an Issue - -
-
+ + +
+ + + + + + +
+
+ + -
+ + + +
+
    +
  • Docs »
  • + +
  • Module code »
  • + +
  • google.cloud.client
  • +
  • -

    Source code for gcloud.client

    +          
    +        
    +      
  • +
+
+
+
+
+ +

Source code for google.cloud.client

 # Copyright 2015 Google Inc. All rights reserved.
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
@@ -116,9 +271,9 @@ 

Source code for gcloud.client

 from oauth2client.service_account import ServiceAccountCredentials
 import six
 
-from gcloud._helpers import _determine_default_project
-from gcloud.connection import Connection
-from gcloud.credentials import get_credentials
+from google.cloud._helpers import _determine_default_project
+from google.cloud.connection import Connection
+from google.cloud.credentials import get_credentials
 
 
 class _ClientFactoryMixin(object):
@@ -147,7 +302,7 @@ 

Source code for gcloud.client

         :type kwargs: dict
         :param kwargs: Remaining keyword arguments to pass to constructor.
 
-        :rtype: :class:`gcloud.pubsub.client.Client`
+        :rtype: :class:`google.cloud.pubsub.client.Client`
         :returns: The client created with the retrieved JSON credentials.
         :raises: :class:`TypeError` if there is a conflict with the kwargs
                  and the credentials created by the factory.
@@ -182,7 +337,7 @@ 

Source code for gcloud.client

         :type kwargs: dict
         :param kwargs: Remaining keyword arguments to pass to constructor.
 
-        :rtype: :class:`gcloud.client.Client`
+        :rtype: :class:`google.cloud.client.Client`
         :returns: The client created with the retrieved P12 credentials.
         :raises: :class:`TypeError` if there is a conflict with the kwargs
                  and the credentials created by the factory.
@@ -195,7 +350,7 @@ 

Source code for gcloud.client

         return cls(*args, **kwargs)
 
 
-
[docs]class Client(_ClientFactoryMixin): +
[docs]class Client(_ClientFactoryMixin): """Client to bundle configuration needed for API requests. Assumes that the associated ``_connection_class`` only accepts @@ -253,7 +408,7 @@

Source code for gcloud.client

         return _determine_default_project(project)
 
 
-
[docs]class JSONClient(Client, _ClientProjectMixin): +
[docs]class JSONClient(Client, _ClientProjectMixin): """Client to for Google JSON-based API. Assumes such APIs use the ``project`` and the client needs to store this @@ -285,123 +440,62 @@

Source code for gcloud.client

         Client.__init__(self, credentials=credentials, http=http)
-
-
+
+
+ - - - +
+ + + + + + + + + + + + + + + + + + + + + + + - + + + + \ No newline at end of file diff --git a/latest/_modules/gcloud/connection.html b/latest/_modules/google/cloud/connection.html similarity index 76% rename from latest/_modules/gcloud/connection.html rename to latest/_modules/google/cloud/connection.html index 8926c2a1d7e8..6fd54486d35b 100644 --- a/latest/_modules/gcloud/connection.html +++ b/latest/_modules/google/cloud/connection.html @@ -1,102 +1,257 @@ + + + + + + + + + + google.cloud.connection — google-cloud 92219b8 documentation + + + + + - - - - - gcloud.connection — gcloud 47bfd0a documentation - - - - + + + + - - - - - - - - + + + + + + + + + + + + + + + + + + + + + +
+ -
- -
- -
- - - Report an Issue - -
-
+ + +
+ + + + + + +
+
+ + -
+ + + +
+
    +
  • Docs »
  • + +
  • Module code »
  • + +
  • google.cloud.connection
  • +
  • -

    Source code for gcloud.connection

    +          
    +        
    +      
  • +
+
+
+
+
+ +

Source code for google.cloud.connection

 # Copyright 2014 Google Inc. All rights reserved.
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
@@ -120,14 +275,14 @@ 

Source code for gcloud.connection

 
 import httplib2
 
-from gcloud.exceptions import make_exception
+from google.cloud.exceptions import make_exception
 
 
 API_BASE_URL = 'https://www.googleapis.com'
 """The base of the API call URL."""
 
 
-
[docs]class Connection(object): +
[docs]class Connection(object): """A generic connection to Google Cloud Platform. Subclasses should understand only the basic types in method arguments, @@ -162,8 +317,9 @@

Source code for gcloud.connection

     :param http: An optional HTTP object to make requests.
     """
 
-    USER_AGENT = "gcloud-python/{0}".format(get_distribution('gcloud').version)
-    """The user agent for gcloud-python requests."""
+    USER_AGENT = "google-cloud-python/{0}".format(
+        get_distribution('google-cloud').version)
+    """The user agent for google-cloud-python requests."""
 
     SCOPE = None
     """The scopes required for authenticating with a service.
@@ -223,7 +379,7 @@ 

Source code for gcloud.connection

         return credentials
-
[docs]class JSONConnection(Connection): +
[docs]class JSONConnection(Connection): """A connection to a Google JSON-based API. These APIs are discovery based. For reference: @@ -252,7 +408,7 @@

Source code for gcloud.connection

     """A template for the URL of a particular API call."""
 
     @classmethod
-
[docs] def build_api_url(cls, path, query_params=None, +
[docs] def build_api_url(cls, path, query_params=None, api_base_url=None, api_version=None): """Construct an API url given a few components, some optional. @@ -368,7 +524,7 @@

Source code for gcloud.connection

         return self.http.request(uri=url, method=method, headers=headers,
                                  body=data)
 
-
[docs] def api_request(self, method, path, query_params=None, +
[docs] def api_request(self, method, path, query_params=None, data=None, content_type=None, api_base_url=None, api_version=None, expect_json=True, _target_object=None): @@ -409,7 +565,7 @@

Source code for gcloud.connection

                             you shouldn't provide this and instead use
                             the default for the library.  Default is the
                             latest API version supported by
-                            gcloud-python.
+                            google-cloud-python.
 
         :type expect_json: bool
         :param expect_json: If True, this method will try to parse the
@@ -457,123 +613,62 @@ 

Source code for gcloud.connection

         return content
-
-
+
+
+ - - - +
+ + + + + + + + + + + + + + + + + + + + + + + - + + + + \ No newline at end of file diff --git a/latest/_modules/gcloud/credentials.html b/latest/_modules/google/cloud/credentials.html similarity index 69% rename from latest/_modules/gcloud/credentials.html rename to latest/_modules/google/cloud/credentials.html index 676012d63ee3..40b105951a6c 100644 --- a/latest/_modules/gcloud/credentials.html +++ b/latest/_modules/google/cloud/credentials.html @@ -1,102 +1,257 @@ + + + + + + + + + + google.cloud.credentials — google-cloud 92219b8 documentation + + + + + - - - - - gcloud.credentials — gcloud 47bfd0a documentation - - - - + + + + - - - - - - - - + + + + + + + + + + + + + + + + + + + + + +
+ -
- -
- -
- - - Report an Issue - -
-
+ + +
+ + + + + + +
+
+ + -
+ + + +
+
    +
  • Docs »
  • + +
  • Module code »
  • + +
  • google.cloud.credentials
  • +
  • -

    Source code for gcloud.credentials

    +          
    +        
    +      
  • +
+
+
+
+
+ +

Source code for google.cloud.credentials

 # Copyright 2014 Google Inc. All rights reserved.
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
@@ -120,12 +275,12 @@ 

Source code for gcloud.credentials

 
 from oauth2client import client
 
-from gcloud._helpers import UTC
-from gcloud._helpers import _NOW
-from gcloud._helpers import _microseconds_from_datetime
+from google.cloud._helpers import UTC
+from google.cloud._helpers import _NOW
+from google.cloud._helpers import _microseconds_from_datetime
 
 
-
[docs]def get_credentials(): +
[docs]def get_credentials(): """Gets credentials implicitly from the current environment. .. note:: @@ -201,12 +356,12 @@

Source code for gcloud.credentials

               signed payload.
     """
     if not hasattr(credentials, 'sign_blob'):
+        auth_uri = ('http://gcloud-python.readthedocs.io/en/latest/'
+                    'gcloud-auth.html#setting-up-a-service-account')
         raise AttributeError('you need a private key to sign credentials.'
                              'the credentials you are currently using %s '
-                             'just contains a token. see https://googlecloud'
-                             'platform.github.io/gcloud-python/stable/gcloud-'
-                             'auth.html#setting-up-a-service-account for more '
-                             'details.' % type(credentials))
+                             'just contains a token. see %s for more '
+                             'details.' % (type(credentials), auth_uri))
 
     _, signature_bytes = credentials.sign_blob(string_to_sign)
     signature = base64.b64encode(signature_bytes)
@@ -245,7 +400,7 @@ 

Source code for gcloud.credentials

     return expiration
 
 
-
[docs]def generate_signed_url(credentials, resource, expiration, +
[docs]def generate_signed_url(credentials, resource, expiration, api_access_endpoint='', method='GET', content_md5=None, content_type=None, response_type=None, @@ -271,7 +426,7 @@

Source code for gcloud.credentials

     See headers `reference`_ for more details on optional arguments.
 
     .. _Issue 922: https://github.com/GoogleCloudPlatform/\
-                   gcloud-python/issues/922
+                   google-cloud-python/issues/922
     .. _reference: https://cloud.google.com/storage/docs/reference-headers
 
     :type credentials: :class:`oauth2client.appengine.AppAssertionCredentials`
@@ -345,123 +500,62 @@ 

Source code for gcloud.credentials

         querystring=urlencode(query_params))
-
-
+
+
+ - - - +
+ + + + + + + + + + + + + + + + + + + + + + + - + + + + \ No newline at end of file diff --git a/latest/_modules/gcloud/datastore/batch.html b/latest/_modules/google/cloud/datastore/batch.html similarity index 70% rename from latest/_modules/gcloud/datastore/batch.html rename to latest/_modules/google/cloud/datastore/batch.html index 0b9727891d96..fb979f2b9a9d 100644 --- a/latest/_modules/gcloud/datastore/batch.html +++ b/latest/_modules/google/cloud/datastore/batch.html @@ -1,102 +1,257 @@ + + + + + + + + + + google.cloud.datastore.batch — google-cloud 92219b8 documentation + + + + + - - - - - gcloud.datastore.batch — gcloud 47bfd0a documentation - - - - + + + + - - - - - - - - + + + + + + + + + + + + + + + + + + + + + +
+ -
- -
- -
- - - Report an Issue - -
-
+ + +
+ + + + + + +
+
+ + -
+ + + +
+
    +
  • Docs »
  • + +
  • Module code »
  • + +
  • google.cloud.datastore.batch
  • +
  • -

    Source code for gcloud.datastore.batch

    +          
    +        
    +      
  • +
+
+
+
+
+ +

Source code for google.cloud.datastore.batch

 # Copyright 2014 Google Inc. All rights reserved.
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
@@ -120,20 +275,20 @@ 

Source code for gcloud.datastore.batch

 https://cloud.google.com/datastore/docs/concepts/entities#Datastore_Batch_operations
 """
 
-from gcloud.datastore import helpers
-from gcloud.datastore._generated import datastore_pb2 as _datastore_pb2
+from google.cloud.datastore import helpers
+from google.cloud.datastore._generated import datastore_pb2 as _datastore_pb2
 
 
-
[docs]class Batch(object): +
[docs]class Batch(object): """An abstraction representing a collected group of updates / deletes. - Used to build up a bulk mutuation. + Used to build up a bulk mutation. For example, the following snippet of code will put the two ``save`` operations and the ``delete`` operation into the same mutation, and send them to the server in a single API request:: - >>> from gcloud import datastore + >>> from google.cloud import datastore >>> client = datastore.Client() >>> batch = client.batch() >>> batch.put(entity1) @@ -156,7 +311,7 @@

Source code for gcloud.datastore.batch

       ...     do_some_work(batch)
       ...     raise Exception()  # rolls back
 
-    :type client: :class:`gcloud.datastore.client.Client`
+    :type client: :class:`google.cloud.datastore.client.Client`
     :param client: The client used to connect to datastore.
     """
 
@@ -180,7 +335,7 @@ 

Source code for gcloud.datastore.batch

         self._partial_key_entities = []
         self._status = self._INITIAL
 
-
[docs] def current(self): +
[docs] def current(self): """Return the topmost batch / transaction, or None.""" return self._client.current_batch
@@ -206,7 +361,7 @@

Source code for gcloud.datastore.batch

     def connection(self):
         """Getter for connection over which the batch will run.
 
-        :rtype: :class:`gcloud.datastore.connection.Connection`
+        :rtype: :class:`google.cloud.datastore.connection.Connection`
         :returns: The connection over which the batch will run.
         """
         return self._client.connection
@@ -214,7 +369,7 @@ 

Source code for gcloud.datastore.batch

     def _add_partial_key_entity_pb(self):
         """Adds a new mutation for an entity with a partial key.
 
-        :rtype: :class:`gcloud.datastore._generated.entity_pb2.Entity`
+        :rtype: :class:`google.cloud.datastore._generated.entity_pb2.Entity`
         :returns: The newly created entity protobuf that will be
                   updated and sent with a commit.
         """
@@ -224,7 +379,7 @@ 

Source code for gcloud.datastore.batch

     def _add_complete_key_entity_pb(self):
         """Adds a new mutation for an entity with a completed key.
 
-        :rtype: :class:`gcloud.datastore._generated.entity_pb2.Entity`
+        :rtype: :class:`google.cloud.datastore._generated.entity_pb2.Entity`
         :returns: The newly created entity protobuf that will be
                   updated and sent with a commit.
         """
@@ -237,7 +392,7 @@ 

Source code for gcloud.datastore.batch

     def _add_delete_key_pb(self):
         """Adds a new mutation for a key to be deleted.
 
-        :rtype: :class:`gcloud.datastore._generated.entity_pb2.Key`
+        :rtype: :class:`google.cloud.datastore._generated.entity_pb2.Key`
         :returns: The newly created key protobuf that will be
                   deleted when sent with a commit.
         """
@@ -260,7 +415,7 @@ 

Source code for gcloud.datastore.batch

         """
         return self._commit_request.mutations
 
-
[docs] def put(self, entity): +
[docs] def put(self, entity): """Remember an entity's state to be saved during :meth:`commit`. .. note:: @@ -279,7 +434,7 @@

Source code for gcloud.datastore.batch

         the key for the ``entity`` passed in is updated to match the key ID
         assigned by the server.
 
-        :type entity: :class:`gcloud.datastore.entity.Entity`
+        :type entity: :class:`google.cloud.datastore.entity.Entity`
         :param entity: the entity to be saved.
 
         :raises: ValueError if entity has no key assigned, or if the key's
@@ -299,10 +454,10 @@ 

Source code for gcloud.datastore.batch

 
         _assign_entity_to_pb(entity_pb, entity)
-
[docs] def delete(self, key): +
[docs] def delete(self, key): """Remember a key to be deleted during :meth:`commit`. - :type key: :class:`gcloud.datastore.key.Key` + :type key: :class:`google.cloud.datastore.key.Key` :param key: the key to be deleted. :raises: ValueError if key is not complete, or if the key's @@ -317,14 +472,14 @@

Source code for gcloud.datastore.batch

         key_pb = key.to_protobuf()
         self._add_delete_key_pb().CopyFrom(key_pb)
-
[docs] def begin(self): +
[docs] def begin(self): """Begins a batch. This method is called automatically when entering a with statement, however it can be called explicitly if you don't want to use a context manager. - Overridden by :class:`gcloud.datastore.transaction.Transaction`. + Overridden by :class:`google.cloud.datastore.transaction.Transaction`. :raises: :class:`ValueError` if the batch has already begun. """ @@ -348,7 +503,7 @@

Source code for gcloud.datastore.batch

             new_id = new_key_pb.path[-1].id
             entity.key = entity.key.completed_key(new_id)
 
-
[docs] def commit(self): +
[docs] def commit(self): """Commits the batch. This is called automatically upon exiting a with statement, @@ -360,12 +515,12 @@

Source code for gcloud.datastore.batch

         finally:
             self._status = self._FINISHED
-
[docs] def rollback(self): +
[docs] def rollback(self): """Rolls back the current batch. Marks the batch as aborted (can't be used again). - Overridden by :class:`gcloud.datastore.transaction.Transaction`. + Overridden by :class:`google.cloud.datastore.transaction.Transaction`. """ self._status = self._ABORTED
@@ -389,10 +544,10 @@

Source code for gcloud.datastore.batch

 
     Helper method for ``Batch.put``.
 
-    :type entity_pb: :class:`gcloud.datastore._generated.entity_pb2.Entity`
+    :type entity_pb: :class:`._generated.entity_pb2.Entity`
     :param entity_pb: The entity owned by a mutation.
 
-    :type entity: :class:`gcloud.datastore.entity.Entity`
+    :type entity: :class:`google.cloud.datastore.entity.Entity`
     :param entity: The entity being updated within the batch / transaction.
     """
     bare_entity_pb = helpers.entity_to_protobuf(entity)
@@ -400,123 +555,62 @@ 

Source code for gcloud.datastore.batch

     entity_pb.CopyFrom(bare_entity_pb)
 
-
-
+
+
+ - - - +
+ + + + + + + + + + + + + + + + + + + + + + + - + + + + \ No newline at end of file diff --git a/latest/_modules/gcloud/datastore/client.html b/latest/_modules/google/cloud/datastore/client.html similarity index 68% rename from latest/_modules/gcloud/datastore/client.html rename to latest/_modules/google/cloud/datastore/client.html index 604be941b33f..32d40c0cc3fb 100644 --- a/latest/_modules/gcloud/datastore/client.html +++ b/latest/_modules/google/cloud/datastore/client.html @@ -1,102 +1,257 @@ + + + + + + + + + + google.cloud.datastore.client — google-cloud 92219b8 documentation + + + + + - - - - - gcloud.datastore.client — gcloud 47bfd0a documentation - - - - + + + + - - - - - - - - + + + + + + + + + + + + + + + + + + + + + +
+ -
- -
- -
- - - Report an Issue - -
-
+ -
+
+ + + + + + +
+
+ + + + + + +
+
    +
  • Docs »
  • + +
  • Module code »
  • + +
  • google.cloud.datastore.client
  • +
  • -

    Source code for gcloud.datastore.client

    +          
    +        
    +      
  • +
+
+
+
+
+ +

Source code for google.cloud.datastore.client

 # Copyright 2014 Google Inc. All rights reserved.
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
@@ -114,18 +269,19 @@ 

Source code for gcloud.datastore.client

 
 import os
 
-from gcloud._helpers import _LocalStack
-from gcloud._helpers import _determine_default_project as _base_default_project
-from gcloud.client import _ClientProjectMixin
-from gcloud.client import Client as _BaseClient
-from gcloud.datastore import helpers
-from gcloud.datastore.connection import Connection
-from gcloud.datastore.batch import Batch
-from gcloud.datastore.entity import Entity
-from gcloud.datastore.key import Key
-from gcloud.datastore.query import Query
-from gcloud.datastore.transaction import Transaction
-from gcloud.environment_vars import GCD_DATASET
+from google.cloud._helpers import _LocalStack
+from google.cloud._helpers import (
+    _determine_default_project as _base_default_project)
+from google.cloud.client import _ClientProjectMixin
+from google.cloud.client import Client as _BaseClient
+from google.cloud.datastore import helpers
+from google.cloud.datastore.connection import Connection
+from google.cloud.datastore.batch import Batch
+from google.cloud.datastore.entity import Entity
+from google.cloud.datastore.key import Key
+from google.cloud.datastore.query import Query
+from google.cloud.datastore.transaction import Transaction
+from google.cloud.environment_vars import GCD_DATASET
 
 
 _MAX_LOOPS = 128
@@ -144,7 +300,7 @@ 

Source code for gcloud.datastore.client

     implicit environments are:
 
     * DATASTORE_DATASET environment variable (for ``gcd`` / emulator testing)
-    * GCLOUD_PROJECT environment variable
+    * GOOGLE_CLOUD_PROJECT environment variable
     * Google App Engine application ID
     * Google Compute Engine project ID (from metadata server)
 
@@ -170,13 +326,13 @@ 

Source code for gcloud.datastore.client

 
     Helper function for :meth:`Client.get_multi`.
 
-    :type connection: :class:`gcloud.datastore.connection.Connection`
+    :type connection: :class:`google.cloud.datastore.connection.Connection`
     :param connection: The connection used to connect to datastore.
 
     :type project: string
     :param project: The project to make the request for.
 
-    :type key_pbs: list of :class:`gcloud.datastore._generated.entity_pb2.Key`
+    :type key_pbs: list of :class:`._generated.entity_pb2.Key`
     :param key_pbs: The keys to retrieve from the datastore.
 
     :type missing: list
@@ -198,7 +354,7 @@ 

Source code for gcloud.datastore.client

                            the given transaction.  Incompatible with
                            ``eventual==True``.
 
-    :rtype: list of :class:`gcloud.datastore._generated.entity_pb2.Entity`
+    :rtype: list of :class:`._generated.entity_pb2.Entity`
     :returns: The requested entities.
     :raises: :class:`ValueError` if missing / deferred are not null or
              empty list.
@@ -241,7 +397,7 @@ 

Source code for gcloud.datastore.client

     return results
 
 
-
[docs]class Client(_BaseClient, _ClientProjectMixin): +
[docs]class Client(_BaseClient, _ClientProjectMixin): """Convenience wrapper for invoking APIs/factories w/ a project. :type project: string @@ -281,7 +437,7 @@

Source code for gcloud.datastore.client

 
         "Protected", intended for use by batch / transaction context mgrs.
 
-        :type batch: :class:`gcloud.datastore.batch.Batch`, or an object
+        :type batch: :class:`google.cloud.datastore.batch.Batch`, or an object
                      implementing its API.
         :param batch: newly-active batch/transaction.
         """
@@ -293,7 +449,7 @@ 

Source code for gcloud.datastore.client

         "Protected", intended for use by batch / transaction context mgrs.
 
         :raises: IndexError if the stack is empty.
-        :rtype: :class:`gcloud.datastore.batch.Batch`, or an object
+        :rtype: :class:`google.cloud.datastore.batch.Batch`, or an object
                  implementing its API.
         :returns: the top-most batch/transaction, after removing it.
         """
@@ -303,7 +459,7 @@ 

Source code for gcloud.datastore.client

     def current_batch(self):
         """Currently-active batch.
 
-        :rtype: :class:`gcloud.datastore.batch.Batch`, or an object
+        :rtype: :class:`google.cloud.datastore.batch.Batch`, or an object
                 implementing its API, or ``NoneType`` (if no batch is active).
         :returns: The batch/transaction at the top of the batch stack.
         """
@@ -313,16 +469,16 @@ 

Source code for gcloud.datastore.client

     def current_transaction(self):
         """Currently-active transaction.
 
-        :rtype: :class:`gcloud.datastore.transaction.Transaction`, or an object
-                implementing its API, or ``NoneType`` (if no transaction is
-                active).
+        :rtype: :class:`google.cloud.datastore.transaction.Transaction`, or an
+                object implementing its API, or ``NoneType`` (if no transaction
+                is active).
         :returns: The transaction at the top of the batch stack.
         """
         transaction = self.current_batch
         if isinstance(transaction, Transaction):
             return transaction
 
-
[docs] def get(self, key, missing=None, deferred=None, transaction=None): +
[docs] def get(self, key, missing=None, deferred=None, transaction=None): """Retrieve an entity from a single key (if it exists). .. note:: @@ -331,7 +487,7 @@

Source code for gcloud.datastore.client

            The backend API does not make a distinction between a single key or
            multiple keys in a lookup request.
 
-        :type key: :class:`gcloud.datastore.key.Key`
+        :type key: :class:`google.cloud.datastore.key.Key`
         :param key: The key to be retrieved from the datastore.
 
         :type missing: list
@@ -343,11 +499,11 @@ 

Source code for gcloud.datastore.client

         :param deferred: (Optional) If a list is passed, the keys returned
                          by the backend as "deferred" will be copied into it.
 
-        :type transaction: :class:`gcloud.datastore.transaction.Transaction`
+        :type transaction: :class:`~.transaction.Transaction`
         :param transaction: (Optional) Transaction to use for read consistency.
                             If not passed, uses current transaction, if set.
 
-        :rtype: :class:`gcloud.datastore.entity.Entity` or ``NoneType``
+        :rtype: :class:`google.cloud.datastore.entity.Entity` or ``NoneType``
         :returns: The requested entity if it exists.
         """
         entities = self.get_multi(keys=[key], missing=missing,
@@ -355,10 +511,10 @@ 

Source code for gcloud.datastore.client

         if entities:
             return entities[0]
-
[docs] def get_multi(self, keys, missing=None, deferred=None, transaction=None): +
[docs] def get_multi(self, keys, missing=None, deferred=None, transaction=None): """Retrieve entities, along with their attributes. - :type keys: list of :class:`gcloud.datastore.key.Key` + :type keys: list of :class:`google.cloud.datastore.key.Key` :param keys: The keys to be retrieved from the datastore. :type missing: list @@ -371,11 +527,11 @@

Source code for gcloud.datastore.client

                          by the backend as "deferred" will be copied into it.
                          If the list is not empty, an error will occur.
 
-        :type transaction: :class:`gcloud.datastore.transaction.Transaction`
+        :type transaction: :class:`~.transaction.Transaction`
         :param transaction: (Optional) Transaction to use for read consistency.
                             If not passed, uses current transaction, if set.
 
-        :rtype: list of :class:`gcloud.datastore.entity.Entity`
+        :rtype: list of :class:`google.cloud.datastore.entity.Entity`
         :returns: The requested entities.
         :raises: :class:`ValueError` if one or more of ``keys`` has a project
                  which does not match our project.
@@ -413,7 +569,7 @@ 

Source code for gcloud.datastore.client

         return [helpers.entity_from_protobuf(entity_pb)
                 for entity_pb in entity_pbs]
-
[docs] def put(self, entity): +
[docs] def put(self, entity): """Save an entity in the Cloud Datastore. .. note:: @@ -422,15 +578,15 @@

Source code for gcloud.datastore.client

            The backend API does not make a distinction between a single
            entity or multiple entities in a commit request.
 
-        :type entity: :class:`gcloud.datastore.entity.Entity`
+        :type entity: :class:`google.cloud.datastore.entity.Entity`
         :param entity: The entity to be saved to the datastore.
         """
         self.put_multi(entities=[entity])
-
[docs] def put_multi(self, entities): +
[docs] def put_multi(self, entities): """Save entities in the Cloud Datastore. - :type entities: list of :class:`gcloud.datastore.entity.Entity` + :type entities: list of :class:`google.cloud.datastore.entity.Entity` :param entities: The entities to be saved to the datastore. :raises: :class:`ValueError` if ``entities`` is a single entity. @@ -453,7 +609,7 @@

Source code for gcloud.datastore.client

         if not in_batch:
             current.commit()
-
[docs] def delete(self, key): +
[docs] def delete(self, key): """Delete the key in the Cloud Datastore. .. note:: @@ -462,16 +618,16 @@

Source code for gcloud.datastore.client

            The backend API does not make a distinction between a single key or
            multiple keys in a commit request.
 
-        :type key: :class:`gcloud.datastore.key.Key`
+        :type key: :class:`google.cloud.datastore.key.Key`
         :param key: The key to be deleted from the datastore.
         """
         self.delete_multi(keys=[key])
-
[docs] def delete_multi(self, keys): +
[docs] def delete_multi(self, keys): """Delete keys from the Cloud Datastore. - :type keys: list of :class:`gcloud.datastore.key.Key` - :param keys: The keys to be deleted from the datastore. + :type keys: list of :class:`google.cloud.datastore.key.Key` + :param keys: The keys to be deleted from the Datastore. """ if not keys: return @@ -489,16 +645,16 @@

Source code for gcloud.datastore.client

         if not in_batch:
             current.commit()
-
[docs] def allocate_ids(self, incomplete_key, num_ids): +
[docs] def allocate_ids(self, incomplete_key, num_ids): """Allocate a list of IDs from a partial key. - :type incomplete_key: :class:`gcloud.datastore.key.Key` + :type incomplete_key: :class:`google.cloud.datastore.key.Key` :param incomplete_key: Partial key to use as base for allocated IDs. :type num_ids: int :param num_ids: The number of IDs to allocate. - :rtype: list of :class:`gcloud.datastore.key.Key` + :rtype: list of :class:`google.cloud.datastore.key.Key` :returns: The (complete) keys allocated with ``incomplete_key`` as root. :raises: :class:`ValueError` if ``incomplete_key`` is not a @@ -518,8 +674,8 @@

Source code for gcloud.datastore.client

         return [incomplete_key.completed_key(allocated_id)
                 for allocated_id in allocated_ids]
-
[docs] def key(self, *path_args, **kwargs): - """Proxy to :class:`gcloud.datastore.key.Key`. +
[docs] def key(self, *path_args, **kwargs): + """Proxy to :class:`google.cloud.datastore.key.Key`. Passes our ``project``. """ @@ -530,18 +686,49 @@

Source code for gcloud.datastore.client

             kwargs['namespace'] = self.namespace
         return Key(*path_args, **kwargs)
-
[docs] def batch(self): - """Proxy to :class:`gcloud.datastore.batch.Batch`.""" +
[docs] def batch(self): + """Proxy to :class:`google.cloud.datastore.batch.Batch`.""" return Batch(self)
-
[docs] def transaction(self): - """Proxy to :class:`gcloud.datastore.transaction.Transaction`.""" +
[docs] def transaction(self): + """Proxy to :class:`google.cloud.datastore.transaction.Transaction`.""" return Transaction(self)
-
[docs] def query(self, **kwargs): - """Proxy to :class:`gcloud.datastore.query.Query`. +
[docs] def query(self, **kwargs): + """Proxy to :class:`google.cloud.datastore.query.Query`. Passes our ``project``. + + Using query to search a datastore:: + + >>> from google.cloud import datastore + >>> client = datastore.Client() + >>> query = client.query(kind='MyKind') + >>> query.add_filter('property', '=', 'val') + + Using the query iterator's + :meth:`~google.cloud.datastore.query.Iterator.next_page` method: + + >>> query_iter = query.fetch() + >>> entities, more_results, cursor = query_iter.next_page() + >>> entities + [<list of Entity unmarshalled from protobuf>] + >>> more_results + <boolean of more results> + >>> cursor + <string containing cursor where fetch stopped> + + Under the hood this is doing: + + >>> connection.run_query('project', query.to_protobuf()) + [<list of Entity Protobufs>], cursor, more_results, skipped_results + + :type kwargs: dict + :param kwargs: Parameters for initializing and instance of + :class:`google.cloud.datastore.query.Query`. + + :rtype: :class:`google.cloud.datastore.query.Query` + :returns: An instance of :class:`google.cloud.datastore.query.Query` """ if 'client' in kwargs: raise TypeError('Cannot pass client') @@ -553,123 +740,62 @@

Source code for gcloud.datastore.client

         return Query(self, **kwargs)
-
-
+ + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + \ No newline at end of file diff --git a/latest/_modules/google/cloud/datastore/connection.html b/latest/_modules/google/cloud/datastore/connection.html new file mode 100644 index 000000000000..003fd45814f2 --- /dev/null +++ b/latest/_modules/google/cloud/datastore/connection.html @@ -0,0 +1,988 @@ + + + + + + + + + + + google.cloud.datastore.connection — google-cloud 92219b8 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + +
+ + + + + + +
+
+ + + + + + +
+
    +
  • Docs »
  • + +
  • Module code »
  • + +
  • google.cloud.datastore.connection
  • +
  • + + + +
  • +
+
+
+
+
+ +

Source code for google.cloud.datastore.connection

+# Copyright 2014 Google Inc. All rights reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Connections to Google Cloud Datastore API servers."""
+
+import os
+
+from google.rpc import status_pb2
+
+from google.cloud._helpers import make_insecure_stub
+from google.cloud._helpers import make_secure_stub
+from google.cloud import connection as connection_module
+from google.cloud.environment_vars import DISABLE_GRPC
+from google.cloud.environment_vars import GCD_HOST
+from google.cloud.exceptions import Conflict
+from google.cloud.exceptions import make_exception
+from google.cloud.datastore._generated import datastore_pb2 as _datastore_pb2
+# pylint: disable=ungrouped-imports
+try:
+    from grpc import StatusCode
+    from grpc._channel import _Rendezvous
+    from google.cloud.datastore._generated import datastore_grpc_pb2
+except ImportError:  # pragma: NO COVER
+    _HAVE_GRPC = False
+    datastore_grpc_pb2 = None
+    StatusCode = None
+    _Rendezvous = Exception
+else:
+    _HAVE_GRPC = True
+# pylint: enable=ungrouped-imports
+
+
+DATASTORE_API_HOST = 'datastore.googleapis.com'
+"""Datastore API request host."""
+
+_DISABLE_GRPC = os.getenv(DISABLE_GRPC, False)
+_USE_GRPC = _HAVE_GRPC and not _DISABLE_GRPC
+
+
+class _DatastoreAPIOverHttp(object):
+    """Helper mapping datastore API methods.
+
+    Makes requests to send / receive protobuf content over HTTP/1.1.
+
+    Methods make bare API requests without any helpers for constructing
+    the requests or parsing the responses.
+
+    :type connection: :class:`google.cloud.datastore.connection.Connection`
+    :param connection: A connection object that contains helpful
+                       information for making requests.
+    """
+
+    def __init__(self, connection):
+        self.connection = connection
+
+    def _request(self, project, method, data):
+        """Make a request over the Http transport to the Cloud Datastore API.
+
+        :type project: string
+        :param project: The project to make the request for.
+
+        :type method: string
+        :param method: The API call method name (ie, ``runQuery``,
+                       ``lookup``, etc)
+
+        :type data: string
+        :param data: The data to send with the API call.
+                     Typically this is a serialized Protobuf string.
+
+        :rtype: string
+        :returns: The string response content from the API call.
+        :raises: :class:`google.cloud.exceptions.GoogleCloudError` if the
+                 response code is not 200 OK.
+        """
+        headers = {
+            'Content-Type': 'application/x-protobuf',
+            'Content-Length': str(len(data)),
+            'User-Agent': self.connection.USER_AGENT,
+        }
+        headers, content = self.connection.http.request(
+            uri=self.connection.build_api_url(project=project, method=method),
+            method='POST', headers=headers, body=data)
+
+        status = headers['status']
+        if status != '200':
+            error_status = status_pb2.Status.FromString(content)
+            raise make_exception(headers, error_status.message, use_json=False)
+
+        return content
+
+    def _rpc(self, project, method, request_pb, response_pb_cls):
+        """Make a protobuf RPC request.
+
+        :type project: string
+        :param project: The project to connect to. This is
+                        usually your project name in the cloud console.
+
+        :type method: string
+        :param method: The name of the method to invoke.
+
+        :type request_pb: :class:`google.protobuf.message.Message` instance
+        :param request_pb: the protobuf instance representing the request.
+
+        :type response_pb_cls: A :class:`google.protobuf.message.Message`
+                               subclass.
+        :param response_pb_cls: The class used to unmarshall the response
+                                protobuf.
+
+        :rtype: :class:`google.protobuf.message.Message`
+        :returns: The RPC message parsed from the response.
+        """
+        response = self._request(project=project, method=method,
+                                 data=request_pb.SerializeToString())
+        return response_pb_cls.FromString(response)
+
+    def lookup(self, project, request_pb):
+        """Perform a ``lookup`` request.
+
+        :type project: string
+        :param project: The project to connect to. This is
+                        usually your project name in the cloud console.
+
+        :type request_pb: :class:`._generated.datastore_pb2.LookupRequest`
+        :param request_pb: The request protobuf object.
+
+        :rtype: :class:`._generated.datastore_pb2.LookupResponse`
+        :returns: The returned protobuf response object.
+        """
+        return self._rpc(project, 'lookup', request_pb,
+                         _datastore_pb2.LookupResponse)
+
+    def run_query(self, project, request_pb):
+        """Perform a ``runQuery`` request.
+
+        :type project: string
+        :param project: The project to connect to. This is
+                        usually your project name in the cloud console.
+
+        :type request_pb: :class:`._generated.datastore_pb2.RunQueryRequest`
+        :param request_pb: The request protobuf object.
+
+        :rtype: :class:`._generated.datastore_pb2.RunQueryResponse`
+        :returns: The returned protobuf response object.
+        """
+        return self._rpc(project, 'runQuery', request_pb,
+                         _datastore_pb2.RunQueryResponse)
+
+    def begin_transaction(self, project, request_pb):
+        """Perform a ``beginTransaction`` request.
+
+        :type project: string
+        :param project: The project to connect to. This is
+                        usually your project name in the cloud console.
+
+        :type request_pb:
+            :class:`._generated.datastore_pb2.BeginTransactionRequest`
+        :param request_pb: The request protobuf object.
+
+        :rtype: :class:`._generated.datastore_pb2.BeginTransactionResponse`
+        :returns: The returned protobuf response object.
+        """
+        return self._rpc(project, 'beginTransaction', request_pb,
+                         _datastore_pb2.BeginTransactionResponse)
+
+    def commit(self, project, request_pb):
+        """Perform a ``commit`` request.
+
+        :type project: string
+        :param project: The project to connect to. This is
+                        usually your project name in the cloud console.
+
+        :type request_pb: :class:`._generated.datastore_pb2.CommitRequest`
+        :param request_pb: The request protobuf object.
+
+        :rtype: :class:`._generated.datastore_pb2.CommitResponse`
+        :returns: The returned protobuf response object.
+        """
+        return self._rpc(project, 'commit', request_pb,
+                         _datastore_pb2.CommitResponse)
+
+    def rollback(self, project, request_pb):
+        """Perform a ``rollback`` request.
+
+        :type project: string
+        :param project: The project to connect to. This is
+                        usually your project name in the cloud console.
+
+        :type request_pb: :class:`._generated.datastore_pb2.RollbackRequest`
+        :param request_pb: The request protobuf object.
+
+        :rtype: :class:`._generated.datastore_pb2.RollbackResponse`
+        :returns: The returned protobuf response object.
+        """
+        return self._rpc(project, 'rollback', request_pb,
+                         _datastore_pb2.RollbackResponse)
+
+    def allocate_ids(self, project, request_pb):
+        """Perform an ``allocateIds`` request.
+
+        :type project: string
+        :param project: The project to connect to. This is
+                        usually your project name in the cloud console.
+
+        :type request_pb: :class:`._generated.datastore_pb2.AllocateIdsRequest`
+        :param request_pb: The request protobuf object.
+
+        :rtype: :class:`._generated.datastore_pb2.AllocateIdsResponse`
+        :returns: The returned protobuf response object.
+        """
+        return self._rpc(project, 'allocateIds', request_pb,
+                         _datastore_pb2.AllocateIdsResponse)
+
+
+class _DatastoreAPIOverGRPC(object):
+    """Helper mapping datastore API methods.
+
+    Makes requests to send / receive protobuf content over gRPC.
+
+    Methods make bare API requests without any helpers for constructing
+    the requests or parsing the responses.
+
+    :type connection: :class:`google.cloud.datastore.connection.Connection`
+    :param connection: A connection object that contains helpful
+                       information for making requests.
+
+    :type secure: bool
+    :param secure: Flag indicating if a secure stub connection is needed.
+    """
+
+    def __init__(self, connection, secure):
+        if secure:
+            self._stub = make_secure_stub(connection.credentials,
+                                          connection.USER_AGENT,
+                                          datastore_grpc_pb2.DatastoreStub,
+                                          connection.host)
+        else:
+            self._stub = make_insecure_stub(datastore_grpc_pb2.DatastoreStub,
+                                            connection.host)
+
+    def lookup(self, project, request_pb):
+        """Perform a ``lookup`` request.
+
+        :type project: string
+        :param project: The project to connect to. This is
+                        usually your project name in the cloud console.
+
+        :type request_pb: :class:`._generated.datastore_pb2.LookupRequest`
+        :param request_pb: The request protobuf object.
+
+        :rtype: :class:`._generated.datastore_pb2.LookupResponse`
+        :returns: The returned protobuf response object.
+        """
+        request_pb.project_id = project
+        return self._stub.Lookup(request_pb)
+
+    def run_query(self, project, request_pb):
+        """Perform a ``runQuery`` request.
+
+        :type project: string
+        :param project: The project to connect to. This is
+                        usually your project name in the cloud console.
+
+        :type request_pb: :class:`._generated.datastore_pb2.RunQueryRequest`
+        :param request_pb: The request protobuf object.
+
+        :rtype: :class:`._generated.datastore_pb2.RunQueryResponse`
+        :returns: The returned protobuf response object.
+        """
+        request_pb.project_id = project
+        return self._stub.RunQuery(request_pb)
+
+    def begin_transaction(self, project, request_pb):
+        """Perform a ``beginTransaction`` request.
+
+        :type project: string
+        :param project: The project to connect to. This is
+                        usually your project name in the cloud console.
+
+        :type request_pb:
+            :class:`._generated.datastore_pb2.BeginTransactionRequest`
+        :param request_pb: The request protobuf object.
+
+        :rtype: :class:`._generated.datastore_pb2.BeginTransactionResponse`
+        :returns: The returned protobuf response object.
+        """
+        request_pb.project_id = project
+        return self._stub.BeginTransaction(request_pb)
+
+    def commit(self, project, request_pb):
+        """Perform a ``commit`` request.
+
+        :type project: string
+        :param project: The project to connect to. This is
+                        usually your project name in the cloud console.
+
+        :type request_pb: :class:`._generated.datastore_pb2.CommitRequest`
+        :param request_pb: The request protobuf object.
+
+        :rtype: :class:`._generated.datastore_pb2.CommitResponse`
+        :returns: The returned protobuf response object.
+        """
+        request_pb.project_id = project
+        try:
+            return self._stub.Commit(request_pb)
+        except _Rendezvous as exc:
+            if exc.code() == StatusCode.ABORTED:
+                raise Conflict(exc.details())
+            raise
+
+    def rollback(self, project, request_pb):
+        """Perform a ``rollback`` request.
+
+        :type project: string
+        :param project: The project to connect to. This is
+                        usually your project name in the cloud console.
+
+        :type request_pb: :class:`._generated.datastore_pb2.RollbackRequest`
+        :param request_pb: The request protobuf object.
+
+        :rtype: :class:`._generated.datastore_pb2.RollbackResponse`
+        :returns: The returned protobuf response object.
+        """
+        request_pb.project_id = project
+        return self._stub.Rollback(request_pb)
+
+    def allocate_ids(self, project, request_pb):
+        """Perform an ``allocateIds`` request.
+
+        :type project: string
+        :param project: The project to connect to. This is
+                        usually your project name in the cloud console.
+
+        :type request_pb: :class:`._generated.datastore_pb2.AllocateIdsRequest`
+        :param request_pb: The request protobuf object.
+
+        :rtype: :class:`._generated.datastore_pb2.AllocateIdsResponse`
+        :returns: The returned protobuf response object.
+        """
+        request_pb.project_id = project
+        return self._stub.AllocateIds(request_pb)
+
+
+
[docs]class Connection(connection_module.Connection): + """A connection to the Google Cloud Datastore via the Protobuf API. + + This class should understand only the basic types (and protobufs) + in method arguments, however it should be capable of returning advanced + types. + + :type credentials: :class:`oauth2client.client.OAuth2Credentials` + :param credentials: The OAuth2 Credentials to use for this connection. + + :type http: :class:`httplib2.Http` or class that defines ``request()``. + :param http: An optional HTTP object to make requests. + """ + + API_BASE_URL = 'https://' + DATASTORE_API_HOST + """The base of the API call URL.""" + + API_VERSION = 'v1' + """The version of the API, used in building the API call's URL.""" + + API_URL_TEMPLATE = ('{api_base}/{api_version}/projects' + '/{project}:{method}') + """A template for the URL of a particular API call.""" + + SCOPE = ('https://www.googleapis.com/auth/datastore',) + """The scopes required for authenticating as a Cloud Datastore consumer.""" + + def __init__(self, credentials=None, http=None): + super(Connection, self).__init__(credentials=credentials, http=http) + try: + self.host = os.environ[GCD_HOST] + self.api_base_url = 'http://' + self.host + secure = False + except KeyError: + self.host = DATASTORE_API_HOST + self.api_base_url = self.__class__.API_BASE_URL + secure = True + if _USE_GRPC: + self._datastore_api = _DatastoreAPIOverGRPC(self, secure=secure) + else: + self._datastore_api = _DatastoreAPIOverHttp(self) + +
[docs] def build_api_url(self, project, method, base_url=None, + api_version=None): + """Construct the URL for a particular API call. + + This method is used internally to come up with the URL to use when + making RPCs to the Cloud Datastore API. + + :type project: string + :param project: The project to connect to. This is + usually your project name in the cloud console. + + :type method: string + :param method: The API method to call (e.g. 'runQuery', 'lookup'). + + :type base_url: string + :param base_url: The base URL where the API lives. + You shouldn't have to provide this. + + :type api_version: string + :param api_version: The version of the API to connect to. + You shouldn't have to provide this. + + :rtype: str + :returns: The API URL created. + """ + return self.API_URL_TEMPLATE.format( + api_base=(base_url or self.api_base_url), + api_version=(api_version or self.API_VERSION), + project=project, method=method)
+ +
[docs] def lookup(self, project, key_pbs, + eventual=False, transaction_id=None): + """Lookup keys from a project in the Cloud Datastore. + + Maps the ``DatastoreService.Lookup`` protobuf RPC. + + This uses mostly protobufs + (:class:`google.cloud.datastore._generated.entity_pb2.Key` as input + and :class:`google.cloud.datastore._generated.entity_pb2.Entity` + as output). It is used under the hood in + :meth:`Client.get() <.datastore.client.Client.get>`: + + >>> from google.cloud import datastore + >>> client = datastore.Client(project='project') + >>> key = client.key('MyKind', 1234) + >>> client.get(key) + [<Entity object>] + + Using a :class:`Connection` directly: + + >>> connection.lookup('project', [key.to_protobuf()]) + [<Entity protobuf>] + + :type project: string + :param project: The project to look up the keys in. + + :type key_pbs: list of + :class:`google.cloud.datastore._generated.entity_pb2.Key` + :param key_pbs: The keys to retrieve from the datastore. + + :type eventual: bool + :param eventual: If False (the default), request ``STRONG`` read + consistency. If True, request ``EVENTUAL`` read + consistency. + + :type transaction_id: string + :param transaction_id: If passed, make the request in the scope of + the given transaction. Incompatible with + ``eventual==True``. + + :rtype: tuple + :returns: A triple of (``results``, ``missing``, ``deferred``) where + both ``results`` and ``missing`` are lists of + :class:`google.cloud.datastore._generated.entity_pb2.Entity` + and ``deferred`` is a list of + :class:`google.cloud.datastore._generated.entity_pb2.Key`. + """ + lookup_request = _datastore_pb2.LookupRequest() + _set_read_options(lookup_request, eventual, transaction_id) + _add_keys_to_request(lookup_request.keys, key_pbs) + + lookup_response = self._datastore_api.lookup(project, lookup_request) + + results = [result.entity for result in lookup_response.found] + missing = [result.entity for result in lookup_response.missing] + + return results, missing, list(lookup_response.deferred)
+ +
[docs] def run_query(self, project, query_pb, namespace=None, + eventual=False, transaction_id=None): + """Run a query on the Cloud Datastore. + + Maps the ``DatastoreService.RunQuery`` protobuf RPC. + + Given a Query protobuf, sends a ``runQuery`` request to the + Cloud Datastore API and returns a list of entity protobufs + matching the query. + + You typically wouldn't use this method directly, in favor of the + :meth:`google.cloud.datastore.query.Query.fetch` method. + + Under the hood, the :class:`google.cloud.datastore.query.Query` class + uses this method to fetch data. + + :type project: string + :param project: The project over which to run the query. + + :type query_pb: :class:`.datastore._generated.query_pb2.Query` + :param query_pb: The Protobuf representing the query to run. + + :type namespace: string + :param namespace: The namespace over which to run the query. + + :type eventual: bool + :param eventual: If False (the default), request ``STRONG`` read + consistency. If True, request ``EVENTUAL`` read + consistency. + + :type transaction_id: string + :param transaction_id: If passed, make the request in the scope of + the given transaction. Incompatible with + ``eventual==True``. + + :rtype: tuple + :returns: Four-tuple containing the entities returned, + the end cursor of the query, a ``more_results`` + enum and a count of the number of skipped results. + """ + request = _datastore_pb2.RunQueryRequest() + _set_read_options(request, eventual, transaction_id) + + if namespace: + request.partition_id.namespace_id = namespace + + request.query.CopyFrom(query_pb) + response = self._datastore_api.run_query(project, request) + return ( + [e.entity for e in response.batch.entity_results], + response.batch.end_cursor, # Assume response always has cursor. + response.batch.more_results, + response.batch.skipped_results, + )
+ +
[docs] def begin_transaction(self, project): + """Begin a transaction. + + Maps the ``DatastoreService.BeginTransaction`` protobuf RPC. + + :type project: string + :param project: The project to which the transaction applies. + + :rtype: bytes + :returns: The serialized transaction that was begun. + """ + request = _datastore_pb2.BeginTransactionRequest() + response = self._datastore_api.begin_transaction(project, request) + return response.transaction
+ +
[docs] def commit(self, project, request, transaction_id): + """Commit mutations in context of current transaction (if any). + + Maps the ``DatastoreService.Commit`` protobuf RPC. + + :type project: string + :param project: The project to which the transaction applies. + + :type request: :class:`._generated.datastore_pb2.CommitRequest` + :param request: The protobuf with the mutations being committed. + + :type transaction_id: string or None + :param transaction_id: The transaction ID returned from + :meth:`begin_transaction`. Non-transactional + batches must pass ``None``. + + .. note:: + + This method will mutate ``request`` before using it. + + :rtype: tuple + :returns: The pair of the number of index updates and a list of + :class:`._generated.entity_pb2.Key` for each incomplete key + that was completed in the commit. + """ + if transaction_id: + request.mode = _datastore_pb2.CommitRequest.TRANSACTIONAL + request.transaction = transaction_id + else: + request.mode = _datastore_pb2.CommitRequest.NON_TRANSACTIONAL + + response = self._datastore_api.commit(project, request) + return _parse_commit_response(response)
+ +
[docs] def rollback(self, project, transaction_id): + """Rollback the connection's existing transaction. + + Maps the ``DatastoreService.Rollback`` protobuf RPC. + + :type project: string + :param project: The project to which the transaction belongs. + + :type transaction_id: string + :param transaction_id: The transaction ID returned from + :meth:`begin_transaction`. + """ + request = _datastore_pb2.RollbackRequest() + request.transaction = transaction_id + # Nothing to do with this response, so just execute the method. + self._datastore_api.rollback(project, request)
+ +
[docs] def allocate_ids(self, project, key_pbs): + """Obtain backend-generated IDs for a set of keys. + + Maps the ``DatastoreService.AllocateIds`` protobuf RPC. + + :type project: string + :param project: The project to which the transaction belongs. + + :type key_pbs: list of + :class:`google.cloud.datastore._generated.entity_pb2.Key` + :param key_pbs: The keys for which the backend should allocate IDs. + + :rtype: list of :class:`.datastore._generated.entity_pb2.Key` + :returns: An equal number of keys, with IDs filled in by the backend. + """ + request = _datastore_pb2.AllocateIdsRequest() + _add_keys_to_request(request.keys, key_pbs) + # Nothing to do with this response, so just execute the method. + response = self._datastore_api.allocate_ids(project, request) + return list(response.keys)
+ + +def _set_read_options(request, eventual, transaction_id): + """Validate rules for read options, and assign to the request. + + Helper method for ``lookup()`` and ``run_query``. + + :raises: :class:`ValueError` if ``eventual`` is ``True`` and the + ``transaction_id`` is not ``None``. + """ + if eventual and (transaction_id is not None): + raise ValueError('eventual must be False when in a transaction') + + opts = request.read_options + if eventual: + opts.read_consistency = _datastore_pb2.ReadOptions.EVENTUAL + elif transaction_id: + opts.transaction = transaction_id + + +def _add_keys_to_request(request_field_pb, key_pbs): + """Add protobuf keys to a request object. + + :type request_field_pb: `RepeatedCompositeFieldContainer` + :param request_field_pb: A repeated proto field that contains keys. + + :type key_pbs: list of :class:`.datastore._generated.entity_pb2.Key` + :param key_pbs: The keys to add to a request. + """ + for key_pb in key_pbs: + request_field_pb.add().CopyFrom(key_pb) + + +def _parse_commit_response(commit_response_pb): + """Extract response data from a commit response. + + :type commit_response_pb: :class:`._generated.datastore_pb2.CommitResponse` + :param commit_response_pb: The protobuf response from a commit request. + + :rtype: tuple + :returns: The pair of the number of index updates and a list of + :class:`._generated.entity_pb2.Key` for each incomplete key + that was completed in the commit. + """ + mut_results = commit_response_pb.mutation_results + index_updates = commit_response_pb.index_updates + completed_keys = [mut_result.key for mut_result in mut_results + if mut_result.HasField('key')] # Message field (Key) + return index_updates, completed_keys +
+ +
+
+ + +
+
+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/latest/_modules/gcloud/datastore/entity.html b/latest/_modules/google/cloud/datastore/entity.html similarity index 62% rename from latest/_modules/gcloud/datastore/entity.html rename to latest/_modules/google/cloud/datastore/entity.html index 138c1afcc1f2..53bbfd3b4bca 100644 --- a/latest/_modules/gcloud/datastore/entity.html +++ b/latest/_modules/google/cloud/datastore/entity.html @@ -1,102 +1,257 @@ + + + + + + + + + + google.cloud.datastore.entity — google-cloud 92219b8 documentation + + + + + - - - - - gcloud.datastore.entity — gcloud 47bfd0a documentation - - - - + + + + - - - - - - - - + + + + + + + + + + + + + + + + + + + + + +
+ -
- -
- -
- - - Report an Issue - -
-
+ + +
+ + + + + + +
+
+ + -
+ + + +
+
    +
  • Docs »
  • + +
  • Module code »
  • + +
  • google.cloud.datastore.entity
  • +
  • -

    Source code for gcloud.datastore.entity

    +          
    +        
    +      
  • +
+
+
+
+
+ +

Source code for google.cloud.datastore.entity

 # Copyright 2014 Google Inc. All rights reserved.
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
@@ -114,16 +269,16 @@ 

Source code for gcloud.datastore.entity

 """Class for representing a single entity in the Cloud Datastore."""
 
 
-from gcloud._helpers import _ensure_tuple_or_list
+from google.cloud._helpers import _ensure_tuple_or_list
 
 
-
[docs]class Entity(dict): +
[docs]class Entity(dict): """Entities are akin to rows in a relational database An entity storing the actual instance of data. Each entity is officially represented with a - :class:`gcloud.datastore.key.Key` class, however it is possible that + :class:`google.cloud.datastore.key.Key` class, however it is possible that you might create an Entity with only a partial Key (that is, a Key with a Kind, and possibly a parent, but without an ID). In such a case, the datastore service will automatically assign an ID to the @@ -136,9 +291,9 @@

Source code for gcloud.datastore.entity

     This means you could take an existing entity and change the key
     to duplicate the object.
 
-    Use :func:`gcloud.datastore.get` to retrieve an existing entity.
+    Use :func:`google.cloud.datastore.get` to retrieve an existing entity.
 
-      >>> from gcloud import datastore
+      >>> from google.cloud import datastore
       >>> client = datastore.Client()
       >>> client.get(key)
       <Entity[{'kind': 'EntityKind', id: 1234}] {'property': 'value'}>
@@ -167,7 +322,7 @@ 

Source code for gcloud.datastore.entity

        Python3), will be saved using the 'blob_value' field, without
        any decoding / encoding step.
 
-    :type key: :class:`gcloud.datastore.key.Key`
+    :type key: :class:`google.cloud.datastore.key.Key`
     :param key: Optional key to be set on entity.
 
     :type exclude_from_indexes: tuple of string
@@ -181,13 +336,13 @@ 

Source code for gcloud.datastore.entity

         self._exclude_from_indexes = set(_ensure_tuple_or_list(
             'exclude_from_indexes', exclude_from_indexes))
         # NOTE: This will be populated when parsing a protobuf in
-        #       gcloud.datastore.helpers.entity_from_protobuf.
+        #       google.cloud.datastore.helpers.entity_from_protobuf.
         self._meanings = {}
 
     def __eq__(self, other):
         """Compare two entities for equality.
 
-        Entities compare equal if their keys compare equal, and their
+        Entities compare equal if their keys compare equal and their
         properties compare equal.
 
         :rtype: boolean
@@ -204,7 +359,7 @@ 

Source code for gcloud.datastore.entity

     def __ne__(self, other):
         """Compare two entities for inequality.
 
-        Entities compare equal if their keys compare equal, and their
+        Entities compare equal if their keys compare equal and their
         properties compare equal.
 
         :rtype: boolean
@@ -217,7 +372,7 @@ 

Source code for gcloud.datastore.entity

         """Get the kind of the current entity.
 
         .. note::
-          This relies entirely on the :class:`gcloud.datastore.key.Key`
+          This relies entirely on the :class:`google.cloud.datastore.key.Key`
           set on the entity.  That means that we're not storing the kind
           of the entity at all, just the properties and a pointer to a
           Key which knows its Kind.
@@ -242,123 +397,62 @@ 

Source code for gcloud.datastore.entity

             return '<Entity %s>' % (super(Entity, self).__repr__())
-
-
+
+
+ - - - +
+ + + + + + + + + + + + + + + + + + + + + + + - + + + + \ No newline at end of file diff --git a/latest/_modules/gcloud/datastore/helpers.html b/latest/_modules/google/cloud/datastore/helpers.html similarity index 80% rename from latest/_modules/gcloud/datastore/helpers.html rename to latest/_modules/google/cloud/datastore/helpers.html index 03ea2a9ac18d..0510f9f7e83b 100644 --- a/latest/_modules/gcloud/datastore/helpers.html +++ b/latest/_modules/google/cloud/datastore/helpers.html @@ -1,102 +1,257 @@ + + + + + + + + + + google.cloud.datastore.helpers — google-cloud 92219b8 documentation + + + + + - - - - - gcloud.datastore.helpers — gcloud 47bfd0a documentation - - - - + + + + - - - - - - - - + + + + + + + + + + + + + + + + + + + + + +
+ -
- -
- -
- - - Report an Issue - -
-
+ + +
+ + + + + + +
+
+ + -
+ + + +
+
    +
  • Docs »
  • + +
  • Module code »
  • + +
  • google.cloud.datastore.helpers
  • +
  • -

    Source code for gcloud.datastore.helpers

    +          
    +        
    +      
  • +
+
+
+
+
+ +

Source code for google.cloud.datastore.helpers

 # Copyright 2014 Google Inc. All rights reserved.
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
@@ -123,11 +278,13 @@ 

Source code for gcloud.datastore.helpers

 from google.type import latlng_pb2
 import six
 
-from gcloud._helpers import _datetime_to_pb_timestamp
-from gcloud._helpers import _pb_timestamp_to_datetime
-from gcloud.datastore._generated import entity_pb2 as _entity_pb2
-from gcloud.datastore.entity import Entity
-from gcloud.datastore.key import Key
+# pylint: disable=ungrouped-imports
+from google.cloud._helpers import _datetime_to_pb_timestamp
+from google.cloud._helpers import _pb_timestamp_to_datetime
+from google.cloud.datastore._generated import entity_pb2 as _entity_pb2
+from google.cloud.datastore.entity import Entity
+from google.cloud.datastore.key import Key
+# pylint: enable=ungrouped-imports
 
 __all__ = ('entity_from_protobuf', 'key_from_protobuf')
 
@@ -135,7 +292,7 @@ 

Source code for gcloud.datastore.helpers

 def _get_meaning(value_pb, is_list=False):
     """Get the meaning from a protobuf value.
 
-    :type value_pb: :class:`gcloud.datastore._generated.entity_pb2.Value`
+    :type value_pb: :class:`google.cloud.datastore._generated.entity_pb2.Value`
     :param value_pb: The protobuf value to be checked for an
                      associated meaning.
 
@@ -167,7 +324,7 @@ 

Source code for gcloud.datastore.helpers

         else:  # We know len(value_pb.array_value.values) > 0.
             # If the meaning is not unique, just return all of them.
             meaning = all_meanings
-    elif value_pb.meaning:  # Simple field (int32)
+    elif value_pb.meaning:  # Simple field (int32).
         meaning = value_pb.meaning
 
     return meaning
@@ -176,13 +333,13 @@ 

Source code for gcloud.datastore.helpers

 def _new_value_pb(entity_pb, name):
     """Add (by name) a new ``Value`` protobuf to an entity protobuf.
 
-    :type entity_pb: :class:`gcloud.datastore._generated.entity_pb2.Entity`
+    :type entity_pb: :class:`.datastore._generated.entity_pb2.Entity`
     :param entity_pb: An entity protobuf to add a new property to.
 
     :type name: string
     :param name: The name of the new property.
 
-    :rtype: :class:`gcloud.datastore._generated.entity_pb2.Value`
+    :rtype: :class:`google.cloud.datastore._generated.entity_pb2.Value`
     :returns: The new ``Value`` protobuf that was added to the entity.
     """
     return entity_pb.properties.get_or_create(name)
@@ -191,7 +348,7 @@ 

Source code for gcloud.datastore.helpers

 def _property_tuples(entity_pb):
     """Iterator of name, ``Value`` tuples from entity properties.
 
-    :type entity_pb: :class:`gcloud.datastore._generated.entity_pb2.Entity`
+    :type entity_pb: :class:`.datastore._generated.entity_pb2.Entity`
     :param entity_pb: An entity protobuf to add a new property to.
 
     :rtype: :class:`generator`
@@ -201,16 +358,16 @@ 

Source code for gcloud.datastore.helpers

     return six.iteritems(entity_pb.properties)
 
 
-
[docs]def entity_from_protobuf(pb): +
[docs]def entity_from_protobuf(pb): """Factory method for creating an entity based on a protobuf. The protobuf should be one returned from the Cloud Datastore Protobuf API. - :type pb: :class:`gcloud.datastore._generated.entity_pb2.Entity` + :type pb: :class:`google.cloud.datastore._generated.entity_pb2.Entity` :param pb: The Protobuf representing the entity. - :rtype: :class:`gcloud.datastore.entity.Entity` + :rtype: :class:`google.cloud.datastore.entity.Entity` :returns: The entity derived from the protobuf. """ key = None @@ -258,7 +415,7 @@

Source code for gcloud.datastore.helpers

                                 is_list=False):
     """Add meaning information (from an entity) to a protobuf.
 
-    :type entity: :class:`gcloud.datastore.entity.Entity`
+    :type entity: :class:`google.cloud.datastore.entity.Entity`
     :param entity: The entity to be turned into a protobuf.
 
     :type name: string
@@ -267,7 +424,7 @@ 

Source code for gcloud.datastore.helpers

     :type value: object
     :param value: The current value stored as property ``name``.
 
-    :type value_pb: :class:`gcloud.datastore._generated.entity_pb2.Value`
+    :type value_pb: :class:`google.cloud.datastore._generated.entity_pb2.Value`
     :param value_pb: The protobuf value to add meaning / meanings to.
 
     :type is_list: bool
@@ -299,10 +456,10 @@ 

Source code for gcloud.datastore.helpers

 def entity_to_protobuf(entity):
     """Converts an entity into a protobuf.
 
-    :type entity: :class:`gcloud.datastore.entity.Entity`
+    :type entity: :class:`google.cloud.datastore.entity.Entity`
     :param entity: The entity to be turned into a protobuf.
 
-    :rtype: :class:`gcloud.datastore._generated.entity_pb2.Entity`
+    :rtype: :class:`google.cloud.datastore._generated.entity_pb2.Entity`
     :returns: The protobuf representing the entity.
     """
     entity_pb = _entity_pb2.Entity()
@@ -334,16 +491,16 @@ 

Source code for gcloud.datastore.helpers

     return entity_pb
 
 
-
[docs]def key_from_protobuf(pb): +
[docs]def key_from_protobuf(pb): """Factory method for creating a key based on a protobuf. The protobuf should be one returned from the Cloud Datastore Protobuf API. - :type pb: :class:`gcloud.datastore._generated.entity_pb2.Key` + :type pb: :class:`google.cloud.datastore._generated.entity_pb2.Key` :param pb: The Protobuf representing the key. - :rtype: :class:`gcloud.datastore.key.Key` + :rtype: :class:`google.cloud.datastore.key.Key` :returns: a new `Key` instance """ path_args = [] @@ -376,7 +533,7 @@

Source code for gcloud.datastore.helpers

 
     Certain value types need to be coerced into a different type (such
     as a `datetime.datetime` into an integer timestamp, or a
-    `gcloud.datastore.key.Key` into a Protobuf representation.  This
+    `google.cloud.datastore.key.Key` into a Protobuf representation.  This
     function handles that for you.
 
     .. note::
@@ -391,7 +548,7 @@ 

Source code for gcloud.datastore.helpers

     >>> _pb_attr_value('my_string')
     ('string_value', 'my_string')
 
-    :type val: `datetime.datetime`, :class:`gcloud.datastore.key.Key`,
+    :type val: `datetime.datetime`, :class:`google.cloud.datastore.key.Key`,
                bool, float, integer, string
     :param val: The value to be scrutinized.
 
@@ -438,7 +595,7 @@ 

Source code for gcloud.datastore.helpers

     Some work is done to coerce the return value into a more useful type
     (particularly in the case of a timestamp value, or a key value).
 
-    :type value_pb: :class:`gcloud.datastore._generated.entity_pb2.Value`
+    :type value_pb: :class:`google.cloud.datastore._generated.entity_pb2.Value`
     :param value_pb: The Value Protobuf.
 
     :rtype: object
@@ -498,12 +655,12 @@ 

Source code for gcloud.datastore.helpers

     Some value types (entities, keys, lists) cannot be directly
     assigned; this function handles them correctly.
 
-    :type value_pb: :class:`gcloud.datastore._generated.entity_pb2.Value`
+    :type value_pb: :class:`google.cloud.datastore._generated.entity_pb2.Value`
     :param value_pb: The value protobuf to which the value is being assigned.
 
     :type val: :class:`datetime.datetime`, boolean, float, integer, string,
-               :class:`gcloud.datastore.key.Key`,
-               :class:`gcloud.datastore.entity.Entity`
+               :class:`google.cloud.datastore.key.Key`,
+               :class:`google.cloud.datastore.entity.Entity`
     :param val: The value to be assigned.
     """
     attr, val = _pb_attr_value(val)
@@ -569,123 +726,62 @@ 

Source code for gcloud.datastore.helpers

         return not self.__eq__(other)
 
-
-
+
+
+ - - - +
+ + + + + + + + + + + + + + + + + + + + + + + - + + + + \ No newline at end of file diff --git a/latest/_modules/gcloud/datastore/key.html b/latest/_modules/google/cloud/datastore/key.html similarity index 79% rename from latest/_modules/gcloud/datastore/key.html rename to latest/_modules/google/cloud/datastore/key.html index cd4723754408..2142e83a7659 100644 --- a/latest/_modules/gcloud/datastore/key.html +++ b/latest/_modules/google/cloud/datastore/key.html @@ -1,102 +1,257 @@ + + + + + + + + + + google.cloud.datastore.key — google-cloud 92219b8 documentation + + + + + - - - - - gcloud.datastore.key — gcloud 47bfd0a documentation - - - - + + + + - - - - - - - - + + + + + + + + + + + + + + + + + + + + + +
+ -
- -
- -
- - - Report an Issue - -
-
+ + +
+ + + + + + +
+
+ + -
+ + + +
+
    +
  • Docs »
  • + +
  • Module code »
  • + +
  • google.cloud.datastore.key
  • +
  • -

    Source code for gcloud.datastore.key

    +          
    +        
    +      
  • +
+
+
+
+
+ +

Source code for google.cloud.datastore.key

 # Copyright 2014 Google Inc. All rights reserved.
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
@@ -111,15 +266,15 @@ 

Source code for gcloud.datastore.key

 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-"""Create / interact with gcloud datastore keys."""
+"""Create / interact with Google Cloud Datastore keys."""
 
 import copy
 import six
 
-from gcloud.datastore._generated import entity_pb2 as _entity_pb2
+from google.cloud.datastore._generated import entity_pb2 as _entity_pb2
 
 
-
[docs]class Key(object): +
[docs]class Key(object): """An immutable representation of a datastore Key. To create a basic key: @@ -152,7 +307,7 @@

Source code for gcloud.datastore.key

 
     * namespace (string): A namespace identifier for the key.
     * project (string): The project associated with the key.
-    * parent (:class:`gcloud.datastore.key.Key`): The parent of the key.
+    * parent (:class:`google.cloud.datastore.key.Key`): The parent of the key.
 
     The project argument is required unless it has been set implicitly.
     """
@@ -292,7 +447,7 @@ 

Source code for gcloud.datastore.key

         Most attributes are simple types, so don't require copying. Other
         attributes like ``parent`` are long-lived and so we re-use them.
 
-        :rtype: :class:`gcloud.datastore.key.Key`
+        :rtype: :class:`google.cloud.datastore.key.Key`
         :returns: A new ``Key`` instance with the same data as the current one.
         """
         cloned_self = self.__class__(*self.flat_path,
@@ -303,13 +458,13 @@ 

Source code for gcloud.datastore.key

         cloned_self._parent = self._parent
         return cloned_self
 
-
[docs] def completed_key(self, id_or_name): +
[docs] def completed_key(self, id_or_name): """Creates new key from existing partial key by adding final ID/name. :type id_or_name: string or integer :param id_or_name: ID or name to be added to the key. - :rtype: :class:`gcloud.datastore.key.Key` + :rtype: :class:`google.cloud.datastore.key.Key` :returns: A new ``Key`` instance with the same data as the current one and an extra ID or name added. :raises: :class:`ValueError` if the current key is not partial or if @@ -318,7 +473,6 @@

Source code for gcloud.datastore.key

         if not self.is_partial:
             raise ValueError('Only a partial key can be completed.')
 
-        id_or_name_key = None
         if isinstance(id_or_name, six.string_types):
             id_or_name_key = 'name'
         elif isinstance(id_or_name, six.integer_types):
@@ -332,10 +486,10 @@ 

Source code for gcloud.datastore.key

         new_key._flat_path += (id_or_name,)
         return new_key
-
[docs] def to_protobuf(self): +
[docs] def to_protobuf(self): """Return a protobuf corresponding to the key. - :rtype: :class:`gcloud.datastore._generated.entity_pb2.Key` + :rtype: :class:`google.cloud.datastore._generated.entity_pb2.Key` :returns: The protobuf representing the key. """ key = _entity_pb2.Key() @@ -446,7 +600,7 @@

Source code for gcloud.datastore.key

         Extracts all but the last element in the key path and creates a new
         key, while still matching the namespace and the project.
 
-        :rtype: :class:`gcloud.datastore.key.Key` or :class:`NoneType`
+        :rtype: :class:`google.cloud.datastore.key.Key` or :class:`NoneType`
         :returns: A new ``Key`` instance, whose path consists of all but the
                   last element of current path. If the current key has only
                   one path element, returns ``None``.
@@ -463,7 +617,7 @@ 

Source code for gcloud.datastore.key

     def parent(self):
         """The parent of the current key.
 
-        :rtype: :class:`gcloud.datastore.key.Key` or :class:`NoneType`
+        :rtype: :class:`google.cloud.datastore.key.Key` or :class:`NoneType`
         :returns: A new ``Key`` instance, whose path consists of all but the
                   last element of current path. If the current key has only
                   one path element, returns ``None``.
@@ -488,7 +642,7 @@ 

Source code for gcloud.datastore.key

     :type project: string
     :param project: A project.
 
-    :type parent: :class:`gcloud.datastore.key.Key` or ``NoneType``
+    :type parent: :class:`google.cloud.datastore.key.Key` or ``NoneType``
     :param parent: The parent of the key or ``None``.
 
     :rtype: string
@@ -503,123 +657,62 @@ 

Source code for gcloud.datastore.key

     return project
 
-
-
+
+
+ - - - +
+ + + + + + + + + + + + + + + + + + + + + + + - + + + + \ No newline at end of file diff --git a/latest/_modules/gcloud/datastore/query.html b/latest/_modules/google/cloud/datastore/query.html similarity index 80% rename from latest/_modules/gcloud/datastore/query.html rename to latest/_modules/google/cloud/datastore/query.html index 3ffe4c452559..917697b24809 100644 --- a/latest/_modules/gcloud/datastore/query.html +++ b/latest/_modules/google/cloud/datastore/query.html @@ -1,102 +1,257 @@ + + + + + + + + + + google.cloud.datastore.query — google-cloud 92219b8 documentation + + + + + - - - - - gcloud.datastore.query — gcloud 47bfd0a documentation - - - - + + + + - - - - - - - - + + + + + + + + + + + + + + + + + + + + + +
+ -
- -
- -
- - - Report an Issue - -
-
+ + +
+ + + + + + +
+
+ + -
+ + + +
+
    +
  • Docs »
  • + +
  • Module code »
  • + +
  • google.cloud.datastore.query
  • +
  • -

    Source code for gcloud.datastore.query

    +          
    +        
    +      
  • +
+
+
+
+
+ +

Source code for google.cloud.datastore.query

 # Copyright 2014 Google Inc. All rights reserved.
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
@@ -111,24 +266,24 @@ 

Source code for gcloud.datastore.query

 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-"""Create / interact with gcloud datastore queries."""
+"""Create / interact with Google Cloud Datastore queries."""
 
 import base64
 
-from gcloud._helpers import _ensure_tuple_or_list
-from gcloud.datastore._generated import query_pb2 as _query_pb2
-from gcloud.datastore import helpers
-from gcloud.datastore.key import Key
+from google.cloud._helpers import _ensure_tuple_or_list
+from google.cloud.datastore._generated import query_pb2 as _query_pb2
+from google.cloud.datastore import helpers
+from google.cloud.datastore.key import Key
 
 
-
[docs]class Query(object): +
[docs]class Query(object): """A Query against the Cloud Datastore. This class serves as an abstraction for creating a query over data stored in the Cloud Datastore. - :type client: :class:`gcloud.datastore.client.Client` - :param client: The client used to connect to datastore. + :type client: :class:`google.cloud.datastore.client.Client` + :param client: The client used to connect to Datastore. :type kind: string :param kind: The kind to query. @@ -141,7 +296,7 @@

Source code for gcloud.datastore.query

     :param namespace: The namespace to which to restrict results.  If not
                       passed, uses the client's value.
 
-    :type ancestor: :class:`gcloud.datastore.key.Key` or None
+    :type ancestor: :class:`google.cloud.datastore.key.Key` or None
     :param ancestor: key of the ancestor to which this query's results are
                      restricted.
 
@@ -285,7 +440,7 @@ 

Source code for gcloud.datastore.query

         """
         return self._filters[:]
 
-
[docs] def add_filter(self, property_name, operator, value): +
[docs] def add_filter(self, property_name, operator, value): """Filter the query based on a property name, operator and a value. Expressions take the form of:: @@ -296,7 +451,7 @@

Source code for gcloud.datastore.query

         and operator is one of ``OPERATORS``
         (ie, ``=``, ``<``, ``<=``, ``>``, ``>=``)::
 
-          >>> from gcloud import datastore
+          >>> from google.cloud import datastore
           >>> client = datastore.Client()
           >>> query = client.query(kind='Person')
           >>> query.add_filter('name', '=', 'James')
@@ -311,7 +466,7 @@ 

Source code for gcloud.datastore.query

         :type value: :class:`int`, :class:`str`, :class:`bool`,
                      :class:`float`, :class:`NoneType`,
                      :class:`datetime.datetime`,
-                     :class:`gcloud.datastore.key.Key`
+                     :class:`google.cloud.datastore.key.Key`
         :param value: The value to filter on.
 
         :raises: :class:`ValueError` if ``operation`` is not one of the
@@ -349,14 +504,14 @@ 

Source code for gcloud.datastore.query

             projection = [projection]
         self._projection[:] = projection
 
-
[docs] def keys_only(self): +
[docs] def keys_only(self): """Set the projection to include only keys.""" self._projection[:] = ['__key__']
-
[docs] def key_filter(self, key, operator='='): +
[docs] def key_filter(self, key, operator='='): """Filter on a key. - :type key: :class:`gcloud.datastore.key.Key` + :type key: :class:`google.cloud.datastore.key.Key` :param key: The key to filter on. :type operator: string @@ -411,13 +566,13 @@

Source code for gcloud.datastore.query

             value = [value]
         self._distinct_on[:] = value
 
-
[docs] def fetch(self, limit=None, offset=0, start_cursor=None, end_cursor=None, +
[docs] def fetch(self, limit=None, offset=0, start_cursor=None, end_cursor=None, client=None): """Execute the Query; return an iterator for the matching entities. For example:: - >>> from gcloud import datastore + >>> from google.cloud import datastore >>> client = datastore.Client() >>> query = client.query(kind='Person') >>> query.add_filter('name', '=', 'Sally') @@ -438,7 +593,7 @@

Source code for gcloud.datastore.query

         :type end_cursor: bytes
         :param end_cursor: An optional cursor passed through to the iterator.
 
-        :type client: :class:`gcloud.datastore.client.Client`
+        :type client: :class:`google.cloud.datastore.client.Client`
         :param client: client used to connect to datastore.
                        If not supplied, uses the query's value.
 
@@ -454,15 +609,15 @@ 

Source code for gcloud.datastore.query

             self, client, limit, offset, start_cursor, end_cursor)
-
[docs]class Iterator(object): +
[docs]class Iterator(object): """Represent the state of a given execution of a Query. - :type query: :class:`gcloud.datastore.query.Query` + :type query: :class:`google.cloud.datastore.query.Query` :param query: Query object holding permanent configuration (i.e. things that don't change on with each page in a results set). - :type client: :class:`gcloud.datastore.client.Client` + :type client: :class:`google.cloud.datastore.client.Client` :param client: The client used to make a request. :type limit: integer @@ -499,7 +654,7 @@

Source code for gcloud.datastore.query

         self._page = self._more_results = None
         self._skipped_results = None
 
-
[docs] def next_page(self): +
[docs] def next_page(self): """Fetch a single "page" of query results. Low-level API for fine control: the more convenient API is @@ -556,7 +711,7 @@

Source code for gcloud.datastore.query

     def __iter__(self):
         """Generator yielding all results matching our query.
 
-        :rtype: sequence of :class:`gcloud.datastore.entity.Entity`
+        :rtype: sequence of :class:`google.cloud.datastore.entity.Entity`
         """
         while True:
             self.next_page()
@@ -579,7 +734,7 @@ 

Source code for gcloud.datastore.query

     :type query: :class:`Query`
     :param query: The source query.
 
-    :rtype: :class:`gcloud.datastore._generated.query_pb2.Query`
+    :rtype: :class:`google.cloud.datastore._generated.query_pb2.Query`
     :returns: A protobuf that can be sent to the protobuf API.  N.b. that
               it does not contain "in-flight" fields for ongoing query
               executions (cursors, offset, limit).
@@ -638,123 +793,62 @@ 

Source code for gcloud.datastore.query

     return pb
 
-
-
+
+
+ - - - +
+ + + + + + + + + + + + + + + + + + + + + + + - + + + + \ No newline at end of file diff --git a/latest/_modules/gcloud/datastore/transaction.html b/latest/_modules/google/cloud/datastore/transaction.html similarity index 59% rename from latest/_modules/gcloud/datastore/transaction.html rename to latest/_modules/google/cloud/datastore/transaction.html index d2a99f72ee6d..a3cde66efcb2 100644 --- a/latest/_modules/gcloud/datastore/transaction.html +++ b/latest/_modules/google/cloud/datastore/transaction.html @@ -1,102 +1,257 @@ + + + + + + + + + + google.cloud.datastore.transaction — google-cloud 92219b8 documentation + + + + + - - - - - gcloud.datastore.transaction — gcloud 47bfd0a documentation - - - - + + + + - - - - - - - - + + + + + + + + + + + + + + + + + + + + + +
+ -
- -
- -
- - - Report an Issue - -
-
+ + +
+ + + + + + +
+
+ + -
+ + + +
+
    +
  • Docs »
  • + +
  • Module code »
  • + +
  • google.cloud.datastore.transaction
  • +
  • -

    Source code for gcloud.datastore.transaction

    +          
    +        
    +      
  • +
+
+
+
+
+ +

Source code for google.cloud.datastore.transaction

 # Copyright 2014 Google Inc. All rights reserved.
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
@@ -111,12 +266,12 @@ 

Source code for gcloud.datastore.transaction

# See the License for the specific language governing permissions and
 # limitations under the License.
 
-"""Create / interact with gcloud datastore transactions."""
+"""Create / interact with Google Cloud Datastore transactions."""
 
-from gcloud.datastore.batch import Batch
+from google.cloud.datastore.batch import Batch
 
 
-
[docs]class Transaction(Batch): +
[docs]class Transaction(Batch): """An abstraction representing datastore Transactions. Transactions can be used to build up a bulk mutation and ensure all @@ -126,7 +281,7 @@

Source code for gcloud.datastore.transaction

    operations (either ``insert`` or ``upsert``) into the same
     mutation, and execute those within a transaction::
 
-      >>> from gcloud import datastore
+      >>> from google.cloud import datastore
       >>> client = datastore.Client()
       >>> with client.transaction():
       ...     client.put_multi([entity1, entity2])
@@ -185,7 +340,7 @@ 

Source code for gcloud.datastore.transaction

      ... else:
       ...     transaction.commit()
 
-    :type client: :class:`gcloud.datastore.client.Client`
+    :type client: :class:`google.cloud.datastore.client.Client`
     :param client: the client used to connect to datastore.
     """
 
@@ -202,7 +357,7 @@ 

Source code for gcloud.datastore.transaction

        """
         return self._id
 
-
[docs] def current(self): +
[docs] def current(self): """Return the topmost transaction. .. note:: @@ -210,14 +365,14 @@

Source code for gcloud.datastore.transaction

            If the topmost element on the stack is not a transaction,
             returns None.
 
-        :rtype: :class:`gcloud.datastore.transaction.Transaction` or None
+        :rtype: :class:`google.cloud.datastore.transaction.Transaction` or None
         :returns: The current transaction (if any are active).
         """
         top = super(Transaction, self).current()
         if isinstance(top, Transaction):
             return top
-
[docs] def begin(self): +
[docs] def begin(self): """Begins a transaction. This method is called automatically when entering a with @@ -229,7 +384,7 @@

Source code for gcloud.datastore.transaction

super(Transaction, self).begin()
         self._id = self.connection.begin_transaction(self.project)
-
[docs] def rollback(self): +
[docs] def rollback(self): """Rolls back the current transaction. This method has necessary side-effects: @@ -244,7 +399,7 @@

Source code for gcloud.datastore.transaction

# Clear our own ID in case this gets accidentally reused.
             self._id = None
-
[docs] def commit(self): +
[docs] def commit(self): """Commits the transaction. This is called automatically upon exiting a with statement, @@ -262,123 +417,62 @@

Source code for gcloud.datastore.transaction

self._id = None
-
-
+
+
+ - - - +
+ + + + + + + + + + + + + + + + + + + + + + + - + + + + \ No newline at end of file diff --git a/latest/_modules/gcloud/dns/changes.html b/latest/_modules/google/cloud/dns/changes.html similarity index 68% rename from latest/_modules/gcloud/dns/changes.html rename to latest/_modules/google/cloud/dns/changes.html index d214b648ef04..f4b98e2b528c 100644 --- a/latest/_modules/gcloud/dns/changes.html +++ b/latest/_modules/google/cloud/dns/changes.html @@ -1,102 +1,257 @@ + + + + + + + + + + google.cloud.dns.changes — google-cloud 92219b8 documentation + + + + + - - - - - gcloud.dns.changes — gcloud 47bfd0a documentation - - - - + + + + - - - - - - - - + + + + + + + + + + + + + + + + + + + + + +
+ -
- -
- -
- - - Report an Issue - -
-
+ + +
+ + + + + + +
+
+ + -
+ + + +
+
    +
  • Docs »
  • + +
  • Module code »
  • + +
  • google.cloud.dns.changes
  • +
  • -

    Source code for gcloud.dns.changes

    +          
    +        
    +      
  • +
+
+
+
+
+ +

Source code for google.cloud.dns.changes

 # Copyright 2015 Google Inc. All rights reserved.
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
@@ -115,20 +270,20 @@ 

Source code for gcloud.dns.changes

 
 import six
 
-from gcloud._helpers import _rfc3339_to_datetime
-from gcloud.exceptions import NotFound
-from gcloud.dns.resource_record_set import ResourceRecordSet
+from google.cloud._helpers import _rfc3339_to_datetime
+from google.cloud.exceptions import NotFound
+from google.cloud.dns.resource_record_set import ResourceRecordSet
 
 
-
[docs]class Changes(object): +
[docs]class Changes(object): """Changes are bundled additions / deletions of DNS resource records. - Changes are owned by a :class:`gcloud.dns.zone.ManagedZone` instance. + Changes are owned by a :class:`google.cloud.dns.zone.ManagedZone` instance. See: https://cloud.google.com/dns/api/v1/changes - :type zone: :class:`gcloud.dns.zone.ManagedZone` + :type zone: :class:`google.cloud.dns.zone.ManagedZone` :param zone: A zone which holds one or more record sets. """ @@ -138,16 +293,16 @@

Source code for gcloud.dns.changes

         self._additions = self._deletions = ()
 
     @classmethod
-
[docs] def from_api_repr(cls, resource, zone): +
[docs] def from_api_repr(cls, resource, zone): """Factory: construct a change set given its API representation :type resource: dict - :param resource: change set representation returned from the API + :param resource: change set representation returned from the API. - :type zone: :class:`gcloud.dns.zone.ManagedZone` + :type zone: :class:`google.cloud.dns.zone.ManagedZone` :param zone: A zone which holds zero or more change sets. - :rtype: :class:`gcloud.dns.changes.Changes` + :rtype: :class:`google.cloud.dns.changes.Changes` :returns: RRS parsed from ``resource``. """ changes = cls(zone=zone) @@ -158,7 +313,7 @@

Source code for gcloud.dns.changes

         """Helper method for :meth:`from_api_repr`, :meth:`create`, etc.
 
         :type resource: dict
-        :param resource: change set representation returned from the API
+        :param resource: change set representation returned from the API.
         """
         resource = resource.copy()
         self._additions = tuple([
@@ -224,8 +379,8 @@ 

Source code for gcloud.dns.changes

         """Resource record sets to be added to the zone.
 
         :rtype: sequence of
-                :class:`gcloud.dns.resource_record_set.ResourceRecordSet`.
-        :returns: record sets appended via :meth:`add_record_set`
+                :class:`google.cloud.dns.resource_record_set.ResourceRecordSet`.
+        :returns: record sets appended via :meth:`add_record_set`.
         """
         return self._additions
 
@@ -234,17 +389,17 @@ 

Source code for gcloud.dns.changes

         """Resource record sets to be deleted from the zone.
 
         :rtype: sequence of
-                :class:`gcloud.dns.resource_record_set.ResourceRecordSet`.
-        :returns: record sets appended via :meth:`delete_record_set`
+                :class:`google.cloud.dns.resource_record_set.ResourceRecordSet`.
+        :returns: record sets appended via :meth:`delete_record_set`.
         """
         return self._deletions
 
-
[docs] def add_record_set(self, record_set): +
[docs] def add_record_set(self, record_set): """Append a record set to the 'additions' for the change set. :type record_set: - :class:`gcloud.dns.resource_record_set.ResourceRecordSet` - :param record_set: the record set to append + :class:`google.cloud.dns.resource_record_set.ResourceRecordSet` + :param record_set: the record set to append. :raises: ``ValueError`` if ``record_set`` is not of the required type. """ @@ -252,12 +407,12 @@

Source code for gcloud.dns.changes

             raise ValueError("Pass a ResourceRecordSet")
         self._additions += (record_set,)
-
[docs] def delete_record_set(self, record_set): +
[docs] def delete_record_set(self, record_set): """Append a record set to the 'deletions' for the change set. :type record_set: - :class:`gcloud.dns.resource_record_set.ResourceRecordSet` - :param record_set: the record set to append + :class:`google.cloud.dns.resource_record_set.ResourceRecordSet` + :param record_set: the record set to append. :raises: ``ValueError`` if ``record_set`` is not of the required type. """ @@ -268,11 +423,11 @@

Source code for gcloud.dns.changes

     def _require_client(self, client):
         """Check client or verify over-ride.
 
-        :type client: :class:`gcloud.dns.client.Client` or ``NoneType``
+        :type client: :class:`google.cloud.dns.client.Client` or ``NoneType``
         :param client: the client to use.  If not passed, falls back to the
                        ``client`` stored on the current zone.
 
-        :rtype: :class:`gcloud.dns.client.Client`
+        :rtype: :class:`google.cloud.dns.client.Client`
         :returns: The client passed in or the currently bound client.
         """
         if client is None:
@@ -300,13 +455,13 @@ 

Source code for gcloud.dns.changes

             'deletions': deletions,
         }
 
-
[docs] def create(self, client=None): - """API call: create the change set via a POST request +
[docs] def create(self, client=None): + """API call: create the change set via a POST request. See: https://cloud.google.com/dns/api/v1/changes/create - :type client: :class:`gcloud.dns.client.Client` or ``NoneType`` + :type client: :class:`google.cloud.dns.client.Client` or ``NoneType`` :param client: the client to use. If not passed, falls back to the ``client`` stored on the current zone. """ @@ -319,13 +474,13 @@

Source code for gcloud.dns.changes

             method='POST', path=path, data=self._build_resource())
         self._set_properties(api_response)
-
[docs] def exists(self, client=None): - """API call: test for the existence of the change set via a GET request +
[docs] def exists(self, client=None): + """API call: test for the existence of the change set via a GET request. See https://cloud.google.com/dns/api/v1/changes/get - :type client: :class:`gcloud.dns.client.Client` or ``NoneType`` + :type client: :class:`google.cloud.dns.client.Client` or ``NoneType`` :param client: the client to use. If not passed, falls back to the ``client`` stored on the current zone. @@ -341,13 +496,13 @@

Source code for gcloud.dns.changes

         else:
             return True
-
[docs] def reload(self, client=None): - """API call: refresh zone properties via a GET request +
[docs] def reload(self, client=None): + """API call: refresh zone properties via a GET request. See https://cloud.google.com/dns/api/v1/changes/get - :type client: :class:`gcloud.dns.client.Client` or ``NoneType`` + :type client: :class:`google.cloud.dns.client.Client` or ``NoneType`` :param client: the client to use. If not passed, falls back to the ``client`` stored on the current zone. """ @@ -358,123 +513,62 @@

Source code for gcloud.dns.changes

         self._set_properties(api_response)
-
-
+
+
+ - - - +
+ + + + + + + + + + + + + + + + + + + + + + + - + + + + \ No newline at end of file diff --git a/latest/_modules/gcloud/dns/client.html b/latest/_modules/google/cloud/dns/client.html similarity index 57% rename from latest/_modules/gcloud/dns/client.html rename to latest/_modules/google/cloud/dns/client.html index 0a78f07baee0..7796cb163cfe 100644 --- a/latest/_modules/gcloud/dns/client.html +++ b/latest/_modules/google/cloud/dns/client.html @@ -1,102 +1,257 @@ + + + + + + + + + + google.cloud.dns.client — google-cloud 92219b8 documentation + + + + + - - - - - gcloud.dns.client — gcloud 47bfd0a documentation - - - - + + + + - - - - - - - - + + + + + + + + + + + + + + + + + + + + + +
+ -
- -
- -
- - - Report an Issue - -
-
+ + +
+ + + + + + +
+
+ + -
+ + + +
+
    +
  • Docs »
  • + +
  • Module code »
  • + +
  • google.cloud.dns.client
  • +
  • -

    Source code for gcloud.dns.client

    +          
    +        
    +      
  • +
+
+
+
+
+ +

Source code for google.cloud.dns.client

 # Copyright 2015 Google Inc. All rights reserved.
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
@@ -114,12 +269,12 @@ 

Source code for gcloud.dns.client

 """Client for interacting with the Google Cloud DNS API."""
 
 
-from gcloud.client import JSONClient
-from gcloud.dns.connection import Connection
-from gcloud.dns.zone import ManagedZone
+from google.cloud.client import JSONClient
+from google.cloud.dns.connection import Connection
+from google.cloud.dns.zone import ManagedZone
 
 
-
[docs]class Client(JSONClient): +
[docs]class Client(JSONClient): """Client to bundle configuration needed for API requests. :type project: string @@ -142,8 +297,8 @@

Source code for gcloud.dns.client

 
     _connection_class = Connection
 
-
[docs] def quotas(self): - """Return DNS quots for the project associated with this client. +
[docs] def quotas(self): + """Return DNS quotas for the project associated with this client. See: https://cloud.google.com/dns/api/v1/projects/get @@ -158,7 +313,7 @@

Source code for gcloud.dns.client

         return dict([(key, int(value))
                      for key, value in resp['quota'].items() if key != 'kind'])
-
[docs] def list_zones(self, max_results=None, page_token=None): +
[docs] def list_zones(self, max_results=None, page_token=None): """List zones for the project associated with this client. See: @@ -174,7 +329,7 @@

Source code for gcloud.dns.client

                            zones.
 
         :rtype: tuple, (list, str)
-        :returns: list of :class:`gcloud.dns.zone.ManagedZone`, plus a
+        :returns: list of :class:`google.cloud.dns.zone.ManagedZone`, plus a
                   "next page token" string:  if the token is not None,
                   indicates that more zones can be retrieved with another
                   call (pass that value as ``page_token``).
@@ -194,7 +349,7 @@ 

Source code for gcloud.dns.client

                  for resource in resp['managedZones']]
         return zones, resp.get('nextPageToken')
-
[docs] def zone(self, name, dns_name=None, description=None): +
[docs] def zone(self, name, dns_name=None, description=None): """Construct a zone bound to this client. :type name: string @@ -208,130 +363,69 @@

Source code for gcloud.dns.client

         :param description: the description for the zone.  If not passed,
                             defaults to the value of 'dns_name'.
 
-        :rtype: :class:`gcloud.dns.zone.ManagedZone`
-        :returns: a new ``ManagedZone`` instance
+        :rtype: :class:`google.cloud.dns.zone.ManagedZone`
+        :returns: a new ``ManagedZone`` instance.
         """
         return ManagedZone(name, dns_name, client=self,
                            description=description)
-
-
+
+
+ - - - +
+ + + + + + + + + + + + + + + + + + + + + + + - + + + + \ No newline at end of file diff --git a/latest/_modules/google/cloud/dns/connection.html b/latest/_modules/google/cloud/dns/connection.html new file mode 100644 index 000000000000..872c0bc8185e --- /dev/null +++ b/latest/_modules/google/cloud/dns/connection.html @@ -0,0 +1,348 @@ + + + + + + + + + + + google.cloud.dns.connection — google-cloud 92219b8 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + +
+ + + + + + +
+
+ + + + + + +
+ +
+
+
+
+ +

Source code for google.cloud.dns.connection

+# Copyright 2015 Google Inc. All rights reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Create / interact with Google Cloud DNS connections."""
+
+from google.cloud import connection as base_connection
+
+
+
[docs]class Connection(base_connection.JSONConnection): + """A connection to Google Cloud DNS via the JSON REST API.""" + + API_BASE_URL = 'https://www.googleapis.com' + """The base of the API call URL.""" + + API_VERSION = 'v1' + """The version of the API, used in building the API call's URL.""" + + API_URL_TEMPLATE = '{api_base_url}/dns/{api_version}{path}' + """A template for the URL of a particular API call.""" + + SCOPE = ('https://www.googleapis.com/auth/ndev.clouddns.readwrite',) + """The scopes required for authenticating as a Cloud DNS consumer."""
+
+ +
+
+ + +
+
+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/latest/_modules/google/cloud/dns/resource_record_set.html b/latest/_modules/google/cloud/dns/resource_record_set.html new file mode 100644 index 000000000000..e1bd5aed3c55 --- /dev/null +++ b/latest/_modules/google/cloud/dns/resource_record_set.html @@ -0,0 +1,381 @@ + + + + + + + + + + + google.cloud.dns.resource_record_set — google-cloud 92219b8 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + +
+ + + + + + +
+
+ + + + + + +
+
    +
  • Docs »
  • + +
  • Module code »
  • + +
  • google.cloud.dns.resource_record_set
  • +
  • + + + +
  • +
+
+
+
+
+ +

Source code for google.cloud.dns.resource_record_set

+# Copyright 2015 Google Inc. All rights reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Define API ResourceRecordSets."""
+
+
+
[docs]class ResourceRecordSet(object): + """ResourceRecordSets are DNS resource records. + + RRS are owned by a :class:`google.cloud.dns.zone.ManagedZone` instance. + + See: + https://cloud.google.com/dns/api/v1/resourceRecordSets + + :type name: string + :param name: the name of the record set. + + :type record_type: string + :param record_type: the RR type of the zone. + + :type ttl: integer + :param ttl: TTL (in seconds) for caching the record sets. + + :type rrdatas: list of string + :param rrdatas: one or more lines containing the resource data. + + :type zone: :class:`google.cloud.dns.zone.ManagedZone` + :param zone: A zone which holds one or more record sets. + """ + + def __init__(self, name, record_type, ttl, rrdatas, zone): + self.name = name + self.record_type = record_type + self.ttl = ttl + self.rrdatas = rrdatas + self.zone = zone + + @classmethod +
[docs] def from_api_repr(cls, resource, zone): + """Factory: construct a record set given its API representation + + :type resource: dict + :param resource: record sets representation returned from the API + + :type zone: :class:`google.cloud.dns.zone.ManagedZone` + :param zone: A zone which holds one or more record sets. + + :rtype: :class:`google.cloud.dns.zone.ResourceRecordSet` + :returns: RRS parsed from ``resource``. + """ + name = resource['name'] + record_type = resource['type'] + ttl = int(resource['ttl']) + rrdatas = resource['rrdatas'] + return cls(name, record_type, ttl, rrdatas, zone=zone)
+
+ +
+
+ + +
+
+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/latest/_modules/gcloud/dns/zone.html b/latest/_modules/google/cloud/dns/zone.html similarity index 73% rename from latest/_modules/gcloud/dns/zone.html rename to latest/_modules/google/cloud/dns/zone.html index 3422ab708fb9..429aa5769d3a 100644 --- a/latest/_modules/gcloud/dns/zone.html +++ b/latest/_modules/google/cloud/dns/zone.html @@ -1,102 +1,257 @@ + + + + + + + + + + google.cloud.dns.zone — google-cloud 92219b8 documentation + + + + + - - - - - gcloud.dns.zone — gcloud 47bfd0a documentation - - - - + + + + - - - - - - - - + + + + + + + + + + + + + + + + + + + + + +
+ -
- -
- -
- - - Report an Issue - -
-
+ + +
+ + + + + + +
+
+ + -
+ + + +
+
    +
  • Docs »
  • + +
  • Module code »
  • + +
  • google.cloud.dns.zone
  • +
  • -

    Source code for gcloud.dns.zone

    +          
    +        
    +      
  • +
+
+
+
+
+ +

Source code for google.cloud.dns.zone

 # Copyright 2015 Google Inc. All rights reserved.
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
@@ -114,13 +269,13 @@ 

Source code for gcloud.dns.zone

 """Define API ManagedZones."""
 import six
 
-from gcloud._helpers import _rfc3339_to_datetime
-from gcloud.exceptions import NotFound
-from gcloud.dns.changes import Changes
-from gcloud.dns.resource_record_set import ResourceRecordSet
+from google.cloud._helpers import _rfc3339_to_datetime
+from google.cloud.exceptions import NotFound
+from google.cloud.dns.changes import Changes
+from google.cloud.dns.resource_record_set import ResourceRecordSet
 
 
-
[docs]class ManagedZone(object): +
[docs]class ManagedZone(object): """ManagedZones are containers for DNS resource records. See: @@ -133,7 +288,7 @@

Source code for gcloud.dns.zone

     :param dns_name: the DNS name of the zone.  If not passed, then calls
                      to :meth:`create` will fail.
 
-    :type client: :class:`gcloud.dns.client.Client`
+    :type client: :class:`google.cloud.dns.client.Client`
     :param client: A client which holds credentials and project configuration
                    for the zone (which requires a project).
 
@@ -152,17 +307,17 @@ 

Source code for gcloud.dns.zone

         self.description = description
 
     @classmethod
-
[docs] def from_api_repr(cls, resource, client): +
[docs] def from_api_repr(cls, resource, client): """Factory: construct a zone given its API representation :type resource: dict :param resource: zone resource representation returned from the API - :type client: :class:`gcloud.dns.client.Client` + :type client: :class:`google.cloud.dns.client.Client` :param client: Client which holds credentials and project configuration for the zone. - :rtype: :class:`gcloud.dns.zone.ManagedZone` + :rtype: :class:`google.cloud.dns.zone.ManagedZone` :returns: Zone parsed from ``resource``. """ name = resource.get('name') @@ -268,7 +423,7 @@

Source code for gcloud.dns.zone

             raise ValueError("Pass a string, or None")
         self._properties['nameServerSet'] = value
 
-
[docs] def resource_record_set(self, name, record_type, ttl, rrdatas): +
[docs] def resource_record_set(self, name, record_type, ttl, rrdatas): """Construct a resource record set bound to this zone. :type name: string @@ -283,15 +438,15 @@

Source code for gcloud.dns.zone

         :type rrdatas: list of string
         :param rrdatas: resource data for the RR
 
-        :rtype: :class:`gcloud.dns.resource_record_set.ResourceRecordSet`
+        :rtype: :class:`google.cloud.dns.resource_record_set.ResourceRecordSet`
         :returns: a new ``ResourceRecordSet`` instance
         """
         return ResourceRecordSet(name, record_type, ttl, rrdatas, zone=self)
-
[docs] def changes(self): +
[docs] def changes(self): """Construct a change set bound to this zone. - :rtype: :class:`gcloud.dns.changes.Changes` + :rtype: :class:`google.cloud.dns.changes.Changes` :returns: a new ``Changes`` instance """ return Changes(zone=self)
@@ -299,11 +454,11 @@

Source code for gcloud.dns.zone

     def _require_client(self, client):
         """Check client or verify over-ride.
 
-        :type client: :class:`gcloud.dns.client.Client` or ``NoneType``
+        :type client: :class:`google.cloud.dns.client.Client` or ``NoneType``
         :param client: the client to use.  If not passed, falls back to the
                        ``client`` stored on the current zone.
 
-        :rtype: :class:`gcloud.dns.client.Client`
+        :rtype: :class:`google.cloud.dns.client.Client`
         :returns: The client passed in or the currently bound client.
         """
         if client is None:
@@ -341,13 +496,13 @@ 

Source code for gcloud.dns.zone

 
         return resource
 
-
[docs] def create(self, client=None): +
[docs] def create(self, client=None): """API call: create the zone via a PUT request See: https://cloud.google.com/dns/api/v1/managedZones/create - :type client: :class:`gcloud.dns.client.Client` or ``NoneType`` + :type client: :class:`google.cloud.dns.client.Client` or ``NoneType`` :param client: the client to use. If not passed, falls back to the ``client`` stored on the current zone. """ @@ -357,13 +512,13 @@

Source code for gcloud.dns.zone

             method='POST', path=path, data=self._build_resource())
         self._set_properties(api_response)
-
[docs] def exists(self, client=None): +
[docs] def exists(self, client=None): """API call: test for the existence of the zone via a GET request See https://cloud.google.com/dns/api/v1/managedZones/get - :type client: :class:`gcloud.dns.client.Client` or ``NoneType`` + :type client: :class:`google.cloud.dns.client.Client` or ``NoneType`` :param client: the client to use. If not passed, falls back to the ``client`` stored on the current zone. @@ -380,13 +535,13 @@

Source code for gcloud.dns.zone

         else:
             return True
-
[docs] def reload(self, client=None): +
[docs] def reload(self, client=None): """API call: refresh zone properties via a GET request See https://cloud.google.com/dns/api/v1/managedZones/get - :type client: :class:`gcloud.dns.client.Client` or ``NoneType`` + :type client: :class:`google.cloud.dns.client.Client` or ``NoneType`` :param client: the client to use. If not passed, falls back to the ``client`` stored on the current zone. """ @@ -396,20 +551,20 @@

Source code for gcloud.dns.zone

             method='GET', path=self.path)
         self._set_properties(api_response)
-
[docs] def delete(self, client=None): +
[docs] def delete(self, client=None): """API call: delete the zone via a DELETE request See: https://cloud.google.com/dns/api/v1/managedZones/delete - :type client: :class:`gcloud.dns.client.Client` or ``NoneType`` + :type client: :class:`google.cloud.dns.client.Client` or ``NoneType`` :param client: the client to use. If not passed, falls back to the ``client`` stored on the current zone. """ client = self._require_client(client) client.connection.api_request(method='DELETE', path=self.path)
-
[docs] def list_resource_record_sets(self, max_results=None, page_token=None, +
[docs] def list_resource_record_sets(self, max_results=None, page_token=None, client=None): """List resource record sets for this zone. @@ -425,13 +580,13 @@

Source code for gcloud.dns.zone

                            not passed, the API will return the first page of
                            zones.
 
-        :type client: :class:`gcloud.dns.client.Client` or ``NoneType``
+        :type client: :class:`google.cloud.dns.client.Client` or ``NoneType``
         :param client: the client to use.  If not passed, falls back to the
                        ``client`` stored on the current zone.
 
         :rtype: tuple, (list, str)
         :returns: list of
-                  :class:`gcloud.dns.resource_record_set.ResourceRecordSet`,
+                  :class:`google.cloud.dns.resource_record_set.ResourceRecordSet`,
                   plus a "next page token" string:  if the token is not None,
                   indicates that more zones can be retrieved with another
                   call (pass that value as ``page_token``).
@@ -453,7 +608,7 @@ 

Source code for gcloud.dns.zone

                  for resource in resp['rrsets']]
         return zones, resp.get('nextPageToken')
-
[docs] def list_changes(self, max_results=None, page_token=None, client=None): +
[docs] def list_changes(self, max_results=None, page_token=None, client=None): """List change sets for this zone. See: @@ -468,13 +623,13 @@

Source code for gcloud.dns.zone

                            not passed, the API will return the first page of
                            zones.
 
-        :type client: :class:`gcloud.dns.client.Client` or ``NoneType``
+        :type client: :class:`google.cloud.dns.client.Client` or ``NoneType``
         :param client: the client to use.  If not passed, falls back to the
                        ``client`` stored on the current zone.
 
         :rtype: tuple, (list, str)
         :returns: list of
-                  :class:`gcloud.dns.resource_record_set.ResourceRecordSet`,
+                  :class:`google.cloud.dns.resource_record_set.ResourceRecordSet`,
                   plus a "next page token" string:  if the token is not None,
                   indicates that more zones can be retrieved with another
                   call (pass that value as ``page_token``).
@@ -497,123 +652,62 @@ 

Source code for gcloud.dns.zone

         return zones, resp.get('nextPageToken')
-
-
+
+
+ - - - +
+ + + + + + + + + + + + + + + + + + + + + + + - + + + + \ No newline at end of file diff --git a/latest/_modules/google/cloud/error_reporting/client.html b/latest/_modules/google/cloud/error_reporting/client.html new file mode 100644 index 000000000000..d89394d1cc39 --- /dev/null +++ b/latest/_modules/google/cloud/error_reporting/client.html @@ -0,0 +1,566 @@ + + + + + + + + + + + google.cloud.error_reporting.client — google-cloud 92219b8 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + +
+ + + + + + +
+
+ + + + + + +
+
    +
  • Docs »
  • + +
  • Module code »
  • + +
  • google.cloud.error_reporting.client
  • +
  • + + + +
  • +
+
+
+
+
+ +

Source code for google.cloud.error_reporting.client

+# Copyright 2016 Google Inc. All Rights Reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Client for interacting with the Stackdriver Logging API"""
+
+import traceback
+
+import google.cloud.logging.client
+import six
+
+
+
[docs]class HTTPContext(object): + """HTTPContext defines an object that captures the parameter for the + httpRequest part of Error Reporting API + + :type method: string + :param method: The type of HTTP request, such as GET, POST, etc. + + :type url: string + :param url: The URL of the request + + :type user_agent: string + :param user_agent: The user agent information that is provided with the + request. + + :type referrer: string + :param referrer: The referrer information that is provided with the + request. + + :type response_status_code: int + :param response_status_code: The HTTP response status code for the request. + + :type remote_ip: string + :param remote_ip: The IP address from which the request originated. This + can be IPv4, IPv6, or a token which is derived from + the IP address, depending on the data that has been + provided in the error report. + """ + + def __init__(self, method=None, url=None, + user_agent=None, referrer=None, + response_status_code=None, remote_ip=None): + self.method = method + self.url = url + # intentionally camel case for mapping to JSON API expects + # pylint: disable=invalid-name + self.userAgent = user_agent + self.referrer = referrer + self.responseStatusCode = response_status_code + self.remoteIp = remote_ip
+ + +
[docs]class Client(object): + """Error Reporting client. Currently Error Reporting is done by creating + a Logging client. + + :type project: string + :param project: the project which the client acts on behalf of. If not + passed falls back to the default inferred from the + environment. + + :type credentials: :class:`oauth2client.client.OAuth2Credentials` or + :class:`NoneType` + :param credentials: The OAuth2 Credentials to use for the connection + owned by this client. If not passed (and if no ``http`` + object is passed), falls back to the default inferred + from the environment. + + :type http: :class:`httplib2.Http` or class that defines ``request()``. + :param http: An optional HTTP object to make requests. If not passed, an + ``http`` object is created that is bound to the + ``credentials`` for the current object. + + :type service: str + :param service: An identifier of the service, such as the name of the + executable, job, or Google App Engine service name. This + field is expected to have a low number of values that are + relatively stable over time, as opposed to version, + which can be changed whenever new code is deployed. + + + :type version: str + :param version: Represents the source code version that the developer + provided, which could represent a version label or a Git + SHA-1 hash, for example. If the developer did not provide + a version, the value is set to default. + + :raises: :class:`ValueError` if the project is neither passed in nor + set in the environment. + """ + + def __init__(self, project=None, + credentials=None, + http=None, + service=None, + version=None): + self.logging_client = google.cloud.logging.client.Client( + project, credentials, http) + self.service = service if service else self.DEFAULT_SERVICE + self.version = version + + DEFAULT_SERVICE = 'python' + + def _send_error_report(self, message, + report_location=None, http_context=None, user=None): + """Makes the call to the Error Reporting API via the log stream. + + This is the lower-level interface to build the payload, generally + users will use either report() or report_exception() to automatically + gather the parameters for this method. + + Currently this method sends the Error Report by formatting a structured + log message according to + + https://cloud.google.com/error-reporting/docs/formatting-error-messages + + :type message: string + :param message: The stack trace that was reported or logged by the + service. + + :type report_location: dict + :param report_location: The location in the source code where the + decision was made to report the error, usually the place + where it was logged. For a logged exception this would be the + source line where the exception is logged, usually close to + the place where it was caught. + + This should be a Python dict that contains the keys 'filePath', + 'lineNumber', and 'functionName' + + :type http_context: :class`google.cloud.error_reporting.HTTPContext` + :param http_context: The HTTP request which was processed when the + error was triggered. + + :type user: string + :param user: The user who caused or was affected by the crash. This can + be a user ID, an email address, or an arbitrary token that + uniquely identifies the user. When sending an error + report, leave this field empty if the user was not + logged in. In this case the Error Reporting system will + use other data, such as remote IP address, + to distinguish affected users. + """ + payload = { + 'serviceContext': { + 'service': self.service, + }, + 'message': '{0}'.format(message) + } + + if self.version: + payload['serviceContext']['version'] = self.version + + if report_location or http_context or user: + payload['context'] = {} + + if report_location: + payload['context']['reportLocation'] = report_location + + if http_context: + http_context_dict = http_context.__dict__ + # strip out None values + payload['context']['httpContext'] = { + key: value for key, value in six.iteritems(http_context_dict) + if value is not None + } + + if user: + payload['context']['user'] = user + + logger = self.logging_client.logger('errors') + logger.log_struct(payload) + +
[docs] def report(self, message, http_context=None, user=None): + """ Reports a message to Stackdriver Error Reporting + https://cloud.google.com/error-reporting/docs/formatting-error-messages + + :type message: str + :param message: A user-supplied message to report + + + :type http_context: :class`google.cloud.error_reporting.HTTPContext` + :param http_context: The HTTP request which was processed when the + error was triggered. + + :type user: string + :param user: The user who caused or was affected by the crash. This + can be a user ID, an email address, or an arbitrary + token that uniquely identifies the user. When sending + an error report, leave this field empty if the user + was not logged in. In this case the Error Reporting + system will use other data, such as remote IP address, + to distinguish affected users. + + Example:: + >>> client.report("Something went wrong!") + """ + stack = traceback.extract_stack() + last_call = stack[-2] + file_path = last_call[0] + line_number = last_call[1] + function_name = last_call[2] + report_location = { + 'filePath': file_path, + 'lineNumber': line_number, + 'functionName': function_name + } + + self._send_error_report(message, + http_context=http_context, + user=user, + report_location=report_location)
+ +
[docs] def report_exception(self, http_context=None, user=None): + """ Reports the details of the latest exceptions to Stackdriver Error + Reporting. + + :type http_context: :class`google.cloud.error_reporting.HTTPContext` + :param http_context: The HTTP request which was processed when the + error was triggered. + + :type user: string + :param user: The user who caused or was affected by the crash. This + can be a user ID, an email address, or an arbitrary + token that uniquely identifies the user. When sending an + error report, leave this field empty if the user was + not logged in. In this case the Error Reporting system + will use other data, such as remote IP address, + to distinguish affected users. + + Example:: + + >>> try: + >>> raise NameError + >>> except Exception: + >>> client.report_exception() + """ + self._send_error_report(traceback.format_exc(), + http_context=http_context, + user=user)
+
+ +
+
+ + +
+
+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/latest/_modules/gcloud/exceptions.html b/latest/_modules/google/cloud/exceptions.html similarity index 58% rename from latest/_modules/gcloud/exceptions.html rename to latest/_modules/google/cloud/exceptions.html index 37f7cd58681f..fc02162e70ad 100644 --- a/latest/_modules/gcloud/exceptions.html +++ b/latest/_modules/google/cloud/exceptions.html @@ -1,102 +1,257 @@ + + + + + + + + + + google.cloud.exceptions — google-cloud 92219b8 documentation + + + + + - - - - - gcloud.exceptions — gcloud 47bfd0a documentation - - - - + + + + - - - - - - - - + + + + + + + + + + + + + + + + + + + + + +
+ -
- -
- -
- - - Report an Issue - -
-
+ + +
+ + + + + + +
+
+ + + -
+ + +
+
    +
  • Docs »
  • + +
  • Module code »
  • + +
  • google.cloud.exceptions
  • +
  • + + -

    Source code for gcloud.exceptions

    +      
  • +
+
+
+
+
+ +

Source code for google.cloud.exceptions

 # Copyright 2014 Google Inc. All rights reserved.
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
@@ -111,7 +266,7 @@ 

Source code for gcloud.exceptions

 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-"""Custom exceptions for :mod:`gcloud` package.
+"""Custom exceptions for :mod:`google.cloud` package.
 
 See: https://cloud.google.com/storage/docs/json_api/v1/status-codes
 """
@@ -123,8 +278,8 @@ 

Source code for gcloud.exceptions

 _HTTP_CODE_TO_EXCEPTION = {}  # populated at end of module
 
 
-
[docs]class GCloudError(Exception): - """Base error class for gcloud errors (abstract). +
[docs]class GoogleCloudError(Exception): + """Base error class for Google Cloud errors (abstract). Each subclass represents a single type of HTTP error response. """ @@ -135,8 +290,7 @@

Source code for gcloud.exceptions

     """
 
     def __init__(self, message, errors=()):
-        super(GCloudError, self).__init__()
-        # suppress deprecation warning under 2.6.x
+        super(GoogleCloudError, self).__init__(message)
         self.message = message
         self._errors = errors
 
@@ -153,110 +307,115 @@ 

Source code for gcloud.exceptions

         return [copy.deepcopy(error) for error in self._errors]
-
[docs]class Redirection(GCloudError): +
[docs]class Redirection(GoogleCloudError): """Base for 3xx responses This class is abstract. """
-
[docs]class MovedPermanently(Redirection): +
[docs]class MovedPermanently(Redirection): """Exception mapping a '301 Moved Permanently' response.""" code = 301
-
[docs]class NotModified(Redirection): +
[docs]class NotModified(Redirection): """Exception mapping a '304 Not Modified' response.""" code = 304
-
[docs]class TemporaryRedirect(Redirection): +
[docs]class TemporaryRedirect(Redirection): """Exception mapping a '307 Temporary Redirect' response.""" code = 307
-
[docs]class ResumeIncomplete(Redirection): +
[docs]class ResumeIncomplete(Redirection): """Exception mapping a '308 Resume Incomplete' response.""" code = 308
-
[docs]class ClientError(GCloudError): +
[docs]class ClientError(GoogleCloudError): """Base for 4xx responses This class is abstract """
-
[docs]class BadRequest(ClientError): +
[docs]class BadRequest(ClientError): """Exception mapping a '400 Bad Request' response.""" code = 400
-
[docs]class Unauthorized(ClientError): +
[docs]class Unauthorized(ClientError): """Exception mapping a '401 Unauthorized' response.""" code = 401
-
[docs]class Forbidden(ClientError): +
[docs]class Forbidden(ClientError): """Exception mapping a '403 Forbidden' response.""" code = 403
-
[docs]class NotFound(ClientError): +
[docs]class NotFound(ClientError): """Exception mapping a '404 Not Found' response.""" code = 404
-
[docs]class MethodNotAllowed(ClientError): +
[docs]class MethodNotAllowed(ClientError): """Exception mapping a '405 Method Not Allowed' response.""" code = 405
-
[docs]class Conflict(ClientError): +
[docs]class Conflict(ClientError): """Exception mapping a '409 Conflict' response.""" code = 409
-
[docs]class LengthRequired(ClientError): +
[docs]class LengthRequired(ClientError): """Exception mapping a '411 Length Required' response.""" code = 411
-
[docs]class PreconditionFailed(ClientError): +
[docs]class PreconditionFailed(ClientError): """Exception mapping a '412 Precondition Failed' response.""" code = 412
-
[docs]class RequestRangeNotSatisfiable(ClientError): +
[docs]class RequestRangeNotSatisfiable(ClientError): """Exception mapping a '416 Request Range Not Satisfiable' response.""" code = 416
-
[docs]class TooManyRequests(ClientError): +
[docs]class TooManyRequests(ClientError): """Exception mapping a '429 Too Many Requests' response.""" code = 429
-
[docs]class ServerError(GCloudError): +
[docs]class ServerError(GoogleCloudError): """Base for 5xx responses: (abstract)"""
-
[docs]class InternalServerError(ServerError): +
[docs]class InternalServerError(ServerError): """Exception mapping a '500 Internal Server Error' response.""" code = 500
-
[docs]class MethodNotImplemented(ServerError): +
[docs]class MethodNotImplemented(ServerError): """Exception mapping a '501 Not Implemented' response.""" code = 501
-
[docs]class ServiceUnavailable(ServerError): +
[docs]class BadGateway(ServerError): + """Exception mapping a '502 Bad Gateway' response.""" + code = 502
+ + +
[docs]class ServiceUnavailable(ServerError): """Exception mapping a '503 Service Unavailable' response.""" code = 503
-
[docs]def make_exception(response, content, error_info=None, use_json=True): +
[docs]def make_exception(response, content, error_info=None, use_json=True): """Factory: create exception based on HTTP response code. :type response: :class:`httplib2.Response` or other HTTP response object @@ -273,7 +432,7 @@

Source code for gcloud.exceptions

     :type use_json: bool
     :param use_json: Flag indicating if ``content`` is expected to be JSON.
 
-    :rtype: instance of :class:`GCloudError`, or a concrete subclass.
+    :rtype: instance of :class:`GoogleCloudError`, or a concrete subclass.
     :returns: Exception specific to the error response.
     """
     if isinstance(content, six.binary_type):
@@ -301,7 +460,7 @@ 

Source code for gcloud.exceptions

     try:
         klass = _HTTP_CODE_TO_EXCEPTION[response.status]
     except KeyError:
-        error = GCloudError(message, errors)
+        error = GoogleCloudError(message, errors)
         error.code = response.status
     else:
         error = klass(message, errors)
@@ -317,129 +476,68 @@ 

Source code for gcloud.exceptions

 
 
 # Build the code->exception class mapping.
-for _eklass in _walk_subclasses(GCloudError):
+for _eklass in _walk_subclasses(GoogleCloudError):
     code = getattr(_eklass, 'code', None)
     if code is not None:
         _HTTP_CODE_TO_EXCEPTION[code] = _eklass
 
-
-
+
+
+ - - - +
+ + + + + + + + + + + + + + + + + + + + + + + - + + + + \ No newline at end of file diff --git a/latest/_modules/google/cloud/language/client.html b/latest/_modules/google/cloud/language/client.html new file mode 100644 index 000000000000..0217040898cd --- /dev/null +++ b/latest/_modules/google/cloud/language/client.html @@ -0,0 +1,416 @@ + + + + + + + + + + + google.cloud.language.client — google-cloud 92219b8 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + +
+ + + + + + +
+
+ + + + + + +
+
    +
  • Docs »
  • + +
  • Module code »
  • + +
  • google.cloud.language.client
  • +
  • + + + +
  • +
+
+
+
+
+ +

Source code for google.cloud.language.client

+# Copyright 2016 Google Inc. All Rights Reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Basic client for Google Cloud Natural Language API."""
+
+
+from google.cloud import client as client_module
+from google.cloud.language.connection import Connection
+from google.cloud.language.document import Document
+
+
+
[docs]class Client(client_module.Client): + """Client to bundle configuration needed for API requests. + + :type credentials: :class:`~oauth2client.client.OAuth2Credentials` + :param credentials: (Optional) The OAuth2 Credentials to use for the + connection owned by this client. If not passed (and + if no ``http`` object is passed), falls back to the + default inferred from the environment. + + :type http: :class:`httplib2.Http` or class that defines ``request()``. + :param http: An optional HTTP object to make requests. If not passed, an + ``http`` object is created that is bound to the + ``credentials`` for the current object. + """ + + _connection_class = Connection + +
[docs] def document_from_text(self, content, **kwargs): + """Create a plain text document bound to this client. + + :type content: str + :param content: The document plain text content. + + :type kwargs: dict + :param kwargs: Remaining keyword arguments to be passed along to the + :class:`.Document` constructor. + + :rtype: :class:`.Document` + :returns: A plain-text document bound to this client. + :raises: :class:`~exceptions.TypeError` if ``doc_type`` is passed as a + keyword argument. + """ + if 'doc_type' in kwargs: + raise TypeError('Cannot pass doc_type') + return Document(self, content=content, + doc_type=Document.PLAIN_TEXT, **kwargs)
+ +
[docs] def document_from_html(self, content, **kwargs): + """Create an HTML document bound to this client. + + :type content: str + :param content: The document HTML text content. + + :type kwargs: dict + :param kwargs: Remaining keyword arguments to be passed along to the + :class:`.Document` constructor. + + :rtype: :class:`.Document` + :returns: An HTML document bound to this client. + :raises: :class:`~exceptions.TypeError` if ``doc_type`` is passed as a + keyword argument. + """ + if 'doc_type' in kwargs: + raise TypeError('Cannot pass doc_type') + return Document(self, content=content, + doc_type=Document.HTML, **kwargs)
+ +
[docs] def document_from_url(self, gcs_url, + doc_type=Document.PLAIN_TEXT, **kwargs): + """Create a Cloud Storage document bound to this client. + + :type gcs_url: str + :param gcs_url: The URL of the Google Cloud Storage object + holding the content. Of the form + ``gs://{bucket}/{blob-name}``. + + :type doc_type: str + :param doc_type: (Optional) The type of text in the document. + Defaults to plain text. Can also be specified + as HTML via :attr:`~.Document.HTML`. + + :type kwargs: dict + :param kwargs: Remaining keyword arguments to be passed along to the + :class:`.Document` constructor. + + :rtype: :class:`.Document` + :returns: A document bound to this client. + """ + return Document(self, gcs_url=gcs_url, doc_type=doc_type, **kwargs)
+
+ +
+
+ + +
+
+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/latest/_modules/google/cloud/language/connection.html b/latest/_modules/google/cloud/language/connection.html new file mode 100644 index 000000000000..e934a56efd8d --- /dev/null +++ b/latest/_modules/google/cloud/language/connection.html @@ -0,0 +1,348 @@ + + + + + + + + + + + google.cloud.language.connection — google-cloud 92219b8 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + +
+ + + + + + +
+
+ + + + + + +
+
    +
  • Docs »
  • + +
  • Module code »
  • + +
  • google.cloud.language.connection
  • +
  • + + + +
  • +
+
+
+
+
+ +

Source code for google.cloud.language.connection

+# Copyright 2016 Google Inc. All Rights Reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Basic connection for Google Cloud Natural Language API."""
+
+from google.cloud import connection as base_connection
+
+
+
[docs]class Connection(base_connection.JSONConnection): + """A connection to Google Cloud Natural Language JSON REST API.""" + + API_BASE_URL = 'https://language.googleapis.com' + """The base of the API call URL.""" + + API_VERSION = 'v1beta1' + """The version of the API, used in building the API call's URL.""" + + API_URL_TEMPLATE = '{api_base_url}/{api_version}/documents:{path}' + """A template for the URL of a particular API call.""" + + SCOPE = ('https://www.googleapis.com/auth/cloud-platform',) + """The scopes required for authenticating as an API consumer."""
+
+ +
+
+ + +
+
+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/latest/_modules/google/cloud/language/document.html b/latest/_modules/google/cloud/language/document.html new file mode 100644 index 000000000000..83639f27a8d5 --- /dev/null +++ b/latest/_modules/google/cloud/language/document.html @@ -0,0 +1,576 @@ + + + + + + + + + + + google.cloud.language.document — google-cloud 92219b8 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + +
+ + + + + + +
+
+ + + + + + +
+
    +
  • Docs »
  • + +
  • Module code »
  • + +
  • google.cloud.language.document
  • +
  • + + + +
  • +
+
+
+
+
+ +

Source code for google.cloud.language.document

+# Copyright 2016 Google Inc. All Rights Reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Definition for Google Cloud Natural Language API documents.
+
+A document is used to hold text to be analyzed and annotated.
+"""
+
+import collections
+
+from google.cloud.language.entity import Entity
+from google.cloud.language.sentiment import Sentiment
+from google.cloud.language.syntax import Sentence
+from google.cloud.language.syntax import Token
+
+
+DEFAULT_LANGUAGE = 'en-US'
+"""Default document language, English."""
+
+
+Annotations = collections.namedtuple(
+    'Annotations',
+    'sentences tokens sentiment entities')
+"""Annotations for a document.
+
+:type sentences: list
+:param sentences: List of :class:`.Sentence` in a document.
+
+:type tokens: list
+:param tokens: List of :class:`.Token` from a document.
+
+:type sentiment: :class:`Sentiment`
+:param sentiment: The sentiment of a document.
+
+:type entities: list
+:param entities: List of :class:`~.language.entity.Entity`
+                 found in a document.
+"""
+
+
+
[docs]class Encoding(object): + """Document text encoding types.""" + + NONE = 'NONE' + """Unspecified encoding type.""" + + UTF8 = 'UTF8' + """UTF-8 encoding type.""" + + UTF16 = 'UTF16' + """UTF-16 encoding type.""" + + UTF32 = 'UTF32' + """UTF-32 encoding type."""
+ + +
[docs]class Document(object): + """Document to send to Google Cloud Natural Language API. + + Represents either plain text or HTML, and the content is either + stored on the document or referred to in a Google Cloud Storage + object. + + :type client: :class:`~google.cloud.language.client.Client` + :param client: A client which holds credentials and other + configuration. + + :type content: str + :param content: (Optional) The document text content (either plain + text or HTML). + + :type gcs_url: str + :param gcs_url: (Optional) The URL of the Google Cloud Storage object + holding the content. Of the form + ``gs://{bucket}/{blob-name}``. + + :type doc_type: str + :param doc_type: (Optional) The type of text in the document. + Defaults to plain text. Can be one of + :attr:`~.Document.PLAIN_TEXT` or + or :attr:`~.Document.HTML`. + + :type language: str + :param language: (Optional) The language of the document text. + Defaults to :data:`DEFAULT_LANGUAGE`. + + :type encoding: str + :param encoding: (Optional) The encoding of the document text. + Defaults to UTF-8. Can be one of + :attr:`~.Encoding.UTF8`, :attr:`~.Encoding.UTF16` + or :attr:`~.Encoding.UTF32`. + + :raises: :class:`~exceptions.ValueError` both ``content`` and ``gcs_url`` + are specified or if neither are specified. + """ + + TYPE_UNSPECIFIED = 'TYPE_UNSPECIFIED' + """Unspecified document type.""" + + PLAIN_TEXT = 'PLAIN_TEXT' + """Plain text document type.""" + + HTML = 'HTML' + """HTML document type.""" + + def __init__(self, client, content=None, gcs_url=None, doc_type=PLAIN_TEXT, + language=DEFAULT_LANGUAGE, encoding=Encoding.UTF8): + if content is not None and gcs_url is not None: + raise ValueError('A Document cannot contain both local text and ' + 'a link to text in a Google Cloud Storage object') + if content is None and gcs_url is None: + raise ValueError('A Document must contain either local text or a ' + 'link to text in a Google Cloud Storage object') + self.client = client + self.content = content + self.gcs_url = gcs_url + self.doc_type = doc_type + self.language = language + self.encoding = encoding + + def _to_dict(self): + """Helper to convert the current document into a dictionary. + + To be used when constructing requests. + + :rtype: dict + :returns: The Document value as a JSON dictionary. + """ + info = { + 'type': self.doc_type, + 'language': self.language, + } + if self.content is not None: + info['content'] = self.content + elif self.gcs_url is not None: + info['gcsContentUri'] = self.gcs_url + return info + +
[docs] def analyze_entities(self): + """Analyze the entities in the current document. + + Finds named entities (currently finds proper names as of August 2016) + in the text, entity types, salience, mentions for each entity, and + other properties. + + .. _analyzeEntities: https://cloud.google.com/natural-language/\ + reference/rest/v1beta1/documents/analyzeEntities + + See `analyzeEntities`_. + + :rtype: list + :returns: A list of :class:`~.language.entity.Entity` returned from + the API. + """ + data = { + 'document': self._to_dict(), + 'encodingType': self.encoding, + } + api_response = self.client.connection.api_request( + method='POST', path='analyzeEntities', data=data) + return [Entity.from_api_repr(entity) + for entity in api_response['entities']]
+ +
[docs] def analyze_sentiment(self): + """Analyze the sentiment in the current document. + + .. _analyzeSentiment: https://cloud.google.com/natural-language/\ + reference/rest/v1beta1/documents/analyzeSentiment + + See `analyzeSentiment`_. + + :rtype: :class:`.Sentiment` + :returns: The sentiment of the current document. + """ + data = {'document': self._to_dict()} + api_response = self.client.connection.api_request( + method='POST', path='analyzeSentiment', data=data) + return Sentiment.from_api_repr(api_response['documentSentiment'])
+ +
[docs] def annotate_text(self, include_syntax=True, include_entities=True, + include_sentiment=True): + """Advanced natural language API: document syntax and other features. + + Includes the full functionality of :meth:`analyze_entities` and + :meth:`analyze_sentiment`, enabled by the flags + ``include_entities`` and ``include_sentiment`` respectively. + + In addition ``include_syntax`` adds a new feature that analyzes + the document for semantic and syntacticinformation. + + .. note:: + + This API is intended for users who are familiar with machine + learning and need in-depth text features to build upon. + + .. _annotateText: https://cloud.google.com/natural-language/\ + reference/rest/v1beta1/documents/annotateText + + See `annotateText`_. + + :type include_syntax: bool + :param include_syntax: (Optional) Flag to enable syntax analysis + of the current document. + + :type include_entities: bool + :param include_entities: (Optional) Flag to enable entity extraction + from the current document. + + :type include_sentiment: bool + :param include_sentiment: (Optional) Flag to enable sentiment + analysis of the current document. + + :rtype: :class:`Annotations` + :returns: A tuple of each of the four values returned from the API: + sentences, tokens, sentiment and entities. + """ + features = {} + if include_syntax: + features['extractSyntax'] = True + if include_entities: + features['extractEntities'] = True + if include_sentiment: + features['extractDocumentSentiment'] = True + + data = { + 'document': self._to_dict(), + 'features': features, + 'encodingType': self.encoding, + } + api_response = self.client.connection.api_request( + method='POST', path='annotateText', data=data) + + sentences = [Sentence.from_api_repr(sentence) + for sentence in api_response['sentences']] + tokens = [Token.from_api_repr(token) + for token in api_response['tokens']] + sentiment_info = api_response.get('documentSentiment') + if sentiment_info is None: + sentiment = None + else: + sentiment = Sentiment.from_api_repr(sentiment_info) + entities = [Entity.from_api_repr(entity) + for entity in api_response['entities']] + annotations = Annotations( + sentences=sentences, + tokens=tokens, + sentiment=sentiment, + entities=entities, + ) + return annotations
+
+ +
+
+ + +
+
+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/latest/_modules/google/cloud/language/entity.html b/latest/_modules/google/cloud/language/entity.html new file mode 100644 index 000000000000..6ba0a91d54e0 --- /dev/null +++ b/latest/_modules/google/cloud/language/entity.html @@ -0,0 +1,423 @@ + + + + + + + + + + + google.cloud.language.entity — google-cloud 92219b8 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + +
+ + + + + + +
+
+ + + + + + +
+
    +
  • Docs »
  • + +
  • Module code »
  • + +
  • google.cloud.language.entity
  • +
  • + + + +
  • +
+
+
+
+
+ +

Source code for google.cloud.language.entity

+# Copyright 2016 Google Inc. All Rights Reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Definition for Google Cloud Natural Language API entities.
+
+An entity is used to describe a proper name extracted from text.
+"""
+
+
+
[docs]class EntityType(object): + """List of possible entity types.""" + + UNKNOWN = 'UNKNOWN' + """Unknown entity type.""" + + PERSON = 'PERSON' + """Person entity type.""" + + LOCATION = 'LOCATION' + """Location entity type.""" + + ORGANIZATION = 'ORGANIZATION' + """Organization entity type.""" + + EVENT = 'EVENT' + """Event entity type.""" + + WORK_OF_ART = 'WORK_OF_ART' + """Work of art entity type.""" + + CONSUMER_GOOD = 'CONSUMER_GOOD' + """Consumer good entity type.""" + + OTHER = 'OTHER' + """Other entity type (i.e. known but not classified)."""
+ + +
[docs]class Entity(object): + """A Google Cloud Natural Language API entity. + + Represents a phrase in text that is a known entity, such as a person, + an organization, or location. The API associates information, such as + salience and mentions, with entities. + + The only supported metadata (as of August 2016) is ``wikipedia_url``, + so this value will be removed from the passed in ``metadata`` + and put in its own property. + + .. _Entity message: https://cloud.google.com/natural-language/\ + reference/rest/v1beta1/Entity + .. _EntityType enum: https://cloud.google.com/natural-language/\ + reference/rest/v1beta1/Entity#Type + + See `Entity message`_. + + :type name: str + :param name: The name / phrase identified as the entity. + + :type entity_type: str + :param entity_type: The type of the entity. See `EntityType enum`_. + + :type metadata: dict + :param metadata: The metadata associated with the entity. + + :type salience: float + :param salience: The prominence of the entity / phrase within the text + containing it. + + :type mentions: list + :param mentions: List of strings that mention the entity. + """ + + def __init__(self, name, entity_type, metadata, salience, mentions): + self.name = name + self.entity_type = entity_type + self.wikipedia_url = metadata.pop('wikipedia_url', None) + self.metadata = metadata + self.salience = salience + self.mentions = mentions + + @classmethod +
[docs] def from_api_repr(cls, payload): + """Convert an Entity from the JSON API into an :class:`Entity`. + + :param payload: dict + :type payload: The value from the backend. + + :rtype: :class:`Entity` + :returns: The entity parsed from the API representation. + """ + name = payload['name'] + entity_type = payload['type'] + metadata = payload['metadata'] + salience = payload['salience'] + mentions = [value['text']['content'] + for value in payload['mentions']] + return cls(name, entity_type, metadata, salience, mentions)
+
+ +
+
+ + +
+
+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/latest/_modules/google/cloud/language/sentiment.html b/latest/_modules/google/cloud/language/sentiment.html new file mode 100644 index 000000000000..3a476739c58e --- /dev/null +++ b/latest/_modules/google/cloud/language/sentiment.html @@ -0,0 +1,372 @@ + + + + + + + + + + + google.cloud.language.sentiment — google-cloud 92219b8 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + +
+ + + + + + +
+
+ + + + + + +
+
    +
  • Docs »
  • + +
  • Module code »
  • + +
  • google.cloud.language.sentiment
  • +
  • + + + +
  • +
+
+
+
+
+ +

Source code for google.cloud.language.sentiment

+# Copyright 2016 Google Inc. All Rights Reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Definition for Google Cloud Natural Language API sentiment.
+
+Sentiment is the response to an ``analyzeSentiment`` request.
+"""
+
+
+
[docs]class Sentiment(object): + """A Google Cloud Natural Language API sentiment object. + + .. _Sentiment message: https://cloud.google.com/natural-language/\ + reference/rest/v1beta1/Sentiment + .. _Sentiment basics: https://cloud.google.com/natural-language/\ + docs/basics#sentiment-analysis-values + + See `Sentiment message`_ and `Sentiment basics`_. + + :type polarity: float + :param polarity: Polarity of the sentiment in the ``[-1.0, 1.0]`` range. + Larger numbers represent more positive sentiments. + + :type magnitude: float + :param magnitude: A non-negative number in the ``[0, +inf)`` range, which + represents the absolute magnitude of sentiment + regardless of polarity (positive or negative). + """ + + def __init__(self, polarity, magnitude): + self.polarity = polarity + self.magnitude = magnitude + + @classmethod +
[docs] def from_api_repr(cls, payload): + """Convert a Sentiment from the JSON API into a :class:`Sentiment`. + + :param payload: dict + :type payload: The value from the backend. + + :rtype: :class:`Sentiment` + :returns: The sentiment parsed from the API representation. + """ + polarity = payload['polarity'] + magnitude = payload['magnitude'] + return cls(polarity, magnitude)
+
+ +
+
+ + +
+
+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/latest/_modules/google/cloud/language/syntax.html b/latest/_modules/google/cloud/language/syntax.html new file mode 100644 index 000000000000..01e219a43313 --- /dev/null +++ b/latest/_modules/google/cloud/language/syntax.html @@ -0,0 +1,518 @@ + + + + + + + + + + + google.cloud.language.syntax — google-cloud 92219b8 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + +
+ + + + + + +
+
+ + + + + + +
+
    +
  • Docs »
  • + +
  • Module code »
  • + +
  • google.cloud.language.syntax
  • +
  • + + + +
  • +
+
+
+
+
+ +

Source code for google.cloud.language.syntax

+# Copyright 2016 Google Inc. All Rights Reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Google Cloud Natural Language API helpers for tokenized text.
+
+The ``annotateText`` method, when used with the "syntax" feature,
+breaks a document down into tokens and sentences.
+"""
+
+
+
[docs]class PartOfSpeech(object): + """Part of speech of a :class:`Token`.""" + + UNKNOWN = 'UNKNOWN' + """Unknown part of speech.""" + + ADJECTIVE = 'ADJ' + """Part of speech: Adjective.""" + + ADPOSITION = 'ADP' + """Adposition (preposition and postposition).""" + + ADVERB = 'ADV' + """Adverb.""" + + CONJUNCTION = 'CONJ' + """Conjunction.""" + + DETERMINER = 'DET' + """Determiner.""" + + NOUN = 'NOUN' + """Noun (common and proper).""" + + CARDINAL_NUMBER = 'NUM' + """Cardinal number.""" + + PRONOUN = 'PRON' + """Pronoun.""" + + PARTICIPLE = 'PRT' + """Particle or other function word.""" + + PUNCTUATION = 'PUNCT' + """Punctuation.""" + + VERB = 'VERB' + """Verb (all tenses and modes).""" + + OTHER = 'X' + """Other: foreign words, typos, abbreviations.""" + + AFFIX = 'AFFIX' + """Affix.""" + + _REVERSE_MAP = { + 'UNKNOWN': 'UNKNOWN', + 'ADJ': 'ADJECTIVE', + 'ADP': 'ADPOSITION', + 'ADV': 'ADVERB', + 'CONJ': 'CONJUNCTION', + 'DET': 'DETERMINER', + 'NOUN': 'NOUN', + 'NUM': 'CARDINAL_NUMBER', + 'PRON': 'PRONOUN', + 'PRT': 'PARTICIPLE', + 'PUNCT': 'PUNCTUATION', + 'VERB': 'VERB', + 'X': 'OTHER', + 'AFFIX': 'AFFIX', + } + + @classmethod +
[docs] def reverse(cls, tag): + """Reverses the API's enum name for the one on this class. + + For example:: + + >>> PartOfSpeech.OTHER + 'X' + >>> PartOfSpeech.reverse('X') + 'OTHER' + + :rtype: str + :returns: The attribute name corresponding to the API part of + speech enum. + """ + return cls._REVERSE_MAP[tag]
+ + +
[docs]class Token(object): + """A Google Cloud Natural Language API token object. + + .. _Token message: https://cloud.google.com/natural-language/reference\ + /rest/v1beta1/documents/annotateText#Token + .. _Lemma: https://en.wikipedia.org/wiki/Lemma_(morphology) + .. _Label enum: https://cloud.google.com/natural-language/reference/\ + rest/v1beta1/documents/annotateText#Label + + See `Token message`_. + + :type text_content: str + :param text_content: The text that the token is composed of. + + :type text_begin: int + :param text_begin: The beginning offset of the content in the original + document according to the encoding type specified + in the API request. + + :type part_of_speech: str + :param part_of_speech: The part of speech of the token. See + :class:`PartOfSpeech` for possible values. + + :type edge_index: int + :param edge_index: The head of this token in the dependency tree. This is + the index of the token which has an arc going to this + token. The index is the position of the token in the + array of tokens returned by the API method. If this + token is a root token, then the ``edge_index`` is + its own index. + + :type edge_label: str + :param edge_label: See `Label enum`_. + + :type lemma: str + :param lemma: The `Lemma`_ of the token. + """ + + def __init__(self, text_content, text_begin, part_of_speech, + edge_index, edge_label, lemma): + self.text_content = text_content + self.text_begin = text_begin + self.part_of_speech = part_of_speech + self.edge_index = edge_index + self.edge_label = edge_label + self.lemma = lemma + + @classmethod +
[docs] def from_api_repr(cls, payload): + """Convert a token from the JSON API into a :class:`Sentiment`. + + :param payload: dict + :type payload: The value from the backend. + + :rtype: :class:`Token` + :returns: The token parsed from the API representation. + """ + text_span = payload['text'] + text_content = text_span['content'] + text_begin = text_span['beginOffset'] + part_of_speech = payload['partOfSpeech']['tag'] + edge = payload['dependencyEdge'] + edge_index = edge['headTokenIndex'] + edge_label = edge['label'] + lemma = payload['lemma'] + return cls(text_content, text_begin, part_of_speech, + edge_index, edge_label, lemma)
+ + +
[docs]class Sentence(object): + """A Google Cloud Natural Language API sentence object. + + .. _Sentence message: https://cloud.google.com/natural-language/reference\ + /rest/v1beta1/documents/annotateText#Sentence + + See `Sentence message`_. + + :type content: str + :param content: The text that the sentence is composed of. + + :type begin: int + :param begin: The beginning offset of the sentence in the original + document according to the encoding type specified + in the API request. + """ + + def __init__(self, content, begin): + self.content = content + self.begin = begin + + @classmethod +
[docs] def from_api_repr(cls, payload): + """Convert a sentence from the JSON API into a :class:`Sentiment`. + + :param payload: dict + :type payload: The value from the backend. + + :rtype: :class:`Sentence` + :returns: The sentence parsed from the API representation. + """ + text_span = payload['text'] + return cls(text_span['content'], text_span['beginOffset'])
+
+ +
+
+ + +
+
+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/latest/_modules/gcloud/logging/client.html b/latest/_modules/google/cloud/logging/client.html similarity index 63% rename from latest/_modules/gcloud/logging/client.html rename to latest/_modules/google/cloud/logging/client.html index 9a86900badc9..f512b5772f36 100644 --- a/latest/_modules/gcloud/logging/client.html +++ b/latest/_modules/google/cloud/logging/client.html @@ -1,102 +1,257 @@ + + + + + + + + + + google.cloud.logging.client — google-cloud 92219b8 documentation + + + + + - - - - - gcloud.logging.client — gcloud 47bfd0a documentation - - - - + + + + - - - - - - - - + + + + + + + + + + + + + + + + + + + + + +
+ -
- -
- -
- - - Report an Issue - -
-
+ + +
+ + + + + + +
+
+ + + + -
+ +
+
    +
  • Docs »
  • + +
  • Module code »
  • + +
  • google.cloud.logging.client
  • +
  • + + -

    Source code for gcloud.logging.client

    +      
  • +
+
+
+
+
+ +

Source code for google.cloud.logging.client

 # Copyright 2016 Google Inc. All rights reserved.
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
@@ -116,15 +271,15 @@ 

Source code for gcloud.logging.client

 import os
 
 try:
-    from google.logging.v2.config_service_v2_api import (
+    from google.cloud.logging.v2.config_service_v2_api import (
         ConfigServiceV2Api as GeneratedSinksAPI)
-    from google.logging.v2.logging_service_v2_api import (
+    from google.cloud.logging.v2.logging_service_v2_api import (
         LoggingServiceV2Api as GeneratedLoggingAPI)
-    from google.logging.v2.metrics_service_v2_api import (
+    from google.cloud.logging.v2.metrics_service_v2_api import (
         MetricsServiceV2Api as GeneratedMetricsAPI)
-    from gcloud.logging._gax import _LoggingAPI as GAXLoggingAPI
-    from gcloud.logging._gax import _MetricsAPI as GAXMetricsAPI
-    from gcloud.logging._gax import _SinksAPI as GAXSinksAPI
+    from google.cloud.logging._gax import _LoggingAPI as GAXLoggingAPI
+    from google.cloud.logging._gax import _MetricsAPI as GAXMetricsAPI
+    from google.cloud.logging._gax import _SinksAPI as GAXSinksAPI
 except ImportError:  # pragma: NO COVER
     _HAVE_GAX = False
     GeneratedLoggingAPI = GAXLoggingAPI = None
@@ -133,23 +288,29 @@ 

Source code for gcloud.logging.client

 else:
     _HAVE_GAX = True
 
-from gcloud.client import JSONClient
-from gcloud.logging.connection import Connection
-from gcloud.logging.connection import _LoggingAPI as JSONLoggingAPI
-from gcloud.logging.connection import _MetricsAPI as JSONMetricsAPI
-from gcloud.logging.connection import _SinksAPI as JSONSinksAPI
-from gcloud.logging.entries import ProtobufEntry
-from gcloud.logging.entries import StructEntry
-from gcloud.logging.entries import TextEntry
-from gcloud.logging.logger import Logger
-from gcloud.logging.metric import Metric
-from gcloud.logging.sink import Sink
-
-
-_USE_GAX = _HAVE_GAX and (os.environ.get('GCLOUD_ENABLE_GAX') is not None)
-
-
-
[docs]class Client(JSONClient): +from google.cloud.client import JSONClient +from google.cloud.environment_vars import DISABLE_GRPC +from google.cloud.logging.connection import Connection +from google.cloud.logging.connection import _LoggingAPI as JSONLoggingAPI +from google.cloud.logging.connection import _MetricsAPI as JSONMetricsAPI +from google.cloud.logging.connection import _SinksAPI as JSONSinksAPI +from google.cloud.logging.entries import ProtobufEntry +from google.cloud.logging.entries import StructEntry +from google.cloud.logging.entries import TextEntry +from google.cloud.logging.logger import Logger +from google.cloud.logging.metric import Metric +from google.cloud.logging.sink import Sink + + +_DISABLE_GAX = os.getenv(DISABLE_GRPC, False) +_USE_GAX = _HAVE_GAX and not _DISABLE_GAX +ASCENDING = 'timestamp asc' +"""Query string to order by ascending timestamps.""" +DESCENDING = 'timestamp desc' +"""Query string to order by decending timestamps.""" + + +
[docs]class Client(JSONClient): """Client to bundle configuration needed for API requests. :type project: str @@ -219,13 +380,13 @@

Source code for gcloud.logging.client

                 self._metrics_api = JSONMetricsAPI(self.connection)
         return self._metrics_api
 
-
[docs] def logger(self, name): +
[docs] def logger(self, name): """Creates a logger bound to the current client. :type name: str :param name: the name of the logger to be constructed. - :rtype: :class:`gcloud.logging.logger.Logger` + :rtype: :class:`google.cloud.logging.logger.Logger` :returns: Logger created with the current client. """ return Logger(name, client=self)
@@ -241,9 +402,9 @@

Source code for gcloud.logging.client

                         passed, the entry will have a newly-created logger.
 
         :rtype: One of:
-                :class:`gcloud.logging.entries.TextEntry`,
-                :class:`gcloud.logging.entries.StructEntry`,
-                :class:`gcloud.logging.entries.ProtobufEntry`
+                :class:`google.cloud.logging.entries.TextEntry`,
+                :class:`google.cloud.logging.entries.StructEntry`,
+                :class:`google.cloud.logging.entries.ProtobufEntry`
         :returns: the entry instance, constructed via the resource
         """
         if 'textPayload' in resource:
@@ -254,7 +415,7 @@ 

Source code for gcloud.logging.client

             return ProtobufEntry.from_api_repr(resource, self, loggers)
         raise ValueError('Cannot parse log entry resource')
 
-
[docs] def list_entries(self, projects=None, filter_=None, order_by=None, +
[docs] def list_entries(self, projects=None, filter_=None, order_by=None, page_size=None, page_token=None): """Return a page of log entries. @@ -270,8 +431,8 @@

Source code for gcloud.logging.client

                         https://cloud.google.com/logging/docs/view/advanced_filters
 
         :type order_by: str
-        :param order_by: One of :data:`gcloud.logging.ASCENDING` or
-                         :data:`gcloud.logging.DESCENDING`.
+        :param order_by: One of :data:`~google.cloud.logging.client.ASCENDING`
+                         or :data:`~google.cloud.logging.client.DESCENDING`.
 
         :type page_size: int
         :param page_size: maximum number of entries to return, If not passed,
@@ -283,7 +444,7 @@ 

Source code for gcloud.logging.client

                            entries.
 
         :rtype: tuple, (list, str)
-        :returns: list of :class:`gcloud.logging.entry.TextEntry`, plus a
+        :returns: list of :class:`google.cloud.logging.entry.TextEntry`, plus a
                   "next page token" string:  if not None, indicates that
                   more entries can be retrieved with another call (pass that
                   value as ``page_token``).
@@ -299,7 +460,7 @@ 

Source code for gcloud.logging.client

                    for resource in resources]
         return entries, token
-
[docs] def sink(self, name, filter_=None, destination=None): +
[docs] def sink(self, name, filter_=None, destination=None): """Creates a sink bound to the current client. :type name: str @@ -317,12 +478,12 @@

Source code for gcloud.logging.client

                             already exist, to be refreshed via
                             :meth:`Sink.reload`.
 
-        :rtype: :class:`gcloud.logging.sink.Sink`
+        :rtype: :class:`google.cloud.logging.sink.Sink`
         :returns: Sink created with the current client.
         """
         return Sink(name, filter_, destination, client=self)
-
[docs] def list_sinks(self, page_size=None, page_token=None): +
[docs] def list_sinks(self, page_size=None, page_token=None): """List sinks for the project associated with this client. See: @@ -338,7 +499,7 @@

Source code for gcloud.logging.client

                            sinks.
 
         :rtype: tuple, (list, str)
-        :returns: list of :class:`gcloud.logging.sink.Sink`, plus a
+        :returns: list of :class:`google.cloud.logging.sink.Sink`, plus a
                   "next page token" string:  if not None, indicates that
                   more sinks can be retrieved with another call (pass that
                   value as ``page_token``).
@@ -349,7 +510,7 @@ 

Source code for gcloud.logging.client

                  for resource in resources]
         return sinks, token
-
[docs] def metric(self, name, filter_=None, description=''): +
[docs] def metric(self, name, filter_=None, description=''): """Creates a metric bound to the current client. :type name: str @@ -366,12 +527,12 @@

Source code for gcloud.logging.client

                             If not passed, the instance should already exist,
                             to be refreshed via :meth:`Metric.reload`.
 
-        :rtype: :class:`gcloud.logging.metric.Metric`
+        :rtype: :class:`google.cloud.logging.metric.Metric`
         :returns: Metric created with the current client.
         """
         return Metric(name, filter_, client=self, description=description)
-
[docs] def list_metrics(self, page_size=None, page_token=None): +
[docs] def list_metrics(self, page_size=None, page_token=None): """List metrics for the project associated with this client. See: @@ -387,7 +548,7 @@

Source code for gcloud.logging.client

                            metrics.
 
         :rtype: tuple, (list, str)
-        :returns: list of :class:`gcloud.logging.metric.Metric`, plus a
+        :returns: list of :class:`google.cloud.logging.metric.Metric`, plus a
                   "next page token" string:  if not None, indicates that
                   more metrics can be retrieved with another call (pass that
                   value as ``page_token``).
@@ -399,123 +560,62 @@ 

Source code for gcloud.logging.client

         return metrics, token
-
-
+
+
+ + +
+ +
+

+ © Copyright 2014, Google. - -

+

+
+ Built with Sphinx using a theme provided by Read the Docs. - - - + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + \ No newline at end of file diff --git a/latest/_modules/gcloud/logging/connection.html b/latest/_modules/google/cloud/logging/connection.html similarity index 81% rename from latest/_modules/gcloud/logging/connection.html rename to latest/_modules/google/cloud/logging/connection.html index 0ab60a3db60c..1f3faa26ecb1 100644 --- a/latest/_modules/gcloud/logging/connection.html +++ b/latest/_modules/google/cloud/logging/connection.html @@ -1,102 +1,257 @@ + + + + + + + + + + google.cloud.logging.connection — google-cloud 92219b8 documentation + + + + + - - - - - gcloud.logging.connection — gcloud 47bfd0a documentation - - - - + + + + - - - - - - - - + + + + + + + + + + + + + + + + + + + + + +
+ -
- -
- -
- - - Report an Issue - -
-
+ + +
+ + + + + + +
+
+ + -
+ + + +
+
    +
  • Docs »
  • + +
  • Module code »
  • + +
  • google.cloud.logging.connection
  • +
  • -

    Source code for gcloud.logging.connection

    +          
    +        
    +      
  • +
+
+
+
+
+ +

Source code for google.cloud.logging.connection

 # Copyright 2016 Google Inc. All rights reserved.
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
@@ -113,10 +268,10 @@ 

Source code for gcloud.logging.connection

 
 """Create / interact with Stackdriver Logging connections."""
 
-from gcloud import connection as base_connection
+from google.cloud import connection as base_connection
 
 
-
[docs]class Connection(base_connection.JSONConnection): +
[docs]class Connection(base_connection.JSONConnection): """A connection to Google Stackdriver Logging via the JSON REST API. :type credentials: :class:`oauth2client.client.OAuth2Credentials` @@ -154,7 +309,7 @@

Source code for gcloud.logging.connection

     https://cloud.google.com/logging/docs/api/ref_v2beta1/rest/v2beta1/entries
     https://cloud.google.com/logging/docs/api/ref_v2beta1/rest/v2beta1/projects.logs
 
-    :type connection: :class:`gcloud.logging.connection.Connection`
+    :type connection: :class:`google.cloud.logging.connection.Connection`
     :param connection: the connection used to make API requests.
     """
     def __init__(self, connection):
@@ -176,8 +331,8 @@ 

Source code for gcloud.logging.connection

                         https://cloud.google.com/logging/docs/view/advanced_filters
 
         :type order_by: str
-        :param order_by: One of :data:`gcloud.logging.ASCENDING` or
-                         :data:`gcloud.logging.DESCENDING`.
+        :param order_by: One of :data:`~google.cloud.logging.client.ASCENDING`
+                         or :data:`~google.cloud.logging.client.DESCENDING`.
 
         :type page_size: int
         :param page_size: maximum number of entries to return, If not passed,
@@ -270,7 +425,7 @@ 

Source code for gcloud.logging.connection

     See:
     https://cloud.google.com/logging/docs/api/ref_v2beta1/rest/v2beta1/projects.sinks
 
-    :type connection: :class:`gcloud.logging.connection.Connection`
+    :type connection: :class:`google.cloud.logging.connection.Connection`
     :param connection: the connection used to make API requests.
     """
     def __init__(self, connection):
@@ -409,7 +564,7 @@ 

Source code for gcloud.logging.connection

     See:
     https://cloud.google.com/logging/docs/api/ref_v2beta1/rest/v2beta1/projects.metrics
 
-    :type connection: :class:`gcloud.logging.connection.Connection`
+    :type connection: :class:`google.cloud.logging.connection.Connection`
     :param connection: the connection used to make API requests.
     """
     def __init__(self, connection):
@@ -534,129 +689,68 @@ 

Source code for gcloud.logging.connection

         :param project: ID of the project containing the metric.
 
         :type metric_name: string
-        :param metric_name: the name of the metric
+        :param metric_name: the name of the metric.
         """
         target = '/projects/%s/metrics/%s' % (project, metric_name)
         self._connection.api_request(method='DELETE', path=target)
 
-
-
+
+
+ - - - +
+ + + + + + + + + + + + + + + + + + + + + + + - + + + + \ No newline at end of file diff --git a/latest/_modules/gcloud/logging/entries.html b/latest/_modules/google/cloud/logging/entries.html similarity index 62% rename from latest/_modules/gcloud/logging/entries.html rename to latest/_modules/google/cloud/logging/entries.html index df83e237fd58..674da93894c1 100644 --- a/latest/_modules/gcloud/logging/entries.html +++ b/latest/_modules/google/cloud/logging/entries.html @@ -1,102 +1,257 @@ + + + + + + + + + + google.cloud.logging.entries — google-cloud 92219b8 documentation + + + + + - - - - - gcloud.logging.entries — gcloud 47bfd0a documentation - - - - + + + + - - - - - - - - + + + + + + + + + + + + + + + + + + + + + +
+ -
- -
- -
- - - Report an Issue - -
-
+ + +
+ + + + + + +
+
+ + -
+ + + +
+
    +
  • Docs »
  • + +
  • Module code »
  • + +
  • google.cloud.logging.entries
  • +
  • -

    Source code for gcloud.logging.entries

    +          
    +        
    +      
  • +
+
+
+
+
+ +

Source code for google.cloud.logging.entries

 # Copyright 2016 Google Inc. All rights reserved.
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
@@ -118,8 +273,8 @@ 

Source code for gcloud.logging.entries

 
 from google.protobuf.json_format import Parse
 
-from gcloud._helpers import _name_from_project_path
-from gcloud._helpers import _rfc3339_nanos_to_datetime
+from google.cloud._helpers import _name_from_project_path
+from google.cloud._helpers import _rfc3339_nanos_to_datetime
 
 
 _LOGGER_TEMPLATE = re.compile(r"""
@@ -130,7 +285,7 @@ 

Source code for gcloud.logging.entries

 """, re.VERBOSE)
 
 
-
[docs]def logger_name_from_path(path): +
[docs]def logger_name_from_path(path): """Validate a logger URI path and get the logger name. :type path: str @@ -152,7 +307,7 @@

Source code for gcloud.logging.entries

     :param payload: The payload passed as ``textPayload``, ``jsonPayload``,
                     or ``protoPayload``.
 
-    :type logger: :class:`gcloud.logging.logger.Logger`
+    :type logger: :class:`google.cloud.logging.logger.Logger`
     :param logger: the logger used to write the entry.
 
     :type insert_id: text, or :class:`NoneType`
@@ -189,7 +344,7 @@ 

Source code for gcloud.logging.entries

         :param resource: text entry resource representation returned from
                          the API
 
-        :type client: :class:`gcloud.logging.client.Client`
+        :type client: :class:`google.cloud.logging.client.Client`
         :param client: Client which holds credentials and project
                        configuration.
 
@@ -197,7 +352,7 @@ 

Source code for gcloud.logging.entries

         :param loggers: A mapping of logger fullnames -> loggers.  If not
                         passed, the entry will have a newly-created logger.
 
-        :rtype: :class:`gcloud.logging.entries.TextEntry`
+        :rtype: :class:`google.cloud.logging.entries.TextEntry`
         :returns: Text entry parsed from ``resource``.
         """
         if loggers is None:
@@ -219,7 +374,7 @@ 

Source code for gcloud.logging.entries

                    labels=labels, severity=severity, http_request=http_request)
 
 
-
[docs]class TextEntry(_BaseEntry): +
[docs]class TextEntry(_BaseEntry): """Entry created with ``textPayload``. See: @@ -228,7 +383,7 @@

Source code for gcloud.logging.entries

     _PAYLOAD_KEY = 'textPayload'
-
[docs]class StructEntry(_BaseEntry): +
[docs]class StructEntry(_BaseEntry): """Entry created with ``jsonPayload``. See: @@ -237,7 +392,7 @@

Source code for gcloud.logging.entries

     _PAYLOAD_KEY = 'jsonPayload'
-
[docs]class ProtobufEntry(_BaseEntry): +
[docs]class ProtobufEntry(_BaseEntry): """Entry created with ``protoPayload``. See: @@ -245,7 +400,7 @@

Source code for gcloud.logging.entries

     """
     _PAYLOAD_KEY = 'protoPayload'
 
-
[docs] def parse_message(self, message): +
[docs] def parse_message(self, message): """Parse payload into a protobuf message. Mutates the passed-in ``message`` in place. @@ -256,123 +411,62 @@

Source code for gcloud.logging.entries

         Parse(json.dumps(self.payload), message)
-
-
+
+
+ - - - +
+ + + + + + + + + + + + + + + + + + + + + + + - + + + + \ No newline at end of file diff --git a/latest/_modules/google/cloud/logging/handlers/handlers.html b/latest/_modules/google/cloud/logging/handlers/handlers.html new file mode 100644 index 000000000000..b60fa5c3ef9a --- /dev/null +++ b/latest/_modules/google/cloud/logging/handlers/handlers.html @@ -0,0 +1,448 @@ + + + + + + + + + + + google.cloud.logging.handlers.handlers — google-cloud 92219b8 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + +
+ + + + + + +
+
+ + + + + + +
+
    +
  • Docs »
  • + +
  • Module code »
  • + +
  • google.cloud.logging.handlers.handlers
  • +
  • + + + +
  • +
+
+
+
+
+ +

Source code for google.cloud.logging.handlers.handlers

+# Copyright 2016 Google Inc. All rights reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Python :mod:`logging` handlers for Google Cloud Logging."""
+
+import logging
+
+from google.cloud.logging.handlers.transports import BackgroundThreadTransport
+
+
+EXCLUDE_LOGGER_DEFAULTS = (
+    'google.cloud',
+    'oauth2client'
+)
+
+DEFAULT_LOGGER_NAME = 'python'
+
+
+
[docs]class CloudLoggingHandler(logging.StreamHandler): + """Python standard ``logging`` handler. + + This handler can be used to route Python standard logging messages + directly to the Google Cloud Logging API. + + Note that this handler currently only supports a synchronous API call, + which means each logging statement that uses this handler will require + an API call. + + :type client: :class:`google.cloud.logging.client` + :param client: the authenticated Google Cloud Logging client for this + handler to use + + :type name: str + :param name: the name of the custom log in Stackdriver Logging. Defaults + to 'python'. The name of the Python logger will be represented + in the ``python_logger`` field. + + :type transport: type + :param transport: Class for creating new transport objects. It should + extend from the base :class:`.Transport` type and + implement :meth`.Transport.send`. Defaults to + :class:`.BackgroundThreadTransport`. The other + option is :class:`.SyncTransport`. + + Example: + + .. doctest:: + + import google.cloud.logging + from google.cloud.logging.handlers import CloudLoggingHandler + + client = google.cloud.logging.Client() + handler = CloudLoggingHandler(client) + + cloud_logger = logging.getLogger('cloudLogger') + cloud_logger.setLevel(logging.INFO) + cloud_logger.addHandler(handler) + + cloud.logger.error('bad news') # API call + + """ + + def __init__(self, client, + name=DEFAULT_LOGGER_NAME, + transport=BackgroundThreadTransport): + super(CloudLoggingHandler, self).__init__() + self.name = name + self.client = client + self.transport = transport(client, name) + +
[docs] def emit(self, record): + """Actually log the specified logging record. + + Overrides the default emit behavior of ``StreamHandler``. + + See: https://docs.python.org/2/library/logging.html#handler-objects + + :type record: :class:`logging.LogRecord` + :param record: The record to be logged. + """ + message = super(CloudLoggingHandler, self).format(record) + self.transport.send(record, message)
+ + +
[docs]def setup_logging(handler, excluded_loggers=EXCLUDE_LOGGER_DEFAULTS): + """Attach the ``CloudLogging`` handler to the Python root logger + + Excludes loggers that this library itself uses to avoid + infinite recursion. + + :type handler: :class:`logging.handler` + :param handler: the handler to attach to the global handler + + :type excluded_loggers: tuple + :param excluded_loggers: The loggers to not attach the handler to. This + will always include the loggers in the path of + the logging client itself. + + Example: + + .. doctest:: + + import logging + import google.cloud.logging + from google.cloud.logging.handlers import CloudLoggingHandler + + client = google.cloud.logging.Client() + handler = CloudLoggingHandler(client) + google.cloud.logging.setup_logging(handler) + logging.getLogger().setLevel(logging.DEBUG) + + logging.error('bad news') # API call + + """ + all_excluded_loggers = set(excluded_loggers + EXCLUDE_LOGGER_DEFAULTS) + logger = logging.getLogger() + logger.addHandler(handler) + logger.addHandler(logging.StreamHandler()) + for logger_name in all_excluded_loggers: + logger = logging.getLogger(logger_name) + logger.propagate = False + logger.addHandler(logging.StreamHandler())
+
+ +
+
+ + +
+
+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/latest/_modules/google/cloud/logging/handlers/transports/background_thread.html b/latest/_modules/google/cloud/logging/handlers/transports/background_thread.html new file mode 100644 index 000000000000..46f4ca86d564 --- /dev/null +++ b/latest/_modules/google/cloud/logging/handlers/transports/background_thread.html @@ -0,0 +1,486 @@ + + + + + + + + + + + google.cloud.logging.handlers.transports.background_thread — google-cloud 92219b8 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + +
+ + + + + + +
+
+ + + + + + +
+
    +
  • Docs »
  • + +
  • Module code »
  • + +
  • google.cloud.logging.handlers.transports.background_thread
  • +
  • + + + +
  • +
+
+
+
+
+ +

Source code for google.cloud.logging.handlers.transports.background_thread

+# Copyright 2016 Google Inc. All Rights Reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Transport for Python logging handler
+
+Uses a background worker to log to Stackdriver Logging asynchronously.
+"""
+
+import atexit
+import copy
+import threading
+
+from google.cloud.logging.client import Client
+from google.cloud.logging.handlers.transports.base import Transport
+
+
+class _Worker(object):
+    """A threaded worker that writes batches of log entries
+
+    Writes entries to the logger API.
+
+    This class reuses a single :class:`Batch` method to write successive
+    entries.
+
+    Currently, the only public methods are constructing it (which also starts
+    it) and enqueuing :class:`Logger` (record, message) pairs.
+    """
+
+    def __init__(self, logger):
+        self.started = False
+        self.stopping = False
+        self.stopped = False
+
+        # _entries_condition is used to signal from the main thread whether
+        # there are any waiting queued logger entries to be written
+        self._entries_condition = threading.Condition()
+
+        # _stop_condition is used to signal from the worker thread to the
+        # main thread that it's finished its last entries
+        self._stop_condition = threading.Condition()
+
+        # This object continually reuses the same :class:`Batch` object to
+        # write multiple entries at the same time.
+        self.logger = logger
+        self.batch = self.logger.batch()
+
+        self._thread = None
+
+        # Number in seconds of  how long to wait for worker to send remaining
+        self._stop_timeout = 5
+
+        self._start()
+
+    def _run(self):
+        """The entry point for the worker thread.
+
+        Loops until ``stopping`` is set to :data:`True`, and commits batch
+        entries written during :meth:`enqueue`.
+        """
+        try:
+            self._entries_condition.acquire()
+            self.started = True
+            while not self.stopping:
+                if len(self.batch.entries) == 0:
+                    # branch coverage of this code extremely flaky
+                    self._entries_condition.wait()  # pragma: NO COVER
+
+                if len(self.batch.entries) > 0:
+                    self.batch.commit()
+        finally:
+            self._entries_condition.release()
+
+        # main thread may be waiting for worker thread to finish writing its
+        # final entries. here we signal that it's done.
+        self._stop_condition.acquire()
+        self._stop_condition.notify()
+        self._stop_condition.release()
+
+    def _start(self):
+        """Called by this class's constructor
+
+        This method is responsible for starting the thread and registering
+        the exit handlers.
+        """
+        try:
+            self._entries_condition.acquire()
+            self._thread = threading.Thread(
+                target=self._run,
+                name='google.cloud.logging.handlers.transport.Worker')
+            self._thread.setDaemon(True)
+            self._thread.start()
+        finally:
+            self._entries_condition.release()
+            atexit.register(self._stop)
+
+    def _stop(self):
+        """Signals the worker thread to shut down
+
+        Also waits for ``stop_timeout`` seconds for the worker to finish.
+
+        This method is called by the ``atexit`` handler registered by
+         :meth:`start`.
+        """
+        if not self.started or self.stopping:
+            return
+
+        # lock the stop condition first so that the worker
+        # thread can't notify it's finished before we wait
+        self._stop_condition.acquire()
+
+        # now notify the worker thread to shutdown
+        self._entries_condition.acquire()
+        self.stopping = True
+        self._entries_condition.notify()
+        self._entries_condition.release()
+
+        # now wait for it to signal it's finished
+        self._stop_condition.wait(self._stop_timeout)
+        self._stop_condition.release()
+        self.stopped = True
+
+    def enqueue(self, record, message):
+        """Queues up a log entry to be written by the background thread."""
+        try:
+            self._entries_condition.acquire()
+            if self.stopping:
+                return
+            info = {'message': message, 'python_logger': record.name}
+            self.batch.log_struct(info, severity=record.levelname)
+            self._entries_condition.notify()
+        finally:
+            self._entries_condition.release()
+
+
+
[docs]class BackgroundThreadTransport(Transport): + """Aysnchronous transport that uses a background thread. + + Writes logging entries as a batch process. + """ + + def __init__(self, client, name): + http = copy.deepcopy(client.connection.http) + http = client.connection.credentials.authorize(http) + self.client = Client(client.project, + client.connection.credentials, + http) + logger = self.client.logger(name) + self.worker = _Worker(logger) + +
[docs] def send(self, record, message): + """Overrides Transport.send(). + + :type record: :class:`logging.LogRecord` + :param record: Python log record that the handler was called with. + + :type message: str + :param message: The message from the ``LogRecord`` after being + formatted by the associated log formatters. + """ + self.worker.enqueue(record, message)
+
+ +
+
+ + +
+
+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/latest/_modules/google/cloud/logging/handlers/transports/base.html b/latest/_modules/google/cloud/logging/handlers/transports/base.html new file mode 100644 index 000000000000..6e2458e373fe --- /dev/null +++ b/latest/_modules/google/cloud/logging/handlers/transports/base.html @@ -0,0 +1,350 @@ + + + + + + + + + + + google.cloud.logging.handlers.transports.base — google-cloud 92219b8 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + +
+ + + + + + +
+
+ + + + + + +
+
    +
  • Docs »
  • + +
  • Module code »
  • + +
  • google.cloud.logging.handlers.transports.base
  • +
  • + + + +
  • +
+
+
+
+
+ +

Source code for google.cloud.logging.handlers.transports.base

+# Copyright 2016 Google Inc. All Rights Reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Module containing base class for logging transport."""
+
+
+
[docs]class Transport(object): + """Base class for Google Cloud Logging handler transports. + + Subclasses of :class:`Transport` must have constructors that accept a + client and name object, and must override :meth:`send`. + """ + +
[docs] def send(self, record, message): + """Transport send to be implemented by subclasses. + + :type record: :class:`logging.LogRecord` + :param record: Python log record that the handler was called with. + + :type message: str + :param message: The message from the ``LogRecord`` after being + formatted by the associated log formatters. + """ + raise NotImplementedError
+
+ +
+
+ + +
+
+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/latest/_modules/google/cloud/logging/handlers/transports/sync.html b/latest/_modules/google/cloud/logging/handlers/transports/sync.html new file mode 100644 index 000000000000..4fc8e8c1c246 --- /dev/null +++ b/latest/_modules/google/cloud/logging/handlers/transports/sync.html @@ -0,0 +1,358 @@ + + + + + + + + + + + google.cloud.logging.handlers.transports.sync — google-cloud 92219b8 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + +
+ + + + + + +
+
+ + + + + + +
+
    +
  • Docs »
  • + +
  • Module code »
  • + +
  • google.cloud.logging.handlers.transports.sync
  • +
  • + + + +
  • +
+
+
+
+
+ +

Source code for google.cloud.logging.handlers.transports.sync

+# Copyright 2016 Google Inc. All Rights Reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Transport for Python logging handler.
+
+Logs directly to the the Stackdriver Logging API with a synchronous call.
+"""
+
+from google.cloud.logging.handlers.transports.base import Transport
+
+
+
[docs]class SyncTransport(Transport): + """Basic sychronous transport. + + Uses this library's Logging client to directly make the API call. + """ + + def __init__(self, client, name): + self.logger = client.logger(name) + +
[docs] def send(self, record, message): + """Overrides transport.send(). + + :type record: :class:`logging.LogRecord` + :param record: Python log record that the handler was called with. + + :type message: str + :param message: The message from the ``LogRecord`` after being + formatted by the associated log formatters. + """ + info = {'message': message, 'python_logger': record.name} + self.logger.log_struct(info, severity=record.levelname)
+
+ +
+
+ + +
+
+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/latest/_modules/gcloud/logging/logger.html b/latest/_modules/google/cloud/logging/logger.html similarity index 73% rename from latest/_modules/gcloud/logging/logger.html rename to latest/_modules/google/cloud/logging/logger.html index 593ce295fe4e..92251d3258e3 100644 --- a/latest/_modules/gcloud/logging/logger.html +++ b/latest/_modules/google/cloud/logging/logger.html @@ -1,102 +1,257 @@ + + + + + + + + + + google.cloud.logging.logger — google-cloud 92219b8 documentation + + + + + - - - - - gcloud.logging.logger — gcloud 47bfd0a documentation - - - - + + + + - - - - - - - - + + + + + + + + + + + + + + + + + + + + + +
+ -
- -
- -
- - - Report an Issue - -
-
+ + +
+ + + + + + +
+
+ + + + -
+ +
+
    +
  • Docs »
  • + +
  • Module code »
  • + +
  • google.cloud.logging.logger
  • +
  • + + -

    Source code for gcloud.logging.logger

    +      
  • +
+
+
+
+
+ +

Source code for google.cloud.logging.logger

 # Copyright 2016 Google Inc. All rights reserved.
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
@@ -118,7 +273,7 @@ 

Source code for gcloud.logging.logger

 from google.protobuf.json_format import MessageToJson
 
 
-
[docs]class Logger(object): +
[docs]class Logger(object): """Loggers represent named targets for log entries. See: @@ -127,7 +282,7 @@

Source code for gcloud.logging.logger

     :type name: string
     :param name: the name of the logger
 
-    :type client: :class:`gcloud.logging.client.Client`
+    :type client: :class:`google.cloud.logging.client.Client`
     :param client: A client which holds credentials and project configuration
                    for the logger (which requires a project).
 
@@ -163,21 +318,23 @@ 

Source code for gcloud.logging.logger

     def _require_client(self, client):
         """Check client or verify over-ride.
 
-        :type client: :class:`gcloud.logging.client.Client` or ``NoneType``
+        :type client: :class:`~google.cloud.logging.client.Client` or
+                      ``NoneType``
         :param client: the client to use.  If not passed, falls back to the
                        ``client`` stored on the current logger.
 
-        :rtype: :class:`gcloud.logging.client.Client`
+        :rtype: :class:`google.cloud.logging.client.Client`
         :returns: The client passed in or the currently bound client.
         """
         if client is None:
             client = self._client
         return client
 
-
[docs] def batch(self, client=None): +
[docs] def batch(self, client=None): """Return a batch to use as a context manager. - :type client: :class:`gcloud.logging.client.Client` or ``NoneType`` + :type client: :class:`~google.cloud.logging.client.Client` or + ``NoneType`` :param client: the client to use. If not passed, falls back to the ``client`` stored on the current topic. @@ -254,7 +411,7 @@

Source code for gcloud.logging.logger

 
         return resource
 
-
[docs] def log_text(self, text, client=None, labels=None, insert_id=None, +
[docs] def log_text(self, text, client=None, labels=None, insert_id=None, severity=None, http_request=None): """API call: log a text message via a POST request @@ -264,7 +421,8 @@

Source code for gcloud.logging.logger

         :type text: text
         :param text: the log message.
 
-        :type client: :class:`gcloud.logging.client.Client` or ``NoneType``
+        :type client: :class:`~google.cloud.logging.client.Client` or
+                      ``NoneType``
         :param client: the client to use.  If not passed, falls back to the
                        ``client`` stored on the current logger.
 
@@ -287,7 +445,7 @@ 

Source code for gcloud.logging.logger

             http_request=http_request)
         client.logging_api.write_entries([entry_resource])
-
[docs] def log_struct(self, info, client=None, labels=None, insert_id=None, +
[docs] def log_struct(self, info, client=None, labels=None, insert_id=None, severity=None, http_request=None): """API call: log a structured message via a POST request @@ -297,7 +455,8 @@

Source code for gcloud.logging.logger

         :type info: dict
         :param info: the log entry information
 
-        :type client: :class:`gcloud.logging.client.Client` or ``NoneType``
+        :type client: :class:`~google.cloud.logging.client.Client` or
+                      ``NoneType``
         :param client: the client to use.  If not passed, falls back to the
                        ``client`` stored on the current logger.
 
@@ -312,7 +471,7 @@ 

Source code for gcloud.logging.logger

 
         :type http_request: dict or :class:`NoneType`
         :param http_request: (optional) info about HTTP request associated with
-                             the entry
+                             the entry.
         """
         client = self._require_client(client)
         entry_resource = self._make_entry_resource(
@@ -320,7 +479,7 @@ 

Source code for gcloud.logging.logger

             http_request=http_request)
         client.logging_api.write_entries([entry_resource])
-
[docs] def log_proto(self, message, client=None, labels=None, insert_id=None, +
[docs] def log_proto(self, message, client=None, labels=None, insert_id=None, severity=None, http_request=None): """API call: log a protobuf message via a POST request @@ -330,7 +489,8 @@

Source code for gcloud.logging.logger

         :type message: Protobuf message
         :param message: the message to be logged
 
-        :type client: :class:`gcloud.logging.client.Client` or ``NoneType``
+        :type client: :class:`~google.cloud.logging.client.Client` or
+                      ``NoneType``
         :param client: the client to use.  If not passed, falls back to the
                        ``client`` stored on the current logger.
 
@@ -345,7 +505,7 @@ 

Source code for gcloud.logging.logger

 
         :type http_request: dict or :class:`NoneType`
         :param http_request: (optional) info about HTTP request associated with
-                             the entry
+                             the entry.
         """
         client = self._require_client(client)
         entry_resource = self._make_entry_resource(
@@ -353,20 +513,21 @@ 

Source code for gcloud.logging.logger

             severity=severity, http_request=http_request)
         client.logging_api.write_entries([entry_resource])
-
[docs] def delete(self, client=None): +
[docs] def delete(self, client=None): """API call: delete all entries in a logger via a DELETE request See: https://cloud.google.com/logging/docs/api/ref_v2beta1/rest/v2beta1/projects.logs/delete - :type client: :class:`gcloud.logging.client.Client` or ``NoneType`` + :type client: :class:`~google.cloud.logging.client.Client` or + ``NoneType`` :param client: the client to use. If not passed, falls back to the ``client`` stored on the current logger. """ client = self._require_client(client) client.logging_api.logger_delete(self.project, self.name)
-
[docs] def list_entries(self, projects=None, filter_=None, order_by=None, +
[docs] def list_entries(self, projects=None, filter_=None, order_by=None, page_size=None, page_token=None): """Return a page of log entries. @@ -382,8 +543,8 @@

Source code for gcloud.logging.logger

                         https://cloud.google.com/logging/docs/view/advanced_filters
 
         :type order_by: string
-        :param order_by: One of :data:`gcloud.logging.ASCENDING` or
-                         :data:`gcloud.logging.DESCENDING`.
+        :param order_by: One of :data:`~google.cloud.logging.client.ASCENDING`
+                         or :data:`~google.cloud.logging.client.DESCENDING`.
 
         :type page_size: int
         :param page_size: maximum number of entries to return, If not passed,
@@ -395,7 +556,7 @@ 

Source code for gcloud.logging.logger

                            entries.
 
         :rtype: tuple, (list, str)
-        :returns: list of :class:`gcloud.logging.entry.TextEntry`, plus a
+        :returns: list of :class:`google.cloud.logging.entry.TextEntry`, plus a
                   "next page token" string:  if not None, indicates that
                   more entries can be retrieved with another call (pass that
                   value as ``page_token``).
@@ -410,15 +571,15 @@ 

Source code for gcloud.logging.logger

             page_size=page_size, page_token=page_token)
-
[docs]class Batch(object): +
[docs]class Batch(object): """Context manager: collect entries to log via a single API call. Helper returned by :meth:`Logger.batch` - :type logger: :class:`gcloud.logging.logger.Logger` + :type logger: :class:`google.cloud.logging.logger.Logger` :param logger: the logger to which entries will be logged. - :type client: :class:`gcloud.logging.client.Client` + :type client: :class:`google.cloud.logging.client.Client` :param client: The client to use. """ def __init__(self, logger, client): @@ -433,7 +594,7 @@

Source code for gcloud.logging.logger

         if exc_type is None:
             self.commit()
 
-
[docs] def log_text(self, text, labels=None, insert_id=None, severity=None, +
[docs] def log_text(self, text, labels=None, insert_id=None, severity=None, http_request=None): """Add a text entry to be logged during :meth:`commit`. @@ -456,7 +617,7 @@

Source code for gcloud.logging.logger

         self.entries.append(
             ('text', text, labels, insert_id, severity, http_request))
-
[docs] def log_struct(self, info, labels=None, insert_id=None, severity=None, +
[docs] def log_struct(self, info, labels=None, insert_id=None, severity=None, http_request=None): """Add a struct entry to be logged during :meth:`commit`. @@ -479,7 +640,7 @@

Source code for gcloud.logging.logger

         self.entries.append(
             ('struct', info, labels, insert_id, severity, http_request))
-
[docs] def log_proto(self, message, labels=None, insert_id=None, severity=None, +
[docs] def log_proto(self, message, labels=None, insert_id=None, severity=None, http_request=None): """Add a protobuf entry to be logged during :meth:`commit`. @@ -502,10 +663,11 @@

Source code for gcloud.logging.logger

         self.entries.append(
             ('proto', message, labels, insert_id, severity, http_request))
-
[docs] def commit(self, client=None): +
[docs] def commit(self, client=None): """Send saved log entries as a single API call. - :type client: :class:`gcloud.logging.client.Client` or ``NoneType`` + :type client: :class:`~google.cloud.logging.client.Client` or + ``NoneType`` :param client: the client to use. If not passed, falls back to the ``client`` stored on the current batch. """ @@ -513,7 +675,7 @@

Source code for gcloud.logging.logger

             client = self.client
 
         kwargs = {
-            'logger_name': self.logger.path,
+            'logger_name': self.logger.full_name,
             'resource': {'type': 'global'},
         }
         if self.logger.labels is not None:
@@ -545,123 +707,62 @@ 

Source code for gcloud.logging.logger

         del self.entries[:]
-
-
+
+
+ + +
+ +
+

+ © Copyright 2014, Google. - -

+

+
+ Built with Sphinx using a theme provided by Read the Docs. - - - + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + \ No newline at end of file diff --git a/latest/_modules/gcloud/logging/metric.html b/latest/_modules/google/cloud/logging/metric.html similarity index 61% rename from latest/_modules/gcloud/logging/metric.html rename to latest/_modules/google/cloud/logging/metric.html index 262340ae93ff..0ae3d021185b 100644 --- a/latest/_modules/gcloud/logging/metric.html +++ b/latest/_modules/google/cloud/logging/metric.html @@ -1,102 +1,257 @@ + + + + + + + + + + google.cloud.logging.metric — google-cloud 92219b8 documentation + + + + + - - - - - gcloud.logging.metric — gcloud 47bfd0a documentation - - - - + + + + - - - - - - - - + + + + + + + + + + + + + + + + + + + + + +
+ -
- -
- -
- - - Report an Issue - -
-
+ + +
+ + + + + + +
+
+ + -
+ + + +
+
    +
  • Docs »
  • + +
  • Module code »
  • + +
  • google.cloud.logging.metric
  • +
  • -

    Source code for gcloud.logging.metric

    +          
    +        
    +      
  • +
+
+
+
+
+ +

Source code for google.cloud.logging.metric

 # Copyright 2016 Google Inc. All rights reserved.
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
@@ -113,10 +268,10 @@ 

Source code for gcloud.logging.metric

 
 """Define Stackdriver Logging API Metrics."""
 
-from gcloud.exceptions import NotFound
+from google.cloud.exceptions import NotFound
 
 
-
[docs]class Metric(object): +
[docs]class Metric(object): """Metrics represent named filters for log entries. See: @@ -130,7 +285,7 @@

Source code for gcloud.logging.metric

                    tracked by the metric.  If not passed, the instance should
                    already exist, to be refreshed via :meth:`reload`.
 
-    :type client: :class:`gcloud.logging.client.Client`
+    :type client: :class:`google.cloud.logging.client.Client`
     :param client: A client which holds credentials and project configuration
                    for the metric (which requires a project).
 
@@ -164,17 +319,17 @@ 

Source code for gcloud.logging.metric

         return '/%s' % (self.full_name,)
 
     @classmethod
-
[docs] def from_api_repr(cls, resource, client): +
[docs] def from_api_repr(cls, resource, client): """Factory: construct a metric given its API representation :type resource: dict :param resource: metric resource representation returned from the API - :type client: :class:`gcloud.logging.client.Client` + :type client: :class:`google.cloud.logging.client.Client` :param client: Client which holds credentials and project configuration for the metric. - :rtype: :class:`gcloud.logging.metric.Metric` + :rtype: :class:`google.cloud.logging.metric.Metric` :returns: Metric parsed from ``resource``. """ metric_name = resource['name'] @@ -186,24 +341,26 @@

Source code for gcloud.logging.metric

     def _require_client(self, client):
         """Check client or verify over-ride.
 
-        :type client: :class:`gcloud.logging.client.Client` or ``NoneType``
+        :type client: :class:`~google.cloud.logging.client.Client` or
+                      ``NoneType``
         :param client: the client to use.  If not passed, falls back to the
                        ``client`` stored on the current metric.
 
-        :rtype: :class:`gcloud.logging.client.Client`
+        :rtype: :class:`google.cloud.logging.client.Client`
         :returns: The client passed in or the currently bound client.
         """
         if client is None:
             client = self._client
         return client
 
-
[docs] def create(self, client=None): +
[docs] def create(self, client=None): """API call: create the metric via a PUT request See: https://cloud.google.com/logging/docs/api/ref_v2beta1/rest/v2beta1/projects.metrics/create - :type client: :class:`gcloud.logging.client.Client` or ``NoneType`` + :type client: :class:`~google.cloud.logging.client.Client` or + ``NoneType`` :param client: the client to use. If not passed, falls back to the ``client`` stored on the current metric. """ @@ -211,13 +368,14 @@

Source code for gcloud.logging.metric

         client.metrics_api.metric_create(
             self.project, self.name, self.filter_, self.description)
-
[docs] def exists(self, client=None): +
[docs] def exists(self, client=None): """API call: test for the existence of the metric via a GET request See https://cloud.google.com/logging/docs/api/ref_v2beta1/rest/v2beta1/projects.metrics/get - :type client: :class:`gcloud.logging.client.Client` or ``NoneType`` + :type client: :class:`~google.cloud.logging.client.Client` or + ``NoneType`` :param client: the client to use. If not passed, falls back to the ``client`` stored on the current metric. @@ -233,13 +391,14 @@

Source code for gcloud.logging.metric

         else:
             return True
-
[docs] def reload(self, client=None): +
[docs] def reload(self, client=None): """API call: sync local metric configuration via a GET request See https://cloud.google.com/logging/docs/api/ref_v2beta1/rest/v2beta1/projects.metrics/get - :type client: :class:`gcloud.logging.client.Client` or ``NoneType`` + :type client: :class:`~google.cloud.logging.client.Client` or + ``NoneType`` :param client: the client to use. If not passed, falls back to the ``client`` stored on the current metric. """ @@ -248,13 +407,14 @@

Source code for gcloud.logging.metric

         self.description = data.get('description', '')
         self.filter_ = data['filter']
-
[docs] def update(self, client=None): +
[docs] def update(self, client=None): """API call: update metric configuration via a PUT request See https://cloud.google.com/logging/docs/api/ref_v2beta1/rest/v2beta1/projects.metrics/update - :type client: :class:`gcloud.logging.client.Client` or ``NoneType`` + :type client: :class:`~google.cloud.logging.client.Client` or + ``NoneType`` :param client: the client to use. If not passed, falls back to the ``client`` stored on the current metric. """ @@ -262,13 +422,14 @@

Source code for gcloud.logging.metric

         client.metrics_api.metric_update(
             self.project, self.name, self.filter_, self.description)
-
[docs] def delete(self, client=None): +
[docs] def delete(self, client=None): """API call: delete a metric via a DELETE request See https://cloud.google.com/logging/docs/api/ref_v2beta1/rest/v2beta1/projects.metrics/delete - :type client: :class:`gcloud.logging.client.Client` or ``NoneType`` + :type client: :class:`~google.cloud.logging.client.Client` or + ``NoneType`` :param client: the client to use. If not passed, falls back to the ``client`` stored on the current metric. """ @@ -276,123 +437,62 @@

Source code for gcloud.logging.metric

         client.metrics_api.metric_delete(self.project, self.name)
-
-
+
+
+ - - - +
+ + + + + + + + + + + + + + + + + + + + + + + - + + + + \ No newline at end of file diff --git a/latest/_modules/gcloud/logging/sink.html b/latest/_modules/google/cloud/logging/sink.html similarity index 62% rename from latest/_modules/gcloud/logging/sink.html rename to latest/_modules/google/cloud/logging/sink.html index 33ac493a6ebc..bba4b01e445e 100644 --- a/latest/_modules/gcloud/logging/sink.html +++ b/latest/_modules/google/cloud/logging/sink.html @@ -1,102 +1,257 @@ + + + + + + + + + + google.cloud.logging.sink — google-cloud 92219b8 documentation + + + + + - - - - - gcloud.logging.sink — gcloud 47bfd0a documentation - - - - + + + + - - - - - - - - + + + + + + + + + + + + + + + + + + + + + +
+ -
- -
- -
- - - Report an Issue - -
-
+ + +
+ + + + + + +
+
+ + -
+ + + +
+
    +
  • Docs »
  • + +
  • Module code »
  • + +
  • google.cloud.logging.sink
  • +
  • -

    Source code for gcloud.logging.sink

    +          
    +        
    +      
  • +
+
+
+
+
+ +

Source code for google.cloud.logging.sink

 # Copyright 2016 Google Inc. All rights reserved.
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
@@ -113,10 +268,10 @@ 

Source code for gcloud.logging.sink

 
 """Define Stackdriver Logging API Sinks."""
 
-from gcloud.exceptions import NotFound
+from google.cloud.exceptions import NotFound
 
 
-
[docs]class Sink(object): +
[docs]class Sink(object): """Sinks represent filtered exports for log entries. See: @@ -135,7 +290,7 @@

Source code for gcloud.logging.sink

                         If not passed, the instance should already exist, to
                         be refreshed via :meth:`reload`.
 
-    :type client: :class:`gcloud.logging.client.Client`
+    :type client: :class:`google.cloud.logging.client.Client`
     :param client: A client which holds credentials and project configuration
                    for the sink (which requires a project).
     """
@@ -166,17 +321,17 @@ 

Source code for gcloud.logging.sink

         return '/%s' % (self.full_name)
 
     @classmethod
-
[docs] def from_api_repr(cls, resource, client): +
[docs] def from_api_repr(cls, resource, client): """Factory: construct a sink given its API representation :type resource: dict :param resource: sink resource representation returned from the API - :type client: :class:`gcloud.logging.client.Client` + :type client: :class:`google.cloud.logging.client.Client` :param client: Client which holds credentials and project configuration for the sink. - :rtype: :class:`gcloud.logging.sink.Sink` + :rtype: :class:`google.cloud.logging.sink.Sink` :returns: Sink parsed from ``resource``. :raises: :class:`ValueError` if ``client`` is not ``None`` and the project from the resource does not agree with the project @@ -190,24 +345,26 @@

Source code for gcloud.logging.sink

     def _require_client(self, client):
         """Check client or verify over-ride.
 
-        :type client: :class:`gcloud.logging.client.Client` or ``NoneType``
+        :type client: :class:`~google.cloud.logging.client.Client` or
+                      ``NoneType``
         :param client: the client to use.  If not passed, falls back to the
                        ``client`` stored on the current sink.
 
-        :rtype: :class:`gcloud.logging.client.Client`
+        :rtype: :class:`google.cloud.logging.client.Client`
         :returns: The client passed in or the currently bound client.
         """
         if client is None:
             client = self._client
         return client
 
-
[docs] def create(self, client=None): +
[docs] def create(self, client=None): """API call: create the sink via a PUT request See: https://cloud.google.com/logging/docs/api/ref_v2beta1/rest/v2beta1/projects.sinks/create - :type client: :class:`gcloud.logging.client.Client` or ``NoneType`` + :type client: :class:`~google.cloud.logging.client.Client` or + ``NoneType`` :param client: the client to use. If not passed, falls back to the ``client`` stored on the current sink. """ @@ -215,13 +372,14 @@

Source code for gcloud.logging.sink

         client.sinks_api.sink_create(
             self.project, self.name, self.filter_, self.destination)
-
[docs] def exists(self, client=None): +
[docs] def exists(self, client=None): """API call: test for the existence of the sink via a GET request See https://cloud.google.com/logging/docs/api/ref_v2beta1/rest/v2beta1/projects.sinks/get - :type client: :class:`gcloud.logging.client.Client` or ``NoneType`` + :type client: :class:`~google.cloud.logging.client.Client` or + ``NoneType`` :param client: the client to use. If not passed, falls back to the ``client`` stored on the current sink. @@ -237,13 +395,14 @@

Source code for gcloud.logging.sink

         else:
             return True
-
[docs] def reload(self, client=None): +
[docs] def reload(self, client=None): """API call: sync local sink configuration via a GET request See https://cloud.google.com/logging/docs/api/ref_v2beta1/rest/v2beta1/projects.sinks/get - :type client: :class:`gcloud.logging.client.Client` or ``NoneType`` + :type client: :class:`~google.cloud.logging.client.Client` or + ``NoneType`` :param client: the client to use. If not passed, falls back to the ``client`` stored on the current sink. """ @@ -252,13 +411,14 @@

Source code for gcloud.logging.sink

         self.filter_ = data['filter']
         self.destination = data['destination']
-
[docs] def update(self, client=None): +
[docs] def update(self, client=None): """API call: update sink configuration via a PUT request See https://cloud.google.com/logging/docs/api/ref_v2beta1/rest/v2beta1/projects.sinks/update - :type client: :class:`gcloud.logging.client.Client` or ``NoneType`` + :type client: :class:`~google.cloud.logging.client.Client` or + ``NoneType`` :param client: the client to use. If not passed, falls back to the ``client`` stored on the current sink. """ @@ -266,13 +426,14 @@

Source code for gcloud.logging.sink

         client.sinks_api.sink_update(
             self.project, self.name, self.filter_, self.destination)
-
[docs] def delete(self, client=None): +
[docs] def delete(self, client=None): """API call: delete a sink via a DELETE request See https://cloud.google.com/logging/docs/api/ref_v2beta1/rest/v2beta1/projects.sinks/delete - :type client: :class:`gcloud.logging.client.Client` or ``NoneType`` + :type client: :class:`~google.cloud.logging.client.Client` or + ``NoneType`` :param client: the client to use. If not passed, falls back to the ``client`` stored on the current sink. """ @@ -280,123 +441,62 @@

Source code for gcloud.logging.sink

         client.sinks_api.sink_delete(self.project, self.name)
-
-
+
+
+ - - - +
+ + + + + + + + + + + + + + + + + + + + + + + - + + + + \ No newline at end of file diff --git a/latest/_modules/google/cloud/monitoring/client.html b/latest/_modules/google/cloud/monitoring/client.html new file mode 100644 index 000000000000..3d06ae7210e6 --- /dev/null +++ b/latest/_modules/google/cloud/monitoring/client.html @@ -0,0 +1,812 @@ + + + + + + + + + + + google.cloud.monitoring.client — google-cloud 92219b8 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + +
+ + + + + + +
+
+ + + + + + +
+
    +
  • Docs »
  • + +
  • Module code »
  • + +
  • google.cloud.monitoring.client
  • +
  • + + + +
  • +
+
+
+
+
+ +

Source code for google.cloud.monitoring.client

+# Copyright 2016 Google Inc. All rights reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Client for interacting with the `Google Stackdriver Monitoring API (V3)`_.
+
+Example::
+
+    >>> from google.cloud import monitoring
+    >>> client = monitoring.Client()
+    >>> query = client.query(minutes=5)
+    >>> print(query.as_dataframe())  # Requires pandas.
+
+At present, the client supports querying of time series, metric descriptors,
+and monitored resource descriptors.
+
+.. _Google Stackdriver Monitoring API (V3):
+    https://cloud.google.com/monitoring/api/v3/
+"""
+
+import datetime
+
+from google.cloud.client import JSONClient
+from google.cloud.monitoring.connection import Connection
+from google.cloud.monitoring.group import Group
+from google.cloud.monitoring.metric import Metric
+from google.cloud.monitoring.metric import MetricDescriptor
+from google.cloud.monitoring.metric import MetricKind
+from google.cloud.monitoring.metric import ValueType
+from google.cloud.monitoring.query import Query
+from google.cloud.monitoring.resource import Resource
+from google.cloud.monitoring.resource import ResourceDescriptor
+from google.cloud.monitoring.timeseries import Point
+from google.cloud.monitoring.timeseries import TimeSeries
+
+_UTCNOW = datetime.datetime.utcnow  # To be replaced by tests.
+
+
+
[docs]class Client(JSONClient): + """Client to bundle configuration needed for API requests. + + :type project: string + :param project: The target project. If not passed, falls back to the + default inferred from the environment. + + :type credentials: :class:`oauth2client.client.OAuth2Credentials` or + :class:`NoneType` + :param credentials: The OAuth2 Credentials to use for the connection + owned by this client. If not passed (and if no ``http`` + object is passed), falls back to the default inferred + from the environment. + + :type http: :class:`httplib2.Http` or class that defines ``request()`` + :param http: An optional HTTP object to make requests. If not passed, an + ``http`` object is created that is bound to the + ``credentials`` for the current object. + """ + + _connection_class = Connection + +
[docs] def query(self, + metric_type=Query.DEFAULT_METRIC_TYPE, + end_time=None, + days=0, hours=0, minutes=0): + """Construct a query object for retrieving metric data. + + Example:: + + >>> query = client.query(minutes=5) + >>> print(query.as_dataframe()) # Requires pandas. + + :type metric_type: string + :param metric_type: The metric type name. The default value is + :data:`Query.DEFAULT_METRIC_TYPE + <google.cloud.monitoring.query.Query.DEFAULT_METRIC_TYPE>`, + but please note that this default value is provided only for + demonstration purposes and is subject to change. See the + `supported metrics`_. + + :type end_time: :class:`datetime.datetime` or None + :param end_time: The end time (inclusive) of the time interval + for which results should be returned, as a datetime object. + The default is the start of the current minute. + + The start time (exclusive) is determined by combining the + values of ``days``, ``hours``, and ``minutes``, and + subtracting the resulting duration from the end time. + + It is also allowed to omit the end time and duration here, + in which case + :meth:`~google.cloud.monitoring.query.Query.select_interval` + must be called before the query is executed. + + :type days: integer + :param days: The number of days in the time interval. + + :type hours: integer + :param hours: The number of hours in the time interval. + + :type minutes: integer + :param minutes: The number of minutes in the time interval. + + :rtype: :class:`~google.cloud.monitoring.query.Query` + :returns: The query object. + + :raises: :exc:`ValueError` if ``end_time`` is specified but + ``days``, ``hours``, and ``minutes`` are all zero. + If you really want to specify a point in time, use + :meth:`~google.cloud.monitoring.query.Query.select_interval`. + + .. _supported metrics: https://cloud.google.com/monitoring/api/metrics + """ + return Query(self, metric_type, + end_time=end_time, + days=days, hours=hours, minutes=minutes)
+ +
[docs] def metric_descriptor(self, type_, + metric_kind=MetricKind.METRIC_KIND_UNSPECIFIED, + value_type=ValueType.VALUE_TYPE_UNSPECIFIED, + labels=(), unit='', description='', display_name=''): + """Construct a metric descriptor object. + + Metric descriptors specify the schema for a particular metric type. + + This factory method is used most often in conjunction with the metric + descriptor + :meth:`~google.cloud.monitoring.metric.MetricDescriptor.create` + method to define custom metrics:: + + >>> descriptor = client.metric_descriptor( + ... 'custom.googleapis.com/my_metric', + ... metric_kind=MetricKind.GAUGE, + ... value_type=ValueType.DOUBLE, + ... description='This is a simple example of a custom metric.') + >>> descriptor.create() + + Here is an example where the custom metric is parameterized by a + metric label:: + + >>> label = LabelDescriptor('response_code', LabelValueType.INT64, + ... description='HTTP status code') + >>> descriptor = client.metric_descriptor( + ... 'custom.googleapis.com/my_app/response_count', + ... metric_kind=MetricKind.CUMULATIVE, + ... value_type=ValueType.INT64, + ... labels=[label], + ... description='Cumulative count of HTTP responses.') + >>> descriptor.create() + + :type type_: string + :param type_: + The metric type including a DNS name prefix. For example: + ``"custom.googleapis.com/my_metric"`` + + :type metric_kind: string + :param metric_kind: + The kind of measurement. It must be one of + :data:`MetricKind.GAUGE`, :data:`MetricKind.DELTA`, + or :data:`MetricKind.CUMULATIVE`. + See :class:`~google.cloud.monitoring.metric.MetricKind`. + + :type value_type: string + :param value_type: + The value type of the metric. It must be one of + :data:`ValueType.BOOL`, :data:`ValueType.INT64`, + :data:`ValueType.DOUBLE`, :data:`ValueType.STRING`, + or :data:`ValueType.DISTRIBUTION`. + See :class:`ValueType`. + + :type labels: + list of :class:`~google.cloud.monitoring.label.LabelDescriptor` + :param labels: + A sequence of zero or more label descriptors specifying the labels + used to identify a specific instance of this metric. + + :type unit: string + :param unit: An optional unit in which the metric value is reported. + + :type description: string + :param description: An optional detailed description of the metric. + + :type display_name: string + :param display_name: An optional concise name for the metric. + + :rtype: :class:`MetricDescriptor` + :returns: The metric descriptor created with the passed-in arguments. + """ + return MetricDescriptor( + self, type_, + metric_kind=metric_kind, + value_type=value_type, + labels=labels, + unit=unit, + description=description, + display_name=display_name, + )
+ + @staticmethod +
[docs] def metric(type_, labels): + """Factory for constructing metric objects. + + :class:`~google.cloud.monitoring.metric.Metric` objects are typically + created to write custom metric values. The type should match the + metric type specified in the + :class:`~google.cloud.monitoring.metric.MetricDescriptor` used to + create the custom metric:: + + >>> metric = client.metric('custom.googleapis.com/my_metric', + ... labels={ + ... 'status': 'successful', + ... }) + + :type type_: string + :param type_: The metric type name. + + :type labels: dict + :param labels: A mapping from label names to values for all labels + enumerated in the associated + :class:`~google.cloud.monitoring.metric.MetricDescriptor`. + + :rtype: :class:`~google.cloud.monitoring.metric.Metric` + :returns: The metric object. + """ + return Metric(type=type_, labels=labels)
+ + @staticmethod +
[docs] def resource(type_, labels): + """Factory for constructing monitored resource objects. + + A monitored resource object ( + :class:`~google.cloud.monitoring.resource.Resource`) is + typically used to create a + :class:`~google.cloud.monitoring.timeseries.TimeSeries` object. + + For a list of possible monitored resource types and their associated + labels, see: + + https://cloud.google.com/monitoring/api/resources + + :type type_: string + :param type_: The monitored resource type name. + + :type labels: dict + :param labels: A mapping from label names to values for all labels + enumerated in the associated + :class:`~google.cloud.monitoring.resource.ResourceDescriptor`, + except that ``project_id`` can and should be omitted + when writing time series data. + + :rtype: :class:`~google.cloud.monitoring.resource.Resource` + :returns: A monitored resource object. + """ + return Resource(type_, labels)
+ + @staticmethod +
[docs] def time_series(metric, resource, value, + end_time=None, start_time=None): + """Construct a time series object for a single data point. + + .. note:: + + While :class:`~google.cloud.monitoring.timeseries.TimeSeries` + objects returned by the API typically have multiple data points, + :class:`~google.cloud.monitoring.timeseries.TimeSeries` objects + sent to the API must have at most one point. + + For example:: + + >>> timeseries = client.time_series(metric, resource, 1.23, + ... end_time=end) + + For more information, see: + + https://cloud.google.com/monitoring/api/ref_v3/rest/v3/TimeSeries + + :type metric: :class:`~google.cloud.monitoring.metric.Metric` + :param metric: A :class:`~google.cloud.monitoring.metric.Metric`. + + :type resource: :class:`~google.cloud.monitoring.resource.Resource` + :param resource: A :class:`~google.cloud.monitoring.resource.Resource` + object. + + :type value: bool, int, string, or float + :param value: + The value of the data point to create for the + :class:`~google.cloud.monitoring.timeseries.TimeSeries`. + + .. note:: + + The Python type of the value will determine the + :class:`~ValueType` sent to the API, which must match the value + type specified in the metric descriptor. For example, a Python + float will be sent to the API as a :data:`ValueType.DOUBLE`. + + :type end_time: :class:`~datetime.datetime` + :param end_time: + The end time for the point to be included in the time series. + Assumed to be UTC if no time zone information is present. + Defaults to the current time, as obtained by calling + :meth:`datetime.datetime.utcnow`. + + :type start_time: :class:`~datetime.datetime` + :param start_time: + The start time for the point to be included in the time series. + Assumed to be UTC if no time zone information is present + Defaults to None. If the start time is unspecified, + the API interprets the start time to be the same as the end time. + + :rtype: :class:`~google.cloud.monitoring.timeseries.TimeSeries` + :returns: A time series object. + """ + if end_time is None: + end_time = _UTCNOW() + point = Point(value=value, start_time=start_time, end_time=end_time) + return TimeSeries(metric=metric, resource=resource, metric_kind=None, + value_type=None, points=[point])
+ +
[docs] def fetch_metric_descriptor(self, metric_type): + """Look up a metric descriptor by type. + + Example:: + + >>> METRIC = 'compute.googleapis.com/instance/cpu/utilization' + >>> print(client.fetch_metric_descriptor(METRIC)) + + :type metric_type: string + :param metric_type: The metric type name. + + :rtype: :class:`~google.cloud.monitoring.metric.MetricDescriptor` + :returns: The metric descriptor instance. + + :raises: :class:`google.cloud.exceptions.NotFound` if the metric + descriptor is not found. + """ + return MetricDescriptor._fetch(self, metric_type)
+ +
[docs] def list_metric_descriptors(self, filter_string=None, type_prefix=None): + """List all metric descriptors for the project. + + Examples:: + + >>> for descriptor in client.list_metric_descriptors(): + ... print(descriptor.type) + + >>> for descriptor in client.list_metric_descriptors( + ... type_prefix='custom.'): + ... print(descriptor.type) + + :type filter_string: string or None + :param filter_string: + An optional filter expression describing the metric descriptors + to be returned. See the `filter documentation`_. + + :type type_prefix: string or None + :param type_prefix: An optional prefix constraining the selected + metric types. This adds ``metric.type = starts_with("<prefix>")`` + to the filter. + + :rtype: + list of :class:`~google.cloud.monitoring.metric.MetricDescriptor` + :returns: A list of metric descriptor instances. + + .. _filter documentation: + https://cloud.google.com/monitoring/api/v3/filters + """ + return MetricDescriptor._list(self, filter_string, + type_prefix=type_prefix)
+ +
[docs] def fetch_resource_descriptor(self, resource_type): + """Look up a monitored resource descriptor by type. + + Example:: + + >>> print(client.fetch_resource_descriptor('gce_instance')) + + :type resource_type: string + :param resource_type: The resource type name. + + :rtype: :class:`~google.cloud.monitoring.resource.ResourceDescriptor` + :returns: The resource descriptor instance. + + :raises: :class:`google.cloud.exceptions.NotFound` if the resource + descriptor is not found. + """ + return ResourceDescriptor._fetch(self, resource_type)
+ +
[docs] def list_resource_descriptors(self, filter_string=None): + """List all monitored resource descriptors for the project. + + Example:: + + >>> for descriptor in client.list_resource_descriptors(): + ... print(descriptor.type) + + :type filter_string: string or None + :param filter_string: + An optional filter expression describing the resource descriptors + to be returned. See the `filter documentation`_. + + :rtype: list of + :class:`~google.cloud.monitoring.resource.ResourceDescriptor` + :returns: A list of resource descriptor instances. + + .. _filter documentation: + https://cloud.google.com/monitoring/api/v3/filters + """ + return ResourceDescriptor._list(self, filter_string)
+ +
[docs] def group(self, group_id=None, display_name=None, parent_id=None, + filter_string=None, is_cluster=False): + """Factory constructor for group object. + + .. note:: + This will not make an HTTP request; it simply instantiates + a group object owned by this client. + + :type group_id: string or None + :param group_id: The ID of the group. + + :type display_name: string or None + :param display_name: + A user-assigned name for this group, used only for display + purposes. + + :type parent_id: string or None + :param parent_id: + The ID of the group's parent, if it has one. + + :type filter_string: string or None + :param filter_string: + The filter string used to determine which monitored resources + belong to this group. + + :type is_cluster: boolean + :param is_cluster: + If true, the members of this group are considered to be a cluster. + The system can perform additional analysis on groups that are + clusters. + + :rtype: :class:`Group` + :returns: The group created with the passed-in arguments. + + :raises: + :exc:`ValueError` if both ``group_id`` and ``name`` are specified. + """ + return Group( + self, + group_id=group_id, + display_name=display_name, + parent_id=parent_id, + filter_string=filter_string, + is_cluster=is_cluster, + )
+ +
[docs] def fetch_group(self, group_id): + """Fetch a group from the API based on it's ID. + + Example:: + + >>> try: + >>> group = client.fetch_group('1234') + >>> except google.cloud.exceptions.NotFound: + >>> print('That group does not exist!') + + :type group_id: string + :param group_id: The ID of the group. + + :rtype: :class:`~google.cloud.monitoring.group.Group` + :returns: The group instance. + + :raises: :class:`google.cloud.exceptions.NotFound` if the group + is not found. + """ + return Group._fetch(self, group_id)
+ +
[docs] def list_groups(self): + """List all groups for the project. + + Example:: + + >>> for group in client.list_groups(): + ... print((group.display_name, group.name)) + + :rtype: list of :class:`~google.cloud.monitoring.group.Group` + :returns: A list of group instances. + """ + return Group._list(self)
+
+ +
+
+ + +
+
+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/latest/_modules/google/cloud/monitoring/connection.html b/latest/_modules/google/cloud/monitoring/connection.html new file mode 100644 index 000000000000..18a392964e07 --- /dev/null +++ b/latest/_modules/google/cloud/monitoring/connection.html @@ -0,0 +1,362 @@ + + + + + + + + + + + google.cloud.monitoring.connection — google-cloud 92219b8 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + +
+ + + + + + +
+
+ + + + + + +
+
    +
  • Docs »
  • + +
  • Module code »
  • + +
  • google.cloud.monitoring.connection
  • +
  • + + + +
  • +
+
+
+
+
+ +

Source code for google.cloud.monitoring.connection

+# Copyright 2016 Google Inc. All rights reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Create / interact with Stackdriver Monitoring connections."""
+
+from google.cloud import connection as base_connection
+
+
+
[docs]class Connection(base_connection.JSONConnection): + """A connection to Google Stackdriver Monitoring via the JSON REST API. + + :type credentials: :class:`oauth2client.client.OAuth2Credentials` + :param credentials: (Optional) The OAuth2 Credentials to use for this + connection. + + :type http: :class:`httplib2.Http` or class that defines ``request()`` + :param http: (Optional) HTTP object to make requests. + + :type api_base_url: string + :param api_base_url: The base of the API call URL. Defaults to the value + :attr:`Connection.API_BASE_URL`. + """ + + API_BASE_URL = 'https://monitoring.googleapis.com' + """The base of the API call URL.""" + + API_VERSION = 'v3' + """The version of the API, used in building the API call's URL.""" + + API_URL_TEMPLATE = '{api_base_url}/{api_version}{path}' + """A template for the URL of a particular API call.""" + + SCOPE = ('https://www.googleapis.com/auth/monitoring.read', + 'https://www.googleapis.com/auth/monitoring', + 'https://www.googleapis.com/auth/cloud-platform') + """The scopes required for authenticating as a Monitoring consumer."""
+
+ +
+
+ + +
+
+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/latest/_modules/google/cloud/monitoring/group.html b/latest/_modules/google/cloud/monitoring/group.html new file mode 100644 index 000000000000..84b902c46148 --- /dev/null +++ b/latest/_modules/google/cloud/monitoring/group.html @@ -0,0 +1,811 @@ + + + + + + + + + + + google.cloud.monitoring.group — google-cloud 92219b8 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + +
+ + + + + + +
+
+ + + + + + +
+
    +
  • Docs »
  • + +
  • Module code »
  • + +
  • google.cloud.monitoring.group
  • +
  • + + + +
  • +
+
+
+
+
+ +

Source code for google.cloud.monitoring.group

+# Copyright 2016 Google Inc. All rights reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Groups for the `Google Stackdriver Monitoring API (V3)`_.
+
+.. _Google Stackdriver Monitoring API (V3):
+    https://cloud.google.com/monitoring/api/ref_v3/rest/v3/\
+    projects.groups
+"""
+
+import re
+
+from google.cloud._helpers import _datetime_to_rfc3339
+from google.cloud._helpers import _name_from_project_path
+from google.cloud.exceptions import NotFound
+from google.cloud.monitoring.resource import Resource
+
+
+_GROUP_TEMPLATE = re.compile(r"""
+    projects/            # static prefix
+    (?P<project>[^/]+)   # initial letter, wordchars + hyphen
+    /groups/             # static midfix
+    (?P<name>[^/]+)      # initial letter, wordchars + allowed punc
+""", re.VERBOSE)
+
+
+def _group_id_from_name(path, project=None):
+    """Validate a group URI path and get the group ID.
+
+    :type path: string
+    :param path: URI path for a group API request.
+
+    :type project: string or None
+    :param project: The project associated with the request. It is
+                    included for validation purposes.
+
+    :rtype: string
+    :returns: Group ID parsed from ``path``.
+    :raises: :class:`ValueError` if the ``path`` is ill-formed or if
+             the project from the ``path`` does not agree with the
+             ``project`` passed in.
+    """
+    return _name_from_project_path(path, project, _GROUP_TEMPLATE)
+
+
+def _group_name_from_id(project, group_id):
+    """Build the group name given the project and group ID.
+
+    :type project: string
+    :param project: The project associated with the group.
+
+    :type group_id: string
+    :param group_id: The group ID.
+
+    :rtype: string
+    :returns: The fully qualified name of the group.
+    """
+    return 'projects/{project}/groups/{group_id}'.format(
+        project=project, group_id=group_id)
+
+
+
[docs]class Group(object): + """A dynamic collection of monitored resources. + + :type client: :class:`google.cloud.monitoring.client.Client` + :param client: A client for operating on the metric descriptor. + + :type group_id: string or None + :param group_id: The ID of the group. + + :type display_name: string or None + :param display_name: + A user-assigned name for this group, used only for display purposes. + + :type parent_id: string or None + :param parent_id: + The ID of the group's parent, if it has one. + + :type filter_string: string or None + :param filter_string: + The filter string used to determine which monitored resources belong to + this group. + + :type is_cluster: boolean + :param is_cluster: + If true, the members of this group are considered to be a cluster. The + system can perform additional analysis on groups that are clusters. + """ + def __init__(self, client, group_id=None, display_name=None, + parent_id=None, filter_string=None, is_cluster=False): + self.client = client + self._id = group_id + self.display_name = display_name + self.parent_id = parent_id + self.filter = filter_string + self.is_cluster = is_cluster + + if group_id: + self._name = _group_name_from_id(client.project, group_id) + else: + self._name = None + + @property + def id(self): + """Returns the group ID. + + :rtype: str or None + :returns: the ID of the group based on it's name. + """ + return self._id + + @property + def name(self): + """Returns the fully qualified name of the group. + + :rtype: str or None + :returns: + The fully qualified name of the group in the format + "projects/<project>/groups/<id>". + """ + return self._name + + @property + def parent_name(self): + """Returns the fully qualified name of the parent group. + + :rtype: str or None + :returns: + The fully qualified name of the parent group. + """ + if not self.parent_id: + return None + return _group_name_from_id(self.client.project, self.parent_id) + + @property + def path(self): + """URL path to this group. + + :rtype: str + :returns: the path based on project and group name. + + :raises: :exc:`ValueError` if :attr:`name` is not specified. + """ + if not self.id: + raise ValueError('Cannot determine path without group ID.') + return '/' + self.name + +
[docs] def create(self): + """Create a new group based on this object via a ``POST`` request. + + Example:: + + >>> filter_string = 'resource.type = "gce_instance"' + >>> group = client.group( + ... display_name='My group', + ... filter_string=filter_string, + ... parent_id='5678', + ... is_cluster=True) + >>> group.create() + + The ``name`` attribute is ignored in preparing the creation request. + All attributes are overwritten by the values received in the response + (normally affecting only ``name``). + """ + path = '/projects/%s/groups/' % (self.client.project,) + info = self.client.connection.api_request( + method='POST', path=path, data=self._to_dict()) + self._set_properties_from_dict(info)
+ +
[docs] def exists(self): + """Test for the existence of the group via a ``GET`` request. + + :rtype: bool + :returns: Boolean indicating existence of the group. + """ + try: + self.client.connection.api_request( + method='GET', path=self.path, query_params={'fields': 'name'}) + except NotFound: + return False + else: + return True
+ +
[docs] def reload(self): + """Sync local group information via a ``GET`` request. + + .. warning:: + + This will overwrite any local changes you've made and not saved + via :meth:`update`. + """ + info = self.client.connection.api_request(method='GET', path=self.path) + self._set_properties_from_dict(info)
+ +
[docs] def update(self): + """Update the group via a ``PUT`` request.""" + info = self.client.connection.api_request( + method='PUT', path=self.path, data=self._to_dict()) + self._set_properties_from_dict(info)
+ +
[docs] def delete(self): + """Delete the group via a ``DELETE`` request. + + Example:: + + >>> group = client.group('1234') + >>> group.delete() + + Only the ``client`` and ``name`` attributes are used. + + .. warning:: + + This method will fail for groups that have one or more children + groups. + """ + self.client.connection.api_request(method='DELETE', path=self.path)
+ +
[docs] def fetch_parent(self): + """Returns the parent group of this group via a ``GET`` request. + + :rtype: :class:`Group` or None + :returns: The parent of the group. + """ + if not self.parent_id: + return None + return self._fetch(self.client, self.parent_id)
+ +
[docs] def list_children(self): + """Lists all children of this group via a ``GET`` request. + + Returns groups whose parent_name field contains the group name. If no + groups have this parent, the results are empty. + + :rtype: list of :class:`~google.cloud.monitoring.group.Group` + :returns: A list of group instances. + """ + return self._list(self.client, children_of_group=self.name)
+ +
[docs] def list_ancestors(self): + """Lists all ancestors of this group via a ``GET`` request. + + The groups are returned in order, starting with the immediate parent + and ending with the most distant ancestor. If the specified group has + no immediate parent, the results are empty. + + :rtype: list of :class:`~google.cloud.monitoring.group.Group` + :returns: A list of group instances. + """ + return self._list(self.client, ancestors_of_group=self.name)
+ +
[docs] def list_descendants(self): + """Lists all descendants of this group via a ``GET`` request. + + This returns a superset of the results returned by the :meth:`children` + method, and includes children-of-children, and so forth. + + :rtype: list of :class:`~google.cloud.monitoring.group.Group` + :returns: A list of group instances. + """ + return self._list(self.client, descendants_of_group=self.name)
+ +
[docs] def list_members(self, filter_string=None, end_time=None, start_time=None): + """Lists all members of this group via a ``GET`` request. + + If no ``end_time`` is provided then the group membership over the last + minute is returned. + + Example:: + + >>> for member in group.list_members(): + ... print member + + List members that are Compute Engine VM instances:: + + >>> filter_string = 'resource.type = "gce_instance"' + >>> for member in group.list_members(filter_string=filter_string): + ... print member + + List historical members that existed between 4 and 5 hours ago:: + + >>> import datetime + >>> t1 = datetime.datetime.utcnow() - datetime.timedelta(hours=4) + >>> t0 = t1 - datetime.timedelta(hours=1) + >>> for member in group.list_members(end_time=t1, start_time=t0): + ... print member + + + :type filter_string: string or None + :param filter_string: + An optional list filter describing the members to be returned. The + filter may reference the type, labels, and metadata of monitored + resources that comprise the group. See the `filter documentation`_. + + :type end_time: :class:`datetime.datetime` or None + :param end_time: + The end time (inclusive) of the time interval for which results + should be returned, as a datetime object. If ``start_time`` is + specified, then this must also be specified. + + :type start_time: :class:`datetime.datetime` or None + :param start_time: + The start time (exclusive) of the time interval for which results + should be returned, as a datetime object. + + :rtype: list of :class:`~google.cloud.monitoring.resource.Resource` + :returns: A list of resource instances. + + :raises: + :exc:`ValueError` if the ``start_time`` is specified, but the + ``end_time`` is missing. + + .. _filter documentation: + https://cloud.google.com/monitoring/api/v3/filters#group-filter + """ + if start_time is not None and end_time is None: + raise ValueError('If "start_time" is specified, "end_time" must ' + 'also be specified') + + path = '%s/members' % (self.path,) + resources = [] + page_token = None + params = {} + + if filter_string is not None: + params['filter'] = filter_string + + if end_time is not None: + params['interval.endTime'] = _datetime_to_rfc3339( + end_time, ignore_zone=False) + + if start_time is not None: + params['interval.startTime'] = _datetime_to_rfc3339( + start_time, ignore_zone=False) + + while True: + if page_token is not None: + params['pageToken'] = page_token + + response = self.client.connection.api_request( + method='GET', path=path, query_params=params.copy()) + for info in response.get('members', ()): + resources.append(Resource._from_dict(info)) + + page_token = response.get('nextPageToken') + if not page_token: + break + + return resources
+ + @classmethod + def _fetch(cls, client, group_id): + """Fetch a group from the API based on it's ID. + + :type client: :class:`google.cloud.monitoring.client.Client` + :param client: The client to use. + + :type group_id: string + :param group_id: The group ID. + + :rtype: :class:`Group` + :returns: The group instance. + + :raises: :class:`google.cloud.exceptions.NotFound` if the group + is not found. + """ + new_group = cls(client, group_id) + new_group.reload() + return new_group + + @classmethod + def _list(cls, client, children_of_group=None, ancestors_of_group=None, + descendants_of_group=None): + """Lists all groups in the project. + + :type client: :class:`google.cloud.monitoring.client.Client` + :param client: The client to use. + + :type children_of_group: string or None + :param children_of_group: + Returns groups whose parent_name field contains the group name. If + no groups have this parent, the results are empty. + + :type ancestors_of_group: string or None + :param ancestors_of_group: + Returns groups that are ancestors of the specified group. If the + specified group has no immediate parent, the results are empty. + + :type descendants_of_group: string or None + :param descendants_of_group: + Returns the descendants of the specified group. This is a superset + of the results returned by the children_of_group filter, and + includes children-of-children, and so forth. + + :rtype: list of :class:`~google.cloud.monitoring.group.Group` + :returns: A list of group instances. + """ + path = '/projects/%s/groups/' % (client.project,) + groups = [] + page_token = None + params = {} + + if children_of_group is not None: + params['childrenOfGroup'] = children_of_group + + if ancestors_of_group is not None: + params['ancestorsOfGroup'] = ancestors_of_group + + if descendants_of_group is not None: + params['descendantsOfGroup'] = descendants_of_group + + while True: + if page_token is not None: + params['pageToken'] = page_token + + response = client.connection.api_request( + method='GET', path=path, query_params=params.copy()) + for info in response.get('group', ()): + groups.append(cls._from_dict(client, info)) + + page_token = response.get('nextPageToken') + if not page_token: + break + + return groups + + @classmethod + def _from_dict(cls, client, info): + """Constructs a Group instance from the parsed JSON representation. + + :type client: :class:`google.cloud.monitoring.client.Client` + :param client: A client to be included in the returned object. + + :type info: dict + :param info: + A ``dict`` parsed from the JSON wire-format representation. + + :rtype: :class:`Group` + :returns: A group. + """ + group = cls(client) + group._set_properties_from_dict(info) + return group + + def _set_properties_from_dict(self, info): + """Update the group properties from its API representation. + + :type info: dict + :param info: + A ``dict`` parsed from the JSON wire-format representation. + """ + self._name = info['name'] + self._id = _group_id_from_name(self._name) + self.display_name = info['displayName'] + self.filter = info['filter'] + self.is_cluster = info.get('isCluster', False) + + parent_name = info.get('parentName') + if parent_name is None: + self.parent_id = None + else: + self.parent_id = _group_id_from_name(parent_name) + + def _to_dict(self): + """Build a dictionary ready to be serialized to the JSON wire format. + + :rtype: dict + :returns: A dictionary. + """ + info = { + 'filter': self.filter, + 'displayName': self.display_name, + 'isCluster': self.is_cluster, + } + + if self.name is not None: + info['name'] = self.name + + parent_name = self.parent_name + if parent_name is not None: + info['parentName'] = parent_name + + return info + + def __repr__(self): + return '<Group: %s>' % (self.name,)
+
+ +
+
+ + +
+
+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/latest/_modules/gcloud/monitoring/label.html b/latest/_modules/google/cloud/monitoring/label.html similarity index 58% rename from latest/_modules/gcloud/monitoring/label.html rename to latest/_modules/google/cloud/monitoring/label.html index ea8ba922dae1..0de8acab24dc 100644 --- a/latest/_modules/gcloud/monitoring/label.html +++ b/latest/_modules/google/cloud/monitoring/label.html @@ -1,102 +1,257 @@ + + + + + + + + + + google.cloud.monitoring.label — google-cloud 92219b8 documentation + + + + + - - - - - gcloud.monitoring.label — gcloud 47bfd0a documentation - - - - + + + + - - - - - - - - + + + + + + + + + + + + + + + + + + + + + +
+ -
- -
- -
- - - Report an Issue - -
-
+ + +
+ + + + -
+ +
+
+ + + + + + +
+
    +
  • Docs »
  • + +
  • Module code »
  • + +
  • google.cloud.monitoring.label
  • +
  • -

    Source code for gcloud.monitoring.label

    +          
    +        
    +      
  • +
+
+
+
+
+ +

Source code for google.cloud.monitoring.label

 # Copyright 2016 Google Inc. All rights reserved.
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
@@ -118,7 +273,7 @@ 

Source code for gcloud.monitoring.label

 """
 
 
-
[docs]class LabelValueType(object): +
[docs]class LabelValueType(object): """Allowed values for the `type of a label`_. .. _type of a label: @@ -131,7 +286,7 @@

Source code for gcloud.monitoring.label

     INT64 = 'INT64'
-
[docs]class LabelDescriptor(object): +
[docs]class LabelDescriptor(object): """Schema specification and documentation for a single label. :type key: string @@ -198,123 +353,62 @@

Source code for gcloud.monitoring.label

         ).format(**self.__dict__)
-
-
+ + - - - + + + + + + + + + + + + + + + + + + + + + - + + + + + + + \ No newline at end of file diff --git a/latest/_modules/gcloud/monitoring/metric.html b/latest/_modules/google/cloud/monitoring/metric.html similarity index 75% rename from latest/_modules/gcloud/monitoring/metric.html rename to latest/_modules/google/cloud/monitoring/metric.html index c6b1c523a4cd..66fc883266ab 100644 --- a/latest/_modules/gcloud/monitoring/metric.html +++ b/latest/_modules/google/cloud/monitoring/metric.html @@ -1,102 +1,257 @@ + + + + + + + + + + google.cloud.monitoring.metric — google-cloud 92219b8 documentation + + + + + - - - - - gcloud.monitoring.metric — gcloud 47bfd0a documentation - - - - + + + + - - - - - - - - + + + + + + + + + + + + + + + + + + + + + +
+ -
- -
- -
- - - Report an Issue - -
-
+ + +
+ + + + + + +
+
+ + -
+ + + +
+
    +
  • Docs »
  • + +
  • Module code »
  • + +
  • google.cloud.monitoring.metric
  • +
  • -

    Source code for gcloud.monitoring.metric

    +          
    +        
    +      
  • +
+
+
+
+
+ +

Source code for google.cloud.monitoring.metric

 # Copyright 2016 Google Inc. All rights reserved.
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
@@ -120,10 +275,10 @@ 

Source code for gcloud.monitoring.metric

 
 import collections
 
-from gcloud.monitoring.label import LabelDescriptor
+from google.cloud.monitoring.label import LabelDescriptor
 
 
-
[docs]class MetricKind(object): +
[docs]class MetricKind(object): """Choices for the `kind of measurement`_. .. _kind of measurement: @@ -139,7 +294,7 @@

Source code for gcloud.monitoring.metric

     CUMULATIVE = 'CUMULATIVE'
-
[docs]class ValueType(object): +
[docs]class ValueType(object): """Choices for the `metric value type`_. .. _metric value type: @@ -157,14 +312,14 @@

Source code for gcloud.monitoring.metric

     DISTRIBUTION = 'DISTRIBUTION'
-
[docs]class MetricDescriptor(object): +
[docs]class MetricDescriptor(object): """Specification of a metric type and its schema. The preferred way to construct a metric descriptor object is using the - :meth:`~gcloud.monitoring.client.Client.metric_descriptor` factory method - of the :class:`~gcloud.monitoring.client.Client` class. + :meth:`~google.cloud.monitoring.client.Client.metric_descriptor` factory + method of the :class:`~google.cloud.monitoring.client.Client` class. - :type client: :class:`gcloud.monitoring.client.Client` + :type client: :class:`google.cloud.monitoring.client.Client` :param client: A client for operating on the metric descriptor. :type type_: string @@ -186,7 +341,8 @@

Source code for gcloud.monitoring.metric

         or :data:`ValueType.DISTRIBUTION`.
         See :class:`ValueType`.
 
-    :type labels: list of :class:`~gcloud.monitoring.label.LabelDescriptor`
+    :type labels:
+        list of :class:`~google.cloud.monitoring.label.LabelDescriptor`
     :param labels:
         A sequence of zero or more label descriptors specifying the labels
         used to identify a specific instance of this metric.
@@ -225,7 +381,7 @@ 

Source code for gcloud.monitoring.metric

         self.description = description
         self.display_name = display_name
 
-
[docs] def create(self): +
[docs] def create(self): """Create a new metric descriptor based on this object. Example:: @@ -251,7 +407,7 @@

Source code for gcloud.monitoring.metric

                                                       data=self._to_dict())
         self._init_from_dict(response)
-
[docs] def delete(self): +
[docs] def delete(self): """Delete the metric descriptor identified by this object. Example:: @@ -271,7 +427,7 @@

Source code for gcloud.monitoring.metric

     def _fetch(cls, client, metric_type):
         """Look up a metric descriptor by type.
 
-        :type client: :class:`gcloud.monitoring.client.Client`
+        :type client: :class:`google.cloud.monitoring.client.Client`
         :param client: The client to use.
 
         :type metric_type: string
@@ -280,8 +436,8 @@ 

Source code for gcloud.monitoring.metric

         :rtype: :class:`MetricDescriptor`
         :returns: The metric descriptor instance.
 
-        :raises: :class:`gcloud.exceptions.NotFound` if the metric descriptor
-            is not found.
+        :raises: :class:`google.cloud.exceptions.NotFound` if the metric
+                 descriptor is not found.
         """
         path = '/projects/{project}/metricDescriptors/{type}'.format(
             project=client.project,
@@ -293,7 +449,7 @@ 

Source code for gcloud.monitoring.metric

     def _list(cls, client, filter_string=None, type_prefix=None):
         """List all metric descriptors for the project.
 
-        :type client: :class:`gcloud.monitoring.client.Client`
+        :type client: :class:`google.cloud.monitoring.client.Client`
         :param client: The client to use.
 
         :type filter_string: string or None
@@ -349,7 +505,7 @@ 

Source code for gcloud.monitoring.metric

     def _from_dict(cls, client, info):
         """Construct a metric descriptor from the parsed JSON representation.
 
-        :type client: :class:`gcloud.monitoring.client.Client`
+        :type client: :class:`google.cloud.monitoring.client.Client`
         :param client: A client to be included in the returned object.
 
         :type info: dict
@@ -415,9 +571,13 @@ 

Source code for gcloud.monitoring.metric

         ).format(**self.__dict__)
-
[docs]class Metric(collections.namedtuple('Metric', 'type labels')): +
[docs]class Metric(collections.namedtuple('Metric', 'type labels')): """A specific metric identified by specifying values for all labels. + The preferred way to construct a metric object is using the + :meth:`~google.cloud.monitoring.client.Client.metric` factory method + of the :class:`~google.cloud.monitoring.client.Client` class. + :type type: string :param type: The metric type name. @@ -444,123 +604,62 @@

Source code for gcloud.monitoring.metric

         )
-
-
+
+
+ - - - +
+ + + + + + + + + + + + + + + + + + + + + + + - + + + + \ No newline at end of file diff --git a/latest/_modules/gcloud/monitoring/query.html b/latest/_modules/google/cloud/monitoring/query.html similarity index 76% rename from latest/_modules/gcloud/monitoring/query.html rename to latest/_modules/google/cloud/monitoring/query.html index 2f359660d3f3..4bf521899b59 100644 --- a/latest/_modules/gcloud/monitoring/query.html +++ b/latest/_modules/google/cloud/monitoring/query.html @@ -1,102 +1,257 @@ + + + + + + + + + + google.cloud.monitoring.query — google-cloud 92219b8 documentation + + + + + - - - - - gcloud.monitoring.query — gcloud 47bfd0a documentation - - - - + + + + - - - - - - - - + + + + + + + + + + + + + + + + + + + + + +
+ -
- -
- -
- - - Report an Issue - -
-
+ -
+
+ + + + + + +
+
+ + + + + + +
+
    +
  • Docs »
  • + +
  • Module code »
  • + +
  • google.cloud.monitoring.query
  • +
  • -

    Source code for gcloud.monitoring.query

    +          
    +        
    +      
  • +
+
+
+
+
+ +

Source code for google.cloud.monitoring.query

 # Copyright 2016 Google Inc. All rights reserved.
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
@@ -124,13 +279,14 @@ 

Source code for gcloud.monitoring.query

 
 import six
 
-from gcloud.monitoring._dataframe import _build_dataframe
-from gcloud.monitoring.timeseries import TimeSeries
+from google.cloud._helpers import _datetime_to_rfc3339
+from google.cloud.monitoring._dataframe import _build_dataframe
+from google.cloud.monitoring.timeseries import TimeSeries
 
 _UTCNOW = datetime.datetime.utcnow  # To be replaced by tests.
 
 
-
[docs]class Aligner(object): +
[docs]class Aligner(object): """Allowed values for the `supported aligners`_.""" ALIGN_NONE = 'ALIGN_NONE' @@ -148,7 +304,7 @@

Source code for gcloud.monitoring.query

     ALIGN_FRACTION_TRUE = 'ALIGN_FRACTION_TRUE'
-
[docs]class Reducer(object): +
[docs]class Reducer(object): """Allowed values for the `supported reducers`_.""" REDUCE_NONE = 'REDUCE_NONE' @@ -166,20 +322,20 @@

Source code for gcloud.monitoring.query

     REDUCE_PERCENTILE_05 = 'REDUCE_PERCENTILE_05'
-
[docs]class Query(object): +
[docs]class Query(object): """Query object for retrieving metric data. The preferred way to construct a query object is using the - :meth:`~gcloud.monitoring.client.Client.query` method - of the :class:`~gcloud.monitoring.client.Client` class. + :meth:`~google.cloud.monitoring.client.Client.query` method + of the :class:`~google.cloud.monitoring.client.Client` class. - :type client: :class:`gcloud.monitoring.client.Client` + :type client: :class:`google.cloud.monitoring.client.Client` :param client: The client to use. :type metric_type: string :param metric_type: The metric type name. The default value is :data:`Query.DEFAULT_METRIC_TYPE - <gcloud.monitoring.query.Query.DEFAULT_METRIC_TYPE>`, + <google.cloud.monitoring.query.Query.DEFAULT_METRIC_TYPE>`, but please note that this default value is provided only for demonstration purposes and is subject to change. See the `supported metrics`_. @@ -195,7 +351,7 @@

Source code for gcloud.monitoring.query

 
         It is also allowed to omit the end time and duration here,
         in which case
-        :meth:`~gcloud.monitoring.query.Query.select_interval`
+        :meth:`~google.cloud.monitoring.query.Query.select_interval`
         must be called before the query is executed.
 
     :type days: integer
@@ -210,7 +366,7 @@ 

Source code for gcloud.monitoring.query

     :raises: :exc:`ValueError` if ``end_time`` is specified but
         ``days``, ``hours``, and ``minutes`` are all zero.
         If you really want to specify a point in time, use
-        :meth:`~gcloud.monitoring.query.Query.select_interval`.
+        :meth:`~google.cloud.monitoring.query.Query.select_interval`.
 
     .. _supported metrics: https://cloud.google.com/monitoring/api/metrics
     """
@@ -258,7 +414,7 @@ 

Source code for gcloud.monitoring.query

         """
         return str(self._filter)
 
-
[docs] def select_interval(self, end_time, start_time=None): +
[docs] def select_interval(self, end_time, start_time=None): """Copy the query and set the query time interval. Example:: @@ -290,7 +446,7 @@

Source code for gcloud.monitoring.query

         new_query._start_time = start_time
         return new_query
-
[docs] def select_group(self, group_id): +
[docs] def select_group(self, group_id): """Copy the query and add filtering by group. Example:: @@ -307,7 +463,7 @@

Source code for gcloud.monitoring.query

         new_query._filter.group_id = group_id
         return new_query
-
[docs] def select_projects(self, *args): +
[docs] def select_projects(self, *args): """Copy the query and add filtering by monitored projects. This is only useful if the target project represents a Stackdriver @@ -329,7 +485,7 @@

Source code for gcloud.monitoring.query

         new_query._filter.projects = args
         return new_query
-
[docs] def select_resources(self, *args, **kwargs): +
[docs] def select_resources(self, *args, **kwargs): """Copy the query and add filtering by resource labels. Examples:: @@ -387,7 +543,7 @@

Source code for gcloud.monitoring.query

         new_query._filter.select_resources(*args, **kwargs)
         return new_query
-
[docs] def select_metrics(self, *args, **kwargs): +
[docs] def select_metrics(self, *args, **kwargs): """Copy the query and add filtering by metric labels. Examples:: @@ -411,6 +567,25 @@

Source code for gcloud.monitoring.query

 
             metric.label.<label> = ends_with("<value>")
 
+        If the label's value type is ``INT64``, a similar notation can be
+        used to express inequalities:
+
+        ``<label>_less=<value>`` generates::
+
+            metric.label.<label> < <value>
+
+        ``<label>_lessequal=<value>`` generates::
+
+            metric.label.<label> <= <value>
+
+        ``<label>_greater=<value>`` generates::
+
+            metric.label.<label> > <value>
+
+        ``<label>_greaterequal=<value>`` generates::
+
+            metric.label.<label> >= <value>
+
         :type args: tuple
         :param args: Raw filter expression strings to include in the
             conjunction. If just one is provided and no keyword arguments
@@ -427,7 +602,7 @@ 

Source code for gcloud.monitoring.query

         new_query._filter.select_metrics(*args, **kwargs)
         return new_query
-
[docs] def align(self, per_series_aligner, seconds=0, minutes=0, hours=0): +
[docs] def align(self, per_series_aligner, seconds=0, minutes=0, hours=0): """Copy the query and add temporal alignment. If ``per_series_aligner`` is not :data:`Aligner.ALIGN_NONE`, each time @@ -469,7 +644,7 @@

Source code for gcloud.monitoring.query

                                                               60 * hours)
         return new_query
-
[docs] def reduce(self, cross_series_reducer, *group_by_fields): +
[docs] def reduce(self, cross_series_reducer, *group_by_fields): """Copy the query and add cross-series reduction. Cross-series reduction combines time series by aggregating their @@ -505,11 +680,11 @@

Source code for gcloud.monitoring.query

         new_query._group_by_fields = group_by_fields
         return new_query
-
[docs] def iter(self, headers_only=False, page_size=None): +
[docs] def iter(self, headers_only=False, page_size=None): """Yield all time series objects selected by the query. The generator returned iterates over - :class:`~gcloud.monitoring.timeseries.TimeSeries` objects + :class:`~google.cloud.monitoring.timeseries.TimeSeries` objects containing points ordered from oldest to newest. Note that the :class:`Query` object itself is an iterable, such that @@ -587,7 +762,7 @@

Source code for gcloud.monitoring.query

         :type headers_only: boolean
         :param headers_only:
              Whether to omit the point data from the
-             :class:`~gcloud.monitoring.timeseries.TimeSeries` objects.
+             :class:`~google.cloud.monitoring.timeseries.TimeSeries` objects.
 
         :type page_size: integer or None
         :param page_size: A limit on the number of points to return per page.
@@ -597,9 +772,12 @@ 

Source code for gcloud.monitoring.query

         """
         yield 'filter', self.filter
 
-        yield 'interval.endTime', _format_timestamp(self._end_time)
+        yield 'interval.endTime', _datetime_to_rfc3339(
+            self._end_time, ignore_zone=False)
+
         if self._start_time is not None:
-            yield 'interval.startTime', _format_timestamp(self._start_time)
+            yield 'interval.startTime', _datetime_to_rfc3339(
+                self._start_time, ignore_zone=False)
 
         if self._per_series_aligner is not None:
             yield 'aggregation.perSeriesAligner', self._per_series_aligner
@@ -625,7 +803,7 @@ 

Source code for gcloud.monitoring.query

         if page_token is not None:
             yield 'pageToken', page_token
 
-
[docs] def as_dataframe(self, label=None, labels=None): +
[docs] def as_dataframe(self, label=None, labels=None): """Return all the selected time series as a :mod:`pandas` dataframe. .. note:: @@ -667,7 +845,7 @@

Source code for gcloud.monitoring.query

         """
         return _build_dataframe(self, label, labels)  # pragma: NO COVER
-
[docs] def copy(self): +
[docs] def copy(self): """Copy the query object. :rtype: :class:`Query` @@ -732,7 +910,8 @@

Source code for gcloud.monitoring.query

             continue
 
         suffix = None
-        if key.endswith('_prefix') or key.endswith('_suffix'):
+        if key.endswith(('_prefix', '_suffix', '_greater', '_greaterequal',
+                         '_less', '_lessequal')):
             key, suffix = key.rsplit('_', 1)
 
         if category == 'resource' and key == 'resource_type':
@@ -744,148 +923,78 @@ 

Source code for gcloud.monitoring.query

             term = '{key} = starts_with("{value}")'
         elif suffix == 'suffix':
             term = '{key} = ends_with("{value}")'
+        elif suffix == 'greater':
+            term = '{key} > {value}'
+        elif suffix == 'greaterequal':
+            term = '{key} >= {value}'
+        elif suffix == 'less':
+            term = '{key} < {value}'
+        elif suffix == 'lessequal':
+            term = '{key} <= {value}'
         else:
             term = '{key} = "{value}"'
 
         terms.append(term.format(key=key, value=value))
 
     return ' AND '.join(sorted(terms))
+
+
+
+
+ -def _format_timestamp(timestamp): - """Convert a datetime object to a string as required by the API. +
- :type timestamp: :class:`datetime.datetime` - :param timestamp: A datetime object. +
+

+ © Copyright 2014, Google. - :rtype: string - :returns: The formatted timestamp. For example: - ``"2016-02-17T19:18:01.763000Z"`` - """ - if timestamp.tzinfo is not None: - # Convert to UTC and remove the time zone info. - timestamp = timestamp.replace(tzinfo=None) - timestamp.utcoffset() +

+
+ Built with Sphinx using a theme provided by Read the Docs. - return timestamp.isoformat() + 'Z' -
+ -
-
+ + + + + + + + + - - + + + + - - - - + + + + + + + + + + + + \ No newline at end of file diff --git a/latest/_modules/gcloud/monitoring/resource.html b/latest/_modules/google/cloud/monitoring/resource.html similarity index 66% rename from latest/_modules/gcloud/monitoring/resource.html rename to latest/_modules/google/cloud/monitoring/resource.html index c5fef0ad85f9..494368cd6c55 100644 --- a/latest/_modules/gcloud/monitoring/resource.html +++ b/latest/_modules/google/cloud/monitoring/resource.html @@ -1,102 +1,257 @@ + + + + + + + + + + google.cloud.monitoring.resource — google-cloud 92219b8 documentation + + + + + - - - - - gcloud.monitoring.resource — gcloud 47bfd0a documentation - - - - + + + + - - - - - - - - + + + + + + + + + + + + + + + + + + + + + +
+ -
- -
- -
- - - Report an Issue - -
-
+ + +
+ + + + + + +
+
+ + -
+ + + +
+
    +
  • Docs »
  • + +
  • Module code »
  • + +
  • google.cloud.monitoring.resource
  • +
  • -

    Source code for gcloud.monitoring.resource

    +          
    +        
    +      
  • +
+
+
+
+
+ +

Source code for google.cloud.monitoring.resource

 # Copyright 2016 Google Inc. All rights reserved.
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
@@ -121,10 +276,10 @@ 

Source code for gcloud.monitoring.resource

 
 import collections
 
-from gcloud.monitoring.label import LabelDescriptor
+from google.cloud.monitoring.label import LabelDescriptor
 
 
-
[docs]class ResourceDescriptor(object): +
[docs]class ResourceDescriptor(object): """Specification of a monitored resource type and its schema. :type name: string @@ -144,7 +299,8 @@

Source code for gcloud.monitoring.resource

     :param description:
         A detailed description that might be used in documentation.
 
-    :type labels: list of :class:`~gcloud.monitoring.label.LabelDescriptor`
+    :type labels:
+        list of :class:`~google.cloud.monitoring.label.LabelDescriptor`
     :param labels:
         A sequence of label descriptors specifying the labels used
         to identify a specific instance of this monitored resource.
@@ -161,7 +317,7 @@ 

Source code for gcloud.monitoring.resource

     def _fetch(cls, client, resource_type):
         """Look up a monitored resource descriptor by type.
 
-        :type client: :class:`gcloud.monitoring.client.Client`
+        :type client: :class:`google.cloud.monitoring.client.Client`
         :param client: The client to use.
 
         :type resource_type: string
@@ -170,8 +326,8 @@ 

Source code for gcloud.monitoring.resource

         :rtype: :class:`ResourceDescriptor`
         :returns: The resource descriptor instance.
 
-        :raises: :class:`gcloud.exceptions.NotFound` if the resource descriptor
-            is not found.
+        :raises: :class:`google.cloud.exceptions.NotFound` if the resource
+                 descriptor is not found.
         """
         path = ('/projects/{project}/monitoredResourceDescriptors/{type}'
                 .format(project=client.project,
@@ -183,7 +339,7 @@ 

Source code for gcloud.monitoring.resource

     def _list(cls, client, filter_string=None):
         """List all monitored resource descriptors for the project.
 
-        :type client: :class:`gcloud.monitoring.client.Client`
+        :type client: :class:`google.cloud.monitoring.client.Client`
         :param client: The client to use.
 
         :type filter_string: string or None
@@ -254,9 +410,13 @@ 

Source code for gcloud.monitoring.resource

         ).format(**self.__dict__)
-
[docs]class Resource(collections.namedtuple('Resource', 'type labels')): +
[docs]class Resource(collections.namedtuple('Resource', 'type labels')): """A monitored resource identified by specifying values for all labels. + The preferred way to construct a resource object is using the + :meth:`~google.cloud.monitoring.client.Client.resource` factory method + of the :class:`~google.cloud.monitoring.client.Client` class. + :type type: string :param type: The resource type name. @@ -283,123 +443,62 @@

Source code for gcloud.monitoring.resource

         )
-
-
+
+
+ - - - +
+ + + + + + + + + + + + + + + + + + + + + + + - + + + + \ No newline at end of file diff --git a/latest/_modules/gcloud/monitoring/timeseries.html b/latest/_modules/google/cloud/monitoring/timeseries.html similarity index 62% rename from latest/_modules/gcloud/monitoring/timeseries.html rename to latest/_modules/google/cloud/monitoring/timeseries.html index ea1a88b188e2..e74f4b01928b 100644 --- a/latest/_modules/gcloud/monitoring/timeseries.html +++ b/latest/_modules/google/cloud/monitoring/timeseries.html @@ -1,102 +1,257 @@ + + + + + + + + + + google.cloud.monitoring.timeseries — google-cloud 92219b8 documentation + + + + + - - - - - gcloud.monitoring.timeseries — gcloud 47bfd0a documentation - - - - + + + + - - - - - - - - + + + + + + + + + + + + + + + + + + + + + +
+ -
- -
- -
- - - Report an Issue - -
-
+ + +
+ + + + + + +
+
+ + -
+ + + +
+
    +
  • Docs »
  • + +
  • Module code »
  • + +
  • google.cloud.monitoring.timeseries
  • +
  • -

    Source code for gcloud.monitoring.timeseries

    +          
    +        
    +      
  • +
+
+
+
+
+ +

Source code for google.cloud.monitoring.timeseries

 # Copyright 2016 Google Inc. All rights reserved.
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
@@ -123,32 +278,38 @@ 

Source code for gcloud.monitoring.timeseries

import collections
 
-from gcloud.monitoring.metric import Metric
-from gcloud.monitoring.resource import Resource
+from google.cloud.monitoring.metric import Metric
+from google.cloud.monitoring.resource import Resource
 
 
-
[docs]class TimeSeries(collections.namedtuple( +
[docs]class TimeSeries(collections.namedtuple( 'TimeSeries', 'metric resource metric_kind value_type points')): """A single time series of metric values. - :type metric: :class:`~gcloud.monitoring.metric.Metric` + The preferred way to construct a + :class:`~google.cloud.monitoring.timeseries.TimeSeries` object is + using the :meth:`~google.cloud.monitoring.client.Client.time_series` + factory method of the :class:`~google.cloud.monitoring.client.Client` + class. + + :type metric: :class:`~google.cloud.monitoring.metric.Metric` :param metric: A metric object. - :type resource: :class:`~gcloud.monitoring.resource.Resource` + :type resource: :class:`~google.cloud.monitoring.resource.Resource` :param resource: A resource object. :type metric_kind: string :param metric_kind: The kind of measurement: :data:`MetricKind.GAUGE`, :data:`MetricKind.DELTA`, or :data:`MetricKind.CUMULATIVE`. - See :class:`~gcloud.monitoring.metric.MetricKind`. + See :class:`~google.cloud.monitoring.metric.MetricKind`. :type value_type: string :param value_type: The value type of the metric: :data:`ValueType.BOOL`, :data:`ValueType.INT64`, :data:`ValueType.DOUBLE`, :data:`ValueType.STRING`, or :data:`ValueType.DISTRIBUTION`. - See :class:`~gcloud.monitoring.metric.ValueType`. + See :class:`~google.cloud.monitoring.metric.ValueType`. :type points: list of :class:`Point` :param points: A list of point objects. @@ -171,7 +332,7 @@

Source code for gcloud.monitoring.timeseries

return self._labels
 
-
[docs] def header(self, points=None): +
[docs] def header(self, points=None): """Copy everything but the point data. :type points: list of :class:`Point`, or None @@ -217,7 +378,7 @@

Source code for gcloud.monitoring.timeseries

)
-
[docs]class Point(collections.namedtuple('Point', 'end_time start_time value')): +
[docs]class Point(collections.namedtuple('Point', 'end_time start_time value')): """A single point in a time series. :type end_time: string @@ -251,123 +412,62 @@

Source code for gcloud.monitoring.timeseries

return cls(end_time, start_time, value)
-
-
+
+
+ - - - +
+ + + + + + + + + + + + + + + + + + + + + + + - + + + + \ No newline at end of file diff --git a/latest/_modules/google/cloud/operation.html b/latest/_modules/google/cloud/operation.html new file mode 100644 index 000000000000..cd631904ca19 --- /dev/null +++ b/latest/_modules/google/cloud/operation.html @@ -0,0 +1,452 @@ + + + + + + + + + + + google.cloud.operation — google-cloud 92219b8 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + +
+ + + + + + +
+
+ + + + + + +
+ +
+
+
+
+ +

Source code for google.cloud.operation

+# Copyright 2016 Google Inc. All rights reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Wrap long-running operations returned from Google Cloud APIs."""
+
+from google.longrunning import operations_pb2
+
+
+_GOOGLE_APIS_PREFIX = 'types.googleapis.com'
+
+_TYPE_URL_MAP = {
+}
+
+
+def _compute_type_url(klass, prefix=_GOOGLE_APIS_PREFIX):
+    """Compute a type URL for a klass.
+
+    :type klass: type
+    :param klass: class to be used as a factory for the given type
+
+    :type prefix: str
+    :param prefix: URL prefix for the type
+
+    :rtype: str
+    :returns: the URL, prefixed as appropriate
+    """
+    name = klass.DESCRIPTOR.full_name
+    return '%s/%s' % (prefix, name)
+
+
+def _register_type_url(type_url, klass):
+    """Register a klass as the factory for a given type URL.
+
+    :type type_url: str
+    :param type_url: URL naming the type
+
+    :type klass: type
+    :param klass: class to be used as a factory for the given type
+
+    :raises: ValueError if a registration already exists for the URL.
+    """
+    if type_url in _TYPE_URL_MAP:
+        if _TYPE_URL_MAP[type_url] is not klass:
+            raise ValueError("Conflict: %s" % (_TYPE_URL_MAP[type_url],))
+
+    _TYPE_URL_MAP[type_url] = klass
+
+
+
[docs]class Operation(object): + """Representation of a Google API Long-Running Operation. + + :type name: str + :param name: The fully-qualified path naming the operation. + + :type client: object: must provide ``_operations_stub`` accessor. + :param client: The client used to poll for the status of the operation. + + :type pb_metadata: object + :param pb_metadata: Instance of protobuf metadata class + + :type kw: dict + :param kw: caller-assigned metadata about the operation + """ + + target = None + """Instance assocated with the operations: callers may set.""" + + def __init__(self, name, client, pb_metadata=None, **kw): + self.name = name + self.client = client + self.pb_metadata = pb_metadata + self.metadata = kw.copy() + self._complete = False + + @classmethod +
[docs] def from_pb(cls, op_pb, client, **kw): + """Factory: construct an instance from a protobuf. + + :type op_pb: :class:`google.longrunning.operations_pb2.Operation` + :param op_pb: Protobuf to be parsed. + + :type client: object: must provide ``_operations_stub`` accessor. + :param client: The client used to poll for the status of the operation. + + :type kw: dict + :param kw: caller-assigned metadata about the operation + + :rtype: :class:`Operation` + :returns: new instance, with attributes based on the protobuf. + """ + pb_metadata = None + if op_pb.metadata.type_url: + type_url = op_pb.metadata.type_url + md_klass = _TYPE_URL_MAP.get(type_url) + if md_klass: + pb_metadata = md_klass.FromString(op_pb.metadata.value) + return cls(op_pb.name, client, pb_metadata, **kw)
+ + @property + def complete(self): + """Has the operation already completed? + + :rtype: bool + :returns: True if already completed, else false. + """ + return self._complete + +
[docs] def poll(self): + """Check if the operation has finished. + + :rtype: bool + :returns: A boolean indicating if the current operation has completed. + :raises: :class:`ValueError <exceptions.ValueError>` if the operation + has already completed. + """ + if self.complete: + raise ValueError('The operation has completed.') + + request_pb = operations_pb2.GetOperationRequest(name=self.name) + # We expect a `google.longrunning.operations_pb2.Operation`. + operation_pb = self.client._operations_stub.GetOperation(request_pb) + + if operation_pb.done: + self._complete = True + + return self.complete
+
+ +
+
+ + +
+
+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/latest/_modules/gcloud/pubsub/client.html b/latest/_modules/google/cloud/pubsub/client.html similarity index 58% rename from latest/_modules/gcloud/pubsub/client.html rename to latest/_modules/google/cloud/pubsub/client.html index b0014a6af317..e4fbc0f125fe 100644 --- a/latest/_modules/gcloud/pubsub/client.html +++ b/latest/_modules/google/cloud/pubsub/client.html @@ -1,102 +1,257 @@ + + + + + + + + + + google.cloud.pubsub.client — google-cloud 92219b8 documentation + + + + + - - - - - gcloud.pubsub.client — gcloud 47bfd0a documentation - - - - + + + + - - - - - - - - + + + + + + + + + + + + + + + + + + + + + +
+ -
- -
- -
- - - Report an Issue - -
-
+ + +
+ + + + + + +
+
+ + -
+ + + +
+
    +
  • Docs »
  • + +
  • Module code »
  • + +
  • google.cloud.pubsub.client
  • +
  • -

    Source code for gcloud.pubsub.client

    +          
    +        
    +      
  • +
+
+
+
+
+ +

Source code for google.cloud.pubsub.client

 # Copyright 2015 Google Inc. All rights reserved.
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
@@ -115,35 +270,37 @@ 

Source code for gcloud.pubsub.client

 
 import os
 
-from gcloud.client import JSONClient
-from gcloud.pubsub.connection import Connection
-from gcloud.pubsub.connection import _PublisherAPI as JSONPublisherAPI
-from gcloud.pubsub.connection import _SubscriberAPI as JSONSubscriberAPI
-from gcloud.pubsub.connection import _IAMPolicyAPI
-from gcloud.pubsub.subscription import Subscription
-from gcloud.pubsub.topic import Topic
+from google.cloud.client import JSONClient
+from google.cloud.environment_vars import DISABLE_GRPC
+from google.cloud.pubsub.connection import Connection
+from google.cloud.pubsub.connection import _PublisherAPI as JSONPublisherAPI
+from google.cloud.pubsub.connection import _SubscriberAPI as JSONSubscriberAPI
+from google.cloud.pubsub.connection import _IAMPolicyAPI
+from google.cloud.pubsub.subscription import Subscription
+from google.cloud.pubsub.topic import Topic
 
 # pylint: disable=ungrouped-imports
 try:
-    from google.pubsub.v1.publisher_api import (
-        PublisherApi as GeneratedPublisherAPI)
-    from google.pubsub.v1.subscriber_api import (
-        SubscriberApi as GeneratedSubscriberAPI)
-    from gcloud.pubsub._gax import _PublisherAPI as GAXPublisherAPI
-    from gcloud.pubsub._gax import _SubscriberAPI as GAXSubscriberAPI
+    from google.cloud.pubsub._gax import _PublisherAPI as GAXPublisherAPI
+    from google.cloud.pubsub._gax import _SubscriberAPI as GAXSubscriberAPI
+    from google.cloud.pubsub._gax import make_gax_publisher_api
+    from google.cloud.pubsub._gax import make_gax_subscriber_api
 except ImportError:  # pragma: NO COVER
     _HAVE_GAX = False
-    GeneratedPublisherAPI = GAXPublisherAPI = None
-    GeneratedSubscriberAPI = GAXSubscriberAPI = None
+    GAXPublisherAPI = None
+    GAXSubscriberAPI = None
+    make_gax_publisher_api = None
+    make_gax_subscriber_api = None
 else:
     _HAVE_GAX = True
 # pylint: enable=ungrouped-imports
 
 
-_USE_GAX = _HAVE_GAX and (os.environ.get('GCLOUD_ENABLE_GAX') is not None)
+_DISABLE_GAX = os.getenv(DISABLE_GRPC, False)
+_USE_GAX = _HAVE_GAX and not _DISABLE_GAX
 
 
-
[docs]class Client(JSONClient): +
[docs]class Client(JSONClient): """Client to bundle configuration needed for API requests. :type project: string @@ -172,7 +329,7 @@

Source code for gcloud.pubsub.client

         """Helper for publisher-related API calls."""
         if self._publisher_api is None:
             if _USE_GAX:
-                generated = GeneratedPublisherAPI()
+                generated = make_gax_publisher_api(self.connection)
                 self._publisher_api = GAXPublisherAPI(generated)
             else:
                 self._publisher_api = JSONPublisherAPI(self.connection)
@@ -183,7 +340,7 @@ 

Source code for gcloud.pubsub.client

         """Helper for subscriber-related API calls."""
         if self._subscriber_api is None:
             if _USE_GAX:
-                generated = GeneratedSubscriberAPI()
+                generated = make_gax_subscriber_api(self.connection)
                 self._subscriber_api = GAXSubscriberAPI(generated)
             else:
                 self._subscriber_api = JSONSubscriberAPI(self.connection)
@@ -196,7 +353,7 @@ 

Source code for gcloud.pubsub.client

             self._iam_policy_api = _IAMPolicyAPI(self.connection)
         return self._iam_policy_api
 
-
[docs] def list_topics(self, page_size=None, page_token=None): +
[docs] def list_topics(self, page_size=None, page_token=None): """List topics for the project associated with this client. See: @@ -218,7 +375,7 @@

Source code for gcloud.pubsub.client

                            topics.
 
         :rtype: tuple, (list, str)
-        :returns: list of :class:`gcloud.pubsub.topic.Topic`, plus a
+        :returns: list of :class:`google.cloud.pubsub.topic.Topic`, plus a
                   "next page token" string:  if not None, indicates that
                   more topics can be retrieved with another call (pass that
                   value as ``page_token``).
@@ -230,7 +387,7 @@ 

Source code for gcloud.pubsub.client

                   for resource in resources]
         return topics, next_token
-
[docs] def list_subscriptions(self, page_size=None, page_token=None): +
[docs] def list_subscriptions(self, page_size=None, page_token=None): """List subscriptions for the project associated with this client. See: @@ -252,7 +409,7 @@

Source code for gcloud.pubsub.client

                            topics.
 
         :rtype: tuple, (list, str)
-        :returns: list of :class:`gcloud.pubsub.subscription.Subscription`,
+        :returns: list of :class:`~.pubsub.subscription.Subscription`,
                   plus a "next page token" string:  if not None, indicates that
                   more topics can be retrieved with another call (pass that
                   value as ``page_token``).
@@ -266,7 +423,7 @@ 

Source code for gcloud.pubsub.client

                          for resource in resources]
         return subscriptions, next_token
-
[docs] def topic(self, name, timestamp_messages=False): +
[docs] def topic(self, name, timestamp_messages=False): """Creates a topic bound to the current client. Example: @@ -281,129 +438,68 @@

Source code for gcloud.pubsub.client

         :type timestamp_messages: boolean
         :param timestamp_messages: To be passed to ``Topic`` constructor.
 
-        :rtype: :class:`gcloud.pubsub.topic.Topic`
+        :rtype: :class:`google.cloud.pubsub.topic.Topic`
         :returns: Topic created with the current client.
         """
         return Topic(name, client=self, timestamp_messages=timestamp_messages)
-
-
+
+
+ - - - +
+ + + + + + + + + + + + + + + + + + + + + + + - + + + + \ No newline at end of file diff --git a/latest/_modules/gcloud/pubsub/connection.html b/latest/_modules/google/cloud/pubsub/connection.html similarity index 82% rename from latest/_modules/gcloud/pubsub/connection.html rename to latest/_modules/google/cloud/pubsub/connection.html index fb596302d1f3..36a5c8f7ad06 100644 --- a/latest/_modules/gcloud/pubsub/connection.html +++ b/latest/_modules/google/cloud/pubsub/connection.html @@ -1,102 +1,257 @@ + + + + + + + + + + google.cloud.pubsub.connection — google-cloud 92219b8 documentation + + + + + - - - - - gcloud.pubsub.connection — gcloud 47bfd0a documentation - - - - + + + + - - - - - - - - + + + + + + + + + + + + + + + + + + + + + +
+ -
- -
- -
- - - Report an Issue - -
-
+ + +
+ + + + + + +
+
+ + + + -
+ +
+
    +
  • Docs »
  • + +
  • Module code »
  • + +
  • google.cloud.pubsub.connection
  • +
  • + + -

    Source code for gcloud.pubsub.connection

    +      
  • +
+
+
+
+
+ +

Source code for google.cloud.pubsub.connection

 # Copyright 2015 Google Inc. All rights reserved.
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
@@ -111,16 +266,20 @@ 

Source code for gcloud.pubsub.connection

 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-"""Create / interact with gcloud pubsub connections."""
+"""Create / interact with Google Cloud Pub/Sub connections."""
 
 import os
 
-from gcloud import connection as base_connection
-from gcloud.environment_vars import PUBSUB_EMULATOR
+from google.cloud import connection as base_connection
+from google.cloud.environment_vars import PUBSUB_EMULATOR
+
 
+PUBSUB_API_HOST = 'pubsub.googleapis.com'
+"""Pub / Sub API request host."""
 
-
[docs]class Connection(base_connection.JSONConnection): - """A connection to Google Cloud Pubsub via the JSON REST API. + +
[docs]class Connection(base_connection.JSONConnection): + """A connection to Google Cloud Pub/Sub via the JSON REST API. :type credentials: :class:`oauth2client.client.OAuth2Credentials` :param credentials: (Optional) The OAuth2 Credentials to use for this @@ -128,13 +287,9 @@

Source code for gcloud.pubsub.connection

 
     :type http: :class:`httplib2.Http` or class that defines ``request()``.
     :param http: (Optional) HTTP object to make requests.
-
-    :type api_base_url: string
-    :param api_base_url: The base of the API call URL. Defaults to the value
-                         :attr:`Connection.API_BASE_URL`.
     """
 
-    API_BASE_URL = 'https://pubsub.googleapis.com'
+    API_BASE_URL = 'https://' + PUBSUB_API_HOST
     """The base of the API call URL."""
 
     API_VERSION = 'v1'
@@ -147,17 +302,19 @@ 

Source code for gcloud.pubsub.connection

              'https://www.googleapis.com/auth/cloud-platform')
     """The scopes required for authenticating as a Cloud Pub/Sub consumer."""
 
-    def __init__(self, credentials=None, http=None, api_base_url=None):
+    def __init__(self, credentials=None, http=None):
         super(Connection, self).__init__(credentials=credentials, http=http)
-        if api_base_url is None:
-            emulator_host = os.getenv(PUBSUB_EMULATOR)
-            if emulator_host is None:
-                api_base_url = self.__class__.API_BASE_URL
-            else:
-                api_base_url = 'http://' + emulator_host
-        self.api_base_url = api_base_url
-
-
[docs] def build_api_url(self, path, query_params=None, + emulator_host = os.getenv(PUBSUB_EMULATOR) + if emulator_host is None: + self.host = self.__class__.API_BASE_URL + self.api_base_url = self.__class__.API_BASE_URL + self.in_emulator = False + else: + self.host = emulator_host + self.api_base_url = 'http://' + emulator_host + self.in_emulator = True + +
[docs] def build_api_url(self, path, query_params=None, api_base_url=None, api_version=None): """Construct an API url given a few components, some optional. @@ -638,123 +795,62 @@

Source code for gcloud.pubsub.connection

         return resp.get('permissions', [])
 
-
-
+
+
+ + +
+ +
+

+ © Copyright 2014, Google. - -

+

+
+ Built with Sphinx using a theme provided by Read the Docs. - - - + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + \ No newline at end of file diff --git a/latest/_modules/gcloud/pubsub/iam.html b/latest/_modules/google/cloud/pubsub/iam.html similarity index 70% rename from latest/_modules/gcloud/pubsub/iam.html rename to latest/_modules/google/cloud/pubsub/iam.html index b5347978574b..441efbd4f903 100644 --- a/latest/_modules/gcloud/pubsub/iam.html +++ b/latest/_modules/google/cloud/pubsub/iam.html @@ -1,102 +1,257 @@ + + + + + + + + + + google.cloud.pubsub.iam — google-cloud 92219b8 documentation + + + + + - - - - - gcloud.pubsub.iam — gcloud 47bfd0a documentation - - - - + + + + - - - - - - - - + + + + + + + + + + + + + + + + + + + + + +
+ -
- -
- -
- - - Report an Issue - -
-
+ + +
+ + + + + + +
+
+ + -
+ + + +
+
    +
  • Docs »
  • + +
  • Module code »
  • + +
  • google.cloud.pubsub.iam
  • +
  • -

    Source code for gcloud.pubsub.iam

    +          
    +        
    +      
  • +
+
+
+
+
+ +

Source code for google.cloud.pubsub.iam

 # Copyright 2016 Google Inc. All rights reserved.
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
@@ -193,7 +348,7 @@ 

Source code for gcloud.pubsub.iam

 """Permission: update subscriptions."""
 
 
-
[docs]class Policy(object): +
[docs]class Policy(object): """Combined IAM Policy / Bindings. See: @@ -216,7 +371,7 @@

Source code for gcloud.pubsub.iam

         self.subscribers = set()
 
     @staticmethod
-
[docs] def user(email): +
[docs] def user(email): """Factory method for a user member. :type email: string @@ -228,7 +383,7 @@

Source code for gcloud.pubsub.iam

         return 'user:%s' % (email,)
@staticmethod -
[docs] def service_account(email): +
[docs] def service_account(email): """Factory method for a service account member. :type email: string @@ -240,7 +395,7 @@

Source code for gcloud.pubsub.iam

         return 'serviceAccount:%s' % (email,)
@staticmethod -
[docs] def group(email): +
[docs] def group(email): """Factory method for a group member. :type email: string @@ -252,7 +407,7 @@

Source code for gcloud.pubsub.iam

         return 'group:%s' % (email,)
@staticmethod -
[docs] def domain(domain): +
[docs] def domain(domain): """Factory method for a domain member. :type domain: string @@ -264,7 +419,7 @@

Source code for gcloud.pubsub.iam

         return 'domain:%s' % (domain,)
@staticmethod -
[docs] def all_users(): +
[docs] def all_users(): """Factory method for a member representing all users. :rtype: string @@ -273,7 +428,7 @@

Source code for gcloud.pubsub.iam

         return 'allUsers'
@staticmethod -
[docs] def authenticated_users(): +
[docs] def authenticated_users(): """Factory method for a member representing all authenticated users. :rtype: string @@ -282,7 +437,7 @@

Source code for gcloud.pubsub.iam

         return 'allAuthenticatedUsers'
@classmethod -
[docs] def from_api_repr(cls, resource): +
[docs] def from_api_repr(cls, resource): """Create a policy from the resource returned from the API. :type resource: dict @@ -311,7 +466,7 @@

Source code for gcloud.pubsub.iam

                 raise ValueError('Unknown role: %s' % (role,))
         return policy
-
[docs] def to_api_repr(self): +
[docs] def to_api_repr(self): """Construct a Policy resource. :rtype: dict @@ -358,123 +513,62 @@

Source code for gcloud.pubsub.iam

         return resource
-
-
+
+
+ - - - +
+ + + + + + + + + + + + + + + + + + + + + + + - + + + + \ No newline at end of file diff --git a/latest/_modules/gcloud/pubsub/message.html b/latest/_modules/google/cloud/pubsub/message.html similarity index 56% rename from latest/_modules/gcloud/pubsub/message.html rename to latest/_modules/google/cloud/pubsub/message.html index c47113e36d80..fe2b3e08e35a 100644 --- a/latest/_modules/gcloud/pubsub/message.html +++ b/latest/_modules/google/cloud/pubsub/message.html @@ -1,102 +1,257 @@ + + + + + + + + + + google.cloud.pubsub.message — google-cloud 92219b8 documentation + + + + + - - - - - gcloud.pubsub.message — gcloud 47bfd0a documentation - - - - + + + + - - - - - - - - + + + + + + + + + + + + + + + + + + + + + +
+ -
- -
- -
- - - Report an Issue - -
-
+ + +
+ + + + -
+ +
+
+ + + + + + +
+
    +
  • Docs »
  • + +
  • Module code »
  • + +
  • google.cloud.pubsub.message
  • +
  • -

    Source code for gcloud.pubsub.message

    +          
    +        
    +      
  • +
+
+
+
+
+ +

Source code for google.cloud.pubsub.message

 # Copyright 2015 Google Inc. All rights reserved.
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
@@ -115,17 +270,17 @@ 

Source code for gcloud.pubsub.message

 
 import base64
 
-from gcloud._helpers import _rfc3339_to_datetime
+from google.cloud._helpers import _rfc3339_to_datetime
 
 
-
[docs]class Message(object): +
[docs]class Message(object): """Messages can be published to a topic and received by subscribers. See: https://cloud.google.com/pubsub/reference/rest/v1/PubsubMessage :type data: bytes - :param data: the payload of the message + :param data: the payload of the message. :type message_id: string :param message_id: An ID assigned to the message by the API. @@ -143,7 +298,7 @@

Source code for gcloud.pubsub.message

 
     @property
     def attributes(self):
-        """Lazily-constructed attribute dictionary"""
+        """Lazily-constructed attribute dictionary."""
         if self._attributes is None:
             self._attributes = {}
         return self._attributes
@@ -175,7 +330,7 @@ 

Source code for gcloud.pubsub.message

         return self._service_timestamp
 
     @classmethod
-
[docs] def from_api_repr(cls, api_repr): +
[docs] def from_api_repr(cls, api_repr): """Factory: construct message from API representation. :type api_repr: dict or None @@ -192,123 +347,62 @@

Source code for gcloud.pubsub.message

         return instance
-
-
+ + - - - + + + + + + + + + + + + + + + + + + + + + - + + + + + + + \ No newline at end of file diff --git a/latest/_modules/gcloud/pubsub/subscription.html b/latest/_modules/google/cloud/pubsub/subscription.html similarity index 70% rename from latest/_modules/gcloud/pubsub/subscription.html rename to latest/_modules/google/cloud/pubsub/subscription.html index c639990bfc37..8d9d4ffccb38 100644 --- a/latest/_modules/gcloud/pubsub/subscription.html +++ b/latest/_modules/google/cloud/pubsub/subscription.html @@ -1,102 +1,257 @@ + + + + + + + + + + google.cloud.pubsub.subscription — google-cloud 92219b8 documentation + + + + + - - - - - gcloud.pubsub.subscription — gcloud 47bfd0a documentation - - - - + + + + - - - - - - - - + + + + + + + + + + + + + + + + + + + + + +
+ -
- -
- -
- - - Report an Issue - -
-
+ + +
+ + + + + + +
+
+ + -
+ + + +
+
    +
  • Docs »
  • + +
  • Module code »
  • + +
  • google.cloud.pubsub.subscription
  • +
  • -

    Source code for gcloud.pubsub.subscription

    +          
    +        
    +      
  • +
+
+
+
+
+ +

Source code for google.cloud.pubsub.subscription

 # Copyright 2015 Google Inc. All rights reserved.
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
@@ -113,22 +268,22 @@ 

Source code for gcloud.pubsub.subscription

 
 """Define API Subscriptions."""
 
-from gcloud.exceptions import NotFound
-from gcloud.pubsub._helpers import topic_name_from_path
-from gcloud.pubsub.iam import Policy
-from gcloud.pubsub.message import Message
+from google.cloud.exceptions import NotFound
+from google.cloud.pubsub._helpers import topic_name_from_path
+from google.cloud.pubsub.iam import Policy
+from google.cloud.pubsub.message import Message
 
 
-
[docs]class Subscription(object): +
[docs]class Subscription(object): """Subscriptions receive messages published to their topics. See: https://cloud.google.com/pubsub/reference/rest/v1/projects.subscriptions :type name: string - :param name: the name of the subscription + :param name: the name of the subscription. - :type topic: :class:`gcloud.pubsub.topic.Topic` or ``NoneType`` + :type topic: :class:`google.cloud.pubsub.topic.Topic` or ``NoneType`` :param topic: the topic to which the subscription belongs; if ``None``, the subscription's topic has been deleted. @@ -140,7 +295,8 @@

Source code for gcloud.pubsub.subscription

     :param push_endpoint: URL to which messages will be pushed by the back-end.
                           If not set, the application must pull messages.
 
-    :type client: :class:`gcloud.pubsub.client.Client` or ``NoneType``
+    :type client: :class:`~google.cloud.pubsub.client.Client` or
+                  ``NoneType``
     :param client: the client to use.  If not passed, falls back to the
                    ``client`` stored on the topic.
     """
@@ -169,13 +325,13 @@ 

Source code for gcloud.pubsub.subscription

         self.push_endpoint = push_endpoint
 
     @classmethod
-
[docs] def from_api_repr(cls, resource, client, topics=None): +
[docs] def from_api_repr(cls, resource, client, topics=None): """Factory: construct a topic given its API representation :type resource: dict - :param resource: topic resource representation returned from the API + :param resource: topic resource representation returned from the API. - :type client: :class:`gcloud.pubsub.client.Client` + :type client: :class:`google.cloud.pubsub.client.Client` :param client: Client which holds credentials and project configuration for a topic. @@ -183,7 +339,7 @@

Source code for gcloud.pubsub.subscription

         :param topics: A mapping of topic names -> topics.  If not passed,
                        the subscription will have a newly-created topic.
 
-        :rtype: :class:`gcloud.pubsub.subscription.Subscription`
+        :rtype: :class:`google.cloud.pubsub.subscription.Subscription`
         :returns: Subscription parsed from ``resource``.
         """
         if topics is None:
@@ -222,7 +378,7 @@ 

Source code for gcloud.pubsub.subscription

         """URL path for the subscription's APIs"""
         return '/%s' % (self.full_name,)
 
-
[docs] def auto_ack(self, return_immediately=False, max_messages=1, client=None): +
[docs] def auto_ack(self, return_immediately=False, max_messages=1, client=None): """:class:`AutoAck` factory :type return_immediately: boolean @@ -231,7 +387,8 @@

Source code for gcloud.pubsub.subscription

         :type max_messages: int
         :param max_messages: passed through to :meth:`Subscription.pull`
 
-        :type client: :class:`gcloud.pubsub.client.Client` or ``NoneType``
+        :type client: :class:`~google.cloud.pubsub.client.Client` or
+                      ``NoneType``
         :param client: passed through to :meth:`Subscription.pull` and
                       :meth:`Subscription.acknowledge`.
 
@@ -243,19 +400,20 @@ 

Source code for gcloud.pubsub.subscription

     def _require_client(self, client):
         """Check client or verify over-ride.
 
-        :type client: :class:`gcloud.pubsub.client.Client` or ``NoneType``
+        :type client: :class:`~google.cloud.pubsub.client.Client` or
+                      ``NoneType``
         :param client: the client to use.  If not passed, falls back to the
                        ``client`` stored on the topic of the
                        current subscription.
 
-        :rtype: :class:`gcloud.pubsub.client.Client`
+        :rtype: :class:`google.cloud.pubsub.client.Client`
         :returns: The client passed in or the currently bound client.
         """
         if client is None:
             client = self._client
         return client
 
-
[docs] def create(self, client=None): +
[docs] def create(self, client=None): """API call: create the subscription via a PUT request See: @@ -267,7 +425,8 @@

Source code for gcloud.pubsub.subscription

            :start-after: [START subscription_create]
            :end-before: [END subscription_create]
 
-        :type client: :class:`gcloud.pubsub.client.Client` or ``NoneType``
+        :type client: :class:`~google.cloud.pubsub.client.Client` or
+                      ``NoneType``
         :param client: the client to use.  If not passed, falls back to the
                        ``client`` stored on the current subscription's topic.
         """
@@ -277,7 +436,7 @@ 

Source code for gcloud.pubsub.subscription

             self.full_name, self.topic.full_name, self.ack_deadline,
             self.push_endpoint)
-
[docs] def exists(self, client=None): +
[docs] def exists(self, client=None): """API call: test existence of the subscription via a GET request See @@ -289,7 +448,8 @@

Source code for gcloud.pubsub.subscription

            :start-after: [START subscription_exists]
            :end-before: [END subscription_exists]
 
-        :type client: :class:`gcloud.pubsub.client.Client` or ``NoneType``
+        :type client: :class:`~google.cloud.pubsub.client.Client` or
+                      ``NoneType``
         :param client: the client to use.  If not passed, falls back to the
                        ``client`` stored on the current subscription's topic.
 
@@ -305,7 +465,7 @@ 

Source code for gcloud.pubsub.subscription

         else:
             return True
-
[docs] def reload(self, client=None): +
[docs] def reload(self, client=None): """API call: sync local subscription configuration via a GET request See @@ -317,7 +477,8 @@

Source code for gcloud.pubsub.subscription

            :start-after: [START subscription_reload]
            :end-before: [END subscription_reload]
 
-        :type client: :class:`gcloud.pubsub.client.Client` or ``NoneType``
+        :type client: :class:`~google.cloud.pubsub.client.Client` or
+                      ``NoneType``
         :param client: the client to use.  If not passed, falls back to the
                        ``client`` stored on the current subscription's topic.
         """
@@ -328,7 +489,7 @@ 

Source code for gcloud.pubsub.subscription

         push_config = data.get('pushConfig', {})
         self.push_endpoint = push_config.get('pushEndpoint')
-
[docs] def delete(self, client=None): +
[docs] def delete(self, client=None): """API call: delete the subscription via a DELETE request. See: @@ -340,7 +501,8 @@

Source code for gcloud.pubsub.subscription

            :start-after: [START subscription_delete]
            :end-before: [END subscription_delete]
 
-        :type client: :class:`gcloud.pubsub.client.Client` or ``NoneType``
+        :type client: :class:`~google.cloud.pubsub.client.Client` or
+                      ``NoneType``
         :param client: the client to use.  If not passed, falls back to the
                        ``client`` stored on the current subscription's topic.
         """
@@ -348,7 +510,7 @@ 

Source code for gcloud.pubsub.subscription

         api = client.subscriber_api
         api.subscription_delete(self.full_name)
-
[docs] def modify_push_configuration(self, push_endpoint, client=None): +
[docs] def modify_push_configuration(self, push_endpoint, client=None): """API call: update the push endpoint for the subscription. See: @@ -369,7 +531,8 @@

Source code for gcloud.pubsub.subscription

                               back-end.  If None, the application must pull
                               messages.
 
-        :type client: :class:`gcloud.pubsub.client.Client` or ``NoneType``
+        :type client: :class:`~google.cloud.pubsub.client.Client` or
+                      ``NoneType``
         :param client: the client to use.  If not passed, falls back to the
                        ``client`` stored on the current subscription's topic.
         """
@@ -378,7 +541,7 @@ 

Source code for gcloud.pubsub.subscription

         api.subscription_modify_push_config(self.full_name, push_endpoint)
         self.push_endpoint = push_endpoint
-
[docs] def pull(self, return_immediately=False, max_messages=1, client=None): +
[docs] def pull(self, return_immediately=False, max_messages=1, client=None): """API call: retrieve messages for the subscription. See: @@ -399,14 +562,16 @@

Source code for gcloud.pubsub.subscription

         :type max_messages: int
         :param max_messages: the maximum number of messages to return.
 
-        :type client: :class:`gcloud.pubsub.client.Client` or ``NoneType``
+        :type client: :class:`~google.cloud.pubsub.client.Client` or
+                      ``NoneType``
         :param client: the client to use.  If not passed, falls back to the
                        ``client`` stored on the current subscription's topic.
 
         :rtype: list of (ack_id, message) tuples
         :returns: sequence of tuples: ``ack_id`` is the ID to be used in a
                   subsequent call to :meth:`acknowledge`, and ``message``
-                  is an instance of :class:`gcloud.pubsub.message.Message`.
+                  is an instance of
+                  :class:`~google.cloud.pubsub.message.Message`.
         """
         client = self._require_client(client)
         api = client.subscriber_api
@@ -415,7 +580,7 @@ 

Source code for gcloud.pubsub.subscription

         return [(info['ackId'], Message.from_api_repr(info['message']))
                 for info in response]
-
[docs] def acknowledge(self, ack_ids, client=None): +
[docs] def acknowledge(self, ack_ids, client=None): """API call: acknowledge retrieved messages for the subscription. See: @@ -430,7 +595,8 @@

Source code for gcloud.pubsub.subscription

         :type ack_ids: list of string
         :param ack_ids: ack IDs of messages being acknowledged
 
-        :type client: :class:`gcloud.pubsub.client.Client` or ``NoneType``
+        :type client: :class:`~google.cloud.pubsub.client.Client` or
+                      ``NoneType``
         :param client: the client to use.  If not passed, falls back to the
                        ``client`` stored on the current subscription's topic.
         """
@@ -438,7 +604,7 @@ 

Source code for gcloud.pubsub.subscription

         api = client.subscriber_api
         api.subscription_acknowledge(self.full_name, ack_ids)
-
[docs] def modify_ack_deadline(self, ack_ids, ack_deadline, client=None): +
[docs] def modify_ack_deadline(self, ack_ids, ack_deadline, client=None): """API call: update acknowledgement deadline for a retrieved message. See: @@ -450,7 +616,8 @@

Source code for gcloud.pubsub.subscription

         :type ack_deadline: int
         :param ack_deadline: new deadline for the message, in seconds
 
-        :type client: :class:`gcloud.pubsub.client.Client` or ``NoneType``
+        :type client: :class:`~google.cloud.pubsub.client.Client` or
+                      ``NoneType``
         :param client: the client to use.  If not passed, falls back to the
                        ``client`` stored on the current subscription's topic.
         """
@@ -459,7 +626,7 @@ 

Source code for gcloud.pubsub.subscription

         api.subscription_modify_ack_deadline(
             self.full_name, ack_ids, ack_deadline)
-
[docs] def get_iam_policy(self, client=None): +
[docs] def get_iam_policy(self, client=None): """Fetch the IAM policy for the subscription. See: @@ -471,11 +638,12 @@

Source code for gcloud.pubsub.subscription

            :start-after: [START subscription_get_iam_policy]
            :end-before: [END subscription_get_iam_policy]
 
-        :type client: :class:`gcloud.pubsub.client.Client` or ``NoneType``
+        :type client: :class:`~google.cloud.pubsub.client.Client` or
+                      ``NoneType``
         :param client: the client to use.  If not passed, falls back to the
                        ``client`` stored on the current subscription's topic.
 
-        :rtype: :class:`gcloud.pubsub.iam.Policy`
+        :rtype: :class:`google.cloud.pubsub.iam.Policy`
         :returns: policy created from the resource returned by the
                   ``getIamPolicy`` API request.
         """
@@ -484,7 +652,7 @@ 

Source code for gcloud.pubsub.subscription

         resp = api.get_iam_policy(self.full_name)
         return Policy.from_api_repr(resp)
-
[docs] def set_iam_policy(self, policy, client=None): +
[docs] def set_iam_policy(self, policy, client=None): """Update the IAM policy for the subscription. See: @@ -496,15 +664,16 @@

Source code for gcloud.pubsub.subscription

            :start-after: [START subscription_set_iam_policy]
            :end-before: [END subscription_set_iam_policy]
 
-        :type policy: :class:`gcloud.pubsub.iam.Policy`
+        :type policy: :class:`google.cloud.pubsub.iam.Policy`
         :param policy: the new policy, typically fetched via
                        :meth:`get_iam_policy` and updated in place.
 
-        :type client: :class:`gcloud.pubsub.client.Client` or ``NoneType``
+        :type client: :class:`~google.cloud.pubsub.client.Client` or
+                      ``NoneType``
         :param client: the client to use.  If not passed, falls back to the
                        ``client`` stored on the current subscription's topic.
 
-        :rtype: :class:`gcloud.pubsub.iam.Policy`
+        :rtype: :class:`google.cloud.pubsub.iam.Policy`
         :returns: updated policy created from the resource returned by the
                   ``setIamPolicy`` API request.
         """
@@ -514,7 +683,7 @@ 

Source code for gcloud.pubsub.subscription

         resp = api.set_iam_policy(self.full_name, resource)
         return Policy.from_api_repr(resp)
-
[docs] def check_iam_permissions(self, permissions, client=None): +
[docs] def check_iam_permissions(self, permissions, client=None): """Verify permissions allowed for the current user. See: @@ -529,7 +698,8 @@

Source code for gcloud.pubsub.subscription

         :type permissions: list of string
         :param permissions: list of permissions to be tested
 
-        :type client: :class:`gcloud.pubsub.client.Client` or ``NoneType``
+        :type client: :class:`~google.cloud.pubsub.client.Client` or
+                      ``NoneType``
         :param client: the client to use.  If not passed, falls back to the
                        ``client`` stored on the current subscription's topic.
 
@@ -542,13 +712,13 @@ 

Source code for gcloud.pubsub.subscription

             self.full_name, list(permissions))
-
[docs]class AutoAck(dict): +
[docs]class AutoAck(dict): """Wrapper for :meth:`Subscription.pull` results. Mapping, tracks messages still-to-be-acknowledged. When used as a context manager, acknowledges all messages still in the - mapping on `__exit__`. When processing the pulled messsages, application + mapping on `__exit__`. When processing the pulled messages, application code MUST delete messages from the :class:`AutoAck` mapping which are not successfully processed, e.g.: @@ -562,7 +732,7 @@

Source code for gcloud.pubsub.subscription

                    del ack[ack_id]
 
     :type subscription: :class:`Subscription`
-    :param subscription: subcription to be pulled.
+    :param subscription: subscription to be pulled.
 
     :type return_immediately: boolean
     :param return_immediately: passed through to :meth:`Subscription.pull`
@@ -570,7 +740,8 @@ 

Source code for gcloud.pubsub.subscription

     :type max_messages: int
     :param max_messages: passed through to :meth:`Subscription.pull`
 
-    :type client: :class:`gcloud.pubsub.client.Client` or ``NoneType``
+    :type client: :class:`~google.cloud.pubsub.client.Client` or
+                  ``NoneType``
     :param client: passed through to :meth:`Subscription.pull` and
                    :meth:`Subscription.acknowledge`.
     """
@@ -592,123 +763,62 @@ 

Source code for gcloud.pubsub.subscription

         self._subscription.acknowledge(list(self), self._client)
-
-
+
+
+ - - - +
+ + + + + + + + + + + + + + + + + + + + + + + - + + + + \ No newline at end of file diff --git a/latest/_modules/gcloud/pubsub/topic.html b/latest/_modules/google/cloud/pubsub/topic.html similarity index 69% rename from latest/_modules/gcloud/pubsub/topic.html rename to latest/_modules/google/cloud/pubsub/topic.html index 3b1b8c7f7f4c..3bf3ebff8e22 100644 --- a/latest/_modules/gcloud/pubsub/topic.html +++ b/latest/_modules/google/cloud/pubsub/topic.html @@ -1,102 +1,257 @@ + + + + + + + + + + google.cloud.pubsub.topic — google-cloud 92219b8 documentation + + + + + - - - - - gcloud.pubsub.topic — gcloud 47bfd0a documentation - - - - + + + + - - - - - - - - + + + + + + + + + + + + + + + + + + + + + +
+ -
- -
- -
- - - Report an Issue - -
-
+ + +
+ + + + + + +
+
+ + -
+ + + +
+
    +
  • Docs »
  • + +
  • Module code »
  • + +
  • google.cloud.pubsub.topic
  • +
  • -

    Source code for gcloud.pubsub.topic

    +          
    +        
    +      
  • +
+
+
+
+
+ +

Source code for google.cloud.pubsub.topic

 # Copyright 2015 Google Inc. All rights reserved.
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
@@ -115,16 +270,16 @@ 

Source code for gcloud.pubsub.topic

 
 import base64
 
-from gcloud._helpers import _datetime_to_rfc3339
-from gcloud._helpers import _NOW
-from gcloud.exceptions import NotFound
-from gcloud.pubsub._helpers import subscription_name_from_path
-from gcloud.pubsub._helpers import topic_name_from_path
-from gcloud.pubsub.iam import Policy
-from gcloud.pubsub.subscription import Subscription
+from google.cloud._helpers import _datetime_to_rfc3339
+from google.cloud._helpers import _NOW
+from google.cloud.exceptions import NotFound
+from google.cloud.pubsub._helpers import subscription_name_from_path
+from google.cloud.pubsub._helpers import topic_name_from_path
+from google.cloud.pubsub.iam import Policy
+from google.cloud.pubsub.subscription import Subscription
 
 
-
[docs]class Topic(object): +
[docs]class Topic(object): """Topics are targets to which messages can be published. Subscribers then receive those messages. @@ -135,7 +290,7 @@

Source code for gcloud.pubsub.topic

     :type name: string
     :param name: the name of the topic
 
-    :type client: :class:`gcloud.pubsub.client.Client`
+    :type client: :class:`google.cloud.pubsub.client.Client`
     :param client: A client which holds credentials and project configuration
                    for the topic (which requires a project).
 
@@ -149,7 +304,7 @@ 

Source code for gcloud.pubsub.topic

         self._client = client
         self.timestamp_messages = timestamp_messages
 
-
[docs] def subscription(self, name, ack_deadline=None, push_endpoint=None): +
[docs] def subscription(self, name, ack_deadline=None, push_endpoint=None): """Creates a subscription bound to the current topic. Example: pull-mode subcription, default paramter values @@ -189,17 +344,17 @@

Source code for gcloud.pubsub.topic

                             push_endpoint=push_endpoint)
@classmethod -
[docs] def from_api_repr(cls, resource, client): +
[docs] def from_api_repr(cls, resource, client): """Factory: construct a topic given its API representation :type resource: dict :param resource: topic resource representation returned from the API - :type client: :class:`gcloud.pubsub.client.Client` + :type client: :class:`google.cloud.pubsub.client.Client` :param client: Client which holds credentials and project configuration for the topic. - :rtype: :class:`gcloud.pubsub.topic.Topic` + :rtype: :class:`google.cloud.pubsub.topic.Topic` :returns: Topic parsed from ``resource``. :raises: :class:`ValueError` if ``client`` is not ``None`` and the project from the resource does not agree with the project @@ -221,18 +376,19 @@

Source code for gcloud.pubsub.topic

     def _require_client(self, client):
         """Check client or verify over-ride.
 
-        :type client: :class:`gcloud.pubsub.client.Client` or ``NoneType``
+        :type client: :class:`~google.cloud.pubsub.client.Client` or
+                      ``NoneType``
         :param client: the client to use.  If not passed, falls back to the
                        ``client`` stored on the current topic.
 
-        :rtype: :class:`gcloud.pubsub.client.Client`
+        :rtype: :class:`google.cloud.pubsub.client.Client`
         :returns: The client passed in or the currently bound client.
         """
         if client is None:
             client = self._client
         return client
 
-
[docs] def create(self, client=None): +
[docs] def create(self, client=None): """API call: create the topic via a PUT request See: @@ -244,7 +400,8 @@

Source code for gcloud.pubsub.topic

            :start-after: [START topic_create]
            :end-before: [END topic_create]
 
-        :type client: :class:`gcloud.pubsub.client.Client` or ``NoneType``
+        :type client: :class:`~google.cloud.pubsub.client.Client` or
+                      ``NoneType``
         :param client: the client to use.  If not passed, falls back to the
                        ``client`` stored on the current topic.
         """
@@ -252,7 +409,7 @@ 

Source code for gcloud.pubsub.topic

         api = client.publisher_api
         api.topic_create(topic_path=self.full_name)
-
[docs] def exists(self, client=None): +
[docs] def exists(self, client=None): """API call: test for the existence of the topic via a GET request See @@ -264,7 +421,8 @@

Source code for gcloud.pubsub.topic

            :start-after: [START topic_exists]
            :end-before: [END topic_exists]
 
-        :type client: :class:`gcloud.pubsub.client.Client` or ``NoneType``
+        :type client: :class:`~google.cloud.pubsub.client.Client` or
+                      ``NoneType``
         :param client: the client to use.  If not passed, falls back to the
                        ``client`` stored on the current topic.
 
@@ -281,7 +439,7 @@ 

Source code for gcloud.pubsub.topic

         else:
             return True
-
[docs] def delete(self, client=None): +
[docs] def delete(self, client=None): """API call: delete the topic via a DELETE request See: @@ -293,7 +451,8 @@

Source code for gcloud.pubsub.topic

            :start-after: [START topic_delete]
            :end-before: [END topic_delete]
 
-        :type client: :class:`gcloud.pubsub.client.Client` or ``NoneType``
+        :type client: :class:`~google.cloud.pubsub.client.Client` or
+                      ``NoneType``
         :param client: the client to use.  If not passed, falls back to the
                        ``client`` stored on the current topic.
         """
@@ -311,7 +470,7 @@ 

Source code for gcloud.pubsub.topic

         if self.timestamp_messages and 'timestamp' not in attrs:
             attrs['timestamp'] = _datetime_to_rfc3339(_NOW())
 
-
[docs] def publish(self, message, client=None, **attrs): +
[docs] def publish(self, message, client=None, **attrs): """API call: publish a message to a topic via a POST request See: @@ -332,7 +491,8 @@

Source code for gcloud.pubsub.topic

         :type message: bytes
         :param message: the message payload
 
-        :type client: :class:`gcloud.pubsub.client.Client` or ``NoneType``
+        :type client: :class:`~google.cloud.pubsub.client.Client` or
+                      ``NoneType``
         :param client: the client to use.  If not passed, falls back to the
                        ``client`` stored on the current topic.
 
@@ -351,7 +511,7 @@ 

Source code for gcloud.pubsub.topic

         message_ids = api.topic_publish(self.full_name, [message_data])
         return message_ids[0]
-
[docs] def batch(self, client=None): +
[docs] def batch(self, client=None): """Return a batch to use as a context manager. Example: @@ -366,7 +526,8 @@

Source code for gcloud.pubsub.topic

            used as a context manager, and only if the block exits without
            raising an exception.
 
-        :type client: :class:`gcloud.pubsub.client.Client` or ``NoneType``
+        :type client: :class:`~google.cloud.pubsub.client.Client` or
+                      ``NoneType``
         :param client: the client to use.  If not passed, falls back to the
                        ``client`` stored on the current topic.
 
@@ -376,7 +537,7 @@ 

Source code for gcloud.pubsub.topic

         client = self._require_client(client)
         return Batch(self, client)
-
[docs] def list_subscriptions(self, page_size=None, page_token=None, client=None): +
[docs] def list_subscriptions(self, page_size=None, page_token=None, client=None): """List subscriptions for the project associated with this client. See: @@ -397,12 +558,13 @@

Source code for gcloud.pubsub.topic

                            passed, the API will return the first page of
                            topics.
 
-        :type client: :class:`gcloud.pubsub.client.Client` or ``NoneType``
+        :type client: :class:`~google.cloud.pubsub.client.Client` or
+                      ``NoneType``
         :param client: the client to use.  If not passed, falls back to the
                        ``client`` stored on the current topic.
 
         :rtype: tuple, (list, str)
-        :returns: list of :class:`gcloud.pubsub.subscription.Subscription`,
+        :returns: list of :class:`~.pubsub.subscription.Subscription`,
                   plus a "next page token" string:  if not None, indicates that
                   more topics can be retrieved with another call (pass that
                   value as ``page_token``).
@@ -417,7 +579,7 @@ 

Source code for gcloud.pubsub.topic

             subscriptions.append(Subscription(sub_name, self))
         return subscriptions, next_token
-
[docs] def get_iam_policy(self, client=None): +
[docs] def get_iam_policy(self, client=None): """Fetch the IAM policy for the topic. See: @@ -429,11 +591,12 @@

Source code for gcloud.pubsub.topic

            :start-after: [START topic_get_iam_policy]
            :end-before: [END topic_get_iam_policy]
 
-        :type client: :class:`gcloud.pubsub.client.Client` or ``NoneType``
+        :type client: :class:`~google.cloud.pubsub.client.Client` or
+                      ``NoneType``
         :param client: the client to use.  If not passed, falls back to the
                        ``client`` stored on the current batch.
 
-        :rtype: :class:`gcloud.pubsub.iam.Policy`
+        :rtype: :class:`google.cloud.pubsub.iam.Policy`
         :returns: policy created from the resource returned by the
                   ``getIamPolicy`` API request.
         """
@@ -442,7 +605,7 @@ 

Source code for gcloud.pubsub.topic

         resp = api.get_iam_policy(self.full_name)
         return Policy.from_api_repr(resp)
-
[docs] def set_iam_policy(self, policy, client=None): +
[docs] def set_iam_policy(self, policy, client=None): """Update the IAM policy for the topic. See: @@ -454,15 +617,16 @@

Source code for gcloud.pubsub.topic

            :start-after: [START topic_set_iam_policy]
            :end-before: [END topic_set_iam_policy]
 
-        :type policy: :class:`gcloud.pubsub.iam.Policy`
+        :type policy: :class:`google.cloud.pubsub.iam.Policy`
         :param policy: the new policy, typically fetched via
                        :meth:`get_iam_policy` and updated in place.
 
-        :type client: :class:`gcloud.pubsub.client.Client` or ``NoneType``
+        :type client: :class:`~google.cloud.pubsub.client.Client` or
+                      ``NoneType``
         :param client: the client to use.  If not passed, falls back to the
                        ``client`` stored on the current batch.
 
-        :rtype: :class:`gcloud.pubsub.iam.Policy`
+        :rtype: :class:`google.cloud.pubsub.iam.Policy`
         :returns: updated policy created from the resource returned by the
                   ``setIamPolicy`` API request.
         """
@@ -472,7 +636,7 @@ 

Source code for gcloud.pubsub.topic

         resp = api.set_iam_policy(self.full_name, resource)
         return Policy.from_api_repr(resp)
-
[docs] def check_iam_permissions(self, permissions, client=None): +
[docs] def check_iam_permissions(self, permissions, client=None): """Verify permissions allowed for the current user. See: @@ -487,7 +651,8 @@

Source code for gcloud.pubsub.topic

         :type permissions: list of string
         :param permissions: list of permissions to be tested
 
-        :type client: :class:`gcloud.pubsub.client.Client` or ``NoneType``
+        :type client: :class:`~google.cloud.pubsub.client.Client` or
+                      ``NoneType``
         :param client: the client to use.  If not passed, falls back to the
                        ``client`` stored on the current batch.
 
@@ -500,15 +665,15 @@ 

Source code for gcloud.pubsub.topic

             self.full_name, list(permissions))
-
[docs]class Batch(object): +
[docs]class Batch(object): """Context manager: collect messages to publish via a single API call. Helper returned by :meth:Topic.batch - :type topic: :class:`gcloud.pubsub.topic.Topic` + :type topic: :class:`google.cloud.pubsub.topic.Topic` :param topic: the topic being published - :type client: :class:`gcloud.pubsub.client.Client` + :type client: :class:`google.cloud.pubsub.client.Client` :param client: The client to use. """ def __init__(self, topic, client): @@ -527,7 +692,7 @@

Source code for gcloud.pubsub.topic

     def __iter__(self):
         return iter(self.message_ids)
 
-
[docs] def publish(self, message, **attrs): +
[docs] def publish(self, message, **attrs): """Emulate publishing a message, but save it. :type message: bytes @@ -541,10 +706,11 @@

Source code for gcloud.pubsub.topic

             {'data': base64.b64encode(message).decode('ascii'),
              'attributes': attrs})
-
[docs] def commit(self, client=None): +
[docs] def commit(self, client=None): """Send saved messages as a single API call. - :type client: :class:`gcloud.pubsub.client.Client` or ``NoneType`` + :type client: :class:`~google.cloud.pubsub.client.Client` or + ``NoneType`` :param client: the client to use. If not passed, falls back to the ``client`` stored on the current batch. """ @@ -559,123 +725,62 @@

Source code for gcloud.pubsub.topic

         del self.messages[:]
-
-
+
+
+ - - - +
+ + + + + + + + + + + + + + + + + + + + + + + - + + + + \ No newline at end of file diff --git a/latest/_modules/gcloud/resource_manager/client.html b/latest/_modules/google/cloud/resource_manager/client.html similarity index 56% rename from latest/_modules/gcloud/resource_manager/client.html rename to latest/_modules/google/cloud/resource_manager/client.html index d9c413fe2b09..a4c047c7c750 100644 --- a/latest/_modules/gcloud/resource_manager/client.html +++ b/latest/_modules/google/cloud/resource_manager/client.html @@ -1,102 +1,257 @@ + + + + + + + + + + google.cloud.resource_manager.client — google-cloud 92219b8 documentation + + + + + - - - - - gcloud.resource_manager.client — gcloud 47bfd0a documentation - - - - + + + + - - - - - - - - + + + + + + + + + + + + + + + + + + + + + +
+ -
- -
- -
- - - Report an Issue - -
-
+ + +
+ + + + + + +
+
+ + -
+ + + +
+
    +
  • Docs »
  • + +
  • Module code »
  • + +
  • google.cloud.resource_manager.client
  • +
  • -

    Source code for gcloud.resource_manager.client

    +          
    +        
    +      
  • +
+
+
+
+
+ +

Source code for google.cloud.resource_manager.client

 # Copyright 2015 Google Inc. All rights reserved.
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
@@ -114,13 +269,13 @@ 

Source code for gcloud.resource_manager.client

"""A Client for interacting with the Resource Manager API.""" -from gcloud.client import Client as BaseClient -from gcloud.iterator import Iterator -from gcloud.resource_manager.connection import Connection -from gcloud.resource_manager.project import Project +from google.cloud.client import Client as BaseClient +from google.cloud.iterator import Iterator +from google.cloud.resource_manager.connection import Connection +from google.cloud.resource_manager.project import Project -

[docs]class Client(BaseClient): +
[docs]class Client(BaseClient): """Client to bundle configuration needed for API requests. See @@ -129,7 +284,7 @@

Source code for gcloud.resource_manager.client

Automatically get credentials:: - >>> from gcloud import resource_manager + >>> from google.cloud import resource_manager >>> client = resource_manager.Client() :type credentials: :class:`oauth2client.client.OAuth2Credentials` or @@ -147,12 +302,13 @@

Source code for gcloud.resource_manager.client

_connection_class = Connection -

[docs] def new_project(self, project_id, name=None, labels=None): - """Creates a :class:`.Project` bound to the current client. +
[docs] def new_project(self, project_id, name=None, labels=None): + """Create a project bound to the current client. Use :meth:`Project.reload() \ - <gcloud.resource_manager.project.Project.reload>` to retrieve - project metadata after creating a :class:`.Project` instance. + <google.cloud.resource_manager.project.Project.reload>` to retrieve + project metadata after creating a + :class:`~gcloud.resource_manager.project.Project` instance. .. note: @@ -167,37 +323,39 @@

Source code for gcloud.resource_manager.client

:type labels: dict :param labels: A list of labels associated with the project. - :rtype: :class:`.Project` - :returns: A new instance of a :class:`.Project` **without** - any metadata loaded. + :rtype: :class:`~gcloud.resource_manager.project.Project` + :returns: A new instance of a + :class:`~gcloud.resource_manager.project.Project` + **without** any metadata loaded. """ return Project(project_id=project_id, client=self, name=name, labels=labels)

-
[docs] def fetch_project(self, project_id): +
[docs] def fetch_project(self, project_id): """Fetch an existing project and it's relevant metadata by ID. .. note:: If the project does not exist, this will raise a - :class:`NotFound <gcloud.exceptions.NotFound>` error. + :class:`NotFound <google.cloud.exceptions.NotFound>` error. :type project_id: str :param project_id: The ID for this project. - :rtype: :class:`.Project` - :returns: A :class:`.Project` with metadata fetched from the API. + :rtype: :class:`~gcloud.resource_manager.project.Project` + :returns: A :class:`~gcloud.resource_manager.project.Project` with + metadata fetched from the API. """ project = self.new_project(project_id) project.reload() return project
-
[docs] def list_projects(self, filter_params=None, page_size=None): +
[docs] def list_projects(self, filter_params=None, page_size=None): """List the projects visible to this client. Example:: - >>> from gcloud import resource_manager + >>> from google.cloud import resource_manager >>> client = resource_manager.Client() >>> for project in client.list_projects(): ... print project.project_id @@ -205,7 +363,7 @@

Source code for gcloud.resource_manager.client

List all projects with label ``'environment'`` set to ``'prod'`` (filtering by labels):: - >>> from gcloud import resource_manager + >>> from google.cloud import resource_manager >>> client = resource_manager.Client() >>> env_filter = {'labels.environment': 'prod'} >>> for project in client.list_projects(env_filter): @@ -241,7 +399,7 @@

Source code for gcloud.resource_manager.client

:returns: A project iterator. The iterator will make multiple API requests if you continue iterating and there are more pages of results. Each item returned will be a. - :class:`.Project`. + :class:`~gcloud.resource_manager.project.Project`. """ extra_params = {} @@ -258,10 +416,10 @@

Source code for gcloud.resource_manager.client

"""An iterator over a list of Project resources. You shouldn't have to use this directly, but instead should use the - helper methods on :class:`gcloud.resource_manager.client.Client` + helper methods on :class:`google.cloud.resource_manager.client.Client` objects. - :type client: :class:`gcloud.resource_manager.client.Client` + :type client: :class:`google.cloud.resource_manager.client.Client` :param client: The client to use for making connections. :type extra_params: dict @@ -274,7 +432,7 @@

Source code for gcloud.resource_manager.client

extra_params=extra_params) def get_items_from_response(self, response): - """Yield :class:`.Project` items from response. + """Yield projects from response. :type response: dict :param response: The JSON API response for a page of projects. @@ -284,123 +442,62 @@

Source code for gcloud.resource_manager.client

yield item

-
-
+
+
+ - - - +
+ + + + + + + + + + + + + + + + + + + + + + + - + + + + \ No newline at end of file diff --git a/latest/_modules/google/cloud/resource_manager/connection.html b/latest/_modules/google/cloud/resource_manager/connection.html new file mode 100644 index 000000000000..d36ac7179a0a --- /dev/null +++ b/latest/_modules/google/cloud/resource_manager/connection.html @@ -0,0 +1,357 @@ + + + + + + + + + + + google.cloud.resource_manager.connection — google-cloud 92219b8 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + +
+ + + + + + +
+
+ + + + + + +
+
    +
  • Docs »
  • + +
  • Module code »
  • + +
  • google.cloud.resource_manager.connection
  • +
  • + + + +
  • +
+
+
+
+
+ +

Source code for google.cloud.resource_manager.connection

+# Copyright 2015 Google Inc. All rights reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Create / interact with Google Cloud Resource Manager connections."""
+
+
+from google.cloud import connection as base_connection
+
+
+
[docs]class Connection(base_connection.JSONConnection): + """A connection to Google Cloud Resource Manager via the JSON REST API. + + :type credentials: :class:`oauth2client.client.OAuth2Credentials` + :param credentials: (Optional) The OAuth2 Credentials to use for this + connection. + + :type http: :class:`httplib2.Http` or class that defines ``request()``. + :param http: (Optional) HTTP object to make requests. + """ + + API_BASE_URL = 'https://cloudresourcemanager.googleapis.com' + """The base of the API call URL.""" + + API_VERSION = 'v1beta1' + """The version of the API, used in building the API call's URL.""" + + API_URL_TEMPLATE = '{api_base_url}/{api_version}{path}' + """A template for the URL of a particular API call.""" + + SCOPE = ('https://www.googleapis.com/auth/cloud-platform',) + """The scopes required for authenticating as a Resouce Manager consumer."""
+
+ +
+
+ + +
+
+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/latest/_modules/gcloud/resource_manager/project.html b/latest/_modules/google/cloud/resource_manager/project.html similarity index 67% rename from latest/_modules/gcloud/resource_manager/project.html rename to latest/_modules/google/cloud/resource_manager/project.html index b19143c0be9c..0199c722da4d 100644 --- a/latest/_modules/gcloud/resource_manager/project.html +++ b/latest/_modules/google/cloud/resource_manager/project.html @@ -1,102 +1,257 @@ + + + + + + + + + + google.cloud.resource_manager.project — google-cloud 92219b8 documentation + + + + + - - - - - gcloud.resource_manager.project — gcloud 47bfd0a documentation - - - - + + + + - - - - - - - - + + + + + + + + + + + + + + + + + + + + + +
+ -
- -
- -
- - - Report an Issue - -
-
+ + +
+ + + + + + +
+
+ + -
+ + + +
+
    +
  • Docs »
  • + +
  • Module code »
  • + +
  • google.cloud.resource_manager.project
  • +
  • -

    Source code for gcloud.resource_manager.project

    +          
    +        
    +      
  • +
+
+
+
+
+ +

Source code for google.cloud.resource_manager.project

 # Copyright 2015 Google Inc. All rights reserved.
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
@@ -114,21 +269,21 @@ 

Source code for gcloud.resource_manager.project

< """Utility for managing projects via the Cloud Resource Manager API.""" -from gcloud.exceptions import NotFound +from google.cloud.exceptions import NotFound -
[docs]class Project(object): +
[docs]class Project(object): """Projects are containers for your work on Google Cloud Platform. .. note:: A :class:`Project` can also be created via :meth:`Client.new_project() \ - <gcloud.resource_manager.client.Client.new_project>` + <google.cloud.resource_manager.client.Client.new_project>` To manage labels on a :class:`Project`:: - >>> from gcloud import resource_manager + >>> from google.cloud import resource_manager >>> client = resource_manager.Client() >>> project = client.new_project('purple-spaceship-123') >>> project.labels = {'color': 'purple'} @@ -141,7 +296,7 @@

Source code for gcloud.resource_manager.project

< :type project_id: string :param project_id: The globally unique ID of the project. - :type client: :class:`gcloud.resource_manager.client.Client` + :type client: :class:`google.cloud.resource_manager.client.Client` :param client: The Client used with this project. :type name: string @@ -162,23 +317,23 @@

Source code for gcloud.resource_manager.project

< return '<Project: %r (%r)>' % (self.name, self.project_id) @classmethod -
[docs] def from_api_repr(cls, resource, client): +
[docs] def from_api_repr(cls, resource, client): """Factory: construct a project given its API representation. :type resource: dict :param resource: project resource representation returned from the API - :type client: :class:`gcloud.resource_manager.client.Client` + :type client: :class:`google.cloud.resource_manager.client.Client` :param client: The Client used with this project. - :rtype: :class:`gcloud.resource_manager.project.Project` + :rtype: :class:`google.cloud.resource_manager.project.Project` :returns: The project created. """ project = cls(project_id=resource['projectId'], client=client) project.set_properties_from_api_repr(resource) return project
-
[docs] def set_properties_from_api_repr(self, resource): +
[docs] def set_properties_from_api_repr(self, resource): """Update specific properties from its API representation.""" self.name = resource.get('name') self.number = resource['projectNumber'] @@ -200,25 +355,25 @@

Source code for gcloud.resource_manager.project

< def _require_client(self, client): """Check client or verify over-ride. - :type client: :class:`gcloud.resource_manager.client.Client` or + :type client: :class:`google.cloud.resource_manager.client.Client` or ``NoneType`` :param client: the client to use. If not passed, falls back to the ``client`` stored on the current project. - :rtype: :class:`gcloud.resource_manager.client.Client` + :rtype: :class:`google.cloud.resource_manager.client.Client` :returns: The client passed in or the currently bound client. """ if client is None: client = self._client return client -
[docs] def create(self, client=None): +
[docs] def create(self, client=None): """API call: create the project via a ``POST`` request. See https://cloud.google.com/resource-manager/reference/rest/v1beta1/projects/create - :type client: :class:`gcloud.resource_manager.client.Client` or + :type client: :class:`google.cloud.resource_manager.client.Client` or :data:`NoneType <types.NoneType>` :param client: the client to use. If not passed, falls back to the client stored on the current project. @@ -234,13 +389,13 @@

Source code for gcloud.resource_manager.project

< data=data) self.set_properties_from_api_repr(resource=resp)
-
[docs] def reload(self, client=None): +
[docs] def reload(self, client=None): """API call: reload the project via a ``GET`` request. This method will reload the newest metadata for the project. If you've created a new :class:`Project` instance via :meth:`Client.new_project() \ - <gcloud.resource_manager.client.Client.new_project>`, + <google.cloud.resource_manager.client.Client.new_project>`, this method will retrieve project metadata. .. warning:: @@ -251,7 +406,7 @@

Source code for gcloud.resource_manager.project

< See https://cloud.google.com/resource-manager/reference/rest/v1beta1/projects/get - :type client: :class:`gcloud.resource_manager.client.Client` or + :type client: :class:`google.cloud.resource_manager.client.Client` or :data:`NoneType <types.NoneType>` :param client: the client to use. If not passed, falls back to the client stored on the current project. @@ -263,13 +418,13 @@

Source code for gcloud.resource_manager.project

< resp = client.connection.api_request(method='GET', path=self.path) self.set_properties_from_api_repr(resource=resp)
-
[docs] def exists(self, client=None): +
[docs] def exists(self, client=None): """API call: test the existence of a project via a ``GET`` request. See https://cloud.google.com/resource-manager/reference/rest/v1beta1/projects/get - :type client: :class:`gcloud.resource_manager.client.Client` or + :type client: :class:`google.cloud.resource_manager.client.Client` or :data:`NoneType <types.NoneType>` :param client: the client to use. If not passed, falls back to the client stored on the current project. @@ -288,13 +443,13 @@

Source code for gcloud.resource_manager.project

< else: return True
-
[docs] def update(self, client=None): +
[docs] def update(self, client=None): """API call: update the project via a ``PUT`` request. See https://cloud.google.com/resource-manager/reference/rest/v1beta1/projects/update - :type client: :class:`gcloud.resource_manager.client.Client` or + :type client: :class:`google.cloud.resource_manager.client.Client` or :data:`NoneType <types.NoneType>` :param client: the client to use. If not passed, falls back to the client stored on the current project. @@ -306,7 +461,7 @@

Source code for gcloud.resource_manager.project

< data=data) self.set_properties_from_api_repr(resp)
-
[docs] def delete(self, client=None, reload_data=False): +
[docs] def delete(self, client=None, reload_data=False): """API call: delete the project via a ``DELETE`` request. See: @@ -318,7 +473,7 @@

Source code for gcloud.resource_manager.project

< ``DELETE_IN_PROGRESS`` state, which means the deleting has actually begun. - :type client: :class:`gcloud.resource_manager.client.Client` or + :type client: :class:`google.cloud.resource_manager.client.Client` or :data:`NoneType <types.NoneType>` :param client: the client to use. If not passed, falls back to the client stored on the current project. @@ -337,7 +492,7 @@

Source code for gcloud.resource_manager.project

< if reload_data: self.reload()
-
[docs] def undelete(self, client=None, reload_data=False): +
[docs] def undelete(self, client=None, reload_data=False): """API call: undelete the project via a ``POST`` request. See @@ -348,7 +503,7 @@

Source code for gcloud.resource_manager.project

< If the project has already reached a status of ``DELETE_IN_PROGRESS``, this request will fail and the project cannot be restored. - :type client: :class:`gcloud.resource_manager.client.Client` or + :type client: :class:`google.cloud.resource_manager.client.Client` or :data:`NoneType <types.NoneType>` :param client: the client to use. If not passed, falls back to the client stored on the current project. @@ -369,123 +524,62 @@

Source code for gcloud.resource_manager.project

< self.reload()
-
-
+
+
+ - - - +
+ + + + + + + + + + + + + + + + + + + + + + + - + + + + \ No newline at end of file diff --git a/latest/_modules/gcloud/storage/acl.html b/latest/_modules/google/cloud/storage/acl.html similarity index 76% rename from latest/_modules/gcloud/storage/acl.html rename to latest/_modules/google/cloud/storage/acl.html index 400f73e55573..b7a4c70a0ce9 100644 --- a/latest/_modules/gcloud/storage/acl.html +++ b/latest/_modules/google/cloud/storage/acl.html @@ -1,102 +1,257 @@ + + + + + + + + + + google.cloud.storage.acl — google-cloud 92219b8 documentation + + + + + - - - - - gcloud.storage.acl — gcloud 47bfd0a documentation - - - - + + + + - - - - - - - - + + + + + + + + + + + + + + + + + + + + + +
+ -
- -
- -
- - - Report an Issue - -
-
+ + +
+ + + + + + +
+
+ + -
+ + + +
+
    +
  • Docs »
  • + +
  • Module code »
  • + +
  • google.cloud.storage.acl
  • +
  • -

    Source code for gcloud.storage.acl

    +          
    +        
    +      
  • +
+
+
+
+
+ +

Source code for google.cloud.storage.acl

 # Copyright 2014 Google Inc. All rights reserved.
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
@@ -113,11 +268,11 @@ 

Source code for gcloud.storage.acl

 
 """Manipulate access control lists that Cloud Storage provides.
 
-:class:`gcloud.storage.bucket.Bucket` has a getting method that creates
+:class:`google.cloud.storage.bucket.Bucket` has a getting method that creates
 an ACL object under the hood, and you can interact with that using
-:func:`gcloud.storage.bucket.Bucket.acl`::
+:func:`google.cloud.storage.bucket.Bucket.acl`::
 
-  >>> from gcloud import storage
+  >>> from google.cloud import storage
   >>> client = storage.Client()
   >>> bucket = client.get_bucket(bucket_name)
   >>> acl = bucket.acl
@@ -157,13 +312,13 @@ 

Source code for gcloud.storage.acl

   >>> acl.all().grant_read().revoke_write()
 
 After that, you can save any changes you make with the
-:func:`gcloud.storage.acl.ACL.save` method::
+:func:`google.cloud.storage.acl.ACL.save` method::
 
   >>> acl.save()
 
-You can alternatively save any existing :class:`gcloud.storage.acl.ACL`
+You can alternatively save any existing :class:`google.cloud.storage.acl.ACL`
 object (whether it was created by a factory method or not) from a
-:class:`gcloud.storage.bucket.Bucket`::
+:class:`google.cloud.storage.bucket.Bucket`::
 
   >>> bucket.acl.save(acl=acl)
 
@@ -261,7 +416,7 @@ 

Source code for gcloud.storage.acl

         self.revoke(_ACLEntity.OWNER_ROLE)
 
 
-
[docs]class ACL(object): +
[docs]class ACL(object): """Container class representing a list of access controls.""" _URL_PATH_ELEM = 'acl' @@ -305,7 +460,7 @@

Source code for gcloud.storage.acl

         if not self.loaded:
             self.reload()
 
-
[docs] def reset(self): +
[docs] def reset(self): """Remove all entities from the ACL, and clear the ``loaded`` flag.""" self.entities.clear() self.loaded = False
@@ -318,7 +473,7 @@

Source code for gcloud.storage.acl

                 if role:
                     yield {'entity': str(entity), 'role': role}
 
-
[docs] def entity_from_dict(self, entity_dict): +
[docs] def entity_from_dict(self, entity_dict): """Build an _ACLEntity object from a dictionary of data. An entity is a mutable object that represents a list of roles @@ -351,7 +506,7 @@

Source code for gcloud.storage.acl

         entity.grant(role)
         return entity
-
[docs] def has_entity(self, entity): +
[docs] def has_entity(self, entity): """Returns whether or not this ACL has any entries for an entity. :type entity: :class:`_ACLEntity` @@ -363,7 +518,7 @@

Source code for gcloud.storage.acl

         self._ensure_loaded()
         return str(entity) in self.entities
-
[docs] def get_entity(self, entity, default=None): +
[docs] def get_entity(self, entity, default=None): """Gets an entity object from the ACL. :type entity: :class:`_ACLEntity` or string @@ -380,7 +535,7 @@

Source code for gcloud.storage.acl

         self._ensure_loaded()
         return self.entities.get(str(entity), default)
-
[docs] def add_entity(self, entity): +
[docs] def add_entity(self, entity): """Add an entity to the ACL. :type entity: :class:`_ACLEntity` @@ -389,7 +544,7 @@

Source code for gcloud.storage.acl

         self._ensure_loaded()
         self.entities[str(entity)] = entity
-
[docs] def entity(self, entity_type, identifier=None): +
[docs] def entity(self, entity_type, identifier=None): """Factory method for creating an Entity. If an entity with the same type and identifier already exists, @@ -415,7 +570,7 @@

Source code for gcloud.storage.acl

             self.add_entity(entity)
         return entity
-
[docs] def user(self, identifier): +
[docs] def user(self, identifier): """Factory method for a user Entity. :type identifier: string @@ -426,7 +581,7 @@

Source code for gcloud.storage.acl

         """
         return self.entity('user', identifier=identifier)
-
[docs] def group(self, identifier): +
[docs] def group(self, identifier): """Factory method for a group Entity. :type identifier: string @@ -437,7 +592,7 @@

Source code for gcloud.storage.acl

         """
         return self.entity('group', identifier=identifier)
-
[docs] def domain(self, domain): +
[docs] def domain(self, domain): """Factory method for a domain Entity. :type domain: string @@ -448,7 +603,7 @@

Source code for gcloud.storage.acl

         """
         return self.entity('domain', identifier=domain)
-
[docs] def all(self): +
[docs] def all(self): """Factory method for an Entity representing all users. :rtype: :class:`_ACLEntity` @@ -456,7 +611,7 @@

Source code for gcloud.storage.acl

         """
         return self.entity('allUsers')
-
[docs] def all_authenticated(self): +
[docs] def all_authenticated(self): """Factory method for an Entity representing all authenticated users. :rtype: :class:`_ACLEntity` @@ -464,7 +619,7 @@

Source code for gcloud.storage.acl

         """
         return self.entity('allAuthenticatedUsers')
-
[docs] def get_entities(self): +
[docs] def get_entities(self): """Get a list of all Entity objects. :rtype: list of :class:`_ACLEntity` objects @@ -481,21 +636,23 @@

Source code for gcloud.storage.acl

     def _require_client(self, client):
         """Check client or verify over-ride.
 
-        :type client: :class:`gcloud.storage.client.Client` or ``NoneType``
+        :type client: :class:`~google.cloud.storage.client.Client` or
+                      ``NoneType``
         :param client: the client to use.  If not passed, falls back to the
                        ``client`` stored on the current ACL.
 
-        :rtype: :class:`gcloud.storage.client.Client`
+        :rtype: :class:`google.cloud.storage.client.Client`
         :returns: The client passed in or the currently bound client.
         """
         if client is None:
             client = self.client
         return client
 
-
[docs] def reload(self, client=None): +
[docs] def reload(self, client=None): """Reload the ACL data from Cloud Storage. - :type client: :class:`gcloud.storage.client.Client` or ``NoneType`` + :type client: :class:`~google.cloud.storage.client.Client` or + ``NoneType`` :param client: Optional. The client to use. If not passed, falls back to the ``client`` stored on the ACL's parent. """ @@ -512,7 +669,7 @@

Source code for gcloud.storage.acl

     def _save(self, acl, predefined, client):
         """Helper for :meth:`save` and :meth:`save_predefined`.
 
-        :type acl: :class:`gcloud.storage.acl.ACL`, or a compatible list.
+        :type acl: :class:`google.cloud.storage.acl.ACL`, or a compatible list.
         :param acl: The ACL object to save.  If left blank, this will save
                     current entries.
 
@@ -521,7 +678,8 @@ 

Source code for gcloud.storage.acl

                            of the keys in :attr:`PREDEFINED_JSON_ACLS`
                            If passed, `acl` must be None.
 
-        :type client: :class:`gcloud.storage.client.Client` or ``NoneType``
+        :type client: :class:`~google.cloud.storage.client.Client` or
+                      ``NoneType``
         :param client: Optional. The client to use.  If not passed, falls back
                        to the ``client`` stored on the ACL's parent.
         """
@@ -542,14 +700,15 @@ 

Source code for gcloud.storage.acl

             self.add_entity(self.entity_from_dict(entry))
         self.loaded = True
 
-
[docs] def save(self, acl=None, client=None): +
[docs] def save(self, acl=None, client=None): """Save this ACL for the current bucket. - :type acl: :class:`gcloud.storage.acl.ACL`, or a compatible list. + :type acl: :class:`google.cloud.storage.acl.ACL`, or a compatible list. :param acl: The ACL object to save. If left blank, this will save current entries. - :type client: :class:`gcloud.storage.client.Client` or ``NoneType`` + :type client: :class:`~google.cloud.storage.client.Client` or + ``NoneType`` :param client: Optional. The client to use. If not passed, falls back to the ``client`` stored on the ACL's parent. """ @@ -562,7 +721,7 @@

Source code for gcloud.storage.acl

         if save_to_backend:
             self._save(acl, None, client)
-
[docs] def save_predefined(self, predefined, client=None): +
[docs] def save_predefined(self, predefined, client=None): """Save this ACL for the current bucket using a predefined ACL. :type predefined: string @@ -572,7 +731,8 @@

Source code for gcloud.storage.acl

                            aliased to the corresponding JSON name).
                            If passed, `acl` must be None.
 
-        :type client: :class:`gcloud.storage.client.Client` or ``NoneType``
+        :type client: :class:`~google.cloud.storage.client.Client` or
+                      ``NoneType``
         :param client: Optional. The client to use.  If not passed, falls back
                        to the ``client`` stored on the ACL's parent.
         """
@@ -583,7 +743,7 @@ 

Source code for gcloud.storage.acl

 
         self._save(None, predefined, client)
-
[docs] def clear(self, client=None): +
[docs] def clear(self, client=None): """Remove all ACL entries. Note that this won't actually remove *ALL* the rules, but it @@ -591,17 +751,18 @@

Source code for gcloud.storage.acl

         have access to a bucket that you created even after you clear
         ACL rules with this method.
 
-        :type client: :class:`gcloud.storage.client.Client` or ``NoneType``
+        :type client: :class:`~google.cloud.storage.client.Client` or
+                      ``NoneType``
         :param client: Optional. The client to use.  If not passed, falls back
                        to the ``client`` stored on the ACL's parent.
         """
         self.save([], client=client)
-
[docs]class BucketACL(ACL): +
[docs]class BucketACL(ACL): """An ACL specifically for a bucket. - :type bucket: :class:`gcloud.storage.bucket.Bucket` + :type bucket: :class:`google.cloud.storage.bucket.Bucket` :param bucket: The bucket to which this ACL relates. """ @@ -625,17 +786,17 @@

Source code for gcloud.storage.acl

         return self.bucket.path
-
[docs]class DefaultObjectACL(BucketACL): +
[docs]class DefaultObjectACL(BucketACL): """A class representing the default object ACL for a bucket.""" _URL_PATH_ELEM = 'defaultObjectAcl' _PREDEFINED_QUERY_PARAM = 'predefinedDefaultObjectAcl'
-
[docs]class ObjectACL(ACL): +
[docs]class ObjectACL(ACL): """An ACL specifically for a Cloud Storage object / blob. - :type blob: :class:`gcloud.storage.blob.Blob` + :type blob: :class:`google.cloud.storage.blob.Blob` :param blob: The blob that this ACL corresponds to. """ @@ -659,123 +820,62 @@

Source code for gcloud.storage.acl

         return self.blob.path
-
-
+
+
+ - - - +
+ + + + + + + + + + + + + + + + + + + + + + + - + + + + \ No newline at end of file diff --git a/latest/_modules/gcloud/storage/batch.html b/latest/_modules/google/cloud/storage/batch.html similarity index 78% rename from latest/_modules/gcloud/storage/batch.html rename to latest/_modules/google/cloud/storage/batch.html index 6729d87cb7fa..d17d6b49f0c1 100644 --- a/latest/_modules/gcloud/storage/batch.html +++ b/latest/_modules/google/cloud/storage/batch.html @@ -1,102 +1,257 @@ + + + + + + + + + + google.cloud.storage.batch — google-cloud 92219b8 documentation + + + + + - - - - - gcloud.storage.batch — gcloud 47bfd0a documentation - - - - + + + + - - - - - - - - + + + + + + + + + + + + + + + + + + + + + +
+ -
- -
- -
- - - Report an Issue - -
-
+ + +
+ + + + + + +
+
+ + -
+ + + +
+
    +
  • Docs »
  • + +
  • Module code »
  • + +
  • google.cloud.storage.batch
  • +
  • -

    Source code for gcloud.storage.batch

    +          
    +        
    +      
  • +
+
+
+
+
+ +

Source code for google.cloud.storage.batch

 # Copyright 2014 Google Inc. All rights reserved.
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
@@ -125,11 +280,11 @@ 

Source code for gcloud.storage.batch

 import httplib2
 import six
 
-from gcloud.exceptions import make_exception
-from gcloud.storage.connection import Connection
+from google.cloud.exceptions import make_exception
+from google.cloud.storage.connection import Connection
 
 
-
[docs]class MIMEApplicationHTTP(MIMEApplication): +
[docs]class MIMEApplicationHTTP(MIMEApplication): """MIME type for ``application/http``. Constructs payload from headers and body @@ -169,7 +324,7 @@

Source code for gcloud.storage.batch

             super_init(payload, 'http', encode_noop)
-
[docs]class NoContent(object): +
[docs]class NoContent(object): """Emulate an HTTP '204 No Content' response.""" status = 204
@@ -222,10 +377,10 @@

Source code for gcloud.storage.batch

         raise KeyError('Cannot set %r -> %r on a future' % (key, value))
 
 
-
[docs]class Batch(Connection): +
[docs]class Batch(Connection): """Proxy an underlying connection, batching up change operations. - :type client: :class:`gcloud.storage.client.Client` + :type client: :class:`google.cloud.storage.client.Client` :param client: The client to use for making connections. """ _MAX_BATCH_SIZE = 1000 @@ -330,8 +485,8 @@

Source code for gcloud.storage.batch

         if exception_args is not None:
             raise make_exception(*exception_args)
 
-
[docs] def finish(self): - """Submit a single `multipart/mixed` request w/ deferred requests. +
[docs] def finish(self): + """Submit a single `multipart/mixed` request with deferred requests. :rtype: list of tuples :returns: one ``(headers, payload)`` tuple per deferred request. @@ -349,7 +504,7 @@

Source code for gcloud.storage.batch

         self._finish_futures(responses)
         return responses
-
[docs] def current(self): +
[docs] def current(self): """Return the topmost batch, or None.""" return self._client.current_batch
@@ -370,7 +525,7 @@

Source code for gcloud.storage.batch

 
     Helper for _unpack_batch_response.
     """
-    # We coerce to bytes to get consitent concat across
+    # We coerce to bytes to get consistent concat across
     # Py2 and Py3. Percent formatting is insufficient since
     # it includes the b in Py3.
     if not isinstance(content, six.binary_type):
@@ -423,123 +578,62 @@ 

Source code for gcloud.storage.batch

         yield headers, payload
 
-
-
+
+
+ - - - +
+ + + + + + + + + + + + + + + + + + + + + + + - + + + + \ No newline at end of file diff --git a/latest/_modules/gcloud/storage/blob.html b/latest/_modules/google/cloud/storage/blob.html similarity index 82% rename from latest/_modules/gcloud/storage/blob.html rename to latest/_modules/google/cloud/storage/blob.html index 8cdb0c995ebe..6ce92de93b09 100644 --- a/latest/_modules/gcloud/storage/blob.html +++ b/latest/_modules/google/cloud/storage/blob.html @@ -1,102 +1,257 @@ + + + + + + + + + + google.cloud.storage.blob — google-cloud 92219b8 documentation + + + + + - - - - - gcloud.storage.blob — gcloud 47bfd0a documentation - - - - + + + + - - - - - - - - + + + + + + + + + + + + + + + + + + + + + +
+ -
- -
- -
- - - Report an Issue - -
-
+ + +
+ + + + + + +
+
+ + -
+ + + +
+
    +
  • Docs »
  • + +
  • Module code »
  • + +
  • google.cloud.storage.blob
  • +
  • -

    Source code for gcloud.storage.blob

    +          
    +        
    +      
  • +
+
+
+
+
+ +

Source code for google.cloud.storage.blob

 # Copyright 2014 Google Inc. All rights reserved.
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
@@ -127,33 +282,33 @@ 

Source code for gcloud.storage.blob

 import six
 from six.moves.urllib.parse import quote
 
-from gcloud._helpers import _rfc3339_to_datetime
-from gcloud._helpers import _to_bytes
-from gcloud._helpers import _bytes_to_unicode
-from gcloud.credentials import generate_signed_url
-from gcloud.exceptions import NotFound
-from gcloud.exceptions import make_exception
-from gcloud.storage._helpers import _PropertyMixin
-from gcloud.storage._helpers import _scalar_property
-from gcloud.storage.acl import ObjectACL
-from gcloud.streaming.http_wrapper import Request
-from gcloud.streaming.http_wrapper import make_api_request
-from gcloud.streaming.transfer import Download
-from gcloud.streaming.transfer import RESUMABLE_UPLOAD
-from gcloud.streaming.transfer import Upload
+from google.cloud._helpers import _rfc3339_to_datetime
+from google.cloud._helpers import _to_bytes
+from google.cloud._helpers import _bytes_to_unicode
+from google.cloud.credentials import generate_signed_url
+from google.cloud.exceptions import NotFound
+from google.cloud.exceptions import make_exception
+from google.cloud.storage._helpers import _PropertyMixin
+from google.cloud.storage._helpers import _scalar_property
+from google.cloud.storage.acl import ObjectACL
+from google.cloud.streaming.http_wrapper import Request
+from google.cloud.streaming.http_wrapper import make_api_request
+from google.cloud.streaming.transfer import Download
+from google.cloud.streaming.transfer import RESUMABLE_UPLOAD
+from google.cloud.streaming.transfer import Upload
 
 
 _API_ACCESS_ENDPOINT = 'https://storage.googleapis.com'
 
 
-
[docs]class Blob(_PropertyMixin): +
[docs]class Blob(_PropertyMixin): """A wrapper around Cloud Storage's concept of an ``Object``. :type name: string :param name: The name of the blob. This corresponds to the unique path of the object in the bucket. - :type bucket: :class:`gcloud.storage.bucket.Bucket` + :type bucket: :class:`google.cloud.storage.bucket.Bucket` :param bucket: The bucket to which this blob belongs. :type chunk_size: integer @@ -199,7 +354,7 @@

Source code for gcloud.storage.blob

         self._chunk_size = value
 
     @staticmethod
-
[docs] def path_helper(bucket_path, blob_name): +
[docs] def path_helper(bucket_path, blob_name): """Relative URL path for a blob. :type bucket_path: string @@ -255,7 +410,7 @@

Source code for gcloud.storage.blob

             bucket_name=self.bucket.name,
             quoted_name=quote(self.name, safe=''))
 
-
[docs] def generate_signed_url(self, expiration, method='GET', +
[docs] def generate_signed_url(self, expiration, method='GET', content_type=None, generation=None, response_disposition=None, response_type=None, client=None, credentials=None): @@ -269,7 +424,7 @@

Source code for gcloud.storage.blob

             service account from a JSON file rather than a GCE service account.
 
         .. _Issue 922: https://github.com/GoogleCloudPlatform/\
-                       gcloud-python/issues/922
+                       google-cloud-python/issues/922
 
         If you have a blob that you want to allow access to for a set
         amount of time, you can use this method to generate a URL that
@@ -306,7 +461,8 @@ 

Source code for gcloud.storage.blob

                               for the signed URL. Used to over-ride the content
                               type of the underlying blob/object.
 
-        :type client: :class:`gcloud.storage.client.Client` or ``NoneType``
+        :type client: :class:`~google.cloud.storage.client.Client` or
+                      ``NoneType``
         :param client: (Optional) The client to use.  If not passed, falls back
                        to the ``client`` stored on the blob's bucket.
 
@@ -338,10 +494,11 @@ 

Source code for gcloud.storage.blob

             response_disposition=response_disposition,
             generation=generation)
-
[docs] def exists(self, client=None): +
[docs] def exists(self, client=None): """Determines whether or not this blob exists. - :type client: :class:`gcloud.storage.client.Client` or ``NoneType`` + :type client: :class:`~google.cloud.storage.client.Client` or + ``NoneType`` :param client: Optional. The client to use. If not passed, falls back to the ``client`` stored on the blob's bucket. @@ -365,22 +522,23 @@

Source code for gcloud.storage.blob

         except NotFound:
             return False
-
[docs] def delete(self, client=None): +
[docs] def delete(self, client=None): """Deletes a blob from Cloud Storage. - :type client: :class:`gcloud.storage.client.Client` or ``NoneType`` + :type client: :class:`~google.cloud.storage.client.Client` or + ``NoneType`` :param client: Optional. The client to use. If not passed, falls back to the ``client`` stored on the blob's bucket. :rtype: :class:`Blob` :returns: The blob that was just deleted. - :raises: :class:`gcloud.exceptions.NotFound` + :raises: :class:`google.cloud.exceptions.NotFound` (propagated from - :meth:`gcloud.storage.bucket.Bucket.delete_blob`). + :meth:`google.cloud.storage.bucket.Bucket.delete_blob`). """ return self.bucket.delete_blob(self.name, client=client)
-
[docs] def download_to_file(self, file_obj, encryption_key=None, client=None): +
[docs] def download_to_file(self, file_obj, encryption_key=None, client=None): """Download the contents of this blob into a file-like object. .. note:: @@ -391,8 +549,8 @@

Source code for gcloud.storage.blob

          Downloading a file that has been encrypted with a `customer-supplied`_
          encryption key::
 
-            >>> from gcloud import storage
-            >>> from gcloud.storage import Blob
+            >>> from google.cloud import storage
+            >>> from google.cloud.storage import Blob
 
             >>> client = storage.Client(project='my-project')
             >>> bucket = client.get_bucket('my-bucket')
@@ -415,11 +573,12 @@ 

Source code for gcloud.storage.blob

         :param encryption_key: Optional 32 byte encryption key for
                                customer-supplied encryption.
 
-        :type client: :class:`gcloud.storage.client.Client` or ``NoneType``
+        :type client: :class:`~google.cloud.storage.client.Client` or
+                      ``NoneType``
         :param client: Optional. The client to use.  If not passed, falls back
                        to the ``client`` stored on the blob's bucket.
 
-        :raises: :class:`gcloud.exceptions.NotFound`
+        :raises: :class:`google.cloud.exceptions.NotFound`
         """
         client = self._require_client(client)
         if self.media_link is None:  # not yet loaded
@@ -447,7 +606,7 @@ 

Source code for gcloud.storage.blob

         # it has all three (http, API_BASE_URL and build_api_url).
         download.initialize_download(request, client._connection.http)
-
[docs] def download_to_filename(self, filename, encryption_key=None, client=None): +
[docs] def download_to_filename(self, filename, encryption_key=None, client=None): """Download the contents of this blob into a named file. :type filename: string @@ -457,11 +616,12 @@

Source code for gcloud.storage.blob

         :param encryption_key: Optional 32 byte encryption key for
                                customer-supplied encryption.
 
-        :type client: :class:`gcloud.storage.client.Client` or ``NoneType``
+        :type client: :class:`~google.cloud.storage.client.Client` or
+                      ``NoneType``
         :param client: Optional. The client to use.  If not passed, falls back
                        to the ``client`` stored on the blob's bucket.
 
-        :raises: :class:`gcloud.exceptions.NotFound`
+        :raises: :class:`google.cloud.exceptions.NotFound`
         """
         with open(filename, 'wb') as file_obj:
             self.download_to_file(file_obj, encryption_key=encryption_key,
@@ -470,20 +630,21 @@ 

Source code for gcloud.storage.blob

         mtime = time.mktime(self.updated.timetuple())
         os.utime(file_obj.name, (mtime, mtime))
-
[docs] def download_as_string(self, encryption_key=None, client=None): +
[docs] def download_as_string(self, encryption_key=None, client=None): """Download the contents of this blob as a string. :type encryption_key: str or bytes :param encryption_key: Optional 32 byte encryption key for customer-supplied encryption. - :type client: :class:`gcloud.storage.client.Client` or ``NoneType`` + :type client: :class:`~google.cloud.storage.client.Client` or + ``NoneType`` :param client: Optional. The client to use. If not passed, falls back to the ``client`` stored on the blob's bucket. :rtype: bytes :returns: The data stored in this blob. - :raises: :class:`gcloud.exceptions.NotFound` + :raises: :class:`google.cloud.exceptions.NotFound` """ string_buffer = BytesIO() self.download_to_file(string_buffer, encryption_key=encryption_key, @@ -501,7 +662,7 @@

Source code for gcloud.storage.blob

                                  error_info=request.url)
 
     # pylint: disable=too-many-locals
-
[docs] def upload_from_file(self, file_obj, rewind=False, size=None, +
[docs] def upload_from_file(self, file_obj, rewind=False, size=None, encryption_key=None, content_type=None, num_retries=6, client=None): """Upload the contents of this blob from a file-like object. @@ -524,8 +685,8 @@

Source code for gcloud.storage.blob

 
         Uploading a file with a `customer-supplied`_ encryption key::
 
-            >>> from gcloud import storage
-            >>> from gcloud.storage import Blob
+            >>> from google.cloud import storage
+            >>> from google.cloud.storage import Blob
 
             >>> client = storage.Client(project='my-project')
             >>> bucket = client.get_bucket('my-bucket')
@@ -564,13 +725,14 @@ 

Source code for gcloud.storage.blob

         :type num_retries: integer
         :param num_retries: Number of upload retries. Defaults to 6.
 
-        :type client: :class:`gcloud.storage.client.Client` or ``NoneType``
+        :type client: :class:`~google.cloud.storage.client.Client` or
+                      ``NoneType``
         :param client: Optional. The client to use.  If not passed, falls back
                        to the ``client`` stored on the blob's bucket.
 
         :raises: :class:`ValueError` if size is not passed in and can not be
-                 determined; :class:`gcloud.exceptions.GCloudError` if the
-                 upload response returns an error status.
+                 determined; :class:`google.cloud.exceptions.GoogleCloudError`
+                 if the upload response returns an error status.
         """
         client = self._require_client(client)
         # Use the private ``_connection`` rather than the public
@@ -653,7 +815,7 @@ 

Source code for gcloud.storage.blob

         self._set_properties(json.loads(response_content))
# pylint: enable=too-many-locals -
[docs] def upload_from_filename(self, filename, content_type=None, +
[docs] def upload_from_filename(self, filename, content_type=None, encryption_key=None, client=None): """Upload this blob's contents from the content of a named file. @@ -683,7 +845,8 @@

Source code for gcloud.storage.blob

         :param encryption_key: Optional 32 byte encryption key for
                                customer-supplied encryption.
 
-        :type client: :class:`gcloud.storage.client.Client` or ``NoneType``
+        :type client: :class:`~google.cloud.storage.client.Client` or
+                      ``NoneType``
         :param client: Optional. The client to use.  If not passed, falls back
                        to the ``client`` stored on the blob's bucket.
         """
@@ -695,7 +858,7 @@ 

Source code for gcloud.storage.blob

             self.upload_from_file(file_obj, content_type=content_type,
                                   encryption_key=encryption_key, client=client)
-
[docs] def upload_from_string(self, data, content_type='text/plain', +
[docs] def upload_from_string(self, data, content_type='text/plain', encryption_key=None, client=None): """Upload contents of this blob from the provided string. @@ -722,7 +885,8 @@

Source code for gcloud.storage.blob

         :param encryption_key: Optional 32 byte encryption key for
                                customer-supplied encryption.
 
-        :type client: :class:`gcloud.storage.client.Client` or ``NoneType``
+        :type client: :class:`~google.cloud.storage.client.Client` or
+                      ``NoneType``
         :param client: Optional. The client to use.  If not passed, falls back
                        to the ``client`` stored on the blob's bucket.
         """
@@ -734,10 +898,11 @@ 

Source code for gcloud.storage.blob

                               size=len(data), content_type=content_type,
                               encryption_key=encryption_key, client=client)
-
[docs] def make_public(self, client=None): +
[docs] def make_public(self, client=None): """Make this blob public giving all users read access. - :type client: :class:`gcloud.storage.client.Client` or ``NoneType`` + :type client: :class:`~google.cloud.storage.client.Client` or + ``NoneType`` :param client: Optional. The client to use. If not passed, falls back to the ``client`` stored on the blob's bucket. """ @@ -1028,7 +1193,7 @@

Source code for gcloud.storage.blob

 
 
 def _set_encryption_headers(key, headers):
-    """Builds customer encyrption key headers
+    """Builds customer encryption key headers
 
     :type key: str or bytes
     :param key: 32 byte key to build request key and hash.
@@ -1045,123 +1210,62 @@ 

Source code for gcloud.storage.blob

     headers['X-Goog-Encryption-Key-Sha256'] = _bytes_to_unicode(key_hash)
 
-
-
+
+
+ - - - +
+ + + + + + + + + + + + + + + + + + + + + + + - + + + + \ No newline at end of file diff --git a/latest/_modules/gcloud/storage/bucket.html b/latest/_modules/google/cloud/storage/bucket.html similarity index 79% rename from latest/_modules/gcloud/storage/bucket.html rename to latest/_modules/google/cloud/storage/bucket.html index b86db41938b3..6ed28e1e8fdc 100644 --- a/latest/_modules/gcloud/storage/bucket.html +++ b/latest/_modules/google/cloud/storage/bucket.html @@ -1,102 +1,257 @@ + + + + + + + + + + google.cloud.storage.bucket — google-cloud 92219b8 documentation + + + + + - - - - - gcloud.storage.bucket — gcloud 47bfd0a documentation - - - - + + + + - - - - - - - - + + + + + + + + + + + + + + + + + + + + + +
+ -
- -
- -
- - - Report an Issue - -
-
+ + +
+ + + + + + +
+
+ + -
+ + + +
+
    +
  • Docs »
  • + +
  • Module code »
  • + +
  • google.cloud.storage.bucket
  • +
  • -

    Source code for gcloud.storage.bucket

    +          
    +        
    +      
  • +
+
+
+
+
+ +

Source code for google.cloud.storage.bucket

 # Copyright 2014 Google Inc. All rights reserved.
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
@@ -111,35 +266,35 @@ 

Source code for gcloud.storage.bucket

 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-"""Create / interact with gcloud storage buckets."""
+"""Create / interact with Google Cloud Storage buckets."""
 
 import copy
 
 import six
 
-from gcloud._helpers import _rfc3339_to_datetime
-from gcloud.exceptions import NotFound
-from gcloud.iterator import Iterator
-from gcloud.storage._helpers import _PropertyMixin
-from gcloud.storage._helpers import _scalar_property
-from gcloud.storage.acl import BucketACL
-from gcloud.storage.acl import DefaultObjectACL
-from gcloud.storage.blob import Blob
+from google.cloud._helpers import _rfc3339_to_datetime
+from google.cloud.exceptions import NotFound
+from google.cloud.iterator import Iterator
+from google.cloud.storage._helpers import _PropertyMixin
+from google.cloud.storage._helpers import _scalar_property
+from google.cloud.storage.acl import BucketACL
+from google.cloud.storage.acl import DefaultObjectACL
+from google.cloud.storage.blob import Blob
 
 
 class _BlobIterator(Iterator):
     """An iterator listing blobs in a bucket
 
     You shouldn't have to use this directly, but instead should use the
-    :class:`gcloud.storage.blob.Bucket.list_blobs` method.
+    :class:`google.cloud.storage.blob.Bucket.list_blobs` method.
 
-    :type bucket: :class:`gcloud.storage.bucket.Bucket`
+    :type bucket: :class:`google.cloud.storage.bucket.Bucket`
     :param bucket: The bucket from which to list blobs.
 
     :type extra_params: dict or None
     :param extra_params: Extra query string parameters for the API call.
 
-    :type client: :class:`gcloud.storage.client.Client`
+    :type client: :class:`google.cloud.storage.client.Client`
     :param client: Optional. The client to use for making connections.
                    Defaults to the bucket's client.
     """
@@ -168,10 +323,10 @@ 

Source code for gcloud.storage.bucket

             yield blob
 
 
-
[docs]class Bucket(_PropertyMixin): +
[docs]class Bucket(_PropertyMixin): """A class representing a Bucket on Cloud Storage. - :type client: :class:`gcloud.storage.client.Client` + :type client: :class:`google.cloud.storage.client.Client` :param client: A client which holds credentials and project configuration for the bucket (which requires a project). @@ -202,7 +357,7 @@

Source code for gcloud.storage.bucket

         """The client bound to this bucket."""
         return self._client
 
-
[docs] def blob(self, blob_name, chunk_size=None): +
[docs] def blob(self, blob_name, chunk_size=None): """Factory constructor for blob object. .. note:: @@ -217,15 +372,16 @@

Source code for gcloud.storage.bucket

                            (1 MB). This must be a multiple of 256 KB per the
                            API specification.
 
-        :rtype: :class:`gcloud.storage.blob.Blob`
+        :rtype: :class:`google.cloud.storage.blob.Blob`
         :returns: The blob object created.
         """
         return Blob(name=blob_name, bucket=self, chunk_size=chunk_size)
-
[docs] def exists(self, client=None): +
[docs] def exists(self, client=None): """Determines whether or not this bucket exists. - :type client: :class:`gcloud.storage.client.Client` or ``NoneType`` + :type client: :class:`~google.cloud.storage.client.Client` or + ``NoneType`` :param client: Optional. The client to use. If not passed, falls back to the ``client`` stored on the current bucket. @@ -249,15 +405,16 @@

Source code for gcloud.storage.bucket

         except NotFound:
             return False
-
[docs] def create(self, client=None): +
[docs] def create(self, client=None): """Creates current bucket. If the bucket already exists, will raise - :class:`gcloud.exceptions.Conflict`. + :class:`google.cloud.exceptions.Conflict`. This implements "storage.buckets.insert". - :type client: :class:`gcloud.storage.client.Client` or ``NoneType`` + :type client: :class:`~google.cloud.storage.client.Client` or + ``NoneType`` :param client: Optional. The client to use. If not passed, falls back to the ``client`` stored on the current bucket. """ @@ -282,7 +439,7 @@

Source code for gcloud.storage.bucket

         return self._default_object_acl
 
     @staticmethod
-
[docs] def path_helper(bucket_name): +
[docs] def path_helper(bucket_name): """Relative URL path for a bucket. :type bucket_name: string @@ -301,12 +458,12 @@

Source code for gcloud.storage.bucket

 
         return self.path_helper(self.name)
 
-
[docs] def get_blob(self, blob_name, client=None): +
[docs] def get_blob(self, blob_name, client=None): """Get a blob object by name. This will return None if the blob doesn't exist:: - >>> from gcloud import storage + >>> from google.cloud import storage >>> client = storage.Client() >>> bucket = client.get_bucket('my-bucket') >>> print bucket.get_blob('/path/to/blob.txt') @@ -317,11 +474,12 @@

Source code for gcloud.storage.bucket

         :type blob_name: string
         :param blob_name: The name of the blob to retrieve.
 
-        :type client: :class:`gcloud.storage.client.Client` or ``NoneType``
+        :type client: :class:`~google.cloud.storage.client.Client` or
+                      ``NoneType``
         :param client: Optional. The client to use.  If not passed, falls back
                        to the ``client`` stored on the current bucket.
 
-        :rtype: :class:`gcloud.storage.blob.Blob` or None
+        :rtype: :class:`google.cloud.storage.blob.Blob` or None
         :returns: The blob object if it exists, otherwise None.
         """
         client = self._require_client(client)
@@ -338,7 +496,7 @@ 

Source code for gcloud.storage.bucket

         except NotFound:
             return None
-
[docs] def list_blobs(self, max_results=None, page_token=None, prefix=None, +
[docs] def list_blobs(self, max_results=None, page_token=None, prefix=None, delimiter=None, versions=None, projection='noAcl', fields=None, client=None): """Return an iterator used to find blobs in the bucket. @@ -372,7 +530,8 @@

Source code for gcloud.storage.bucket

                        and the language of each blob returned:
                        'items/contentLanguage,nextPageToken'
 
-        :type client: :class:`gcloud.storage.client.Client` or ``NoneType``
+        :type client: :class:`~google.cloud.storage.client.Client` or
+                      ``NoneType``
         :param client: Optional. The client to use.  If not passed, falls back
                        to the ``client`` stored on the current bucket.
 
@@ -403,10 +562,12 @@ 

Source code for gcloud.storage.bucket

         # Page token must be handled specially since the base `Iterator`
         # class has it as a reserved property.
         if page_token is not None:
+            # pylint: disable=attribute-defined-outside-init
             result.next_page_token = page_token
+            # pylint: enable=attribute-defined-outside-init
         return result
-
[docs] def delete(self, force=False, client=None): +
[docs] def delete(self, force=False, client=None): """Delete this bucket. The bucket **must** be empty in order to submit a delete request. If @@ -414,8 +575,9 @@

Source code for gcloud.storage.bucket

         objects / blobs in the bucket (i.e. try to empty the bucket).
 
         If the bucket doesn't exist, this will raise
-        :class:`gcloud.exceptions.NotFound`.  If the bucket is not empty
-        (and ``force=False``), will raise :class:`gcloud.exceptions.Conflict`.
+        :class:`google.cloud.exceptions.NotFound`.  If the bucket is not empty
+        (and ``force=False``), will raise
+        :class:`google.cloud.exceptions.Conflict`.
 
         If ``force=True`` and the bucket contains more than 256 objects / blobs
         this will cowardly refuse to delete the objects (or the bucket). This
@@ -425,7 +587,8 @@ 

Source code for gcloud.storage.bucket

         :type force: boolean
         :param force: If True, empties the bucket's objects then deletes it.
 
-        :type client: :class:`gcloud.storage.client.Client` or ``NoneType``
+        :type client: :class:`~google.cloud.storage.client.Client` or
+                      ``NoneType``
         :param client: Optional. The client to use.  If not passed, falls back
                        to the ``client`` stored on the current bucket.
 
@@ -456,16 +619,16 @@ 

Source code for gcloud.storage.bucket

         client.connection.api_request(method='DELETE', path=self.path,
                                       _target_object=None)
-
[docs] def delete_blob(self, blob_name, client=None): +
[docs] def delete_blob(self, blob_name, client=None): """Deletes a blob from the current bucket. If the blob isn't found (backend 404), raises a - :class:`gcloud.exceptions.NotFound`. + :class:`google.cloud.exceptions.NotFound`. For example:: - >>> from gcloud.exceptions import NotFound - >>> from gcloud import storage + >>> from google.cloud.exceptions import NotFound + >>> from google.cloud import storage >>> client = storage.Client() >>> bucket = client.get_bucket('my-bucket') >>> print bucket.list_blobs() @@ -479,11 +642,12 @@

Source code for gcloud.storage.bucket

         :type blob_name: string
         :param blob_name: A blob name to delete.
 
-        :type client: :class:`gcloud.storage.client.Client` or ``NoneType``
+        :type client: :class:`~google.cloud.storage.client.Client` or
+                      ``NoneType``
         :param client: Optional. The client to use.  If not passed, falls back
                        to the ``client`` stored on the current bucket.
 
-        :raises: :class:`gcloud.exceptions.NotFound` (to suppress
+        :raises: :class:`google.cloud.exceptions.NotFound` (to suppress
                  the exception, call ``delete_blobs``, passing a no-op
                  ``on_error`` callback, e.g.::
 
@@ -497,24 +661,25 @@ 

Source code for gcloud.storage.bucket

         client.connection.api_request(method='DELETE', path=blob_path,
                                       _target_object=None)
-
[docs] def delete_blobs(self, blobs, on_error=None, client=None): +
[docs] def delete_blobs(self, blobs, on_error=None, client=None): """Deletes a list of blobs from the current bucket. Uses :func:`Bucket.delete_blob` to delete each individual blob. - :type blobs: list of string or :class:`gcloud.storage.blob.Blob` + :type blobs: list of string or :class:`google.cloud.storage.blob.Blob` :param blobs: A list of blob names or Blob objects to delete. :type on_error: a callable taking (blob) :param on_error: If not ``None``, called once for each blob raising - :class:`gcloud.exceptions.NotFound`; + :class:`google.cloud.exceptions.NotFound`; otherwise, the exception is propagated. - :type client: :class:`gcloud.storage.client.Client` or ``NoneType`` + :type client: :class:`~google.cloud.storage.client.Client` or + ``NoneType`` :param client: Optional. The client to use. If not passed, falls back to the ``client`` stored on the current bucket. - :raises: :class:`gcloud.exceptions.NotFound` (if + :raises: :class:`google.cloud.exceptions.NotFound` (if `on_error` is not passed). """ for blob in blobs: @@ -529,25 +694,26 @@

Source code for gcloud.storage.bucket

                 else:
                     raise
-
[docs] def copy_blob(self, blob, destination_bucket, new_name=None, +
[docs] def copy_blob(self, blob, destination_bucket, new_name=None, client=None): """Copy the given blob to the given bucket, optionally with a new name. - :type blob: :class:`gcloud.storage.blob.Blob` + :type blob: :class:`google.cloud.storage.blob.Blob` :param blob: The blob to be copied. - :type destination_bucket: :class:`gcloud.storage.bucket.Bucket` + :type destination_bucket: :class:`google.cloud.storage.bucket.Bucket` :param destination_bucket: The bucket into which the blob should be copied. :type new_name: string :param new_name: (optional) the new name for the copied file. - :type client: :class:`gcloud.storage.client.Client` or ``NoneType`` + :type client: :class:`~google.cloud.storage.client.Client` or + ``NoneType`` :param client: Optional. The client to use. If not passed, falls back to the ``client`` stored on the current bucket. - :rtype: :class:`gcloud.storage.blob.Blob` + :rtype: :class:`google.cloud.storage.blob.Blob` :returns: The new Blob. """ client = self._require_client(client) @@ -560,7 +726,7 @@

Source code for gcloud.storage.bucket

         new_blob._set_properties(copy_result)
         return new_blob
-
[docs] def rename_blob(self, blob, new_name, client=None): +
[docs] def rename_blob(self, blob, new_name, client=None): """Rename the given blob using copy and delete operations. Effectively, copies blob to the same bucket with a new name, then @@ -572,13 +738,14 @@

Source code for gcloud.storage.bucket

           old blob.  This means that with very large objects renaming
           could be a very (temporarily) costly or a very slow operation.
 
-        :type blob: :class:`gcloud.storage.blob.Blob`
+        :type blob: :class:`google.cloud.storage.blob.Blob`
         :param blob: The blob to be renamed.
 
         :type new_name: string
         :param new_name: The new name for this blob.
 
-        :type client: :class:`gcloud.storage.client.Client` or ``NoneType``
+        :type client: :class:`~google.cloud.storage.client.Client` or
+                      ``NoneType``
         :param client: Optional. The client to use.  If not passed, falls back
                        to the ``client`` stored on the current bucket.
 
@@ -667,7 +834,7 @@ 

Source code for gcloud.storage.bucket

     :rtype: string or ``NoneType``
     """
 
-
[docs] def get_logging(self): +
[docs] def get_logging(self): """Return info about access logging for this bucket. See: https://cloud.google.com/storage/docs/accesslogs#status @@ -679,7 +846,7 @@

Source code for gcloud.storage.bucket

         info = self._properties.get('logging')
         return copy.deepcopy(info)
-
[docs] def enable_logging(self, bucket_name, object_prefix=''): +
[docs] def enable_logging(self, bucket_name, object_prefix=''): """Enable access logging for this bucket. See: https://cloud.google.com/storage/docs/accesslogs#delivery @@ -693,7 +860,7 @@

Source code for gcloud.storage.bucket

         info = {'logBucket': bucket_name, 'logObjectPrefix': object_prefix}
         self._patch_property('logging', info)
-
[docs] def disable_logging(self): +
[docs] def disable_logging(self): """Disable access logging for this bucket. See: https://cloud.google.com/storage/docs/accesslogs#disabling @@ -821,7 +988,7 @@

Source code for gcloud.storage.bucket

         """
         self._patch_property('versioning', {'enabled': bool(value)})
 
-
[docs] def configure_website(self, main_page_suffix=None, not_found_page=None): +
[docs] def configure_website(self, main_page_suffix=None, not_found_page=None): """Configure website-related properties. See: https://developers.google.com/storage/docs/website-configuration @@ -834,7 +1001,7 @@

Source code for gcloud.storage.bucket

         If you want this bucket to host a website, just provide the name
         of an index page and a page to use when a blob isn't found::
 
-          >>> from gcloud import storage
+          >>> from google.cloud import storage
           >>> client = storage.Client()
           >>> bucket = client.get_bucket(bucket_name)
           >>> bucket.configure_website('index.html', '404.html')
@@ -861,7 +1028,7 @@ 

Source code for gcloud.storage.bucket

         }
         self._patch_property('website', data)
-
[docs] def disable_website(self): +
[docs] def disable_website(self): """Disable the website configuration for this bucket. This is really just a shortcut for setting the website-related @@ -869,7 +1036,7 @@

Source code for gcloud.storage.bucket

         """
         return self.configure_website(None, None)
-
[docs] def make_public(self, recursive=False, future=False, client=None): +
[docs] def make_public(self, recursive=False, future=False, client=None): """Make a bucket public. If ``recursive=True`` and the bucket contains more than 256 @@ -884,7 +1051,8 @@

Source code for gcloud.storage.bucket

         :param future: If True, this will make all objects created in the
                        future public as well.
 
-        :type client: :class:`gcloud.storage.client.Client` or ``NoneType``
+        :type client: :class:`~google.cloud.storage.client.Client` or
+                      ``NoneType``
         :param client: Optional. The client to use.  If not passed, falls back
                        to the ``client`` stored on the current bucket.
         """
@@ -917,123 +1085,62 @@ 

Source code for gcloud.storage.bucket

                 blob.acl.save(client=client)
-
-
+
+
+ - - - +
+ + + + + + + + + + + + + + + + + + + + + + + - + + + + \ No newline at end of file diff --git a/latest/_modules/gcloud/storage/client.html b/latest/_modules/google/cloud/storage/client.html similarity index 66% rename from latest/_modules/gcloud/storage/client.html rename to latest/_modules/google/cloud/storage/client.html index a551cefecb71..e1e30af04731 100644 --- a/latest/_modules/gcloud/storage/client.html +++ b/latest/_modules/google/cloud/storage/client.html @@ -1,102 +1,257 @@ + + + + + + + + + + google.cloud.storage.client — google-cloud 92219b8 documentation + + + + + - - - - - gcloud.storage.client — gcloud 47bfd0a documentation - - - - + + + + - - - - - - - - + + + + + + + + + + + + + + + + + + + + + +
+ -
- -
- -
- - - Report an Issue - -
-
+ + +
+ + + + + + +
+
+ + -
+ + + +
+
    +
  • Docs »
  • + +
  • Module code »
  • + +
  • google.cloud.storage.client
  • +
  • -

    Source code for gcloud.storage.client

    +          
    +        
    +      
  • +
+
+
+
+
+ +

Source code for google.cloud.storage.client

 # Copyright 2015 Google Inc. All rights reserved.
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
@@ -114,16 +269,16 @@ 

Source code for gcloud.storage.client

 """Client for interacting with the Google Cloud Storage API."""
 
 
-from gcloud._helpers import _LocalStack
-from gcloud.client import JSONClient
-from gcloud.exceptions import NotFound
-from gcloud.iterator import Iterator
-from gcloud.storage.batch import Batch
-from gcloud.storage.bucket import Bucket
-from gcloud.storage.connection import Connection
+from google.cloud._helpers import _LocalStack
+from google.cloud.client import JSONClient
+from google.cloud.exceptions import NotFound
+from google.cloud.iterator import Iterator
+from google.cloud.storage.batch import Batch
+from google.cloud.storage.bucket import Bucket
+from google.cloud.storage.connection import Connection
 
 
-
[docs]class Client(JSONClient): +
[docs]class Client(JSONClient): """Client to bundle configuration needed for API requests. :type project: string @@ -156,7 +311,7 @@

Source code for gcloud.storage.client

     def connection(self):
         """Get connection or batch on the client.
 
-        :rtype: :class:`gcloud.storage.connection.Connection`
+        :rtype: :class:`google.cloud.storage.connection.Connection`
         :returns: The connection set on the client, or the batch
                   if one is set.
         """
@@ -173,7 +328,7 @@ 

Source code for gcloud.storage.client

             self.connection = connection
         Will raise if the connection is set more than once.
 
-        :type value: :class:`gcloud.storage.connection.Connection`
+        :type value: :class:`google.cloud.storage.connection.Connection`
         :param value: The connection set on the client.
 
         :raises: :class:`ValueError` if connection has already been set.
@@ -187,7 +342,7 @@ 

Source code for gcloud.storage.client

 
         "Protected", intended for use by batch context mgrs.
 
-        :type batch: :class:`gcloud.storage.batch.Batch`
+        :type batch: :class:`google.cloud.storage.batch.Batch`
         :param batch: newly-active batch
         """
         self._batch_stack.push(batch)
@@ -198,7 +353,7 @@ 

Source code for gcloud.storage.client

         "Protected", intended for use by batch context mgrs.
 
         :raises: IndexError if the stack is empty.
-        :rtype: :class:`gcloud.storage.batch.Batch`
+        :rtype: :class:`google.cloud.storage.batch.Batch`
         :returns: the top-most batch/transaction, after removing it.
         """
         return self._batch_stack.pop()
@@ -207,13 +362,13 @@ 

Source code for gcloud.storage.client

     def current_batch(self):
         """Currently-active batch.
 
-        :rtype: :class:`gcloud.storage.batch.Batch` or ``NoneType`` (if
+        :rtype: :class:`google.cloud.storage.batch.Batch` or ``NoneType`` (if
                 no batch is active).
         :returns: The batch at the top of the batch stack.
         """
         return self._batch_stack.top
 
-
[docs] def bucket(self, bucket_name): +
[docs] def bucket(self, bucket_name): """Factory constructor for bucket object. .. note:: @@ -223,34 +378,34 @@

Source code for gcloud.storage.client

         :type bucket_name: string
         :param bucket_name: The name of the bucket to be instantiated.
 
-        :rtype: :class:`gcloud.storage.bucket.Bucket`
+        :rtype: :class:`google.cloud.storage.bucket.Bucket`
         :returns: The bucket object created.
         """
         return Bucket(client=self, name=bucket_name)
-
[docs] def batch(self): +
[docs] def batch(self): """Factory constructor for batch object. .. note:: This will not make an HTTP request; it simply instantiates a batch object owned by this client. - :rtype: :class:`gcloud.storage.batch.Batch` + :rtype: :class:`google.cloud.storage.batch.Batch` :returns: The batch object created. """ return Batch(client=self)
-
[docs] def get_bucket(self, bucket_name): +
[docs] def get_bucket(self, bucket_name): """Get a bucket by name. If the bucket isn't found, this will raise a - :class:`gcloud.storage.exceptions.NotFound`. + :class:`google.cloud.storage.exceptions.NotFound`. For example:: >>> try: >>> bucket = client.get_bucket('my-bucket') - >>> except gcloud.exceptions.NotFound: + >>> except google.cloud.exceptions.NotFound: >>> print 'Sorry, that bucket does not exist!' This implements "storage.buckets.get". @@ -258,15 +413,15 @@

Source code for gcloud.storage.client

         :type bucket_name: string
         :param bucket_name: The name of the bucket to get.
 
-        :rtype: :class:`gcloud.storage.bucket.Bucket`
+        :rtype: :class:`google.cloud.storage.bucket.Bucket`
         :returns: The bucket matching the name provided.
-        :raises: :class:`gcloud.exceptions.NotFound`
+        :raises: :class:`google.cloud.exceptions.NotFound`
         """
         bucket = Bucket(self, name=bucket_name)
         bucket.reload(client=self)
         return bucket
-
[docs] def lookup_bucket(self, bucket_name): +
[docs] def lookup_bucket(self, bucket_name): """Get a bucket by name, returning None if not found. You can use this if you would rather check for a None value @@ -282,7 +437,7 @@

Source code for gcloud.storage.client

         :type bucket_name: string
         :param bucket_name: The name of the bucket to get.
 
-        :rtype: :class:`gcloud.storage.bucket.Bucket`
+        :rtype: :class:`google.cloud.storage.bucket.Bucket`
         :returns: The bucket matching the name provided or None if not found.
         """
         try:
@@ -290,7 +445,7 @@ 

Source code for gcloud.storage.client

         except NotFound:
             return None
-
[docs] def create_bucket(self, bucket_name): +
[docs] def create_bucket(self, bucket_name): """Create a new bucket. For example:: @@ -302,19 +457,19 @@

Source code for gcloud.storage.client

         This implements "storage.buckets.insert".
 
         If the bucket already exists, will raise
-        :class:`gcloud.exceptions.Conflict`.
+        :class:`google.cloud.exceptions.Conflict`.
 
         :type bucket_name: string
         :param bucket_name: The bucket name to create.
 
-        :rtype: :class:`gcloud.storage.bucket.Bucket`
+        :rtype: :class:`google.cloud.storage.bucket.Bucket`
         :returns: The newly created bucket.
         """
         bucket = Bucket(self, name=bucket_name)
         bucket.create(client=self)
         return bucket
-
[docs] def list_buckets(self, max_results=None, page_token=None, prefix=None, +
[docs] def list_buckets(self, max_results=None, page_token=None, prefix=None, projection='noAcl', fields=None): """Get all buckets in the project associated to the client. @@ -349,7 +504,8 @@

Source code for gcloud.storage.client

                        and the language of each bucket returned:
                        'items/id,nextPageToken'
 
-        :rtype: iterable of :class:`gcloud.storage.bucket.Bucket` objects.
+        :rtype: iterable of :class:`google.cloud.storage.bucket.Bucket`
+                objects.
         :returns: All buckets belonging to this project.
         """
         extra_params = {'project': self.project}
@@ -370,7 +526,9 @@ 

Source code for gcloud.storage.client

         # Page token must be handled specially since the base `Iterator`
         # class has it as a reserved property.
         if page_token is not None:
+            # pylint: disable=attribute-defined-outside-init
             result.next_page_token = page_token
+            # pylint: enable=attribute-defined-outside-init
         return result
@@ -378,10 +536,10 @@

Source code for gcloud.storage.client

     """An iterator listing all buckets.
 
     You shouldn't have to use this directly, but instead should use the
-    helper methods on :class:`gcloud.storage.connection.Connection`
+    helper methods on :class:`google.cloud.storage.connection.Connection`
     objects.
 
-    :type client: :class:`gcloud.storage.client.Client`
+    :type client: :class:`google.cloud.storage.client.Client`
     :param client: The client to use for making connections.
 
     :type extra_params: dict or ``NoneType``
@@ -405,123 +563,62 @@ 

Source code for gcloud.storage.client

             yield bucket
 
-
-
+
+
+ - - - +
+ + + + + + + + + + + + + + + + + + + + + + + - + + + + \ No newline at end of file diff --git a/latest/_modules/google/cloud/storage/connection.html b/latest/_modules/google/cloud/storage/connection.html new file mode 100644 index 000000000000..24041750f4bb --- /dev/null +++ b/latest/_modules/google/cloud/storage/connection.html @@ -0,0 +1,358 @@ + + + + + + + + + + + google.cloud.storage.connection — google-cloud 92219b8 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + +
+ + + + + + +
+
+ + + + + + +
+
    +
  • Docs »
  • + +
  • Module code »
  • + +
  • google.cloud.storage.connection
  • +
  • + + + +
  • +
+
+
+
+
+ +

Source code for google.cloud.storage.connection

+# Copyright 2014 Google Inc. All rights reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Create / interact with Google Cloud Storage connections."""
+
+from google.cloud import connection as base_connection
+
+
+
[docs]class Connection(base_connection.JSONConnection): + """A connection to Google Cloud Storage via the JSON REST API. + + :type credentials: :class:`oauth2client.client.OAuth2Credentials` + :param credentials: (Optional) The OAuth2 Credentials to use for this + connection. + + :type http: :class:`httplib2.Http` or class that defines ``request()``. + :param http: (Optional) HTTP object to make requests. + """ + + API_BASE_URL = base_connection.API_BASE_URL + """The base of the API call URL.""" + + API_VERSION = 'v1' + """The version of the API, used in building the API call's URL.""" + + API_URL_TEMPLATE = '{api_base_url}/storage/{api_version}{path}' + """A template for the URL of a particular API call.""" + + SCOPE = ('https://www.googleapis.com/auth/devstorage.full_control', + 'https://www.googleapis.com/auth/devstorage.read_only', + 'https://www.googleapis.com/auth/devstorage.read_write') + """The scopes required for authenticating as a Cloud Storage consumer."""
+
+ +
+
+ + +
+
+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/latest/_modules/gcloud/translate/client.html b/latest/_modules/google/cloud/translate/client.html similarity index 72% rename from latest/_modules/gcloud/translate/client.html rename to latest/_modules/google/cloud/translate/client.html index 9eb17a176efc..9e4376d80ce6 100644 --- a/latest/_modules/gcloud/translate/client.html +++ b/latest/_modules/google/cloud/translate/client.html @@ -1,102 +1,257 @@ + + + + + + + + + + google.cloud.translate.client — google-cloud 92219b8 documentation + + + + + - - - - - gcloud.translate.client — gcloud 47bfd0a documentation - - - - + + + + - - - - - - - - + + + + + + + + + + + + + + + + + + + + + +
+ -
- -
- -
- - - Report an Issue - -
-
+ + +
+ + + + + + +
+
+ + -
+ + + +
+
    +
  • Docs »
  • + +
  • Module code »
  • + +
  • google.cloud.translate.client
  • +
  • -

    Source code for gcloud.translate.client

    +          
    +        
    +      
  • +
+
+
+
+
+ +

Source code for google.cloud.translate.client

 # Copyright 2016 Google Inc. All rights reserved.
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
@@ -117,15 +272,15 @@ 

Source code for gcloud.translate.client

 import httplib2
 import six
 
-from gcloud._helpers import _to_bytes
-from gcloud.translate.connection import Connection
+from google.cloud._helpers import _to_bytes
+from google.cloud.translate.connection import Connection
 
 
 ENGLISH_ISO_639 = 'en'
 """ISO 639-1 language code for English."""
 
 
-
[docs]class Client(object): +
[docs]class Client(object): """Client to bundle configuration needed for API requests. :type api_key: str @@ -149,7 +304,7 @@

Source code for gcloud.translate.client

         self.connection = Connection(http=http)
         self.target_language = target_language
 
-
[docs] def get_languages(self, target_language=None): +
[docs] def get_languages(self, target_language=None): """Get list of supported languages for translation. Response @@ -178,7 +333,7 @@

Source code for gcloud.translate.client

             method='GET', path='/languages', query_params=query_params)
         return response.get('data', {}).get('languages', ())
-
[docs] def detect_language(self, values): +
[docs] def detect_language(self, values): """Detect the language of a string or list of strings. See: https://cloud.google.com/translate/v2/\ @@ -244,7 +399,7 @@

Source code for gcloud.translate.client

         else:
             return detections
-
[docs] def translate(self, values, target_language=None, format_=None, +
[docs] def translate(self, values, target_language=None, format_=None, source_language=None, customization_ids=()): """Translate a string or list of strings. @@ -323,123 +478,62 @@

Source code for gcloud.translate.client

             return translations
-
-
+
+
+ - - - +
+ + + + + + + + + + + + + + + + + + + + + + + - + + + + \ No newline at end of file diff --git a/latest/_modules/google/cloud/translate/connection.html b/latest/_modules/google/cloud/translate/connection.html new file mode 100644 index 000000000000..5e1b93891455 --- /dev/null +++ b/latest/_modules/google/cloud/translate/connection.html @@ -0,0 +1,345 @@ + + + + + + + + + + + google.cloud.translate.connection — google-cloud 92219b8 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + +
+ + + + + + +
+
+ + + + + + +
+
    +
  • Docs »
  • + +
  • Module code »
  • + +
  • google.cloud.translate.connection
  • +
  • + + + +
  • +
+
+
+
+
+ +

Source code for google.cloud.translate.connection

+# Copyright 2016 Google Inc. All rights reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Create / interact with Google Cloud Translate connections."""
+
+from google.cloud import connection as base_connection
+
+
+
[docs]class Connection(base_connection.JSONConnection): + """A connection to Google Cloud Translate via the JSON REST API.""" + + API_BASE_URL = 'https://www.googleapis.com' + """The base of the API call URL.""" + + API_VERSION = 'v2' + """The version of the API, used in building the API call's URL.""" + + API_URL_TEMPLATE = '{api_base_url}/language/translate/{api_version}{path}' + """A template for the URL of a particular API call."""
+
+ +
+
+ + +
+
+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/latest/_modules/google/cloud/vision/client.html b/latest/_modules/google/cloud/vision/client.html new file mode 100644 index 000000000000..58434109ec0f --- /dev/null +++ b/latest/_modules/google/cloud/vision/client.html @@ -0,0 +1,424 @@ + + + + + + + + + + + google.cloud.vision.client — google-cloud 92219b8 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + +
+ + + + + + +
+
+ + + + + + +
+ +
+
+
+
+ +

Source code for google.cloud.vision.client

+# Copyright 2016 Google Inc. All rights reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Client for interacting with the Google Cloud Vision API."""
+
+
+from google.cloud.client import JSONClient
+from google.cloud.vision.connection import Connection
+from google.cloud.vision.feature import Feature
+from google.cloud.vision.image import Image
+
+
+
[docs]class VisionRequest(object): + """Request container with image and features information to annotate. + + :type features: list of :class:`gcoud.vision.feature.Feature`. + :param features: The features that dictate which annotations to run. + + :type image: bytes + :param image: Either Google Cloud Storage URI or raw byte stream of image. + """ + def __init__(self, image, features): + self._features = [] + self._image = image + + if isinstance(features, list): + self._features.extend(features) + elif isinstance(features, Feature): + self._features.append(features) + else: + raise TypeError('Feature or list of Feature classes are required.') + +
[docs] def as_dict(self): + """Dictionary representation of Image.""" + return { + 'image': self.image.as_dict(), + 'features': [feature.as_dict() for feature in self.features] + }
+ + @property + def features(self): + """List of Feature objects.""" + return self._features + + @property + def image(self): + """Image object containing image content.""" + return self._image
+ + +
[docs]class Client(JSONClient): + """Client to bundle configuration needed for API requests. + + :type project: str + :param project: the project which the client acts on behalf of. + If not passed, falls back to the default inferred + from the environment. + + :type credentials: :class:`oauth2client.client.OAuth2Credentials` or + :class:`NoneType` + :param credentials: The OAuth2 Credentials to use for the connection + owned by this client. If not passed (and if no ``http`` + object is passed), falls back to the default inferred + from the environment. + + :type http: :class:`httplib2.Http` or class that defines ``request()``. + :param http: An optional HTTP object to make requests. If not passed, an + ``http`` object is created that is bound to the + ``credentials`` for the current object. + """ + + _connection_class = Connection + +
[docs] def annotate(self, image, features): + """Annotate an image to discover it's attributes. + + :type image: str + :param image: A string which can be a URL, a Google Cloud Storage path, + or a byte stream of the image. + + :type features: list of :class:`google.cloud.vision.feature.Feature` + :param features: The type of detection that the Vision API should + use to determine image attributes. Pricing is + based on the number of Feature Types. + + See: https://cloud.google.com/vision/docs/pricing + :rtype: dict + :returns: List of annotations. + """ + img = Image(image, self) + request = VisionRequest(img, features) + + data = {'requests': [request.as_dict()]} + response = self.connection.api_request(method='POST', + path='/images:annotate', + data=data) + + return response['responses'][0]
+
+ +
+
+ + +
+
+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/latest/_modules/google/cloud/vision/connection.html b/latest/_modules/google/cloud/vision/connection.html new file mode 100644 index 000000000000..5d3f9787a9ab --- /dev/null +++ b/latest/_modules/google/cloud/vision/connection.html @@ -0,0 +1,362 @@ + + + + + + + + + + + google.cloud.vision.connection — google-cloud 92219b8 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + +
+ + + + + + +
+
+ + + + + + +
+
    +
  • Docs »
  • + +
  • Module code »
  • + +
  • google.cloud.vision.connection
  • +
  • + + + +
  • +
+
+
+
+
+ +

Source code for google.cloud.vision.connection

+# Copyright 2016 Google Inc. All rights reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+
+"""Create / interact with Google Cloud Vision connections."""
+
+
+from google.cloud import connection as base_connection
+
+
+
[docs]class Connection(base_connection.JSONConnection): + """A connection to Google Cloud Vision via the JSON REST API. + + :type credentials: :class:`oauth2client.client.OAuth2Credentials` + :param credentials: (Optional) The OAuth2 Credentials to use for this + connection. + + :type http: :class:`httplib2.Http` or class that defines ``request()``. + :param http: (Optional) HTTP object to make requests. + + :type api_base_url: string + :param api_base_url: The base of the API call URL. Defaults to the value + :attr:`Connection.API_BASE_URL`. + """ + + API_BASE_URL = 'https://vision.googleapis.com' + """The base of the API call URL.""" + + API_VERSION = 'v1' + """The version of the API, used in building the API call's URL.""" + + API_URL_TEMPLATE = '{api_base_url}/{api_version}{path}' + """A template for the URL of a particular API call.""" + + SCOPE = ('https://www.googleapis.com/auth/cloud-platform',) + """The scopes required for authenticating as a Cloud Vision consumer."""
+
+ +
+
+ + +
+
+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/latest/_modules/google/cloud/vision/feature.html b/latest/_modules/google/cloud/vision/feature.html new file mode 100644 index 000000000000..73b458e78e05 --- /dev/null +++ b/latest/_modules/google/cloud/vision/feature.html @@ -0,0 +1,383 @@ + + + + + + + + + + + google.cloud.vision.feature — google-cloud 92219b8 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + +
+ + + + + + +
+
+ + + + + + +
+ +
+
+
+
+ +

Source code for google.cloud.vision.feature

+# Copyright 2016 Google Inc. All rights reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Feature represenging various types of annotating."""
+
+
+
[docs]class FeatureTypes(object): + """Feature Types to indication which annotations to perform. + + See: + https://cloud.google.com/vision/reference/rest/v1/images/annotate#Type + """ + FACE_DETECTION = 'FACE_DETECTION' + LANDMARK_DETECTION = 'LANDMARK_DETECTION' + LOGO_DETECTION = 'LOGO_DETECTION' + LABEL_DETECTION = 'LABEL_DETECTION' + TEXT_DETECTION = 'TEXT_DETECTION' + SAFE_SEARCH_DETECTION = 'SAFE_SEARCH_DETECTION'
+ + +
[docs]class Feature(object): + """Feature object specifying the annotation type and maximum results. + + :type feature_type: str + :param feature_type: String representation of + :class:`google.cloud.vision.feature.FeatureType`. + + :type max_results: int + :param max_results: Number of results to return for the specified + feature type. + + See: + https://cloud.google.com/vision/reference/rest/v1/images/annotate#Feature + """ + def __init__(self, feature_type, max_results=1): + try: + self._feature_type = getattr(FeatureTypes, feature_type) + except AttributeError: + raise AttributeError('Feature type passed in cannot be found.') + self._max_results = int(max_results) + +
[docs] def as_dict(self): + """Generate dictionary for Feature request format.""" + return { + 'type': self.feature_type, + 'maxResults': self.max_results + }
+ + @property + def feature_type(self): + """"Feature type string.""" + return self._feature_type + + @property + def max_results(self): + """Maximum number of results for feature type.""" + return self._max_results
+
+ +
+
+ + +
+
+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/latest/_modules/google/cloud/vision/image.html b/latest/_modules/google/cloud/vision/image.html new file mode 100644 index 000000000000..fbf73a4d1f6d --- /dev/null +++ b/latest/_modules/google/cloud/vision/image.html @@ -0,0 +1,381 @@ + + + + + + + + + + + google.cloud.vision.image — google-cloud 92219b8 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + +
+ + + + + + +
+
+ + + + + + +
+ +
+
+
+
+ +

Source code for google.cloud.vision.image

+# Copyright 2016 Google Inc. All rights reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Image represented by either a URI or byte stream."""
+
+
+from base64 import b64encode
+
+from google.cloud._helpers import _to_bytes
+from google.cloud._helpers import _bytes_to_unicode
+
+
+
[docs]class Image(object): + """Image representation containing information to be annotate. + + :type image_source: str + :param image_source: A string which can a Google Cloud Storage URI, or + a byte stream of the image. + + :type client: :class:`Client` + :param client: Instance of Vision client. + """ + + def __init__(self, image_source, client): + self.client = client + self._content = None + self._source = None + + if _bytes_to_unicode(image_source).startswith('gs://'): + self._source = image_source + else: + self._content = b64encode(_to_bytes(image_source)) + +
[docs] def as_dict(self): + """Generate dictionary structure for request""" + if self.content: + return { + 'content': self.content + } + else: + return { + 'source': { + 'gcs_image_uri': self.source + } + }
+ + @property + def content(self): + """Base64 encoded image content""" + return self._content + + @property + def source(self): + """Google Cloud Storage URI""" + return self._source
+
+ +
+
+ + +
+
+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/latest/_modules/index.html b/latest/_modules/index.html index a35b847b80a1..3c31fb509e25 100644 --- a/latest/_modules/index.html +++ b/latest/_modules/index.html @@ -1,176 +1,88 @@ + + + + + + + + + + Overview: module code — google-cloud 92219b8 documentation + + + + + - - - - - Overview: module code — gcloud 47bfd0a documentation - - - - + + + + - - - - - - - + + + + + + + + + + + + + + + + + + + + +
+ -
- -
- -
- - - Report an Issue - -
-
+ -
+ + +
+ + + +
+ + + + + + +
+
+ + + - - - + + +
+
    +
  • Docs »
  • + +
  • Overview: module code
  • +
  • + + + +
  • +
+
+
+
+
+ +

All modules for which code is available

+ + +
+
+ + +
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/latest/_sources/bigquery-client.txt b/latest/_sources/bigquery-client.txt index 2dbb17c02ed9..a1c41f689ce4 100644 --- a/latest/_sources/bigquery-client.txt +++ b/latest/_sources/bigquery-client.txt @@ -1,13 +1,13 @@ BigQuery Client =============== -.. automodule:: gcloud.bigquery.client +.. automodule:: google.cloud.bigquery.client :members: :show-inheritance: Connection ~~~~~~~~~~ -.. automodule:: gcloud.bigquery.connection +.. automodule:: google.cloud.bigquery.connection :members: :show-inheritance: diff --git a/latest/_sources/bigquery-dataset.txt b/latest/_sources/bigquery-dataset.txt index 7ea68c97c4e8..dd1d05352918 100644 --- a/latest/_sources/bigquery-dataset.txt +++ b/latest/_sources/bigquery-dataset.txt @@ -1,6 +1,6 @@ Datasets ~~~~~~~~ -.. automodule:: gcloud.bigquery.dataset +.. automodule:: google.cloud.bigquery.dataset :members: :show-inheritance: diff --git a/latest/_sources/bigquery-job.txt b/latest/_sources/bigquery-job.txt index 3af44e9da0a3..7745a1ceb13a 100644 --- a/latest/_sources/bigquery-job.txt +++ b/latest/_sources/bigquery-job.txt @@ -1,6 +1,6 @@ Jobs ~~~~ -.. automodule:: gcloud.bigquery.job +.. automodule:: google.cloud.bigquery.job :members: :show-inheritance: diff --git a/latest/_sources/bigquery-query.txt b/latest/_sources/bigquery-query.txt index 735964725327..d8b9da09cde0 100644 --- a/latest/_sources/bigquery-query.txt +++ b/latest/_sources/bigquery-query.txt @@ -1,6 +1,6 @@ Query ~~~~~ -.. automodule:: gcloud.bigquery.query +.. automodule:: google.cloud.bigquery.query :members: :show-inheritance: diff --git a/latest/_sources/bigquery-schema.txt b/latest/_sources/bigquery-schema.txt new file mode 100644 index 000000000000..c8bf3edc18c3 --- /dev/null +++ b/latest/_sources/bigquery-schema.txt @@ -0,0 +1,7 @@ +Schemas +~~~~~~~ + +.. automodule:: google.cloud.bigquery.schema + :members: + :show-inheritance: + diff --git a/latest/_sources/bigquery-table.txt b/latest/_sources/bigquery-table.txt index 63297bb471fd..713f6116c932 100644 --- a/latest/_sources/bigquery-table.txt +++ b/latest/_sources/bigquery-table.txt @@ -1,6 +1,6 @@ Tables ~~~~~~ -.. automodule:: gcloud.bigquery.table +.. automodule:: google.cloud.bigquery.table :members: :show-inheritance: diff --git a/latest/_sources/bigquery-usage.txt b/latest/_sources/bigquery-usage.txt index 6ff904da5876..d8050affe145 100644 --- a/latest/_sources/bigquery-usage.txt +++ b/latest/_sources/bigquery-usage.txt @@ -4,25 +4,25 @@ Using the API Authentication / Configuration ------------------------------ -- Use :class:`Client ` objects to configure +- Use :class:`Client ` objects to configure your applications. -- :class:`Client ` objects hold both a ``project`` +- :class:`Client ` objects hold both a ``project`` and an authenticated connection to the BigQuery service. - The authentication credentials can be implicitly determined from the environment or directly via - :meth:`from_service_account_json ` + :meth:`from_service_account_json ` and - :meth:`from_service_account_p12 `. + :meth:`from_service_account_p12 `. - After setting :envvar:`GOOGLE_APPLICATION_CREDENTIALS` and - :envvar:`GCLOUD_PROJECT` environment variables, create an instance of - :class:`Client `. + :envvar:`GOOGLE_CLOUD_PROJECT` environment variables, create an instance of + :class:`Client `. .. doctest:: - >>> from gcloud import bigquery + >>> from google.cloud import bigquery >>> client = bigquery.Client() @@ -41,7 +41,7 @@ To override the project inferred from the environment, pass an explicit .. doctest:: - >>> from gcloud import bigquery + >>> from google.cloud import bigquery >>> client = bigquery.Client(project='PROJECT_ID') @@ -103,7 +103,7 @@ Replace the ACL for a dataset, and update all writeable fields: .. doctest:: - >>> from gcloud import bigquery + >>> from google.cloud import bigquery >>> client = bigquery.Client() >>> dataset = client.dataset('dataset_name') >>> dataset.get() # API request @@ -232,7 +232,7 @@ Background a query, loading the results into a table: .. doctest:: - >>> from gcloud import bigquery + >>> from google.cloud import bigquery >>> client = bigquery.Client() >>> query = """\ SELECT firstname + ' ' + last_name AS full_name, @@ -242,7 +242,7 @@ Background a query, loading the results into a table: >>> dataset = client.dataset('dataset_name') >>> table = dataset.table(name='person_ages') >>> job = client.run_async_query('fullname-age-query-job', query) - >>> job.destination_table = table + >>> job.destination = table >>> job.write_disposition= 'truncate' >>> job.name 'fullname-age-query-job' @@ -255,7 +255,7 @@ Background a query, loading the results into a table: .. note:: - - ``gcloud.bigquery`` generates a UUID for each job. + - ``google.cloud.bigquery`` generates a UUID for each job. - The ``created`` and ``state`` fields are not set until the job is submitted to the BigQuery back-end. @@ -267,7 +267,7 @@ Then, begin executing the job on the server: >>> job.created datetime.datetime(2015, 7, 23, 9, 30, 20, 268260, tzinfo=) >>> job.state - 'running' + 'RUNNING' Poll until the job is complete: @@ -275,7 +275,7 @@ Poll until the job is complete: >>> import time >>> retry_count = 100 - >>> while retry_count > 0 and job.state == 'running': + >>> while retry_count > 0 and job.state != 'DONE': ... retry_count -= 1 ... time.sleep(10) ... job.reload() # API call @@ -294,8 +294,8 @@ the job locally: .. doctest:: - >>> from gcloud import bigquery - >>> from gcloud.bigquery import SchemaField + >>> from google.cloud import bigquery + >>> from google.cloud.bigquery import SchemaField >>> client = bigquery.Client() >>> table = dataset.table(name='person_ages') >>> table.schema = [ @@ -317,7 +317,7 @@ the job locally: .. note:: - - ``gcloud.bigquery`` generates a UUID for each job. + - ``google.cloud.bigquery`` generates a UUID for each job. - The ``created`` and ``state`` fields are not set until the job is submitted to the BigQuery back-end. @@ -329,7 +329,7 @@ Then, begin executing the job on the server: >>> job.created datetime.datetime(2015, 7, 23, 9, 30, 20, 268260, tzinfo=) >>> job.state - 'running' + 'RUNNING' Poll until the job is complete: @@ -337,7 +337,7 @@ Poll until the job is complete: >>> import time >>> retry_count = 100 - >>> while retry_count > 0 and job.state == 'running': + >>> while retry_count > 0 and job.state != 'DONE': ... retry_count -= 1 ... time.sleep(10) ... job.reload() # API call @@ -355,7 +355,7 @@ located on Google Cloud Storage. First, create the job locally: .. doctest:: - >>> from gcloud import bigquery + >>> from google.cloud import bigquery >>> client = bigquery.Client() >>> table = dataset.table(name='person_ages') >>> job = client.extract_table_to_storage( @@ -375,7 +375,7 @@ located on Google Cloud Storage. First, create the job locally: .. note:: - - ``gcloud.bigquery`` generates a UUID for each job. + - ``google.cloud.bigquery`` generates a UUID for each job. - The ``created`` and ``state`` fields are not set until the job is submitted to the BigQuery back-end. @@ -387,7 +387,7 @@ Then, begin executing the job on the server: >>> job.created datetime.datetime(2015, 7, 23, 9, 30, 20, 268260, tzinfo=) >>> job.state - 'running' + 'RUNNING' Poll until the job is complete: @@ -395,7 +395,7 @@ Poll until the job is complete: >>> import time >>> retry_count = 100 - >>> while retry_count > 0 and job.state == 'running': + >>> while retry_count > 0 and job.state != 'DONE': ... retry_count -= 1 ... time.sleep(10) ... job.reload() # API call @@ -412,7 +412,7 @@ First, create the job locally: .. doctest:: - >>> from gcloud import bigquery + >>> from google.cloud import bigquery >>> client = bigquery.Client() >>> source_table = dataset.table(name='person_ages') >>> destination_table = dataset.table(name='person_ages_copy') @@ -429,7 +429,7 @@ First, create the job locally: .. note:: - - ``gcloud.bigquery`` generates a UUID for each job. + - ``google.cloud.bigquery`` generates a UUID for each job. - The ``created`` and ``state`` fields are not set until the job is submitted to the BigQuery back-end. @@ -441,7 +441,7 @@ Then, begin executing the job on the server: >>> job.created datetime.datetime(2015, 7, 23, 9, 30, 20, 268260, tzinfo=) >>> job.state - 'running' + 'RUNNING' Poll until the job is complete: @@ -449,7 +449,7 @@ Poll until the job is complete: >>> import time >>> retry_count = 100 - >>> while retry_count > 0 and job.state == 'running': + >>> while retry_count > 0 and job.state != 'DONE': ... retry_count -= 1 ... time.sleep(10) ... job.reload() # API call diff --git a/latest/_sources/bigtable-client-intro.txt b/latest/_sources/bigtable-client-intro.txt index db04ffa0e0c1..fa759481e8ba 100644 --- a/latest/_sources/bigtable-client-intro.txt +++ b/latest/_sources/bigtable-client-intro.txt @@ -1,59 +1,51 @@ Base for Everything =================== -.. warning:: - - gRPC is required for using the Cloud Bigtable API. As of May 2016, - ``grpcio`` is only supported in Python 2.7, so importing - :mod:`gcloud.bigtable` in other versions of Python will fail. - -To use the API, the :class:`Client ` +To use the API, the :class:`Client ` class defines a high-level interface which handles authorization and creating other objects: .. code:: python - from gcloud.bigtable.client import Client + from google.cloud.bigtable.client import Client client = Client() Long-lived Defaults ------------------- -When creating a :class:`Client `, the -``user_agent`` and ``timeout_seconds`` arguments have sensible -defaults -(:data:`DEFAULT_USER_AGENT ` and -:data:`DEFAULT_TIMEOUT_SECONDS `). -However, you may over-ride them and these will be used throughout all API +When creating a :class:`Client `, the +``user_agent`` argument has sensible a default +(:data:`DEFAULT_USER_AGENT `). +However, you may over-ride it and the value will be used throughout all API requests made with the ``client`` you create. Configuration ------------- -- For an overview of authentication in ``gcloud-python``, +- For an overview of authentication in ``google-cloud-python``, see :doc:`gcloud-auth`. - In addition to any authentication configuration, you can also set the - :envvar:`GCLOUD_PROJECT` environment variable for the Google Cloud Console + :envvar:`GOOGLE_CLOUD_PROJECT` environment variable for the Google Cloud Console project you'd like to interact with. If your code is running in Google App Engine or Google Compute Engine the project will be detected automatically. (Setting this environment variable is not required, you may instead pass the ``project`` explicitly when constructing a - :class:`Client `). + :class:`Client `). - After configuring your environment, create a - :class:`Client ` + :class:`Client ` .. code:: - >>> from gcloud import bigtable + >>> from google.cloud import bigtable >>> client = bigtable.Client() or pass in ``credentials`` and ``project`` explicitly .. code:: - >>> from gcloud import bigtable + >>> from google.cloud import bigtable >>> client = bigtable.Client(project='my-project', credentials=creds) .. tip:: @@ -81,15 +73,15 @@ you can pass the ``read_only`` argument: client = bigtable.Client(read_only=True) This will ensure that the -:data:`READ_ONLY_SCOPE ` is used +:data:`READ_ONLY_SCOPE ` is used for API requests (so any accidental requests that would modify data will fail). Next Step --------- -After a :class:`Client `, the next highest-level -object is a :class:`Instance `. You'll need +After a :class:`Client `, the next highest-level +object is a :class:`Instance `. You'll need one before you can interact with tables or data. Head next to learn about the :doc:`bigtable-instance-api`. diff --git a/latest/_sources/bigtable-client.txt b/latest/_sources/bigtable-client.txt index 97dc99f1d177..c48595c8ac0b 100644 --- a/latest/_sources/bigtable-client.txt +++ b/latest/_sources/bigtable-client.txt @@ -1,12 +1,6 @@ Client ~~~~~~ -.. warning:: - - gRPC is required for using the Cloud Bigtable API. As of May 2016, - ``grpcio`` is only supported in Python 2.7, so importing - :mod:`gcloud.bigtable` in other versions of Python will fail. - -.. automodule:: gcloud.bigtable.client +.. automodule:: google.cloud.bigtable.client :members: :show-inheritance: diff --git a/latest/_sources/bigtable-cluster.txt b/latest/_sources/bigtable-cluster.txt index f2986b820253..ad33aae5e0b8 100644 --- a/latest/_sources/bigtable-cluster.txt +++ b/latest/_sources/bigtable-cluster.txt @@ -1,12 +1,6 @@ Cluster ~~~~~~~ -.. warning:: - - gRPC is required for using the Cloud Bigtable API. As of May 2016, - ``grpcio`` is only supported in Python 2.7, so importing - :mod:`gcloud.bigtable` in other versions of Python will fail. - -.. automodule:: gcloud.bigtable.cluster +.. automodule:: google.cloud.bigtable.cluster :members: :show-inheritance: diff --git a/latest/_sources/bigtable-column-family.txt b/latest/_sources/bigtable-column-family.txt index 10eb6307dc56..de6c1eb1f5df 100644 --- a/latest/_sources/bigtable-column-family.txt +++ b/latest/_sources/bigtable-column-family.txt @@ -1,14 +1,8 @@ Column Families =============== -.. warning:: - - gRPC is required for using the Cloud Bigtable API. As of May 2016, - ``grpcio`` is only supported in Python 2.7, so importing - :mod:`gcloud.bigtable` in other versions of Python will fail. - When creating a -:class:`ColumnFamily `, it is +:class:`ColumnFamily `, it is possible to set garbage collection rules for expired data. By setting a rule, cells in the table matching the rule will be deleted @@ -16,19 +10,19 @@ during periodic garbage collection (which executes opportunistically in the background). The types -:class:`MaxAgeGCRule `, -:class:`MaxVersionsGCRule `, -:class:`GarbageCollectionRuleUnion ` and -:class:`GarbageCollectionRuleIntersection ` +:class:`MaxAgeGCRule `, +:class:`MaxVersionsGCRule `, +:class:`GarbageCollectionRuleUnion ` and +:class:`GarbageCollectionRuleIntersection ` can all be used as the optional ``gc_rule`` argument in the -:class:`ColumnFamily ` +:class:`ColumnFamily ` constructor. This value is then used in the -:meth:`create() ` and -:meth:`update() ` methods. +:meth:`create() ` and +:meth:`update() ` methods. These rules can be nested arbitrarily, with a -:class:`MaxAgeGCRule ` or -:class:`MaxVersionsGCRule ` +:class:`MaxAgeGCRule ` or +:class:`MaxVersionsGCRule ` at the lowest level of the nesting: .. code:: python @@ -50,6 +44,6 @@ at the lowest level of the nesting: ---- -.. automodule:: gcloud.bigtable.column_family +.. automodule:: google.cloud.bigtable.column_family :members: :show-inheritance: diff --git a/latest/_sources/bigtable-data-api.txt b/latest/_sources/bigtable-data-api.txt index 13ffd706b373..78cc10b0f485 100644 --- a/latest/_sources/bigtable-data-api.txt +++ b/latest/_sources/bigtable-data-api.txt @@ -1,13 +1,7 @@ Data API ======== -.. warning:: - - gRPC is required for using the Cloud Bigtable API. As of May 2016, - ``grpcio`` is only supported in Python 2.7, so importing - :mod:`gcloud.bigtable` in other versions of Python will fail. - -After creating a :class:`Table ` and some +After creating a :class:`Table ` and some column families, you are ready to store and retrieve data. Cells vs. Columns vs. Column Families @@ -33,7 +27,7 @@ Modifying Data Since data is stored in cells, which are stored in rows, we use the metaphor of a **row** in classes that are used to modify (write, update, delete) data in a -:class:`Table `. +:class:`Table `. Direct vs. Conditional vs. Append --------------------------------- @@ -44,26 +38,26 @@ methods. * The **direct** way is via `MutateRow`_ which involves simply adding, overwriting or deleting cells. The - :class:`DirectRow ` class + :class:`DirectRow ` class handles direct mutations. * The **conditional** way is via `CheckAndMutateRow`_. This method first checks if some filter is matched in a a given row, then applies one of two sets of mutations, depending on if a match occurred or not. (These mutation sets are called the "true mutations" and "false mutations".) The - :class:`ConditionalRow ` class + :class:`ConditionalRow ` class handles conditional mutations. * The **append** way is via `ReadModifyWriteRow`_. This simply appends (as bytes) or increments (as an integer) data in a presumed existing cell in a row. The - :class:`AppendRow ` class + :class:`AppendRow ` class handles append mutations. Row Factory ----------- A single factory can be used to create any of the three row types. -To create a :class:`DirectRow `: +To create a :class:`DirectRow `: .. code:: python @@ -72,15 +66,15 @@ To create a :class:`DirectRow `: Unlike the previous string values we've used before, the row key must be ``bytes``. -To create a :class:`ConditionalRow `, -first create a :class:`RowFilter ` and +To create a :class:`ConditionalRow `, +first create a :class:`RowFilter ` and then .. code:: python cond_row = table.row(row_key, filter_=filter_) -To create an :class:`AppendRow ` +To create an :class:`AppendRow ` .. code:: python @@ -101,7 +95,7 @@ Direct Mutations Direct mutations can be added via one of four methods -* :meth:`set_cell() ` allows a +* :meth:`set_cell() ` allows a single value to be written to a column .. code:: python @@ -115,7 +109,7 @@ Direct mutations can be added via one of four methods The value can either by bytes or an integer (which will be converted to bytes as a signed 64-bit integer). -* :meth:`delete_cell() ` deletes +* :meth:`delete_cell() ` deletes all cells (i.e. for all timestamps) in a given column .. code:: python @@ -125,7 +119,7 @@ Direct mutations can be added via one of four methods Remember, this only happens in the ``row`` we are using. If we only want to delete cells from a limited range of time, a - :class:`TimestampRange ` can + :class:`TimestampRange ` can be used .. code:: python @@ -133,9 +127,9 @@ Direct mutations can be added via one of four methods row.delete_cell(column_family_id, column, time_range=time_range) -* :meth:`delete_cells() ` does +* :meth:`delete_cells() ` does the same thing as - :meth:`delete_cell() ` + :meth:`delete_cell() ` but accepts a list of columns in a column family rather than a single one. .. code:: python @@ -144,7 +138,7 @@ Direct mutations can be added via one of four methods time_range=time_range) In addition, if we want to delete cells from every column in a column family, - the special :attr:`ALL_COLUMNS ` + the special :attr:`ALL_COLUMNS ` value can be used .. code:: python @@ -152,7 +146,7 @@ Direct mutations can be added via one of four methods row.delete_cells(column_family_id, row.ALL_COLUMNS, time_range=time_range) -* :meth:`delete() ` will delete the +* :meth:`delete() ` will delete the entire row .. code:: python @@ -183,14 +177,14 @@ Append Mutations Append mutations can be added via one of two methods -* :meth:`append_cell_value() ` +* :meth:`append_cell_value() ` appends a bytes value to an existing cell: .. code:: python append_row.append_cell_value(column_family_id, column, bytes_value) -* :meth:`increment_cell_value() ` +* :meth:`increment_cell_value() ` increments an integer value in an existing cell: .. code:: python @@ -223,7 +217,7 @@ Read Single Row from a Table ---------------------------- To make a `ReadRows`_ API request for a single row key, use -:meth:`Table.read_row() `: +:meth:`Table.read_row() `: .. code:: python @@ -232,34 +226,34 @@ To make a `ReadRows`_ API request for a single row key, use { u'fam1': { b'col1': [ - , - , + , + , ], b'col2': [ - , + , ], }, u'fam2': { b'col3': [ - , - , - , + , + , + , ], }, } >>> cell = row_data.cells[u'fam1'][b'col1'][0] >>> cell - + >>> cell.value b'val1' >>> cell.timestamp datetime.datetime(2016, 2, 27, 3, 41, 18, 122823, tzinfo=) -Rather than returning a :class:`DirectRow ` +Rather than returning a :class:`DirectRow ` or similar class, this method returns a -:class:`PartialRowData ` +:class:`PartialRowData ` instance. This class is used for reading and parsing data rather than for -modifying data (as :class:`DirectRow ` is). +modifying data (as :class:`DirectRow ` is). A filter can also be applied to the results: @@ -268,15 +262,15 @@ A filter can also be applied to the results: row_data = table.read_row(row_key, filter_=filter_val) The allowable ``filter_`` values are the same as those used for a -:class:`ConditionalRow `. For +:class:`ConditionalRow `. For more information, see the -:meth:`Table.read_row() ` documentation. +:meth:`Table.read_row() ` documentation. Stream Many Rows from a Table ----------------------------- To make a `ReadRows`_ API request for a stream of rows, use -:meth:`Table.read_rows() `: +:meth:`Table.read_rows() `: .. code:: python @@ -285,32 +279,32 @@ To make a `ReadRows`_ API request for a stream of rows, use Using gRPC over HTTP/2, a continual stream of responses will be delivered. In particular -* :meth:`consume_next() ` +* :meth:`consume_next() ` pulls the next result from the stream, parses it and stores it on the - :class:`PartialRowsData ` instance -* :meth:`consume_all() ` + :class:`PartialRowsData ` instance +* :meth:`consume_all() ` pulls results from the stream until there are no more -* :meth:`cancel() ` closes +* :meth:`cancel() ` closes the stream -See the :class:`PartialRowsData ` +See the :class:`PartialRowsData ` documentation for more information. As with -:meth:`Table.read_row() `, an optional +:meth:`Table.read_row() `, an optional ``filter_`` can be applied. In addition a ``start_key`` and / or ``end_key`` can be supplied for the stream, a ``limit`` can be set and a boolean ``allow_row_interleaving`` can be specified to allow faster streamed results at the potential cost of non-sequential reads. -See the :meth:`Table.read_rows() ` +See the :meth:`Table.read_rows() ` documentation for more information on the optional arguments. Sample Keys in a Table ---------------------- Make a `SampleRowKeys`_ API request with -:meth:`Table.sample_row_keys() `: +:meth:`Table.sample_row_keys() `: .. code:: python @@ -321,7 +315,7 @@ approximately equal size, which can be used to break up the data for distributed tasks like mapreduces. As with -:meth:`Table.read_rows() `, the +:meth:`Table.read_rows() `, the returned ``keys_iterator`` is connected to a cancellable HTTP/2 stream. The next key in the result can be accessed via diff --git a/latest/_sources/bigtable-instance-api.txt b/latest/_sources/bigtable-instance-api.txt index 4d03fa7b1b97..18a772a59b09 100644 --- a/latest/_sources/bigtable-instance-api.txt +++ b/latest/_sources/bigtable-instance-api.txt @@ -1,13 +1,7 @@ Instance Admin API ================== -.. warning:: - - gRPC is required for using the Cloud Bigtable API. As of May 2016, - ``grpcio`` is only supported in Python 2.7, so importing - :mod:`gcloud.bigtable` in other versions of Python will fail. - -After creating a :class:`Client `, you can +After creating a :class:`Client `, you can interact with individual instances for a project. List Instances @@ -15,7 +9,7 @@ List Instances If you want a comprehensive list of all existing instances, make a `ListInstances`_ API request with -:meth:`Client.list_instances() `: +:meth:`Client.list_instances() `: .. code:: python @@ -24,7 +18,7 @@ If you want a comprehensive list of all existing instances, make a Instance Factory ---------------- -To create a :class:`Instance ` object: +To create a :class:`Instance ` object: .. code:: python @@ -51,7 +45,7 @@ Create a new Instance --------------------- After creating the instance object, make a `CreateInstance`_ API request -with :meth:`create() `: +with :meth:`create() `: .. code:: python @@ -65,14 +59,14 @@ Check on Current Operation When modifying a instance (via a `CreateInstance`_ request), the Bigtable API will return a `long-running operation`_ and a corresponding - :class:`Operation ` object + :class:`Operation ` object will be returned by - :meth:`create() `. + :meth:`create() `. You can check if a long-running operation (for a -:meth:`create() ` has finished +:meth:`create() ` has finished by making a `GetOperation`_ request with -:meth:`Operation.finished() `: +:meth:`Operation.finished() `: .. code:: python @@ -82,18 +76,18 @@ by making a `GetOperation`_ request with .. note:: - Once an :class:`Operation ` object + Once an :class:`Operation ` object has returned :data:`True` from - :meth:`finished() `, the + :meth:`finished() `, the object should not be re-used. Subsequent calls to - :meth:`finished() ` + :meth:`finished() ` will result in a :class:`ValueError `. Get metadata for an existing Instance ------------------------------------- After creating the instance object, make a `GetInstance`_ API request -with :meth:`reload() `: +with :meth:`reload() `: .. code:: python @@ -105,7 +99,7 @@ Update an existing Instance --------------------------- After creating the instance object, make an `UpdateInstance`_ API request -with :meth:`update() `: +with :meth:`update() `: .. code:: python @@ -116,7 +110,7 @@ Delete an existing Instance --------------------------- Make a `DeleteInstance`_ API request with -:meth:`delete() `: +:meth:`delete() `: .. code:: python @@ -126,8 +120,8 @@ Next Step --------- Now we go down the hierarchy from -:class:`Instance ` to a -:class:`Table `. +:class:`Instance ` to a +:class:`Table `. Head next to learn about the :doc:`bigtable-table-api`. diff --git a/latest/_sources/bigtable-instance.txt b/latest/_sources/bigtable-instance.txt index 7ba1c15d8df3..f9be9672fc64 100644 --- a/latest/_sources/bigtable-instance.txt +++ b/latest/_sources/bigtable-instance.txt @@ -1,12 +1,6 @@ Instance ~~~~~~~~ -.. warning:: - - gRPC is required for using the Cloud Bigtable API. As of May 2016, - ``grpcio`` is only supported in Python 2.7, so importing - :mod:`gcloud.bigtable` in other versions of Python will fail. - -.. automodule:: gcloud.bigtable.instance +.. automodule:: google.cloud.bigtable.instance :members: :show-inheritance: diff --git a/latest/_sources/bigtable-row-data.txt b/latest/_sources/bigtable-row-data.txt index 1d45bb5f2962..503f9b1cbdfd 100644 --- a/latest/_sources/bigtable-row-data.txt +++ b/latest/_sources/bigtable-row-data.txt @@ -1,12 +1,6 @@ Row Data ~~~~~~~~ -.. warning:: - - gRPC is required for using the Cloud Bigtable API. As of May 2016, - ``grpcio`` is only supported in Python 2.7, so importing - :mod:`gcloud.bigtable` in other versions of Python will fail. - -.. automodule:: gcloud.bigtable.row_data +.. automodule:: google.cloud.bigtable.row_data :members: :show-inheritance: diff --git a/latest/_sources/bigtable-row-filters.txt b/latest/_sources/bigtable-row-filters.txt index 1b03ef7ef59a..4a0112f2f519 100644 --- a/latest/_sources/bigtable-row-filters.txt +++ b/latest/_sources/bigtable-row-filters.txt @@ -1,18 +1,12 @@ Bigtable Row Filters ==================== -.. warning:: - - gRPC is required for using the Cloud Bigtable API. As of May 2016, - ``grpcio`` is only supported in Python 2.7, so importing - :mod:`gcloud.bigtable` in other versions of Python will fail. - It is possible to use a -:class:`RowFilter ` +:class:`RowFilter ` when adding mutations to a -:class:`ConditionalRow ` and when -reading row data with :meth:`read_row() ` -:meth:`read_rows() `. +:class:`ConditionalRow ` and when +reading row data with :meth:`read_row() ` +:meth:`read_rows() `. As laid out in the `RowFilter definition`_, the following basic filters are provided: @@ -66,7 +60,7 @@ level. For example: ---- -.. automodule:: gcloud.bigtable.row_filters +.. automodule:: google.cloud.bigtable.row_filters :members: :show-inheritance: diff --git a/latest/_sources/bigtable-row.txt b/latest/_sources/bigtable-row.txt index e5c95728fb42..33686608b363 100644 --- a/latest/_sources/bigtable-row.txt +++ b/latest/_sources/bigtable-row.txt @@ -1,13 +1,7 @@ Bigtable Row ============ -.. warning:: - - gRPC is required for using the Cloud Bigtable API. As of May 2016, - ``grpcio`` is only supported in Python 2.7, so importing - :mod:`gcloud.bigtable` in other versions of Python will fail. - -.. automodule:: gcloud.bigtable.row +.. automodule:: google.cloud.bigtable.row :members: :show-inheritance: :inherited-members: diff --git a/latest/_sources/bigtable-table-api.txt b/latest/_sources/bigtable-table-api.txt index 554b157031f9..0d5edcd64bf2 100644 --- a/latest/_sources/bigtable-table-api.txt +++ b/latest/_sources/bigtable-table-api.txt @@ -1,13 +1,7 @@ Table Admin API =============== -.. warning:: - - gRPC is required for using the Cloud Bigtable API. As of May 2016, - ``grpcio`` is only supported in Python 2.7, so importing - :mod:`gcloud.bigtable` in other versions of Python will fail. - -After creating a :class:`Instance `, you can +After creating a :class:`Instance `, you can interact with individual tables, groups of tables or column families within a table. @@ -16,33 +10,33 @@ List Tables If you want a comprehensive list of all existing tables in a instance, make a `ListTables`_ API request with -:meth:`Instance.list_tables() `: +:meth:`Instance.list_tables() `: .. code:: python >>> instance.list_tables() - [, - ] + [, + ] Table Factory ------------- -To create a :class:`Table ` object: +To create a :class:`Table ` object: .. code:: python table = instance.table(table_id) -Even if this :class:`Table ` already +Even if this :class:`Table ` already has been created with the API, you'll want this object to use as a -parent of a :class:`ColumnFamily ` -or :class:`Row `. +parent of a :class:`ColumnFamily ` +or :class:`Row `. Create a new Table ------------------ After creating the table object, make a `CreateTable`_ API request -with :meth:`create() `: +with :meth:`create() `: .. code:: python @@ -59,7 +53,7 @@ Delete an existing Table ------------------------ Make a `DeleteTable`_ API request with -:meth:`delete() `: +:meth:`delete() `: .. code:: python @@ -73,7 +67,7 @@ associated with a table, the `GetTable`_ API method returns a table object with the names of the column families. To retrieve the list of column families use -:meth:`list_column_families() `: +:meth:`list_column_families() `: .. code:: python @@ -83,7 +77,7 @@ Column Family Factory --------------------- To create a -:class:`ColumnFamily ` object: +:class:`ColumnFamily ` object: .. code:: python @@ -93,7 +87,7 @@ There is no real reason to use this factory unless you intend to create or delete a column family. In addition, you can specify an optional ``gc_rule`` (a -:class:`GarbageCollectionRule ` +:class:`GarbageCollectionRule ` or similar): .. code:: python @@ -105,7 +99,7 @@ This rule helps the backend determine when and how to clean up old cells in the column family. See :doc:`bigtable-column-family` for more information about -:class:`GarbageCollectionRule ` +:class:`GarbageCollectionRule ` and related classes. Create a new Column Family @@ -113,7 +107,7 @@ Create a new Column Family After creating the column family object, make a `CreateColumnFamily`_ API request with -:meth:`ColumnFamily.create() ` +:meth:`ColumnFamily.create() ` .. code:: python @@ -123,7 +117,7 @@ Delete an existing Column Family -------------------------------- Make a `DeleteColumnFamily`_ API request with -:meth:`ColumnFamily.delete() ` +:meth:`ColumnFamily.delete() ` .. code:: python @@ -133,7 +127,7 @@ Update an existing Column Family -------------------------------- Make an `UpdateColumnFamily`_ API request with -:meth:`ColumnFamily.delete() ` +:meth:`ColumnFamily.delete() ` .. code:: python @@ -143,9 +137,9 @@ Next Step --------- Now we go down the final step of the hierarchy from -:class:`Table ` to -:class:`Row ` as well as streaming -data directly via a :class:`Table `. +:class:`Table ` to +:class:`Row ` as well as streaming +data directly via a :class:`Table `. Head next to learn about the :doc:`bigtable-data-api`. diff --git a/latest/_sources/bigtable-table.txt b/latest/_sources/bigtable-table.txt index 414d567bfd03..c230725d1351 100644 --- a/latest/_sources/bigtable-table.txt +++ b/latest/_sources/bigtable-table.txt @@ -1,12 +1,6 @@ Table ~~~~~ -.. warning:: - - gRPC is required for using the Cloud Bigtable API. As of May 2016, - ``grpcio`` is only supported in Python 2.7, so importing - :mod:`gcloud.bigtable` in other versions of Python will fail. - -.. automodule:: gcloud.bigtable.table +.. automodule:: google.cloud.bigtable.table :members: :show-inheritance: diff --git a/latest/_sources/bigtable-usage.txt b/latest/_sources/bigtable-usage.txt index 14cadd084f72..157c339d166b 100644 --- a/latest/_sources/bigtable-usage.txt +++ b/latest/_sources/bigtable-usage.txt @@ -1,30 +1,24 @@ Using the API ============= -.. warning:: - - `gRPC`_ is required for using the Cloud Bigtable API. As of May 2016, - `grpcio`_ is only supported in Python 2.7, so importing - :mod:`gcloud.bigtable` in other versions of Python will fail. - API requests are sent to the `Google Cloud Bigtable`_ API via RPC over HTTP/2. In order to support this, we'll rely on `gRPC`_. We are working with the gRPC team to rapidly make the install story more user-friendly. Get started by learning about the -:class:`Client ` on the +:class:`Client ` on the :doc:`bigtable-client-intro` page. In the hierarchy of API concepts -* a :class:`Client ` owns a - :class:`Cluster ` -* a :class:`Table ` owns a - :class:`ColumnFamily ` -* a :class:`Table ` owns a - :class:`Row ` +* a :class:`Client ` owns a + :class:`Cluster ` +* a :class:`Table ` owns a + :class:`ColumnFamily ` +* a :class:`Table ` owns a + :class:`Row ` (and all the cells in the row) .. _Google Cloud Bigtable: https://cloud.google.com/bigtable/docs/ diff --git a/latest/_sources/datastore-batches.txt b/latest/_sources/datastore-batches.txt index bf7d5c4ffbcc..4a2b0eb7d761 100644 --- a/latest/_sources/datastore-batches.txt +++ b/latest/_sources/datastore-batches.txt @@ -1,6 +1,6 @@ Batches ~~~~~~~ -.. automodule:: gcloud.datastore.batch +.. automodule:: google.cloud.datastore.batch :members: :show-inheritance: diff --git a/latest/_sources/datastore-client.txt b/latest/_sources/datastore-client.txt index 23c489dd11c6..924fa5d789a5 100644 --- a/latest/_sources/datastore-client.txt +++ b/latest/_sources/datastore-client.txt @@ -1,13 +1,13 @@ Datastore Client ================ -.. automodule:: gcloud.datastore.client +.. automodule:: google.cloud.datastore.client :members: :show-inheritance: Connection ~~~~~~~~~~ -.. automodule:: gcloud.datastore.connection +.. automodule:: google.cloud.datastore.connection :members: :show-inheritance: diff --git a/latest/_sources/datastore-entities.txt b/latest/_sources/datastore-entities.txt index 6e263ceeda0e..dc8217ddf3ba 100644 --- a/latest/_sources/datastore-entities.txt +++ b/latest/_sources/datastore-entities.txt @@ -1,6 +1,6 @@ Entities ~~~~~~~~ -.. automodule:: gcloud.datastore.entity +.. automodule:: google.cloud.datastore.entity :members: :show-inheritance: diff --git a/latest/_sources/datastore-helpers.txt b/latest/_sources/datastore-helpers.txt index a70e4d2cf534..99f9b9bf28bc 100644 --- a/latest/_sources/datastore-helpers.txt +++ b/latest/_sources/datastore-helpers.txt @@ -1,6 +1,6 @@ Helpers ~~~~~~~ -.. automodule:: gcloud.datastore.helpers +.. automodule:: google.cloud.datastore.helpers :members: :show-inheritance: diff --git a/latest/_sources/datastore-keys.txt b/latest/_sources/datastore-keys.txt index c202471d252d..79f7a7eb4e38 100644 --- a/latest/_sources/datastore-keys.txt +++ b/latest/_sources/datastore-keys.txt @@ -1,6 +1,6 @@ Keys ~~~~ -.. automodule:: gcloud.datastore.key +.. automodule:: google.cloud.datastore.key :members: :show-inheritance: diff --git a/latest/_sources/datastore-queries.txt b/latest/_sources/datastore-queries.txt index 4ffed79925fa..aa9e7dfb7193 100644 --- a/latest/_sources/datastore-queries.txt +++ b/latest/_sources/datastore-queries.txt @@ -1,6 +1,6 @@ Queries ~~~~~~~ -.. automodule:: gcloud.datastore.query +.. automodule:: google.cloud.datastore.query :members: :show-inheritance: diff --git a/latest/_sources/datastore-transactions.txt b/latest/_sources/datastore-transactions.txt index d86d7fd74c71..1737a7bf5994 100644 --- a/latest/_sources/datastore-transactions.txt +++ b/latest/_sources/datastore-transactions.txt @@ -1,7 +1,7 @@ Transactions ~~~~~~~~~~~~ -.. automodule:: gcloud.datastore.transaction +.. automodule:: google.cloud.datastore.transaction :members: :show-inheritance: :inherited-members: diff --git a/latest/_sources/dns-changes.txt b/latest/_sources/dns-changes.txt index 40dc0dddc257..9510ebbcc013 100644 --- a/latest/_sources/dns-changes.txt +++ b/latest/_sources/dns-changes.txt @@ -1,6 +1,6 @@ Change Sets ~~~~~~~~~~~ -.. automodule:: gcloud.dns.changes +.. automodule:: google.cloud.dns.changes :members: :show-inheritance: diff --git a/latest/_sources/dns-client.txt b/latest/_sources/dns-client.txt index e499c2d0eeff..337ac6558859 100644 --- a/latest/_sources/dns-client.txt +++ b/latest/_sources/dns-client.txt @@ -1,13 +1,13 @@ DNS Client ========== -.. automodule:: gcloud.dns.client +.. automodule:: google.cloud.dns.client :members: :show-inheritance: Connection ~~~~~~~~~~ -.. automodule:: gcloud.dns.connection +.. automodule:: google.cloud.dns.connection :members: :show-inheritance: diff --git a/latest/_sources/dns-resource-record-set.txt b/latest/_sources/dns-resource-record-set.txt index ff46e6c7f1ee..1112d16aaa4f 100644 --- a/latest/_sources/dns-resource-record-set.txt +++ b/latest/_sources/dns-resource-record-set.txt @@ -1,6 +1,6 @@ Resource Record Sets ~~~~~~~~~~~~~~~~~~~~ -.. automodule:: gcloud.dns.resource_record_set +.. automodule:: google.cloud.dns.resource_record_set :members: :show-inheritance: diff --git a/latest/_sources/dns-usage.txt b/latest/_sources/dns-usage.txt index 42bd1d5d8548..d0f5415282fa 100644 --- a/latest/_sources/dns-usage.txt +++ b/latest/_sources/dns-usage.txt @@ -4,18 +4,18 @@ Using the API Client ------ -:class:`Client ` objects provide a means to -configure your DNS applications. Eash instance holds both a ``project`` +:class:`Client ` objects provide a means to +configure your DNS applications. Each instance holds both a ``project`` and an authenticated connection to the DNS service. -For an overview of authentication in ``gcloud-python``, see :doc:`gcloud-auth`. +For an overview of authentication in ``google-cloud-python``, see :doc:`gcloud-auth`. Assuming your environment is set up as described in that document, -create an instance of :class:`Client `. +create an instance of :class:`Client `. .. doctest:: - >>> from gcloud import dns + >>> from google.cloud import dns >>> client = dns.Client() Projects @@ -33,7 +33,7 @@ To override the project inferred from the environment, pass an explicit .. doctest:: - >>> from gcloud import dns + >>> from google.cloud import dns >>> client = dns.Client(project='PROJECT_ID') Project Quotas @@ -43,7 +43,7 @@ Query the quotas for a given project: .. doctest:: - >>> from gcloud import dns + >>> from google.cloud import dns >>> client = dns.Client(project='PROJECT_ID') >>> quotas = client.quotas() # API request >>> for key, value in sorted(quotas.items()): @@ -72,7 +72,7 @@ suffix and has a set of name servers that accept and responds to queries: .. doctest:: - >>> from gcloud import dns + >>> from google.cloud import dns >>> client = dns.Client(project='PROJECT_ID') >>> zone = client.zone('acme-co', 'example.com', ... description='Acme Company zone') @@ -87,7 +87,7 @@ List the zones for a given project: .. doctest:: - >>> from gcloud import dns + >>> from google.cloud import dns >>> client = dns.Client(project='PROJECT_ID') >>> zones = client.list_zones() # API request >>> [zone.name for zone in zones] @@ -101,7 +101,7 @@ Each managed zone exposes a read-only set of resource records: .. doctest:: - >>> from gcloud import dns + >>> from google.cloud import dns >>> client = dns.Client(project='PROJECT_ID') >>> zone = client.zone('acme-co', 'example.com') >>> records, page_token = zone.list_resource_record_sets() # API request @@ -135,7 +135,7 @@ bundling additions to or deletions from the set. .. doctest:: >>> import time - >>> from gcloud import dns + >>> from google.cloud import dns >>> client = dns.Client(project='PROJECT_ID') >>> zone = client.zone('acme-co', 'example.com') >>> TWO_HOURS = 2 * 60 * 60 # seconds @@ -154,7 +154,7 @@ List changes made to the resource record set for a given zone: .. doctest:: - >>> from gcloud import dns + >>> from google.cloud import dns >>> client = dns.Client(project='PROJECT_ID') >>> zone = client.zone('acme-co', 'example.com') >>> changes = [] diff --git a/latest/_sources/dns-zone.txt b/latest/_sources/dns-zone.txt index 22cb456b56f6..b65081f00a92 100644 --- a/latest/_sources/dns-zone.txt +++ b/latest/_sources/dns-zone.txt @@ -1,6 +1,6 @@ Managed Zones ~~~~~~~~~~~~~ -.. automodule:: gcloud.dns.zone +.. automodule:: google.cloud.dns.zone :members: :show-inheritance: diff --git a/latest/_sources/error-reporting-client.txt b/latest/_sources/error-reporting-client.txt new file mode 100644 index 000000000000..4f4d08a16872 --- /dev/null +++ b/latest/_sources/error-reporting-client.txt @@ -0,0 +1,7 @@ +Error Reporting Client +======================= + +.. automodule:: google.cloud.error_reporting.client + :members: + :show-inheritance: + diff --git a/latest/_sources/error-reporting-usage.txt b/latest/_sources/error-reporting-usage.txt new file mode 100644 index 000000000000..c07c35a9070b --- /dev/null +++ b/latest/_sources/error-reporting-usage.txt @@ -0,0 +1,102 @@ +Using the API +============= + + +Authentication and Configuration +-------------------------------- + +- For an overview of authentication in ``google-cloud-python``, + see :doc:`gcloud-auth`. + +- In addition to any authentication configuration, you should also set the + :envvar:`GOOGLE_CLOUD_PROJECT` environment variable for the project you'd like + to interact with. If you are Google App Engine or Google Compute Engine + this will be detected automatically. + +- After configuring your environment, create a + :class:`Client ` + + .. doctest:: + + >>> from google.cloud import error_reporting + >>> client = error_reporting.Client() + + or pass in ``credentials`` and ``project`` explicitly + + .. doctest:: + + >>> from google.cloud import error_reporting + >>> client = error_reporting.Client(project='my-project', credentials=creds) + + Error Reporting associates errors with a service, which is an identifier for an executable, + App Engine service, or job. The default service is "python", but a default can be specified + for the client on construction time. You can also optionally specify a version for that service, + which defaults to "default." + + + .. doctest:: + + >>> from google.cloud import error_reporting + >>> client = error_reporting.Client(project='my-project', + ... service="login_service", + ... version="0.1.0") + +Reporting an exception +----------------------- + +Report a stacktrace to Stackdriver Error Reporting after an exception + +.. doctest:: + + >>> from google.cloud import error_reporting + >>> client = error_reporting.Client() + >>> try: + >>> raise NameError + >>> except Exception: + >>> client.report_exception() + + +By default, the client will report the error using the service specified in the client's +constructor, or the default service of "python". + +The user and HTTP context can also be included in the exception. The HTTP context +can be constructed using :class:`google.cloud.error_reporting.HTTPContext`. This will +be used by Stackdriver Error Reporting to help group exceptions. + +.. doctest:: + + >>> from google.cloud import error_reporting + >>> client = error_reporting.Client() + >>> user = 'example@gmail.com' + >>> http_context = HTTPContext(method='GET', url='/', userAgent='test agent', + ... referrer='example.com', responseStatusCode=500, + ... remote_ip='1.2.3.4') + >>> try: + >>> raise NameError + >>> except Exception: + >>> client.report_exception(http_context=http_context, user=user)) + +Reporting an error without an exception +----------------------------------------- + +Errors can also be reported to Stackdriver Error Reporting outside the context of an exception. +The library will include the file path, function name, and line number of the location where the +error was reported. + +.. doctest:: + + >>> from google.cloud import error_reporting + >>> client = error_reporting.Client() + >>> error_reporting.report("Found an error!") + +Similarly to reporting an exception, the user and HTTP context can be provided: + +.. doctest:: + + >>> from google.cloud import error_reporting + >>> client = error_reporting.Client() + >>> user = 'example@gmail.com' + >>> http_context = HTTPContext(method='GET', url='/', userAgent='test agent', + ... referrer='example.com', responseStatusCode=500, + ... remote_ip='1.2.3.4') + >>> error_reporting.report("Found an error!", http_context=http_context, user=user)) diff --git a/latest/_sources/gcloud-api.txt b/latest/_sources/gcloud-api.txt index 7226dd59c3bf..0fb79d966cfb 100644 --- a/latest/_sources/gcloud-api.txt +++ b/latest/_sources/gcloud-api.txt @@ -4,7 +4,7 @@ Shared Core Modules Base Client ~~~~~~~~~~~ -.. automodule:: gcloud.client +.. automodule:: google.cloud.client :members: :show-inheritance: :inherited-members: @@ -12,27 +12,27 @@ Base Client Credentials Helpers ~~~~~~~~~~~~~~~~~~~ -.. automodule:: gcloud.credentials +.. automodule:: google.cloud.credentials :members: :show-inheritance: Base Connections ~~~~~~~~~~~~~~~~ -.. automodule:: gcloud.connection +.. automodule:: google.cloud.connection :members: :show-inheritance: Exceptions ~~~~~~~~~~ -.. automodule:: gcloud.exceptions +.. automodule:: google.cloud.exceptions :members: :show-inheritance: Environment Variables ~~~~~~~~~~~~~~~~~~~~~ -.. automodule:: gcloud.environment_vars +.. automodule:: google.cloud.environment_vars :members: :show-inheritance: diff --git a/latest/_sources/gcloud-auth.txt b/latest/_sources/gcloud-auth.txt index c5b10b8a6763..2b65a58c785f 100644 --- a/latest/_sources/gcloud-auth.txt +++ b/latest/_sources/gcloud-auth.txt @@ -22,7 +22,9 @@ Overview $ gcloud auth login - Previously, `gcloud auth login` was used for both use cases. If your gcloud installation does not support the new command, please update it: + Previously, ``gcloud auth login`` was used for both use cases. If + your ``gcloud`` installation does not support the new command, + please update it: .. code-block:: bash @@ -44,13 +46,13 @@ Overview Client-Provided Authentication ============================== -Every package uses a :class:`Client ` +Every package uses a :class:`Client ` as a base for interacting with an API. For example: .. code-block:: python - from gcloud import datastore + from google.cloud import datastore client = datastore.Client() Passing no arguments at all will "just work" if you've followed the @@ -94,7 +96,7 @@ In these situations, you can create an explicit :class:`Credentials ` object suited to your environment. After creation, -you can pass it directly to a :class:`Client `: +you can pass it directly to a :class:`Client `: .. code:: python @@ -133,10 +135,10 @@ a PKCS12/P12 keyfile. Directly creating ``credentials`` in `oauth2client`_ for a service account is a rather complex process, so as a convenience, the -:meth:`from_service_account_json() ` +:meth:`from_service_account_json() ` and -:meth:`from_service_account_p12() ` -factories are provided to create a :class:`Client ` with +:meth:`from_service_account_p12() ` +factories are provided to create a :class:`Client ` with service account credentials. .. _oauth2client: http://oauth2client.readthedocs.org/en/latest/ @@ -167,7 +169,7 @@ possible to call Google Cloud APIs with a user account via A production application should **use a service account**, but you may wish to use your own personal user account when first - getting started with the ``gcloud-python`` library. + getting started with the ``google-cloud-python`` library. The simplest way to use credentials from a user account is via Application Default Credentials using ``gcloud auth login`` @@ -305,11 +307,11 @@ you add the correct scopes for the APIs you want to access: Advanced Customization ====================== -Though the ``gcloud-python`` library defaults to using `oauth2client`_ +Though the ``google-cloud-python`` library defaults to using `oauth2client`_ to sign requests and ``httplib2`` for sending requests, it is not a strict requirement. -The :class:`Client ` constructor accepts an optional +The :class:`Client ` constructor accepts an optional ``http`` argument in place of a ``credentials`` object. If passed, all HTTP requests made by the client will use your custom HTTP object. @@ -329,10 +331,10 @@ we only use it as http.request(uri, method=method_name, body=body, headers=headers) For an example of such an implementation, -a ``gcloud-python`` user created a `custom HTTP class`_ +a ``google-cloud-python`` user created a `custom HTTP class`_ using the `requests`_ library. -.. _custom HTTP class: https://github.com/GoogleCloudPlatform/gcloud-python/issues/908#issuecomment-110811556 +.. _custom HTTP class: https://github.com/GoogleCloudPlatform/google-cloud-python/issues/908#issuecomment-110811556 .. _requests: http://www.python-requests.org/en/latest/ As for handling authentication on your own, diff --git a/latest/_sources/gcloud-config.txt b/latest/_sources/gcloud-config.txt index 8d30d7573cdb..53132629cfcd 100644 --- a/latest/_sources/gcloud-config.txt +++ b/latest/_sources/gcloud-config.txt @@ -10,13 +10,13 @@ For example: .. code-block:: python - >>> from gcloud import bigquery + >>> from google.cloud import bigquery >>> client = bigquery.Client() When creating a client in this way, the project ID will be determined by searching these locations in the following order. -* GCLOUD_PROJECT environment variable +* GOOGLE_CLOUD_PROJECT environment variable * GOOGLE_APPLICATION_CREDENTIALS JSON file * Default service configuration path from ``$ gcloud beta auth application-default login``. @@ -28,7 +28,7 @@ You can override the detection of your default project by setting the .. code-block:: python - >>> from gcloud import bigquery + >>> from google.cloud import bigquery >>> client = bigquery.Client(project='my-project') You can see what project ID a client is referencing by accessing the ``project`` @@ -49,7 +49,7 @@ Logging in via ``gcloud beta auth application-default login`` will automatically configure a JSON key file with your default project ID and credentials. -Setting the ``GOOGLE_APPLICATION_CREDENTIALS`` and ``GCLOUD_PROJECT`` +Setting the ``GOOGLE_APPLICATION_CREDENTIALS`` and ``GOOGLE_CLOUD_PROJECT`` environment variables will override the automatically configured credentials. You can change your default project ID to ``my-new-default-project`` by diff --git a/latest/_sources/happybase-batch.txt b/latest/_sources/happybase-batch.txt deleted file mode 100644 index ebeab35082f5..000000000000 --- a/latest/_sources/happybase-batch.txt +++ /dev/null @@ -1,12 +0,0 @@ -HappyBase Batch -~~~~~~~~~~~~~~~ - -.. warning:: - - gRPC is required for using the Cloud Bigtable API. As of May 2016, - ``grpcio`` is only supported in Python 2.7, so importing - :mod:`gcloud.bigtable` in other versions of Python will fail. - -.. automodule:: gcloud.bigtable.happybase.batch - :members: - :show-inheritance: diff --git a/latest/_sources/happybase-connection.txt b/latest/_sources/happybase-connection.txt deleted file mode 100644 index ccdd762d9f44..000000000000 --- a/latest/_sources/happybase-connection.txt +++ /dev/null @@ -1,12 +0,0 @@ -HappyBase Connection -~~~~~~~~~~~~~~~~~~~~ - -.. warning:: - - gRPC is required for using the Cloud Bigtable API. As of May 2016, - ``grpcio`` is only supported in Python 2.7, so importing - :mod:`gcloud.bigtable` in other versions of Python will fail. - -.. automodule:: gcloud.bigtable.happybase.connection - :members: - :show-inheritance: diff --git a/latest/_sources/happybase-package.txt b/latest/_sources/happybase-package.txt deleted file mode 100644 index 19d15c4788e2..000000000000 --- a/latest/_sources/happybase-package.txt +++ /dev/null @@ -1,12 +0,0 @@ -HappyBase Package -~~~~~~~~~~~~~~~~~ - -.. warning:: - - gRPC is required for using the Cloud Bigtable API. As of May 2016, - ``grpcio`` is only supported in Python 2.7, so importing - :mod:`gcloud.bigtable` in other versions of Python will fail. - -.. automodule:: gcloud.bigtable.happybase.__init__ - :members: - :show-inheritance: diff --git a/latest/_sources/happybase-pool.txt b/latest/_sources/happybase-pool.txt deleted file mode 100644 index 566008445cc5..000000000000 --- a/latest/_sources/happybase-pool.txt +++ /dev/null @@ -1,12 +0,0 @@ -HappyBase Connection Pool -~~~~~~~~~~~~~~~~~~~~~~~~~ - -.. warning:: - - gRPC is required for using the Cloud Bigtable API. As of May 2016, - ``grpcio`` is only supported in Python 2.7, so importing - :mod:`gcloud.bigtable` in other versions of Python will fail. - -.. automodule:: gcloud.bigtable.happybase.pool - :members: - :show-inheritance: diff --git a/latest/_sources/happybase-table.txt b/latest/_sources/happybase-table.txt deleted file mode 100644 index 44cd8f6bb86c..000000000000 --- a/latest/_sources/happybase-table.txt +++ /dev/null @@ -1,12 +0,0 @@ -HappyBase Table -~~~~~~~~~~~~~~~ - -.. warning:: - - gRPC is required for using the Cloud Bigtable API. As of May 2016, - ``grpcio`` is only supported in Python 2.7, so importing - :mod:`gcloud.bigtable` in other versions of Python will fail. - -.. automodule:: gcloud.bigtable.happybase.table - :members: - :show-inheritance: diff --git a/latest/_sources/index.txt b/latest/_sources/index.txt index 0c2b6ffbedb9..edcf978c47f7 100644 --- a/latest/_sources/index.txt +++ b/latest/_sources/index.txt @@ -1,11 +1,12 @@ .. toctree:: :maxdepth: 0 :hidden: - :caption: gcloud + :caption: google-cloud gcloud-api gcloud-config gcloud-auth + operation-api .. toctree:: :maxdepth: 0 @@ -54,6 +55,7 @@ bigquery-job bigquery-table bigquery-query + bigquery-schema .. toctree:: :maxdepth: 0 @@ -61,7 +63,6 @@ :caption: Cloud Bigtable bigtable-usage - HappyBase bigtable-client-intro bigtable-instance-api bigtable-table-api @@ -74,10 +75,6 @@ bigtable-row bigtable-row-filters bigtable-row-data - happybase-connection - happybase-pool - happybase-table - happybase-batch .. toctree:: :maxdepth: 0 @@ -110,6 +107,18 @@ logging-entries logging-metric logging-sink + logging-handlers + logging-transports-sync + logging-transports-thread + logging-transports-base + +.. toctree:: + :maxdepth: 0 + :hidden: + :caption: Stackdriver Error Reporting + + error-reporting-usage + Client .. toctree:: :maxdepth: 0 @@ -120,6 +129,7 @@ Client monitoring-metric monitoring-resource + monitoring-group monitoring-query monitoring-timeseries monitoring-label @@ -132,32 +142,52 @@ translate-usage Client +.. toctree:: + :maxdepth: 0 + :hidden: + :caption: Vision + + vision-usage + vision-client + vision-image + vision-feature + +.. toctree:: + :maxdepth: 0 + :hidden: + :caption: Natural Language + + language-usage + Client + language-document + language-responses + .. toctree:: :maxdepth: 0 :hidden: :caption: External Links - GitHub - Issues - Stack Overflow - PyPI + GitHub + Issues + Stack Overflow + PyPI Getting started --------------- -The ``gcloud`` library is ``pip`` install-able: +The ``google-cloud`` library is ``pip`` install-able: .. code-block:: console - $ pip install gcloud + $ pip install google-cloud -If you want to install ``gcloud-python`` from source, +If you want to install ``google-cloud-python`` from source, you can clone the repository from GitHub: .. code-block:: console - $ git clone git://github.com/GoogleCloudPlatform/gcloud-python.git - $ cd gcloud-python + $ git clone git://github.com/GoogleCloudPlatform/google-cloud-python.git + $ cd google-cloud-python $ python setup.py install ---- @@ -171,7 +201,7 @@ Cloud Datastore .. code-block:: python - from gcloud import datastore + from google.cloud import datastore client = datastore.Client() key = client.key('Person') @@ -190,7 +220,7 @@ Cloud Storage .. code-block:: python - from gcloud import storage + from google.cloud import storage client = storage.Client() bucket = client.get_bucket('') diff --git a/latest/_sources/language-client.txt b/latest/_sources/language-client.txt new file mode 100644 index 000000000000..c0bc0b329ee0 --- /dev/null +++ b/latest/_sources/language-client.txt @@ -0,0 +1,13 @@ +Natural Language Client +======================= + +.. automodule:: google.cloud.language.client + :members: + :show-inheritance: + +Connection +~~~~~~~~~~ + +.. automodule:: google.cloud.language.connection + :members: + :show-inheritance: diff --git a/latest/_sources/language-document.txt b/latest/_sources/language-document.txt new file mode 100644 index 000000000000..e879b11e590a --- /dev/null +++ b/latest/_sources/language-document.txt @@ -0,0 +1,6 @@ +Document +~~~~~~~~ + +.. automodule:: google.cloud.language.document + :members: + :show-inheritance: diff --git a/latest/_sources/language-responses.txt b/latest/_sources/language-responses.txt new file mode 100644 index 000000000000..0ad22fa9bb4f --- /dev/null +++ b/latest/_sources/language-responses.txt @@ -0,0 +1,23 @@ +Natural Language Response Classes +================================= + +Entity +~~~~~~ + +.. automodule:: google.cloud.language.entity + :members: + :show-inheritance: + +Sentiment +~~~~~~~~~ + +.. automodule:: google.cloud.language.sentiment + :members: + :show-inheritance: + +Syntax +~~~~~~ + +.. automodule:: google.cloud.language.syntax + :members: + :show-inheritance: diff --git a/latest/_sources/language-usage.txt b/latest/_sources/language-usage.txt new file mode 100644 index 000000000000..9feea9c88de5 --- /dev/null +++ b/latest/_sources/language-usage.txt @@ -0,0 +1,278 @@ +Using the API +============= + +The `Google Natural Language`_ API can be used to reveal the +structure and meaning of text via powerful machine +learning models. You can use it to extract information about +people, places, events and much more, mentioned in text documents, +news articles or blog posts. You can use it to understand +sentiment about your product on social media or parse intent from +customer conversations happening in a call center or a messaging +app. You can analyze text uploaded in your request or integrate +with your document storage on Google Cloud Storage. + +.. warning:: + + This is a Beta release of Google Cloud Natural Language API. This + API is not intended for real-time usage in critical applications. + +.. _Google Natural Language: https://cloud.google.com/natural-language/docs/getting-started + +Client +------ + +:class:`~google.cloud.language.client.Client` objects provide a +means to configure your application. Each instance holds +an authenticated connection to the Natural Language service. + +For an overview of authentication in ``google-cloud-python``, see +:doc:`gcloud-auth`. + +Assuming your environment is set up as described in that document, +create an instance of :class:`~google.cloud.language.client.Client`. + + .. code-block:: python + + >>> from google.cloud import language + >>> client = language.Client() + +By default the ``language`` is ``'en-US'`` and the ``encoding`` is +UTF-8. To over-ride these values: + + .. code-block:: python + + >>> client = language.Client(language='es', + ... encoding=language.Encoding.UTF16) + +The encoding can be one of +:attr:`Encoding.UTF8 `, +:attr:`Encoding.UTF16 `, or +:attr:`Encoding.UTF32 `. + +Methods +------- + +The Google Natural Language API has three supported methods + +- `analyzeEntities`_ +- `analyzeSentiment`_ +- `annotateText`_ + +and each method uses a `Document`_ for representing text. To +create a :class:`~google.cloud.language.document.Document`, + + .. code-block:: python + + >>> text_content = ( + ... 'Google, headquartered in Mountain View, unveiled the ' + ... 'new Android phone at the Consumer Electronic Show. ' + ... 'Sundar Pichai said in his keynote that users love ' + ... 'their new Android phones.') + >>> document = client.document_from_text(text_content) + +By using :meth:`~google.cloud.language.client.Client.document_from_text`, +the document's type is plain text: + + .. code-block:: python + + >>> document.doc_type == language.Document.PLAIN_TEXT + True + +In addition, the document's language defaults to the language on +the client + + .. code-block:: python + + >>> document.language + 'en-US' + >>> document.language == client.language + True + +In addition, the +:meth:`~google.cloud.language.client.Client.document_from_html`, +factory can be used to created an HTML document. In this +method and the from text method, the language can be +over-ridden: + + .. code-block:: python + + >>> html_content = """\ + ... + ... + ... El Tiempo de las Historias</time> + ... </head> + ... <body> + ... <p>La vaca saltó sobre la luna.</p> + ... </body> + ... </html> + ... """ + >>> document = client.document_from_html(html_content, + ... language='es') + +The ``language`` argument can be either ISO-639-1 or BCP-47 language +codes; at the time, only English, Spanish, and Japanese `are supported`_. +However, the ``analyzeSentiment`` method `only supports`_ English text. + +.. _are supported: https://cloud.google.com/natural-language/docs/ +.. _only supports: https://cloud.google.com/natural-language/reference/rest/v1beta1/documents/analyzeSentiment#body.request_body.FIELDS.document + +The document type (``doc_type``) value can be one of +:attr:`Document.PLAIN_TEXT <google.cloud.language.document.Document.PLAIN_TEXT>` or +:attr:`Document.HTML <google.cloud.language.document.Document.HTML>`. + +In addition to supplying the text / HTML content, a document can refer +to content stored in `Google Cloud Storage`_. We can use the +:meth:`~google.cloud.language.client.Client.document_from_url` method: + + .. code-block:: python + + >>> gcs_url = 'gs://my-text-bucket/sentiment-me.txt' + >>> document = client.document_from_url( + ... gcs_url, doc_type=language.Document.HTML) + >>> document.gcs_url == gcs_url + True + >>> document.doc_type == language.Document.PLAIN_TEXT + True + +The document type can be specified with the ``doc_type`` argument: + + .. code-block:: python + + >>> document = client.document_from_url( + ... gcs_url, doc_type=language.Document.HTML) + +.. _analyzeEntities: https://cloud.google.com/natural-language/reference/rest/v1beta1/documents/analyzeEntities +.. _analyzeSentiment: https://cloud.google.com/natural-language/reference/rest/v1beta1/documents/analyzeSentiment +.. _annotateText: https://cloud.google.com/natural-language/reference/rest/v1beta1/documents/annotateText +.. _Document: https://cloud.google.com/natural-language/reference/rest/v1beta1/Document +.. _Google Cloud Storage: https://cloud.google.com/storage/ + +Analyze Entities +---------------- + +The :meth:`~google.cloud.language.document.Document.analyze_entities` method +finds named entities (i.e. proper names) in the text and returns them +as a :class:`list` of :class:`~google.cloud.language.entity.Entity` objects. +Each entity has a corresponding type, salience (prominence), associated +metadata and other properties. + + .. code-block:: python + + >>> text_content = ("Michelangelo Caravaggio, Italian painter, is " + ... "known for 'The Calling of Saint Matthew'.") + >>> document = client.document(text_content) + >>> entities = document.analyze_entities() + >>> for entity in entities: + ... print('=' * 20) + ... print(' name: %s' % (entity.name,)) + ... print(' type: %s' % (entity.entity_type,)) + ... print('wikipedia_url: %s' % (entity.wikipedia_url,)) + ... print(' metadata: %s' % (entity.metadata,)) + ... print(' salience: %s' % (entity.salience,)) + ==================== + name: Michelangelo Caravaggio + type: PERSON + wikipedia_url: http://en.wikipedia.org/wiki/Caravaggio + metadata: {} + salience: 0.7615959 + ==================== + name: Italian + type: LOCATION + wikipedia_url: http://en.wikipedia.org/wiki/Italy + metadata: {} + salience: 0.19960518 + ==================== + name: The Calling of Saint Matthew + type: EVENT + wikipedia_url: http://en.wikipedia.org/wiki/The_Calling_of_St_Matthew_(Caravaggio) + metadata: {} + salience: 0.038798928 + +Analyze Sentiment +----------------- + +The :meth:`~google.cloud.language.document.Document.analyze_sentiment` method +analyzes the sentiment of the provided text and returns a +:class:`~google.cloud.language.sentiment.Sentiment`. Currently, this method +only supports English text. + + .. code-block:: python + + >>> text_content = "Jogging isn't very fun." + >>> document = client.document(text_content) + >>> sentiment = document.analyze_sentiment() + >>> print(sentiment.polarity) + -1 + >>> print(sentiment.magnitude) + 0.8 + +Annotate Text +------------- + +The :meth:`~google.cloud.language.document.Document.annotate_text` method +analyzes a document and is intended for users who are familiar with +machine learning and need in-depth text features to build upon. + +The method returns a named tuple with four entries: + +* ``sentences``: A :class:`list` of sentences in the text +* ``tokens``: A :class:`list` of :class:`~google.cloud.language.syntax.Token` + object (e.g. words, punctuation) +* ``sentiment``: The :class:`~google.cloud.language.sentiment.Sentiment` of + the text (as returned by + :meth:`~google.cloud.language.document.Document.analyze_sentiment`) +* ``entities``: :class:`list` of :class:`~google.cloud.language.entity.Entity` + objects extracted from the text (as returned by + :meth:`~google.cloud.language.document.Document.analyze_entities`) + +By default :meth:`~google.cloud.language.document.Document.annotate_text` has +three arguments ``include_syntax``, ``include_entities`` and +``include_sentiment`` which are all :data:`True`. However, each of these +`Features`_ can be selectively turned off by setting the corresponding +arguments to :data:`False`. + +When ``include_syntax=False``, ``sentences`` and ``tokens`` in the +response is :data:`None`. When ``include_sentiment``, ``sentiment`` in +the response is :data:`None`. When ``include_entities``, ``entities`` in +the response is :data:`None`. + + .. code-block:: python + + >>> text_content = 'The cow jumped over the Moon.' + >>> document = client.document(text_content) + >>> annotations = document.annotate_text() + >>> # Sentences present if include_syntax=True + >>> print(annotations.sentences) + ['The cow jumped over the Moon.'] + >>> # Tokens present if include_syntax=True + >>> for token in annotations.tokens: + ... msg = '%11s: %s' % (token.part_of_speech, token.text_content) + ... print(msg) + DETERMINER: The + NOUN: cow + VERB: jumped + ADPOSITION: over + DETERMINER: the + NOUN: Moon + PUNCTUATION: . + >>> # Sentiment present if include_sentiment=True + >>> print(annotations.sentiment.polarity) + 1 + >>> print(annotations.sentiment.magnitude) + 0.1 + >>> # Entities present if include_entities=True + >>> for entity in annotations.entities: + ... print('=' * 20) + ... print(' name: %s' % (entity.name,)) + ... print(' type: %s' % (entity.entity_type,)) + ... print('wikipedia_url: %s' % (entity.wikipedia_url,)) + ... print(' metadata: %s' % (entity.metadata,)) + ... print(' salience: %s' % (entity.salience,)) + ==================== + name: Moon + type: LOCATION + wikipedia_url: http://en.wikipedia.org/wiki/Natural_satellite + metadata: {} + salience: 0.11793101 + +.. _Features: https://cloud.google.com/natural-language/reference/rest/v1beta1/documents/annotateText#Features diff --git a/latest/_sources/logging-client.txt b/latest/_sources/logging-client.txt index fb5f009947cd..cc834d1c21af 100644 --- a/latest/_sources/logging-client.txt +++ b/latest/_sources/logging-client.txt @@ -1,13 +1,13 @@ Stackdriver Logging Client ========================== -.. automodule:: gcloud.logging.client +.. automodule:: google.cloud.logging.client :members: :show-inheritance: Connection ~~~~~~~~~~ -.. automodule:: gcloud.logging.connection +.. automodule:: google.cloud.logging.connection :members: :show-inheritance: diff --git a/latest/_sources/logging-entries.txt b/latest/_sources/logging-entries.txt index a22f6094d927..762b7776ee2c 100644 --- a/latest/_sources/logging-entries.txt +++ b/latest/_sources/logging-entries.txt @@ -1,7 +1,7 @@ Entries ======= -.. automodule:: gcloud.logging.entries +.. automodule:: google.cloud.logging.entries :members: :show-inheritance: diff --git a/latest/_sources/logging-handlers.txt b/latest/_sources/logging-handlers.txt new file mode 100644 index 000000000000..1a258a88a541 --- /dev/null +++ b/latest/_sources/logging-handlers.txt @@ -0,0 +1,6 @@ +Python Logging Module Handler +============================== + +.. automodule:: google.cloud.logging.handlers.handlers + :members: + :show-inheritance: diff --git a/latest/_sources/logging-logger.txt b/latest/_sources/logging-logger.txt index 4a95d01662a7..5e167671b7bd 100644 --- a/latest/_sources/logging-logger.txt +++ b/latest/_sources/logging-logger.txt @@ -1,7 +1,7 @@ Logger ====== -.. automodule:: gcloud.logging.logger +.. automodule:: google.cloud.logging.logger :members: :show-inheritance: diff --git a/latest/_sources/logging-metric.txt b/latest/_sources/logging-metric.txt index 2c49a94049ce..ca30e3c89eca 100644 --- a/latest/_sources/logging-metric.txt +++ b/latest/_sources/logging-metric.txt @@ -1,6 +1,6 @@ Metrics ======= -.. automodule:: gcloud.logging.metric +.. automodule:: google.cloud.logging.metric :members: :show-inheritance: diff --git a/latest/_sources/logging-sink.txt b/latest/_sources/logging-sink.txt index 4e2dd40d44dc..35e88562bbee 100644 --- a/latest/_sources/logging-sink.txt +++ b/latest/_sources/logging-sink.txt @@ -1,6 +1,6 @@ Sinks ===== -.. automodule:: gcloud.logging.sink +.. automodule:: google.cloud.logging.sink :members: :show-inheritance: diff --git a/latest/_sources/logging-transports-base.txt b/latest/_sources/logging-transports-base.txt new file mode 100644 index 000000000000..5b52c46cadcb --- /dev/null +++ b/latest/_sources/logging-transports-base.txt @@ -0,0 +1,6 @@ +Python Logging Handler Sync Transport +====================================== + +.. automodule:: google.cloud.logging.handlers.transports.base + :members: + :show-inheritance: diff --git a/latest/_sources/logging-transports-sync.txt b/latest/_sources/logging-transports-sync.txt new file mode 100644 index 000000000000..edb2b72f578d --- /dev/null +++ b/latest/_sources/logging-transports-sync.txt @@ -0,0 +1,6 @@ +Python Logging Handler Sync Transport +====================================== + +.. automodule:: google.cloud.logging.handlers.transports.sync + :members: + :show-inheritance: diff --git a/latest/_sources/logging-transports-thread.txt b/latest/_sources/logging-transports-thread.txt new file mode 100644 index 000000000000..45780b27fe42 --- /dev/null +++ b/latest/_sources/logging-transports-thread.txt @@ -0,0 +1,7 @@ +Python Logging Handler Threaded Transport +========================================= + + +.. automodule:: google.cloud.logging.handlers.transports.background_thread + :members: + :show-inheritance: diff --git a/latest/_sources/logging-usage.txt b/latest/_sources/logging-usage.txt index 3dd2a6efab19..4736924eae04 100644 --- a/latest/_sources/logging-usage.txt +++ b/latest/_sources/logging-usage.txt @@ -5,27 +5,33 @@ Using the API Authentication and Configuration -------------------------------- -- For an overview of authentication in ``gcloud-python``, +- For an overview of authentication in ``google-cloud-python``, see :doc:`gcloud-auth`. - In addition to any authentication configuration, you should also set the - :envvar:`GCLOUD_PROJECT` environment variable for the project you'd like + :envvar:`GOOGLE_CLOUD_PROJECT` environment variable for the project you'd like to interact with. If you are Google App Engine or Google Compute Engine this will be detected automatically. +- The library now enables the ``gRPC`` transport for the logging API by + default, assuming that the required dependencies are installed and + importable. To *disable* this transport, set the + :envvar:`GOOGLE_CLOUD_DISABLE_GRPC` environment variable to a + non-empty string, e.g.: ``$ export GOOGLE_CLOUD_DISABLE_GRPC=true``. + - After configuring your environment, create a - :class:`Client <gcloud.logging.client.Client>` + :class:`Client <google.cloud.logging.client.Client>` .. doctest:: - >>> from gcloud import logging + >>> from google.cloud import logging >>> client = logging.Client() or pass in ``credentials`` and ``project`` explicitly .. doctest:: - >>> from gcloud import logging + >>> from google.cloud import logging >>> client = logging.Client(project='my-project', credentials=creds) @@ -36,7 +42,7 @@ Write a simple text entry to a logger. .. doctest:: - >>> from gcloud import logging + >>> from google.cloud import logging >>> client = logging.Client() >>> logger = client.logger('log_name') >>> logger.log_text("A simple entry") # API call @@ -45,7 +51,7 @@ Write a dictionary entry to a logger. .. doctest:: - >>> from gcloud import logging + >>> from google.cloud import logging >>> client = logging.Client() >>> logger = client.logger('log_name') >>> logger.log_struct( @@ -60,7 +66,7 @@ Fetch entries for the default project. .. doctest:: - >>> from gcloud import logging + >>> from google.cloud import logging >>> client = logging.Client() >>> entries, token = client.list_entries() # API call >>> for entry in entries: @@ -74,7 +80,7 @@ Fetch entries across multiple projects. .. doctest:: - >>> from gcloud import logging + >>> from google.cloud import logging >>> client = logging.Client() >>> entries, token = client.list_entries( ... project_ids=['one-project', 'another-project']) # API call @@ -85,7 +91,7 @@ Filter entries retrieved using the `Advanced Logs Filters`_ syntax .. doctest:: - >>> from gcloud import logging + >>> from google.cloud import logging >>> client = logging.Client() >>> FILTER = "log:log_name AND textPayload:simple" >>> entries, token = client.list_entries(filter=FILTER) # API call @@ -94,7 +100,7 @@ Sort entries in descending timestamp order. .. doctest:: - >>> from gcloud import logging + >>> from google.cloud import logging >>> client = logging.Client() >>> entries, token = client.list_entries(order_by=logging.DESCENDING) # API call @@ -102,7 +108,7 @@ Retrieve entries in batches of 10, iterating until done. .. doctest:: - >>> from gcloud import logging + >>> from google.cloud import logging >>> client = logging.Client() >>> retrieved = [] >>> token = None @@ -116,7 +122,7 @@ Retrieve entries for a single logger, sorting in descending timestamp order: .. doctest:: - >>> from gcloud import logging + >>> from google.cloud import logging >>> client = logging.Client() >>> logger = client.logger('log_name') >>> entries, token = logger.list_entries(order_by=logging.DESCENDING) # API call @@ -126,7 +132,7 @@ Delete all entries for a logger .. doctest:: - >>> from gcloud import logging + >>> from google.cloud import logging >>> client = logging.Client() >>> logger = client.logger('log_name') >>> logger.delete() # API call @@ -142,7 +148,7 @@ Create a metric: .. doctest:: - >>> from gcloud import logging + >>> from google.cloud import logging >>> client = logging.Client() >>> metric = client.metric( ... "robots", "Robots all up in your server", @@ -157,7 +163,7 @@ List all metrics for a project: .. doctest:: - >>> from gcloud import logging + >>> from google.cloud import logging >>> client = logging.Client() >>> metrics, token = client.list_metrics() >>> len(metrics) @@ -170,7 +176,7 @@ Refresh local information about a metric: .. doctest:: - >>> from gcloud import logging + >>> from google.cloud import logging >>> client = logging.Client() >>> metric = client.metric("robots") >>> metric.reload() # API call @@ -183,7 +189,7 @@ Update a metric: .. doctest:: - >>> from gcloud import logging + >>> from google.cloud import logging >>> client = logging.Client() >>> metric = client.metric("robots") >>> metric.exists() # API call @@ -196,7 +202,7 @@ Delete a metric: .. doctest:: - >>> from gcloud import logging + >>> from google.cloud import logging >>> client = logging.Client() >>> metric = client.metric("robots") >>> metric.exists() # API call @@ -221,7 +227,7 @@ Add ``cloud-logs@google.com`` as the owner of ``my-bucket-name``: .. doctest:: - >>> from gcloud import storage + >>> from google.cloud import storage >>> client = storage.Client() >>> bucket = client.get_bucket('my-bucket-name') >>> bucket.acl.reload() @@ -242,8 +248,8 @@ See: `Setting permissions for BigQuery`_ .. doctest:: - >>> from gcloud import bigquery - >>> from gcloud.bigquery.dataset import AccessGrant + >>> from google.cloud import bigquery + >>> from google.cloud.bigquery.dataset import AccessGrant >>> bigquery_client = bigquery.Client() >>> dataset = bigquery_client.dataset('my-dataset-name') >>> dataset.create() @@ -266,7 +272,7 @@ See: `Setting permissions for Pub/Sub`_ .. doctest:: - >>> from gcloud import pubsub + >>> from google.cloud import pubsub >>> client = pubsub.Client() >>> topic = client.topic('your-topic-name') >>> policy = top.get_iam_policy() @@ -279,7 +285,7 @@ Create a Cloud Storage sink: .. doctest:: - >>> from gcloud import logging + >>> from google.cloud import logging >>> client = logging.Client() >>> sink = client.sink( ... "robots-storage", @@ -295,7 +301,7 @@ Create a BigQuery sink: .. doctest:: - >>> from gcloud import logging + >>> from google.cloud import logging >>> client = logging.Client() >>> sink = client.sink( ... "robots-bq", @@ -311,7 +317,7 @@ Create a Cloud Pub/Sub sink: .. doctest:: - >>> from gcloud import logging + >>> from google.cloud import logging >>> client = logging.Client() >>> sink = client.sink( @@ -328,7 +334,7 @@ List all sinks for a project: .. doctest:: - >>> from gcloud import logging + >>> from google.cloud import logging >>> client = logging.Client() >>> sinks, token = client.list_sinks() >>> for sink in sinks: @@ -341,7 +347,7 @@ Refresh local information about a sink: .. doctest:: - >>> from gcloud import logging + >>> from google.cloud import logging >>> client = logging.Client() >>> sink = client.sink('robots-storage') >>> sink.filter is None @@ -356,7 +362,7 @@ Update a sink: .. doctest:: - >>> from gcloud import logging + >>> from google.cloud import logging >>> client = logging.Client() >>> sink = client.sink("robots") >>> sink.reload() # API call @@ -367,7 +373,7 @@ Delete a sink: .. doctest:: - >>> from gcloud import logging + >>> from google.cloud import logging >>> client = logging.Client() >>> sink = client.sink( ... "robots", @@ -377,3 +383,74 @@ Delete a sink: >>> sink.delete() # API call >>> sink.exists() # API call False + +Integration with Python logging module +--------------------------------------------- + + +It's possible to tie the Python :mod:`logging` module directly into Google Cloud Logging. To use it, +create a :class:`CloudLoggingHandler <google.cloud.logging.CloudLoggingHandler>` instance from your +Logging client. + +.. doctest:: + + >>> import logging + >>> import google.cloud.logging # Don't conflict with standard logging + >>> from google.cloud.logging.handlers import CloudLoggingHandler + >>> client = google.cloud.logging.Client() + >>> handler = CloudLoggingHandler(client) + >>> cloud_logger = logging.getLogger('cloudLogger') + >>> cloud_logger.setLevel(logging.INFO) # defaults to WARN + >>> cloud_logger.addHandler(handler) + >>> cloud_logger.error('bad news') + +.. note:: + + This handler by default uses an asynchronous transport that sends log entries on a background + thread. However, the API call will still be made in the same process. For other transport + options, see the transports section. + +All logs will go to a single custom log, which defaults to "python". The name of the Python +logger will be included in the structured log entry under the "python_logger" field. You can +change it by providing a name to the handler: + +.. doctest:: + + >>> handler = CloudLoggingHandler(client, name="mycustomlog") + +It is also possible to attach the handler to the root Python logger, so that for example a plain +`logging.warn` call would be sent to Cloud Logging, as well as any other loggers created. However, +you must avoid infinite recursion from the logging calls the client itself makes. A helper +method :meth:`setup_logging <google.cloud.logging.handlers.setup_logging>` is provided to configure +this automatically: + +.. doctest:: + + >>> import logging + >>> import google.cloud.logging # Don't conflict with standard logging + >>> from google.cloud.logging.handlers import CloudLoggingHandler, setup_logging + >>> client = google.cloud.logging.Client() + >>> handler = CloudLoggingHandler(client) + >>> logging.getLogger().setLevel(logging.INFO) # defaults to WARN + >>> setup_logging(handler) + >>> logging.error('bad news') + +You can also exclude certain loggers: + +.. doctest:: + + >>> setup_logging(handler, excluded_loggers=('werkzeug',))) + + + +Python logging handler transports +================================== + +The Python logging handler can use different transports. The default is +:class:`google.cloud.logging.handlers.BackgroundThreadTransport`. + + 1. :class:`google.cloud.logging.handlers.BackgroundThreadTransport` this is the default. It writes + entries on a background :class:`python.threading.Thread`. + + 1. :class:`google.cloud.logging.handlers.SyncTransport` this handler does a direct API call on each + logging statement to write the entry. diff --git a/latest/_sources/monitoring-client.txt b/latest/_sources/monitoring-client.txt index baea7d2fd592..1aec72367379 100644 --- a/latest/_sources/monitoring-client.txt +++ b/latest/_sources/monitoring-client.txt @@ -1,13 +1,13 @@ Stackdriver Monitoring Client ============================= -.. automodule:: gcloud.monitoring.client +.. automodule:: google.cloud.monitoring.client :members: :show-inheritance: Connection ~~~~~~~~~~ -.. automodule:: gcloud.monitoring.connection +.. automodule:: google.cloud.monitoring.connection :members: :show-inheritance: diff --git a/latest/_sources/monitoring-group.txt b/latest/_sources/monitoring-group.txt new file mode 100644 index 000000000000..db7d3acb02ed --- /dev/null +++ b/latest/_sources/monitoring-group.txt @@ -0,0 +1,7 @@ +Groups +====== + +.. automodule:: google.cloud.monitoring.group + :members: + :show-inheritance: + diff --git a/latest/_sources/monitoring-label.txt b/latest/_sources/monitoring-label.txt index a20d5a741af0..67b7c16b7689 100644 --- a/latest/_sources/monitoring-label.txt +++ b/latest/_sources/monitoring-label.txt @@ -1,6 +1,6 @@ Label Descriptors ================= -.. automodule:: gcloud.monitoring.label +.. automodule:: google.cloud.monitoring.label :members: :show-inheritance: diff --git a/latest/_sources/monitoring-metric.txt b/latest/_sources/monitoring-metric.txt index e1fb979e3d22..abb6395f864c 100644 --- a/latest/_sources/monitoring-metric.txt +++ b/latest/_sources/monitoring-metric.txt @@ -1,6 +1,6 @@ Metric Descriptors ================== -.. automodule:: gcloud.monitoring.metric +.. automodule:: google.cloud.monitoring.metric :members: :show-inheritance: diff --git a/latest/_sources/monitoring-query.txt b/latest/_sources/monitoring-query.txt index 1da7f7e61fcc..28cc2def2522 100644 --- a/latest/_sources/monitoring-query.txt +++ b/latest/_sources/monitoring-query.txt @@ -1,6 +1,6 @@ Time Series Query ================= -.. automodule:: gcloud.monitoring.query +.. automodule:: google.cloud.monitoring.query :members: :show-inheritance: diff --git a/latest/_sources/monitoring-resource.txt b/latest/_sources/monitoring-resource.txt index d9750decd1c6..b7faf93e68df 100644 --- a/latest/_sources/monitoring-resource.txt +++ b/latest/_sources/monitoring-resource.txt @@ -1,6 +1,6 @@ Monitored Resource Descriptors ============================== -.. automodule:: gcloud.monitoring.resource +.. automodule:: google.cloud.monitoring.resource :members: :show-inheritance: diff --git a/latest/_sources/monitoring-timeseries.txt b/latest/_sources/monitoring-timeseries.txt index 2d3133e7823a..e580f8067d69 100644 --- a/latest/_sources/monitoring-timeseries.txt +++ b/latest/_sources/monitoring-timeseries.txt @@ -1,6 +1,6 @@ Time Series =========== -.. automodule:: gcloud.monitoring.timeseries +.. automodule:: google.cloud.monitoring.timeseries :members: :show-inheritance: diff --git a/latest/_sources/monitoring-usage.txt b/latest/_sources/monitoring-usage.txt index adfd93cefe67..af217c6271f2 100644 --- a/latest/_sources/monitoring-usage.txt +++ b/latest/_sources/monitoring-usage.txt @@ -40,8 +40,8 @@ The Stackdriver Monitoring Client Object The Stackdriver Monitoring client library generally makes its functionality available as methods of the monitoring -:class:`~gcloud.monitoring.client.Client` class. -A :class:`~gcloud.monitoring.client.Client` instance holds +:class:`~google.cloud.monitoring.client.Client` class. +A :class:`~google.cloud.monitoring.client.Client` instance holds authentication credentials and the ID of the target project with which the metric data of interest is associated. This project ID will often refer to a `Stackdriver account`_ binding multiple @@ -54,12 +54,12 @@ more information. It is thus typical to create a client object as follows:: - >>> from gcloud import monitoring + >>> from google.cloud import monitoring >>> client = monitoring.Client(project='target-project') If you are running in Google Compute Engine or Google App Engine, the current project is the default target project. This default -can be further overridden with the :envvar:`GCLOUD_PROJECT` +can be further overridden with the :envvar:`GOOGLE_CLOUD_PROJECT` environment variable. Using the default target project is even easier:: @@ -77,14 +77,14 @@ Monitored Resource Descriptors The available monitored resource types are defined by *monitored resource descriptors*. You can fetch a list of these with the -:meth:`~gcloud.monitoring.client.Client.list_resource_descriptors` method:: +:meth:`~google.cloud.monitoring.client.Client.list_resource_descriptors` method:: >>> for descriptor in client.list_resource_descriptors(): ... print(descriptor.type) -Each :class:`~gcloud.monitoring.resource.ResourceDescriptor` +Each :class:`~google.cloud.monitoring.resource.ResourceDescriptor` has a type, a display name, a description, and a list of -:class:`~gcloud.monitoring.label.LabelDescriptor` instances. +:class:`~google.cloud.monitoring.label.LabelDescriptor` instances. See the documentation about `Monitored Resources`_ for more information. @@ -98,22 +98,22 @@ Metric Descriptors The available metric types are defined by *metric descriptors*. They include `platform metrics`_, `agent metrics`_, and `custom metrics`_. You can list all of these with the -:meth:`~gcloud.monitoring.client.Client.list_metric_descriptors` method:: +:meth:`~google.cloud.monitoring.client.Client.list_metric_descriptors` method:: >>> for descriptor in client.list_metric_descriptors(): ... print(descriptor.type) -See :class:`~gcloud.monitoring.metric.MetricDescriptor` and the +See :class:`~google.cloud.monitoring.metric.MetricDescriptor` and the `Metric Descriptors`_ API documentation for more information. You can create new metric descriptors to define custom metrics in the ``custom.googleapis.com`` namespace. You do this by creating a -:class:`~gcloud.monitoring.metric.MetricDescriptor` object using the -client's :meth:`~gcloud.monitoring.client.Client.metric_descriptor` +:class:`~google.cloud.monitoring.metric.MetricDescriptor` object using the +client's :meth:`~google.cloud.monitoring.client.Client.metric_descriptor` factory and then calling the object's -:meth:`~gcloud.monitoring.metric.MetricDescriptor.create` method:: +:meth:`~google.cloud.monitoring.metric.MetricDescriptor.create` method:: - >>> from gcloud.monitoring import MetricKind, ValueType + >>> from google.cloud.monitoring import MetricKind, ValueType >>> descriptor = client.metric_descriptor( ... 'custom.googleapis.com/my_metric', ... metric_kind=MetricKind.GAUGE, @@ -129,13 +129,13 @@ You can delete such a metric descriptor as follows:: To define a custom metric parameterized by one or more labels, you must build the appropriate -:class:`~gcloud.monitoring.label.LabelDescriptor` objects +:class:`~google.cloud.monitoring.label.LabelDescriptor` objects and include them in the -:class:`~gcloud.monitoring.metric.MetricDescriptor` object +:class:`~google.cloud.monitoring.metric.MetricDescriptor` object before you call -:meth:`~gcloud.monitoring.metric.MetricDescriptor.create`:: +:meth:`~google.cloud.monitoring.metric.MetricDescriptor.create`:: - >>> from gcloud.monitoring import LabelDescriptor, LabelValueType + >>> from google.cloud.monitoring import LabelDescriptor, LabelValueType >>> label = LabelDescriptor('response_code', LabelValueType.INT64, ... description='HTTP status code') >>> descriptor = client.metric_descriptor( @@ -154,20 +154,100 @@ before you call projects.metricDescriptors +Groups +------ + +A group is a dynamic collection of *monitored resources* whose membership is +defined by a `filter`_. These groups are usually created via the +`Stackdriver dashboard`_. You can list all the groups in a project with the +:meth:`~google.cloud.monitoring.client.Client.list_groups` method:: + + >>> for group in client.list_groups(): + ... print(group.id, group.display_name, group.parent_id) + ('a001', 'Production', None) + ('a002', 'Front-end', 'a001') + ('1003', 'Back-end', 'a001') + +See :class:`~google.cloud.monitoring.group.Group` and the API documentation for +`Groups`_ and `Group members`_ for more information. + +You can get a specific group based on it's ID as follows:: + + >>> group = client.fetch_group('a001') + +You can get the current members of this group using the +:meth:`~google.cloud.monitoring.group.Group.list_members` method:: + + >>> for member in group.list_members(): + ... print(member) + +Passing in ``end_time`` and ``start_time`` to the above method will return +historical members based on the current filter of the group. The group +membership changes over time, as *monitored resources* come and go, and as they +change properties. + +You can create new groups to define new collections of *monitored resources*. +You do this by creating a :class:`~google.cloud.monitoring.group.Group` object using +the client's :meth:`~google.cloud.monitoring.client.Client.group` factory and then +calling the object's :meth:`~google.cloud.monitoring.group.Group.create` method:: + + >>> filter_string = 'resource.zone = "us-central1-a"' + >>> group = client.group( + ... display_name='My group', + ... filter_string=filter_string, + ... parent_id='a001', + ... is_cluster=True) + >>> group.create() + >>> group.id + '1234' + +You can further manipulate an existing group by first initializing a Group +object with it's ID or name, and then calling various methods on it. + +Delete a group:: + + >>> group = client.group('1234') + >>> group.exists() + True + >>> group.delete() + + +Update a group:: + + >>> group = client.group('1234') + >>> group.exists() + True + >>> group.reload() + >>> group.display_name = 'New Display Name' + >>> group.update() + +.. _Stackdriver dashboard: + https://support.stackdriver.com/customer/portal/articles/\ + 1535145-creating-groups +.. _filter: + https://cloud.google.com/monitoring/api/v3/filters#group-filter +.. _Groups: + https://cloud.google.com/monitoring/api/ref_v3/rest/v3/\ + projects.groups +.. _Group members: + https://cloud.google.com/monitoring/api/ref_v3/rest/v3/\ + projects.groups.members + + Time Series Queries ------------------- A time series includes a collection of data points and a set of resource and metric label values. -See :class:`~gcloud.monitoring.timeseries.TimeSeries` and the +See :class:`~google.cloud.monitoring.timeseries.TimeSeries` and the `Time Series`_ API documentation for more information. While you can obtain time series objects by iterating over a -:class:`~gcloud.monitoring.query.Query` object, usually it is +:class:`~google.cloud.monitoring.query.Query` object, usually it is more useful to retrieve time series data in the form of a :class:`pandas.DataFrame`, where each column corresponds to a single time series. For this, you must have :mod:`pandas` installed; -it is not a required dependency of ``gcloud-python``. +it is not a required dependency of ``google-cloud-python``. You can display CPU utilization across your GCE instances during the last five minutes as follows:: @@ -176,11 +256,11 @@ the last five minutes as follows:: >>> query = client.query(METRIC, minutes=5) >>> print(query.as_dataframe()) -:class:`~gcloud.monitoring.query.Query` objects provide a variety of +:class:`~google.cloud.monitoring.query.Query` objects provide a variety of methods for refining the query. You can request temporal alignment and cross-series reduction, and you can filter by label values. -See the client :meth:`~gcloud.monitoring.client.Client.query` method -and the :class:`~gcloud.monitoring.query.Query` class for more +See the client :meth:`~google.cloud.monitoring.client.Client.query` method +and the :class:`~google.cloud.monitoring.query.Query` class for more information. For example, you can display CPU utilization during the last hour @@ -188,7 +268,7 @@ across GCE instances with names beginning with ``"mycluster-"``, averaged over five-minute intervals and aggregated per zone, as follows:: - >>> from gcloud.monitoring import Aligner, Reducer + >>> from google.cloud.monitoring import Aligner, Reducer >>> METRIC = 'compute.googleapis.com/instance/cpu/utilization' >>> query = (client.query(METRIC, hours=1) ... .select_metrics(instance_name_prefix='mycluster-') diff --git a/latest/_sources/operation-api.txt b/latest/_sources/operation-api.txt new file mode 100644 index 000000000000..489a2683920c --- /dev/null +++ b/latest/_sources/operation-api.txt @@ -0,0 +1,7 @@ +Long-Running Operations +~~~~~~~~~~~~~~~~~~~~~~~ + +.. automodule:: google.cloud.operation + :members: + :show-inheritance: + diff --git a/latest/_sources/pubsub-client.txt b/latest/_sources/pubsub-client.txt index 858d2b7332b7..c5e70e6ae683 100644 --- a/latest/_sources/pubsub-client.txt +++ b/latest/_sources/pubsub-client.txt @@ -1,13 +1,13 @@ Pub/Sub Client ============== -.. automodule:: gcloud.pubsub.client +.. automodule:: google.cloud.pubsub.client :members: :show-inheritance: Connection ~~~~~~~~~~ -.. automodule:: gcloud.pubsub.connection +.. automodule:: google.cloud.pubsub.connection :members: :show-inheritance: diff --git a/latest/_sources/pubsub-iam.txt b/latest/_sources/pubsub-iam.txt index 6cdfaf266cf5..a939f4d3a8c8 100644 --- a/latest/_sources/pubsub-iam.txt +++ b/latest/_sources/pubsub-iam.txt @@ -1,7 +1,7 @@ IAM Policy ~~~~~~~~~~ -.. automodule:: gcloud.pubsub.iam +.. automodule:: google.cloud.pubsub.iam :members: :member-order: bysource :show-inheritance: diff --git a/latest/_sources/pubsub-message.txt b/latest/_sources/pubsub-message.txt index 3b2561f87b9f..654c607d46b3 100644 --- a/latest/_sources/pubsub-message.txt +++ b/latest/_sources/pubsub-message.txt @@ -1,6 +1,6 @@ Message ~~~~~~~ -.. automodule:: gcloud.pubsub.message +.. automodule:: google.cloud.pubsub.message :members: :show-inheritance: diff --git a/latest/_sources/pubsub-subscription.txt b/latest/_sources/pubsub-subscription.txt index d92d43e57ad4..f242cb644e83 100644 --- a/latest/_sources/pubsub-subscription.txt +++ b/latest/_sources/pubsub-subscription.txt @@ -1,7 +1,7 @@ Subscriptions ~~~~~~~~~~~~~ -.. automodule:: gcloud.pubsub.subscription +.. automodule:: google.cloud.pubsub.subscription :members: :member-order: bysource :show-inheritance: diff --git a/latest/_sources/pubsub-topic.txt b/latest/_sources/pubsub-topic.txt index e2ddc3c04570..323d467a08ce 100644 --- a/latest/_sources/pubsub-topic.txt +++ b/latest/_sources/pubsub-topic.txt @@ -1,7 +1,7 @@ Topics ~~~~~~ -.. automodule:: gcloud.pubsub.topic +.. automodule:: google.cloud.pubsub.topic :members: :member-order: bysource :show-inheritance: diff --git a/latest/_sources/pubsub-usage.txt b/latest/_sources/pubsub-usage.txt index 9a7f7e7acf27..431f2784d050 100644 --- a/latest/_sources/pubsub-usage.txt +++ b/latest/_sources/pubsub-usage.txt @@ -4,24 +4,35 @@ Using the API Authentication / Configuration ------------------------------ -- Use :class:`Client <gcloud.pubsub.client.Client>` objects to configure +- Use :class:`Client <google.cloud.pubsub.client.Client>` objects to configure your applications. -- :class:`Client <gcloud.pubsub.client.Client>` objects hold both a ``project`` +- In addition to any authentication configuration, you should also set the + :envvar:`GOOGLE_CLOUD_PROJECT` environment variable for the project you'd like + to interact with. If you are Google App Engine or Google Compute Engine + this will be detected automatically. + +- The library now enables the ``gRPC`` transport for the pubsub API by + default, assuming that the required dependencies are installed and + importable. To *disable* this transport, set the + :envvar:`GOOGLE_CLOUD_DISABLE_GRPC` environment variable to a + non-empty string, e.g.: ``$ export GOOGLE_CLOUD_DISABLE_GRPC=true``. + +- :class:`Client <google.cloud.pubsub.client.Client>` objects hold both a ``project`` and an authenticated connection to the PubSub service. - The authentication credentials can be implicitly determined from the environment or directly via - :meth:`from_service_account_json <gcloud.pubsub.client.Client.from_service_account_json>` + :meth:`from_service_account_json <google.cloud.pubsub.client.Client.from_service_account_json>` and - :meth:`from_service_account_p12 <gcloud.pubsub.client.Client.from_service_account_p12>`. + :meth:`from_service_account_p12 <google.cloud.pubsub.client.Client.from_service_account_p12>`. -- After setting ``GOOGLE_APPLICATION_CREDENTIALS`` and ``GCLOUD_PROJECT`` - environment variables, create a :class:`Client <gcloud.pubsub.client.Client>` +- After setting ``GOOGLE_APPLICATION_CREDENTIALS`` and ``GOOGLE_CLOUD_PROJECT`` + environment variables, create a :class:`Client <google.cloud.pubsub.client.Client>` .. doctest:: - >>> from gcloud import pubsub + >>> from google.cloud import pubsub >>> client = pubsub.Client() diff --git a/latest/_sources/resource-manager-api.txt b/latest/_sources/resource-manager-api.txt index 6caf53e93b1d..87fab63c27f2 100644 --- a/latest/_sources/resource-manager-api.txt +++ b/latest/_sources/resource-manager-api.txt @@ -20,7 +20,7 @@ Here's a quick example of the full life-cycle: .. code-block:: python - >>> from gcloud import resource_manager + >>> from google.cloud import resource_manager >>> client = resource_manager.Client() >>> # List all projects you have access to @@ -69,7 +69,7 @@ provided by the `Google Cloud SDK`_, which you can get by running .. _Google Cloud SDK: http://cloud.google.com/sdk -Once you run that command, ``gcloud-python`` will automatically pick up the +Once you run that command, ``google-cloud-python`` will automatically pick up the credentials, and you can use the "automatic discovery" feature of the library. Start by authenticating: @@ -82,5 +82,5 @@ And then simply create a client: .. code-block:: python - >>> from gcloud import resource_manager + >>> from google.cloud import resource_manager >>> client = resource_manager.Client() diff --git a/latest/_sources/resource-manager-client.txt b/latest/_sources/resource-manager-client.txt index 4c354b25bec5..0eb5837f2623 100644 --- a/latest/_sources/resource-manager-client.txt +++ b/latest/_sources/resource-manager-client.txt @@ -5,13 +5,13 @@ Client ------ -.. automodule:: gcloud.resource_manager.client +.. automodule:: google.cloud.resource_manager.client :members: :show-inheritance: Connection ~~~~~~~~~~ -.. automodule:: gcloud.resource_manager.connection +.. automodule:: google.cloud.resource_manager.connection :members: :show-inheritance: diff --git a/latest/_sources/resource-manager-project.txt b/latest/_sources/resource-manager-project.txt index eee478c2533f..e6f8a90be298 100644 --- a/latest/_sources/resource-manager-project.txt +++ b/latest/_sources/resource-manager-project.txt @@ -1,6 +1,6 @@ Projects ~~~~~~~~ -.. automodule:: gcloud.resource_manager.project +.. automodule:: google.cloud.resource_manager.project :members: :show-inheritance: diff --git a/latest/_sources/storage-acl.txt b/latest/_sources/storage-acl.txt index 6c2e60b55042..f1f7d028907d 100644 --- a/latest/_sources/storage-acl.txt +++ b/latest/_sources/storage-acl.txt @@ -1,6 +1,6 @@ ACL ~~~ -.. automodule:: gcloud.storage.acl +.. automodule:: google.cloud.storage.acl :members: :show-inheritance: diff --git a/latest/_sources/storage-batch.txt b/latest/_sources/storage-batch.txt index 15d96186975c..992dd9349157 100644 --- a/latest/_sources/storage-batch.txt +++ b/latest/_sources/storage-batch.txt @@ -1,6 +1,6 @@ Batches ~~~~~~~ -.. automodule:: gcloud.storage.batch +.. automodule:: google.cloud.storage.batch :members: :show-inheritance: diff --git a/latest/_sources/storage-blobs.txt b/latest/_sources/storage-blobs.txt index e6a157771a1d..18fb773629d6 100644 --- a/latest/_sources/storage-blobs.txt +++ b/latest/_sources/storage-blobs.txt @@ -1,6 +1,6 @@ Blobs / Objects ~~~~~~~~~~~~~~~ -.. automodule:: gcloud.storage.blob +.. automodule:: google.cloud.storage.blob :members: :show-inheritance: diff --git a/latest/_sources/storage-buckets.txt b/latest/_sources/storage-buckets.txt index 44ed1118040d..e03b1f8b9b56 100644 --- a/latest/_sources/storage-buckets.txt +++ b/latest/_sources/storage-buckets.txt @@ -1,6 +1,6 @@ Buckets ~~~~~~~ -.. automodule:: gcloud.storage.bucket +.. automodule:: google.cloud.storage.bucket :members: :show-inheritance: diff --git a/latest/_sources/storage-client.txt b/latest/_sources/storage-client.txt index 9fb00e91f92f..9c73e60c0e3e 100644 --- a/latest/_sources/storage-client.txt +++ b/latest/_sources/storage-client.txt @@ -1,13 +1,13 @@ Storage Client ============== -.. automodule:: gcloud.storage.client +.. automodule:: google.cloud.storage.client :members: :show-inheritance: Connection ~~~~~~~~~~ -.. automodule:: gcloud.storage.connection +.. automodule:: google.cloud.storage.connection :members: :show-inheritance: diff --git a/latest/_sources/translate-client.txt b/latest/_sources/translate-client.txt index 14c76ba9d6c0..c724c9f2fe03 100644 --- a/latest/_sources/translate-client.txt +++ b/latest/_sources/translate-client.txt @@ -1,7 +1,7 @@ Translate Client ================ -.. automodule:: gcloud.translate.client +.. automodule:: google.cloud.translate.client :members: :undoc-members: :show-inheritance: @@ -9,7 +9,7 @@ Translate Client Connection ~~~~~~~~~~ -.. automodule:: gcloud.translate.connection +.. automodule:: google.cloud.translate.connection :members: :undoc-members: :show-inheritance: diff --git a/latest/_sources/translate-usage.txt b/latest/_sources/translate-usage.txt index f79f7e07d1c5..501a402f9cef 100644 --- a/latest/_sources/translate-usage.txt +++ b/latest/_sources/translate-usage.txt @@ -10,15 +10,15 @@ paid service. See the `Pricing`_ and `FAQ`_ pages for details. Authentication / Configuration ------------------------------ -- Use :class:`~gcloud.translate.client.Client` objects to configure +- Use :class:`~google.cloud.translate.client.Client` objects to configure your applications. -- :class:`~gcloud.translate.client.Client` objects hold both a ``key`` +- :class:`~google.cloud.translate.client.Client` objects hold both a ``key`` and a connection to the Translate service. - **An API key is required for Translate.** See `Identifying your application to Google`_ for details. This is - significantly different than the other clients in ``gcloud-python``. + significantly different than the other clients in ``google-cloud-python``. Methods ------- @@ -27,7 +27,7 @@ To create a client: .. code:: - >>> from gcloud import translate + >>> from google.cloud import translate >>> client = translate.Client('my-api-key') By default, the client targets English when doing detections @@ -36,20 +36,20 @@ well: .. code:: - >>> from gcloud import translate + >>> from google.cloud import translate >>> client = translate.Client('my-api-key', target_language='es') The Google Translate API has three supported methods, and they map to three methods on a client: -:meth:`~gcloud.translate.client.Client.get_languages`, -:meth:`~gcloud.translate.client.Client.detect_language` and -:meth:`~gcloud.translate.client.Client.translate`. +:meth:`~google.cloud.translate.client.Client.get_languages`, +:meth:`~google.cloud.translate.client.Client.detect_language` and +:meth:`~google.cloud.translate.client.Client.translate`. To get a list of languages supported by Google Translate .. code:: - >>> from gcloud import translate + >>> from google.cloud import translate >>> client = translate.Client('my-api-key') >>> client.get_languages() [ @@ -64,7 +64,7 @@ To detect the language that some given text is written in: .. code:: - >>> from gcloud import translate + >>> from google.cloud import translate >>> client = translate.Client('my-api-key') >>> client.detect_language(['Me llamo', 'I am']) [ @@ -87,7 +87,7 @@ To translate text: .. code:: - >>> from gcloud import translate + >>> from google.cloud import translate >>> client = translate.Client('my-api-key') >>> client.translate('koszula') { @@ -100,7 +100,7 @@ or to use a non-default target language: .. code:: - >>> from gcloud import translate + >>> from google.cloud import translate >>> client = translate.Client('my-api-key') >>> client.translate(['Me llamo Jeff', 'My name is Jeff'], ... target_language='de') diff --git a/latest/_sources/vision-client.txt b/latest/_sources/vision-client.txt new file mode 100644 index 000000000000..f7f9fd259ce4 --- /dev/null +++ b/latest/_sources/vision-client.txt @@ -0,0 +1,18 @@ +Vision Client +============= + +Client +~~~~~~ + +.. automodule:: google.cloud.vision.client + :members: + :undoc-members: + :show-inheritance: + +Connection +~~~~~~~~~~ + +.. automodule:: google.cloud.vision.connection + :members: + :undoc-members: + :show-inheritance: diff --git a/latest/_sources/vision-feature.txt b/latest/_sources/vision-feature.txt new file mode 100644 index 000000000000..325b0caad717 --- /dev/null +++ b/latest/_sources/vision-feature.txt @@ -0,0 +1,10 @@ +Vision Feature +============== + +Feature +~~~~~~~ + +.. automodule:: google.cloud.vision.feature + :members: + :undoc-members: + :show-inheritance: diff --git a/latest/_sources/vision-image.txt b/latest/_sources/vision-image.txt new file mode 100644 index 000000000000..e22be7161d22 --- /dev/null +++ b/latest/_sources/vision-image.txt @@ -0,0 +1,10 @@ +Vision Image +============ + +Image +~~~~~ + +.. automodule:: google.cloud.vision.image + :members: + :undoc-members: + :show-inheritance: diff --git a/latest/_sources/vision-usage.txt b/latest/_sources/vision-usage.txt new file mode 100644 index 000000000000..461ee9e19e27 --- /dev/null +++ b/latest/_sources/vision-usage.txt @@ -0,0 +1,233 @@ +Using the Vision API +==================== + +Authentication and Configuration +-------------------------------- + +- For an overview of authentication in ``google-cloud-python``, + see :doc:`gcloud-auth`. + +- In addition to any authentication configuration, you should also set the + :envvar:`GOOGLE_CLOUD_PROJECT` environment variable for the project you'd like + to interact with. If the GOOGLE_CLOUD_PROJECT environment variable is not present, + the project ID from JSON file credentials is used. + + If you are using Google App Engine or Google Compute Engine + this will be detected automatically. + +- After configuring your environment, create a + :class:`Client <google.cloud.vision.client.Client>` + +.. code-block:: python + + >>> from google.cloud import vision + >>> client = vision.Client() + +or pass in ``credentials`` and ``project`` explicitly + +.. code-block:: python + + >>> from google.cloud import vision + >>> client = vision.Client(project='my-project', credentials=creds) + +Annotating an Image +------------------- + +Annotate a single image +~~~~~~~~~~~~~~~~~~~~~~~ + +.. code-block:: python + + >>> from google.cloud import vision + >>> client = vision.Client() + >>> image = client.image('./image.png') + >>> faces = image.detect_faces(limit=10) + +Annotate multiple images +~~~~~~~~~~~~~~~~~~~~~~~~ + +.. code-block:: python + + >>> first_image = client.image('./image.jpg') + >>> second_image = client.image('gs://my-storage-bucket/image2.jpg') + >>> with client.batch(): + ... labels = first_image.detect_labels() + ... faces = second_image.detect_faces(limit=10) + +or + +.. code-block:: python + + >>> images = [] + >>> images.append(client.image('./image.jpg')) + >>> images.append(client.image('gs://my-storage-bucket/image2.jpg')) + >>> faces = client.detect_faces_multi(images, limit=10) + +No results returned +~~~~~~~~~~~~~~~~~~~ + +Failing annotations return no results for the feature type requested. + +.. code-block:: python + + >>> from google.cloud import vision + >>> client = vision.Client() + >>> image = client.image('./image.jpg') + >>> logos = image.detect_logos(limit=10) + >>> logos + [] + + +Manual Detection +~~~~~~~~~~~~~~~~ + +You can call the detection method manually. + +.. code-block:: python + + >>> from google.cloud import vision + >>> client = vision.Client() + >>> image = client.image('gs://my-test-bucket/image.jpg') + >>> faces = image.detect(type=vision.FACE_DETECTION, limit=10) + +Face Detection +~~~~~~~~~~~~~~ + +Detecting a face or faces in an image. +For a list of the possible facial landmarks +see: https://cloud.google.com/vision/reference/rest/v1/images/annotate#type_1 + + +.. code-block:: python + + >>> from google.cloud import vision + >>> client = vision.Client() + >>> image = client.image('./image.jpg') + >>> faces = image.detect_faces(limit=10) + >>> faces[0].landmarks[0].type + 'LEFT_EYE' + >>> faces[0].landmarks[0].position.x + 1301.2404 + >>> faces[0].detection_confidence + 0.9863683 + >>> faces[0].joy_likelihood + 0.54453093 + >>> faces[0].anger_likelihood + 0.02545464 + + + +Label Detection +~~~~~~~~~~~~~~~ + +Image labels are a way to help categorize the contents of an image. +If you have an image with a car, person and a dog it, label detection will +attempt to identify those objects. + +.. code-block:: python + + >>> from google.cloud import vision + >>> client = vision.Client() + >>> image = client.image('./image.jpg') + >>> labels = image.detect_labels(limit=3) + >>> labels[0].description + 'automobile' + >>> labels[0].score + 0.9863683 + + +Landmark Detection +~~~~~~~~~~~~~~~~~~ + +The API will attemtp to detect landmarks such as Mount Rushmore and +the Sydney Opera House. The API will also provide their known geographical +locations if available. + +.. code-block:: python + + >>> from google.cloud import vision + >>> client = vision.Client() + >>> image = client.image('./image.jpg') + >>> landmarks = image.detect_landmarks() + >>> landmarks[0].description + 'Sydney Opera House' + >>> landmarks[0].locations[0].latitude + -33.857123 + >>> landmarks[0].locations[0].longitude + 151.213921 + >>> landmarks[0].bounding_poly.vertices[0].x + 78 + >>> landmarks[0].bounding_poly.vertices[0].y + 162 + +Logo Detection +~~~~~~~~~~~~~~ + +Google Vision can also attempt to detect company and brand logos in images. + +.. code-block:: python + + >>> from google.cloud import vision + >>> client = vision.Client() + >>> image = client.image('./image.jpg') + >>> logos = image.detect_logos(limit=1) + >>> results.logos[0].description + 'Google' + >>> logos[0].score + 0.9795432 + >>> logos[0].bounding_poly.vertices[0].x + 78 + >>> logos[0].bounding_poly.vertices[0].y + 62 + +Safe Search Detection +~~~~~~~~~~~~~~~~~~~~~ + +Detecting safe search properties of an image. + +.. code-block:: python + + >>> from google.cloud import vision + >>> client = vision.Client() + >>> image = client.image('./image.jpg') + >>> safe_search = image.detect_safe_search() + >>> safe_search.adult + 'VERY_UNLIKELY' + >>> safe_search.medical + 'UNLIKELY' + +Text Detection +~~~~~~~~~~~~~~ + +Detecting text with ORC from an image. + +.. code-block:: python + + >>> from google.cloud import vision + >>> client = vision.Client() + >>> image = client.image('./image.jpg') + >>> text = image.detect_text() + >>> text.locale + 'en' + >>> text.description + 'the full text of the image.' + +Image Properties +~~~~~~~~~~~~~~~~ + +Detecting image color properties. + +.. code-block:: python + + >>> from google.cloud import vision + >>> client = vision.Client() + >>> image = client.image('./image.jpg') + >>> colors = image.detect_properties() + >>> colors[0].red + 244 + >>> colors[0].blue + 134 + >>> colors[0].score + 0.65519291 + >>> colors[0].pixel_fraction + 0.758658 diff --git a/latest/_static/alabaster.css b/latest/_static/alabaster.css deleted file mode 100644 index 517cb43e58b2..000000000000 --- a/latest/_static/alabaster.css +++ /dev/null @@ -1,607 +0,0 @@ - - - - - - - - - - - - - - - - - -@import url("basic.css"); - -/* -- page layout ----------------------------------------------------------- */ - -body { - font-family: 'goudy old style', 'minion pro', 'bell mt', Georgia, 'Hiragino Mincho Pro', serif; - font-size: 17px; - background-color: white; - color: #000; - margin: 0; - padding: 0; -} - - -div.document { - width: 940px; - margin: 30px auto 0 auto; -} - -div.documentwrapper { - float: left; - width: 100%; -} - -div.bodywrapper { - margin: 0 0 0 220px; -} - -div.sphinxsidebar { - width: 220px; - font-size: 14px; - line-height: 1.5; -} - -hr { - border: 1px solid #B1B4B6; -} - -div.body { - background-color: #ffffff; - color: #3E4349; - padding: 0 30px 0 30px; -} - -div.body > .section { - text-align: left; -} - -div.footer { - width: 940px; - margin: 20px auto 30px auto; - font-size: 14px; - color: #888; - text-align: right; -} - -div.footer a { - color: #888; -} - -p.caption { - font-family: ; - font-size: inherit; -} - - -div.relations { - display: none; -} - - -div.sphinxsidebar a { - color: #444; - text-decoration: none; - border-bottom: 1px dotted #999; -} - -div.sphinxsidebar a:hover { - border-bottom: 1px solid #999; -} - -div.sphinxsidebarwrapper { - padding: 18px 10px; -} - -div.sphinxsidebarwrapper p.logo { - padding: 0; - margin: -10px 0 0 0px; - text-align: center; -} - -div.sphinxsidebarwrapper h1.logo { - margin-top: -10px; - text-align: center; - margin-bottom: 5px; - text-align: left; -} - -div.sphinxsidebarwrapper h1.logo-name { - margin-top: 0px; -} - -div.sphinxsidebarwrapper p.blurb { - margin-top: 0; - font-style: normal; -} - -div.sphinxsidebar h3, -div.sphinxsidebar h4 { - font-family: 'Garamond', 'Georgia', serif; - color: #444; - font-size: 24px; - font-weight: normal; - margin: 0 0 5px 0; - padding: 0; -} - -div.sphinxsidebar h4 { - font-size: 20px; -} - -div.sphinxsidebar h3 a { - color: #444; -} - -div.sphinxsidebar p.logo a, -div.sphinxsidebar h3 a, -div.sphinxsidebar p.logo a:hover, -div.sphinxsidebar h3 a:hover { - border: none; -} - -div.sphinxsidebar p { - color: #555; - margin: 10px 0; -} - -div.sphinxsidebar ul { - margin: 10px 0; - padding: 0; - color: #000; -} - -div.sphinxsidebar ul li.toctree-l1 > a { - font-size: 120%; -} - -div.sphinxsidebar ul li.toctree-l2 > a { - font-size: 110%; -} - -div.sphinxsidebar input { - border: 1px solid #CCC; - font-family: 'goudy old style', 'minion pro', 'bell mt', Georgia, 'Hiragino Mincho Pro', serif; - font-size: 1em; -} - -div.sphinxsidebar hr { - border: none; - height: 1px; - color: #AAA; - background: #AAA; - - text-align: left; - margin-left: 0; - width: 50%; -} - -/* -- body styles ----------------------------------------------------------- */ - -a { - color: #004B6B; - text-decoration: underline; -} - -a:hover { - color: #6D4100; - text-decoration: underline; -} - -div.body h1, -div.body h2, -div.body h3, -div.body h4, -div.body h5, -div.body h6 { - font-family: 'Garamond', 'Georgia', serif; - font-weight: normal; - margin: 30px 0px 10px 0px; - padding: 0; -} - -div.body h1 { margin-top: 0; padding-top: 0; font-size: 240%; } -div.body h2 { font-size: 180%; } -div.body h3 { font-size: 150%; } -div.body h4 { font-size: 130%; } -div.body h5 { font-size: 100%; } -div.body h6 { font-size: 100%; } - -a.headerlink { - color: #DDD; - padding: 0 4px; - text-decoration: none; -} - -a.headerlink:hover { - color: #444; - background: #EAEAEA; -} - -div.body p, div.body dd, div.body li { - line-height: 1.4em; -} - -div.admonition { - margin: 20px 0px; - padding: 10px 30px; - background-color: #FCC; - border: 1px solid #FAA; -} - -div.admonition tt.xref, div.admonition a tt { - border-bottom: 1px solid #fafafa; -} - -dd div.admonition { - margin-left: -60px; - padding-left: 60px; -} - -div.admonition p.admonition-title { - font-family: 'Garamond', 'Georgia', serif; - font-weight: normal; - font-size: 24px; - margin: 0 0 10px 0; - padding: 0; - line-height: 1; -} - -div.admonition p.last { - margin-bottom: 0; -} - -div.highlight { - background-color: white; -} - -dt:target, .highlight { - background: #FAF3E8; -} - -div.note { - background-color: #EEE; - border: 1px solid #CCC; -} - -div.seealso { - background-color: #EEE; - border: 1px solid #CCC; -} - -div.topic { - background-color: #eee; -} - -p.admonition-title { - display: inline; -} - -p.admonition-title:after { - content: ":"; -} - -pre, tt, code { - font-family: 'Consolas', 'Menlo', 'Deja Vu Sans Mono', 'Bitstream Vera Sans Mono', monospace; - font-size: 0.9em; -} - -.hll { - background-color: #FFC; - margin: 0 -12px; - padding: 0 12px; - display: block; -} - -img.screenshot { -} - -tt.descname, tt.descclassname, code.descname, code.descclassname { - font-size: 0.95em; -} - -tt.descname, code.descname { - padding-right: 0.08em; -} - -img.screenshot { - -moz-box-shadow: 2px 2px 4px #eee; - -webkit-box-shadow: 2px 2px 4px #eee; - box-shadow: 2px 2px 4px #eee; -} - -table.docutils { - border: 1px solid #888; - -moz-box-shadow: 2px 2px 4px #eee; - -webkit-box-shadow: 2px 2px 4px #eee; - box-shadow: 2px 2px 4px #eee; -} - -table.docutils td, table.docutils th { - border: 1px solid #888; - padding: 0.25em 0.7em; -} - -table.field-list, table.footnote { - border: none; - -moz-box-shadow: none; - -webkit-box-shadow: none; - box-shadow: none; -} - -table.footnote { - margin: 15px 0; - width: 100%; - border: 1px solid #EEE; - background: #FDFDFD; - font-size: 0.9em; -} - -table.footnote + table.footnote { - margin-top: -15px; - border-top: none; -} - -table.field-list th { - padding: 0 0.8em 0 0; -} - -table.field-list td { - padding: 0; -} - -table.field-list p { - margin-bottom: 0.8em; -} - -table.footnote td.label { - width: .1px; - padding: 0.3em 0 0.3em 0.5em; -} - -table.footnote td { - padding: 0.3em 0.5em; -} - -dl { - margin: 0; - padding: 0; -} - -dl dd { - margin-left: 30px; -} - -blockquote { - margin: 0 0 0 30px; - padding: 0; -} - -ul, ol { - /* Matches the 30px from the narrow-screen "li > ul" selector below */ - margin: 10px 0 10px 30px; - padding: 0; -} - -pre { - background: #EEE; - padding: 7px 30px; - margin: 15px 0px; - line-height: 1.3em; -} - -dl pre, blockquote pre, li pre { - margin-left: 0; - padding-left: 30px; -} - -dl dl pre { - margin-left: -90px; - padding-left: 90px; -} - -tt, code { - background-color: #ecf0f3; - color: #222; - /* padding: 1px 2px; */ -} - -tt.xref, code.xref, a tt { - background-color: #FBFBFB; - border-bottom: 1px solid white; -} - -a.reference { - text-decoration: none; - border-bottom: 1px dotted #004B6B; -} - -/* Don't put an underline on images */ -a.image-reference, a.image-reference:hover { - border-bottom: none; -} - -a.reference:hover { - border-bottom: 1px solid #6D4100; -} - -a.footnote-reference { - text-decoration: none; - font-size: 0.7em; - vertical-align: top; - border-bottom: 1px dotted #004B6B; -} - -a.footnote-reference:hover { - border-bottom: 1px solid #6D4100; -} - -a:hover tt, a:hover code { - background: #EEE; -} - - -@media screen and (max-width: 870px) { - - div.sphinxsidebar { - display: none; - } - - div.document { - width: 100%; - - } - - div.documentwrapper { - margin-left: 0; - margin-top: 0; - margin-right: 0; - margin-bottom: 0; - } - - div.bodywrapper { - margin-top: 0; - margin-right: 0; - margin-bottom: 0; - margin-left: 0; - } - - ul { - margin-left: 0; - } - - li > ul { - /* Matches the 30px from the "ul, ol" selector above */ - margin-left: 30px; - } - - .document { - width: auto; - } - - .footer { - width: auto; - } - - .bodywrapper { - margin: 0; - } - - .footer { - width: auto; - } - - .github { - display: none; - } - - - -} - - - -@media screen and (max-width: 875px) { - - body { - margin: 0; - padding: 20px 30px; - } - - div.documentwrapper { - float: none; - background: white; - } - - div.sphinxsidebar { - display: block; - float: none; - width: 102.5%; - margin: 50px -30px -20px -30px; - padding: 10px 20px; - background: #333; - color: #FFF; - } - - div.sphinxsidebar h3, div.sphinxsidebar h4, div.sphinxsidebar p, - div.sphinxsidebar h3 a { - color: white; - } - - div.sphinxsidebar a { - color: #AAA; - } - - div.sphinxsidebar p.logo { - display: none; - } - - div.document { - width: 100%; - margin: 0; - } - - div.footer { - display: none; - } - - div.bodywrapper { - margin: 0; - } - - div.body { - min-height: 0; - padding: 0; - } - - .rtd_doc_footer { - display: none; - } - - .document { - width: auto; - } - - .footer { - width: auto; - } - - .footer { - width: auto; - } - - .github { - display: none; - } -} - - -/* misc. */ - -.revsys-inline { - display: none!important; -} - -/* Make nested-list/multi-paragraph items look better in Releases changelog - * pages. Without this, docutils' magical list fuckery causes inconsistent - * formatting between different release sub-lists. - */ -div#changelog > div.section > ul > li > p:only-child { - margin-bottom: 0; -} - -/* Hide fugly table cell borders in ..bibliography:: directive output */ -table.docutils.citation, table.docutils.citation td, table.docutils.citation th { - border: none; - /* Below needed in some edge cases; if not applied, bottom shadows appear */ - -moz-box-shadow: none; - -webkit-box-shadow: none; - box-shadow: none; -} \ No newline at end of file diff --git a/latest/_static/css/badge_only.css b/latest/_static/css/badge_only.css new file mode 100644 index 000000000000..7e17fb148c63 --- /dev/null +++ b/latest/_static/css/badge_only.css @@ -0,0 +1,2 @@ +.fa:before{-webkit-font-smoothing:antialiased}.clearfix{*zoom:1}.clearfix:before,.clearfix:after{display:table;content:""}.clearfix:after{clear:both}@font-face{font-family:FontAwesome;font-weight:normal;font-style:normal;src:url("../font/fontawesome_webfont.eot");src:url("../font/fontawesome_webfont.eot?#iefix") format("embedded-opentype"),url("../font/fontawesome_webfont.woff") format("woff"),url("../font/fontawesome_webfont.ttf") format("truetype"),url("../font/fontawesome_webfont.svg#FontAwesome") format("svg")}.fa:before{display:inline-block;font-family:FontAwesome;font-style:normal;font-weight:normal;line-height:1;text-decoration:inherit}a .fa{display:inline-block;text-decoration:inherit}li .fa{display:inline-block}li .fa-large:before,li .fa-large:before{width:1.875em}ul.fas{list-style-type:none;margin-left:2em;text-indent:-0.8em}ul.fas li .fa{width:0.8em}ul.fas li .fa-large:before,ul.fas li .fa-large:before{vertical-align:baseline}.fa-book:before{content:""}.icon-book:before{content:""}.fa-caret-down:before{content:""}.icon-caret-down:before{content:""}.fa-caret-up:before{content:""}.icon-caret-up:before{content:""}.fa-caret-left:before{content:""}.icon-caret-left:before{content:""}.fa-caret-right:before{content:""}.icon-caret-right:before{content:""}.rst-versions{position:fixed;bottom:0;left:0;width:300px;color:#fcfcfc;background:#1f1d1d;border-top:solid 10px #343131;font-family:"Lato","proxima-nova","Helvetica Neue",Arial,sans-serif;z-index:400}.rst-versions a{color:#2980B9;text-decoration:none}.rst-versions .rst-badge-small{display:none}.rst-versions .rst-current-version{padding:12px;background-color:#272525;display:block;text-align:right;font-size:90%;cursor:pointer;color:#27AE60;*zoom:1}.rst-versions .rst-current-version:before,.rst-versions .rst-current-version:after{display:table;content:""}.rst-versions .rst-current-version:after{clear:both}.rst-versions .rst-current-version .fa{color:#fcfcfc}.rst-versions .rst-current-version .fa-book{float:left}.rst-versions .rst-current-version .icon-book{float:left}.rst-versions .rst-current-version.rst-out-of-date{background-color:#E74C3C;color:#fff}.rst-versions .rst-current-version.rst-active-old-version{background-color:#F1C40F;color:#000}.rst-versions.shift-up .rst-other-versions{display:block}.rst-versions .rst-other-versions{font-size:90%;padding:12px;color:gray;display:none}.rst-versions .rst-other-versions hr{display:block;height:1px;border:0;margin:20px 0;padding:0;border-top:solid 1px #413d3d}.rst-versions .rst-other-versions dd{display:inline-block;margin:0}.rst-versions .rst-other-versions dd a{display:inline-block;padding:6px;color:#fcfcfc}.rst-versions.rst-badge{width:auto;bottom:20px;right:20px;left:auto;border:none;max-width:300px}.rst-versions.rst-badge .icon-book{float:none}.rst-versions.rst-badge .fa-book{float:none}.rst-versions.rst-badge.shift-up .rst-current-version{text-align:right}.rst-versions.rst-badge.shift-up .rst-current-version .fa-book{float:left}.rst-versions.rst-badge.shift-up .rst-current-version .icon-book{float:left}.rst-versions.rst-badge .rst-current-version{width:auto;height:30px;line-height:30px;padding:0 6px;display:block;text-align:center}@media screen and (max-width: 768px){.rst-versions{width:85%;display:none}.rst-versions.shift{display:block}img{width:100%;height:auto}} +/*# sourceMappingURL=badge_only.css.map */ diff --git a/latest/_static/css/main.css b/latest/_static/css/main.css deleted file mode 100644 index 6b2e6d0e1903..000000000000 --- a/latest/_static/css/main.css +++ /dev/null @@ -1,1432 +0,0 @@ -/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */ - -/* - * What follows is the result of much research on cross-browser styling. - * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal, - * Kroc Camen, and the H5BP dev community and team. - */ - -/* ========================================================================== - Base styles: opinionated defaults - ========================================================================== */ - -html, -button, -input, -select, -textarea { - color: #222; -} - -html { - font-size: 1em; - line-height: 1.4; -} - -*[id]:before { - display: block; - content: " "; - margin-top: -70px; - height: 70px; - visibility: hidden; -} - -/* - * Remove text-shadow in selection highlight: h5bp.com/i - * These selection rule sets have to be separate. - * Customize the background color to match your design. - */ - -::-moz-selection { - background: #b3d4fc; - text-shadow: none; -} - -::selection { - background: #b3d4fc; - text-shadow: none; -} - -/* - * A better looking default horizontal rule - */ - -hr { - display: block; - height: 1px; - border: 0; - border-top: 1px solid #ccc; - margin: 1em 0; - padding: 0; -} - -/* - * Remove the gap between images, videos, audio and canvas and the bottom of - * their containers: h5bp.com/i/440 - */ - -audio, -canvas, -img, -video { - vertical-align: middle; -} - -/* - * Remove default fieldset styles. - */ - -fieldset { - border: 0; - margin: 0; - padding: 0; -} - -/* - * Allow only vertical resizing of textareas. - */ - -textarea { - resize: vertical; -} - -/* ========================================================================== - Browse Happy prompt - ========================================================================== */ - -.browsehappy { - margin: 0.2em 0; - background: #ccc; - color: #000; - padding: 0.2em 0; -} - -/* ========================================================================== - Author's custom styles - ========================================================================== */ - -html { - height: 100%; - background: #fff; -} - -body { - min-height: 100%; - font-family: 'Roboto', sans-serif; - color: #5d6061; -} - - -/* Global Elements - ========================================================================== */ - -pre { - border: 1px solid rgba(0,0,0,0.2); - /* Border Radius */ - -webkit-border-radius: 5px; - -moz-border-radius: 5px; - border-radius: 5px; - background: #fff; - font-size: 0.9em; - line-height: 1.6em; -} - -pre, -code { - font-family: Monaco, 'Droid Sans Mono', monospace !important; -} - -img { - max-width: 100%; -} - -h1, h2, h3, h4, h5, h6 { - font-weight: normal; - font-weight: 300; -} - -h2, h3 { - color: #4285f4; -} - -/* Header - ========================================================================== */ - -.page-header, -.hero-banner { - background: #4285f4; - color: #fff; -} - -.page-header { - position: relative; - padding: 1em; -} - -.page-header.fixed { - position: fixed; - z-index: 2; - top: 0; - width: 100%; - padding: 0; -} - -/* - Logo -*/ - -.logo { - margin: 0; - width: 13em; - font-size: 1em; - line-height: normal; -} - -.page-header.fixed .logo { - width: auto; -} - -.page-header.fixed a { - color: #fff; - text-decoration: none; -} - -.page-header.fixed a:hover { - opacity: 0.4; -} - -.page-header.fixed .logo img { - position: relative; - top: -0.2em; - width: 2em; - margin: 0 0.5em; -} - -.page-header.fixed .gcloud { - display: inline-block; - padding: 0.4em 0 0.6em 0.6em; - border-left: 1px solid rgba(255,255,255,0.2); - font-family: 'Open Sans', sans-serif; - font-weight: 300; - font-size: 1.4em; -} - -/* - Menu -*/ - -.nav-current { - display: block; - position: absolute; - top: 1.2em; - right: 1em; - width: 24px; - height: 20px; - background: url(../images/icon-menu.svg) no-repeat; - text-indent: -90000px; - cursor: pointer; -} - -.page-header.fixed .nav-current { - top: 1em; -} - -.menu { - display: none; - position: absolute; - top: 3.6em; - right: 0; - width: 100%; - margin: 0; - padding: 0; - background: #2570ec; - /* Box Shadow */ - -webkit-box-shadow: 5px 5px 8px rgba(0,16,41,0.3); - -moz-box-shadow: 5px 5px 8px rgba(0,16,41,0.3); - box-shadow: 5px 5px 8px rgba(0,16,41,0.3); - /* Transitions */ - -webkit-transition: all 0.3s ease; - -moz-transition: all 0.3s ease; - -ms-transition: all 0.3s ease; - -o-transition: all 0.3s ease; - transition: all 0.3s ease; -} - -.page-header.fixed .menu { - top: 3.3em; -} - -.menu a { - display: block; - padding: 1em; - border-top: 1px solid rgba(255,255,255,0.2); - color: #fff; - text-decoration: none; - /* Transitions */ - -webkit-transition: all 0.3s ease; - -moz-transition: all 0.3s ease; - -ms-transition: all 0.3s ease; - -o-transition: all 0.3s ease; - transition: all 0.3s ease; -} - -.menu a:hover { - background: #1a65e0; -} - -.menu-icon { - margin-right: 0.5em; -} - -/* - Open Menu - */ - -.main-nav.open .nav-current { - opacity: 0.4; -} - -.main-nav.open .menu { - display: block; -} - - - -/* Home Content - ========================================================================== */ - -/* - Main Content -*/ - -.main { - font-size: 0.9em; - line-height: 1.8em; -} - -.container { - padding: 2.8em 2em; -} - -.block-title { - margin-top: 0; - font-size: 1.6em; -} - -/* - Hero Banner -*/ - -.hero-banner h1 { - margin: 0 0 0.6em; - font-family: 'Open Sans', sans-serif; - font-size: 3.5em; - font-weight: 300; -} - -.hero-banner p { - margin-bottom: 2.2em; - font-size: 0.9em; - line-height: 1.6em; -} - -.hero-banner h2 { - margin-bottom: 0.2em; - font-size: 1.3em; -} - -.hero-banner pre { - margin: 0; - padding: 1em; - border: none; - background: #2a74ed; -} - -/* - What is it? - */ -.about pre { - font-size: 110%; -} - -/* - Featuring -*/ - -.featuring .block-title { - text-align: center; -} - -.featuring p { - font-size: 0.9em; - line-height: 1.6em; -} - -.featuring-links { - list-style: none; - margin: 0; - margin-bottom: -1em; - padding: 0; -} - -.btn, -.ext-link { - display: block; -} - -.btn { - padding: 1em; - border: none; - /* Border Radius */ - -webkit-border-radius: 5px; - -moz-border-radius: 5px; - border-radius: 5px; - background: #db4437; - color: #fff; - text-decoration: none; - /* Transitions */ - -webkit-transition: all 0.3s ease; - -moz-transition: all 0.3s ease; - -ms-transition: all 0.3s ease; - -o-transition: all 0.3s ease; - transition: all 0.3s ease; -} - -.btn:hover { - background: #f24f41; -} - -.btn img { - margin-right: 0.5em; -} - -.featuring-links .btn { - margin-bottom: 1em; - padding: 1.5em; - font-size: 1.1em; - text-align: center; -} - -.featuring-links .btn img { - width: 2em; -} - -.btn-docs img { - background-color: #fff; - border: 1px solid transparent; - -webkit-border-radius: 80px; - -moz-border-radius: 80px; - border-radius: 80px; - padding: 4px; - width: 40px; - /* Transitions */ - -webkit-transition: all 0.5s ease; - -moz-transition: all 0.5s ease; - -ms-transition: all 0.5s ease; - -o-transition: all 0.5s ease; - transition: all 0.5s ease; -} - -.btn-docs:hover img { - border: 1px solid #ccc; - transform: rotate(135deg); - -webkit-box-shadow: 4px 4px 4px rgba(0, 0, 0, .3); - -moz-box-shadow: 4px 4px 4px rgba(0, 0, 0, .3); - box-shadow: 4px 4px 4px rgba(0, 0, 0, .3); -} - -.btn-docs:active img { - -webkit-box-shadow: 4px 4px 4px rgba(0, 0, 0, .5); - -moz-box-shadow: 4px 4px 4px rgba(0, 0, 0, .5); - box-shadow: 4px 4px 4px rgba(0, 0, 0, .5); -} - -.ext-link { - display: block; - padding: 1em; - border-bottom: 1px solid rgba(0,0,0,0.1); - color: #5d6061; - text-decoration: none; - /* Transitions */ - -webkit-transition: all 0.3s ease; - -moz-transition: all 0.3s ease; - -ms-transition: all 0.3s ease; - -o-transition: all 0.3s ease; - transition: all 0.3s ease; -} - -.featuring-links li:last-child .ext-link { - border-bottom: none; -} - -.ext-link:hover { - background: #f6f6f6; -} - -.ext-link img { - opacity: 0.5; - margin-right: 0.5em; - /* Transitions */ - -webkit-transition: all 0.3s ease; - -moz-transition: all 0.3s ease; - -ms-transition: all 0.3s ease; - -o-transition: all 0.3s ease; - transition: all 0.3s ease; -} - -.ext-link:hover img { - opacity: 0.7; -} - -.pagination { - margin: 2em 0 0; - padding: 0; - list-style: none; - text-decoration: none; - text-align: center; -} - -.pagination li { - display: inline-block; - width: 1em; - height: 1em; - margin: 0 0.2em; -} - -.pagination a { - display: block; - width: 100%; - height: 100%; - border: 1px solid rgba(0,0,0,0.2); - /* Border Radius */ - -webkit-border-radius: 50%; - -moz-border-radius: 50%; - border-radius: 50%; - background: #fff; - text-indent: -90000px; -} - -.pagination a:hover { - background: rgba(0,0,0,0.1); -} - -.pagination .current, -.pagination .current:hover { - background: #db4437; - border-color: #db4437; -} - -/* - About -*/ - -.about { - background: #eee; -} - -.about h4 { - margin-bottom: 0; - font-size: 1.2em; - font-weight: bold; - color: #4285f4; -} - -/* - FAQ -*/ - -.faq-btn, -.faq-questions { - max-width: 20em; - margin: 0; - padding: 0; - list-style: none; -} - -.faq-btn { - position: relative; - margin-bottom: 2em; -} - -.faq-btn .current { - background: #e6eefc url(../images/icon-dropdown-faq.svg) 95% 50% no-repeat; -} - -.faq-btn .current, -.faq-questions a { - display: block; - padding: 1em; - border: 1px solid #a7bfe8; - color: #2b70e2; - cursor: pointer; - text-decoration: none; - /* Transitions */ - -webkit-transition: all 0.3s ease; - -moz-transition: all 0.3s ease; - -ms-transition: all 0.3s ease; - -o-transition: all 0.3s ease; - transition: all 0.3s ease; -} - -.faq-questions { - display: none; - position: absolute; - width: 100%; -} - -.faq-questions a { - border-top: none; - background: #e6eefc; -} - -.faq-questions a:hover { - background: #fcfdff; -} - -/* - Open FAQ button - */ - -.faq-btn.open .current { - background-color: #c6d7f6; - /* Box Shadow */ - -webkit-box-shadow: inset 0 0 10px rgba(16,71,163,0.3); - -moz-box-shadow: inset 0 0 10px rgba(16,71,163,0.3); - box-shadow: inset 0 0 10px rgba(16,71,163,0.3); - color: #1555bf; -} - -.faq-btn.open .faq-questions { - display: block; -} - - -/* Docs Content - ========================================================================== */ - -.admonition { - background-color: #f8f8f8; -} - -.admonition p.admonition-title { - background-color: #e5ecf9; - font-weight: bold; - padding: 8px; -} - -.admonition pre { - background-color: #eeeeee !important; -} - -.admonition p { - padding: 0 8px; -} - -.admonition .last { - padding-bottom: 8px; -} - -.docs-header { - position: relative; - padding: 7em 2em 4em; - background: #f8f8f8; - border-bottom: 1px solid rgba(0,0,0,0.05); -} - -.headerlink { - display: none; - padding: 0 7px; - left: -24px; - text-decoration: none; -} - -.headerlink:hover { - color: #505050; - display: block; -} - -h2 .headerlink { - color: #2b70e2; -} - -h2 .headerlink:hover { - color: #4285f4; - display: block; -} - -.highlight pre { - background: #f8f8f8; -} - -.method-heading { - position: relative; -} - -.param-optional .param-types { - font-style: italic; -} - -.param-optional .param-description:before { - content: "optional. "; - color: #aaa; - font-style: italic; -} - -.sub-heading { - color: #5d6061; - margin: 0 !important; -} - -.toggler { - float: left; - min-width: 15px; - margin: auto; -} - -.toggle { - cursor: pointer; -} - -.viewcode-link { - float: right; -} - -/* - Page Title -*/ - -.page-title { - margin: 0; - font-family: 'Open Sans', sans-serif; - font-weight: 300; - color: #4285f4; - font-size: 2.4em; - line-height: 1em; -} - -/* - Versions -*/ - -.versions { - display: inline-block; - margin-top: 2em; -} - -.versions span, -.versions a { - display: block; -} - -.v-current { - font-size: 1.2em; - color: #2b70e2; -} - -.v-current i { - font-size: 0.7em; -} - -.v-btn { - padding: 0.5em; - border: 1px solid rgba(0,0,0,0.2); - background: rgba(0,0,0,0.07); - font-size: 0.8em; - color: rgba(0,0,0,0.6); - text-align: center; - text-decoration: none; - /* Transitions */ - -webkit-transition: all 0.3s ease; - -moz-transition: all 0.3s ease; - -ms-transition: all 0.3s ease; - -o-transition: all 0.3s ease; - transition: all 0.3s ease; -} - -.v-btn:hover { - background: rgba(0,0,0,0.02); -} - -.v-btn img { - position: relative; - top: -0.1em; - opacity: 0.3; -} - -#file-issue { - position: absolute; - right: 20px; - top: 20px; - display: none; -} - -#file-issue-secondary { - margin-top: 1em; - display: inline-block; -} - -.v-list { - color: rgba(0,0,0,0.2); -} - -.v-list a { - color: #4285f4; - text-decoration: none; -} - -.v-list a:hover { - text-decoration: underline; -} - -/* - Content - */ - - -.content { - padding: 1em 2em; -} - -.content pre, -.field-list { - border: 0; - margin-bottom: 2em; -} - -.content h2, .content h3, .content h4, .content h5, .content h6 { - margin: 2em 0 0.5em; -} - -.content>h2:first-child { - margin-top: 1em; -} - -/* - Tables - */ - -.field-list { - text-align: left; -} - -.field-list th, -.field-list td { - padding: 0.3em 1em; - border: 1px solid #cfcfcf; -} - -.field-list th[scope="col"] { - border-color: #2264d0; - background: #4285f4; - color: #fff; -} - -.field-name { - background: #f6f6f6; - font-weight: 'bold'; -} - -/* - Side Nav - */ - - .side-nav { - padding-bottom: 3em; - background: #efefef; - } - -.side-nav a { - display: block; - padding: 0.3em 2em; - color: #5d6061; - text-decoration: none; - /* Transitions */ - -webkit-transition: all 0.3s ease; - -moz-transition: all 0.3s ease; - -ms-transition: all 0.3s ease; - -o-transition: all 0.3s ease; - transition: all 0.3s ease; -} - -.side-nav a:hover { - background: rgba(255,255,255,0.7); -} - -.side-nav .current .current, -.side-nav .current .current:hover { - background: #e2e2e2; -} - -.side-nav ul { - margin: 0; - padding: 0; -} - -.side-nav ul ul a { - padding-left: 4em; -} - -.side-nav .external-links { - margin-top: 2em; -} - -.side-nav > ul > li.toctree-l1 { - padding-left: 2em; -} - -p.caption { - padding-left: 2em; -} - -span.caption-text { - font-weight: bold; -} - -.external-links img { - margin-right: 0.3em; - opacity: 0.3; - /* Transitions */ - -webkit-transition: all 0.3s ease; - -moz-transition: all 0.3s ease; - -ms-transition: all 0.3s ease; - -o-transition: all 0.3s ease; - transition: all 0.3s ease; -} - -.external-links a:hover img { - opacity: 0.6; -} - - - -/* ========================================================================== - Helper classes - ========================================================================== */ - -/* - * Image replacement - */ - -.ir { - background-color: transparent; - border: 0; - overflow: hidden; - /* IE 6/7 fallback */ - *text-indent: -9999px; -} - -.ir:before { - content: ""; - display: block; - width: 0; - height: 150%; -} - -/* - * Hide from both screenreaders and browsers: h5bp.com/u - */ - -.hidden { - display: none !important; - visibility: hidden; -} - -/* - * Hide only visually, but have it available for screenreaders: h5bp.com/v - */ - -.visuallyhidden { - border: 0; - clip: rect(0 0 0 0); - height: 1px; - margin: -1px; - overflow: hidden; - padding: 0; - position: absolute; - width: 1px; -} - -/* - * Extends the .visuallyhidden class to allow the element to be focusable - * when navigated to via the keyboard: h5bp.com/p - */ - -.visuallyhidden.focusable:active, -.visuallyhidden.focusable:focus { - clip: auto; - height: auto; - margin: 0; - overflow: visible; - position: static; - width: auto; -} - -/* - * Hide visually and from screenreaders, but maintain layout - */ - -.invisible { - visibility: hidden; -} - -/* - * Clearfix: contain floats - * - * For modern browsers - * 1. The space content is one way to avoid an Opera bug when the - * `contenteditable` attribute is included anywhere else in the document. - * Otherwise it causes space to appear at the top and bottom of elements - * that receive the `clearfix` class. - * 2. The use of `table` rather than `block` is only necessary if using - * `:before` to contain the top-margins of child elements. - */ - -.clearfix:before, -.clearfix:after { - content: " "; /* 1 */ - display: table; /* 2 */ -} - -.clearfix:after { - clear: both; -} - -/* - * For IE 6/7 only - * Include this rule to trigger hasLayout and contain floats. - */ - -.clearfix { - *zoom: 1; -} - -/* ========================================================================== - EXAMPLE Media Queries for Responsive Design. - These examples override the primary ('mobile first') styles. - Modify as content requires. - ========================================================================== */ - -@media only screen and (min-width: 37em) { - - /* - Main - */ - - .main { - font-size: 1em; - } - - /* - Featuring - */ - - .featuring-links li:first-child { - display: block; - } - - .featuring-links { - text-align: center; - } - - .featuring-links li { - display: inline-block; - } - - .featuring-links .btn { - display: inline-block; - padding: 1em 2.4em; - } - - .ext-link { - display: inline-block; - padding: 0.8em 1.2em; - border: none; - /* Border Radius */ - -webkit-border-radius: 5px; - -moz-border-radius: 5px; - border-radius: 5px; - } - - .pagination li { - width: 0.6em; - height: 0.6em; - } - -} - -@media only screen and (min-width: 50em) { - - /* - Header - */ - - .page-header { - padding: 1.6em; - } - - .page-header.fixed .logo img { - margin: 0 0.8em; - } - - .page-header.fixed .gcloud { - padding: 0 0 0 1em; - height: 70px; - line-height: 70px; - } - - #file-issue { - display: inline; - } - - #file-issue-secondary { - display: none; - } - - /* - Logo - */ - - .logo { - width: 280px; - } - - /* - Menu - */ - - .main-nav { - position: absolute; - top: 1.2em; - left: 21.5em; - } - - .page-header.fixed .main-nav { - top: 0; - left: 11.5em; - } - - .nav-current { - position: relative; - top: 0; - left: 0; - padding: 0.8em 1.6em; - width: 150px; - height: auto; - border: 1px solid rgba(255,255,255,0.4); - background: url(../images/icon-dropdown.svg) 90% 50% no-repeat; - text-indent: 0; - } - - .page-header.fixed .nav-current { - top: 0; - padding: 0 1.6em; - height: 70px; - border: 1px solid rgba(255,255,255,0.2); - border-top: none; - border-bottom: none; - line-height: 70px; - } - - .nav-current:hover { - background-color: rgba(255,255,255,0.1); - } - - .menu { - top: 3em; - left: 0; - } - - .menu a { - padding: 1.2em 1.5em; - } - - .page-header.fixed .menu { - top: 70px; - } - - /* - Docs Header - */ - - .docs-header { - padding-top: 7.7em; - } - - .versions { - position: absolute; - top: 6em; - right: 2em; - margin: 0; - } - - .v-btn { - font-size: 0.7em; - line-height: normal; - } - - /* - Content - */ - - .container, - .content { - width: 80%; - margin: 0 auto; - padding: 2em 0; - } - - /* - Hero Banner - */ - - .hero-banner { - padding: 2em 0; - } - - .hero-banner h1 { - font-size: 5em; - margin-bottom: 0.8em; - } - - .hero-banner p { - font-size: 1em; - line-height: 2em; - } - - /* - Featuring - */ - - .featuring .block-title { - margin-bottom: 1.4em; - } - -} - -@media only screen and (min-width: 60em) { - - /* - Content - */ - - .container { - width: 90%; - max-width: 1020px; - font-size: 0.9em; - } - - .col { - width: 46%; - } - - .col-left { - float: left; - } - - .col-right { - float: right; - } - - .block-title { - font-size: 2em; - } - - /* - Hero Banner - */ - - .hero-banner { - padding-bottom: 0; - } - - .hero-banner .col-right { - padding-top: 3.6em; - } - - .hero-banner h1 { - font-size: 5.6em; - } - - .hero-banner p { - font-size: 1.1em; - } - - .hero-banner h2 { - font-size: 1.3em; - margin-bottom: 0.4em; - } - - .hero-banner pre { - font-size: 1.1em; - padding: 1em 1.5em; - } - - /* - Featuring - */ - - .featuring { - text-align: center; - } - - .featuring-links li { - font-size: 1em; - } - - .featuring-links li:first-child { - display: inline-block; - } - - .featuring-links .btn { - margin-right: 0.5em; - } - - .ext-link { - padding: 0.5em 1.2em; - } - - .featuring p { - max-width: 80%; - margin: 0 auto; - font-size: 1em; - } - - /* - About - */ - - .about .col-right { - padding-top: 2.4em; - } - - /* - FAQ - */ - - .faq .answer { - -moz-column-count: 2; - -moz-column-gap: 50px; - -webkit-column-count: 2; - -webkit-column-gap: 50px; - column-count: 2; - column-gap: 50px; - } - - /* - Docs Page - */ - - .lang-page { - background: url(../images/lang-bg.png) repeat-y; - } - - .docs-header { - margin-left: 240px; - } - - .content { - width: 100%; - max-width: 1070px; - padding-left: 290px; - padding-right: 2em; - /* Box Sizing */ - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - margin: 0; - font-size: 0.9em; - } - - .side-nav { - position: absolute; - top: 0; - left: 0; - width: 240px; - padding-top: 7.7em; - font-size: 0.9em; - } - - .side-nav a { - padding-left: 2.5em; - } - -} - -@media print, - (-o-min-device-pixel-ratio: 5/4), - (-webkit-min-device-pixel-ratio: 1.25), - (min-resolution: 120dpi) { - /* Style adjustments for high resolution devices */ -} - -/* ========================================================================== - Print styles. - Inlined to avoid required HTTP connection: h5bp.com/r - ========================================================================== */ - -@media print { - * { - background: transparent !important; - color: #000 !important; /* Black prints faster: h5bp.com/s */ - box-shadow: none !important; - text-shadow: none !important; - } - - a, - a:visited { - text-decoration: underline; - } - - a[href]:after { - content: " (" attr(href) ")"; - } - - abbr[title]:after { - content: " (" attr(title) ")"; - } - - /* - * Don't show links for images, or javascript/internal links - */ - - .ir a:after, - a[href^="javascript:"]:after, - a[href^="#"]:after { - content: ""; - } - - pre, - blockquote { - border: 1px solid #999; - page-break-inside: avoid; - } - - thead { - display: table-header-group; /* h5bp.com/t */ - } - - tr, - img { - page-break-inside: avoid; - } - - img { - max-width: 100% !important; - } - - @page { - margin: 0.5cm; - } - - p, - h2, - h3 { - orphans: 3; - widows: 3; - } - - h2, - h3 { - page-break-after: avoid; - } -} diff --git a/latest/_static/css/normalize.css b/latest/_static/css/normalize.css deleted file mode 100644 index 42e24d6880b5..000000000000 --- a/latest/_static/css/normalize.css +++ /dev/null @@ -1,527 +0,0 @@ -/*! normalize.css v1.1.3 | MIT License | git.io/normalize */ - -/* ========================================================================== - HTML5 display definitions - ========================================================================== */ - -/** - * Correct `block` display not defined in IE 6/7/8/9 and Firefox 3. - */ - -article, -aside, -details, -figcaption, -figure, -footer, -header, -hgroup, -main, -nav, -section, -summary { - display: block; -} - -/** - * Correct `inline-block` display not defined in IE 6/7/8/9 and Firefox 3. - */ - -audio, -canvas, -video { - display: inline-block; - *display: inline; - *zoom: 1; -} - -/** - * Prevent modern browsers from displaying `audio` without controls. - * Remove excess height in iOS 5 devices. - */ - -audio:not([controls]) { - display: none; - height: 0; -} - -/** - * Address styling not present in IE 7/8/9, Firefox 3, and Safari 4. - * Known issue: no IE 6 support. - */ - -[hidden] { - display: none; -} - -/* ========================================================================== - Base - ========================================================================== */ - -/** - * 1. Correct text resizing oddly in IE 6/7 when body `font-size` is set using - * `em` units. - * 2. Prevent iOS text size adjust after orientation change, without disabling - * user zoom. - */ - -html { - font-size: 100%; /* 1 */ - -ms-text-size-adjust: 100%; /* 2 */ - -webkit-text-size-adjust: 100%; /* 2 */ -} - -/** - * Address `font-family` inconsistency between `textarea` and other form - * elements. - */ - -html, -button, -input, -select, -textarea { - font-family: sans-serif; -} - -/** - * Address margins handled incorrectly in IE 6/7. - */ - -body { - margin: 0; -} - -/* ========================================================================== - Links - ========================================================================== */ - -/** - * Address `outline` inconsistency between Chrome and other browsers. - */ - -a:focus { - outline: thin dotted; -} - -/** - * Improve readability when focused and also mouse hovered in all browsers. - */ - -a:active, -a:hover { - outline: 0; -} - -/* ========================================================================== - Typography - ========================================================================== */ - -/** - * Address font sizes and margins set differently in IE 6/7. - * Address font sizes within `section` and `article` in Firefox 4+, Safari 5, - * and Chrome. - */ - -h1 { - font-size: 2em; - margin: 0.67em 0; -} - -h2 { - font-size: 1.5em; - margin: 0.83em 0; -} - -h3 { - font-size: 1.17em; - margin: 1em 0; -} - -h4 { - font-size: 1em; - margin: 1.33em 0; -} - -h5 { - font-size: 0.83em; - margin: 1.67em 0; -} - -h6 { - font-size: 0.67em; - margin: 2.33em 0; -} - -/** - * Address styling not present in IE 7/8/9, Safari 5, and Chrome. - */ - -abbr[title] { - border-bottom: 1px dotted; -} - -/** - * Address style set to `bolder` in Firefox 3+, Safari 4/5, and Chrome. - */ - -b, -strong { - font-weight: bold; -} - -blockquote { - margin: 1em 40px; -} - -/** - * Address styling not present in Safari 5 and Chrome. - */ - -dfn { - font-style: italic; -} - -/** - * Address differences between Firefox and other browsers. - * Known issue: no IE 6/7 normalization. - */ - -hr { - -moz-box-sizing: content-box; - box-sizing: content-box; - height: 0; -} - -/** - * Address styling not present in IE 6/7/8/9. - */ - -mark { - background: #ff0; - color: #000; -} - -/** - * Address margins set differently in IE 6/7. - */ - -p, -pre { - margin: 1em 0; -} - -/** - * Correct font family set oddly in IE 6, Safari 4/5, and Chrome. - */ - -code, -kbd, -pre, -samp { - font-family: monospace, serif; - _font-family: 'courier new', monospace; - font-size: 1em; -} - -/** - * Improve readability of pre-formatted text in all browsers. - */ - -pre { - white-space: pre; - white-space: pre-wrap; - word-wrap: break-word; -} - -/** - * Address CSS quotes not supported in IE 6/7. - */ - -q { - quotes: none; -} - -/** - * Address `quotes` property not supported in Safari 4. - */ - -q:before, -q:after { - content: ''; - content: none; -} - -/** - * Address inconsistent and variable font size in all browsers. - */ - -small { - font-size: 80%; -} - -/** - * Prevent `sub` and `sup` affecting `line-height` in all browsers. - */ - -sub, -sup { - font-size: 75%; - line-height: 0; - position: relative; - vertical-align: baseline; -} - -sup { - top: -0.5em; -} - -sub { - bottom: -0.25em; -} - -/* ========================================================================== - Lists - ========================================================================== */ - -/** - * Address margins set differently in IE 6/7. - */ - -dl, -menu, -ol, -ul { - margin: 1em 0; -} - -dd { - margin: 0 0 0 40px; -} - -/** - * Address paddings set differently in IE 6/7. - */ - -menu, -ol, -ul { - padding: 0 0 0 40px; -} - -/** - * Correct list images handled incorrectly in IE 7. - */ - -nav ul, -nav ol { - list-style: none; - list-style-image: none; -} - -/* ========================================================================== - Embedded content - ========================================================================== */ - -/** - * 1. Remove border when inside `a` element in IE 6/7/8/9 and Firefox 3. - * 2. Improve image quality when scaled in IE 7. - */ - -img { - border: 0; /* 1 */ - -ms-interpolation-mode: bicubic; /* 2 */ -} - -/** - * Correct overflow displayed oddly in IE 9. - */ - -svg:not(:root) { - overflow: hidden; -} - -/* ========================================================================== - Figures - ========================================================================== */ - -/** - * Address margin not present in IE 6/7/8/9, Safari 5, and Opera 11. - */ - -figure { - margin: 0; -} - -/* ========================================================================== - Forms - ========================================================================== */ - -/** - * Correct margin displayed oddly in IE 6/7. - */ - -form { - margin: 0; -} - -/** - * Define consistent border, margin, and padding. - */ - -fieldset { - border: 1px solid #c0c0c0; - margin: 0 2px; - padding: 0.35em 0.625em 0.75em; -} - -/** - * 1. Correct color not being inherited in IE 6/7/8/9. - * 2. Correct text not wrapping in Firefox 3. - * 3. Correct alignment displayed oddly in IE 6/7. - */ - -legend { - border: 0; /* 1 */ - padding: 0; - white-space: normal; /* 2 */ - *margin-left: -7px; /* 3 */ -} - -/** - * 1. Correct font size not being inherited in all browsers. - * 2. Address margins set differently in IE 6/7, Firefox 3+, Safari 5, - * and Chrome. - * 3. Improve appearance and consistency in all browsers. - */ - -button, -input, -select, -textarea { - font-size: 100%; /* 1 */ - margin: 0; /* 2 */ - vertical-align: baseline; /* 3 */ - *vertical-align: middle; /* 3 */ -} - -/** - * Address Firefox 3+ setting `line-height` on `input` using `!important` in - * the UA stylesheet. - */ - -button, -input { - line-height: normal; -} - -/** - * Address inconsistent `text-transform` inheritance for `button` and `select`. - * All other form control elements do not inherit `text-transform` values. - * Correct `button` style inheritance in Chrome, Safari 5+, and IE 6+. - * Correct `select` style inheritance in Firefox 4+ and Opera. - */ - -button, -select { - text-transform: none; -} - -/** - * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio` - * and `video` controls. - * 2. Correct inability to style clickable `input` types in iOS. - * 3. Improve usability and consistency of cursor style between image-type - * `input` and others. - * 4. Remove inner spacing in IE 7 without affecting normal text inputs. - * Known issue: inner spacing remains in IE 6. - */ - -button, -html input[type="button"], /* 1 */ -input[type="reset"], -input[type="submit"] { - -webkit-appearance: button; /* 2 */ - cursor: pointer; /* 3 */ - *overflow: visible; /* 4 */ -} - -/** - * Re-set default cursor for disabled elements. - */ - -button[disabled], -html input[disabled] { - cursor: default; -} - -/** - * 1. Address box sizing set to content-box in IE 8/9. - * 2. Remove excess padding in IE 8/9. - * 3. Remove excess padding in IE 7. - * Known issue: excess padding remains in IE 6. - */ - -input[type="checkbox"], -input[type="radio"] { - box-sizing: border-box; /* 1 */ - padding: 0; /* 2 */ - *height: 13px; /* 3 */ - *width: 13px; /* 3 */ -} - -/** - * 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome. - * 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome - * (include `-moz` to future-proof). - */ - -input[type="search"] { - -webkit-appearance: textfield; /* 1 */ - -moz-box-sizing: content-box; - -webkit-box-sizing: content-box; /* 2 */ - box-sizing: content-box; -} - -/** - * Remove inner padding and search cancel button in Safari 5 and Chrome - * on OS X. - */ - -input[type="search"]::-webkit-search-cancel-button, -input[type="search"]::-webkit-search-decoration { - -webkit-appearance: none; -} - -/** - * Remove inner padding and border in Firefox 3+. - */ - -button::-moz-focus-inner, -input::-moz-focus-inner { - border: 0; - padding: 0; -} - -/** - * 1. Remove default vertical scrollbar in IE 6/7/8/9. - * 2. Improve readability and alignment in all browsers. - */ - -textarea { - overflow: auto; /* 1 */ - vertical-align: top; /* 2 */ -} - -/* ========================================================================== - Tables - ========================================================================== */ - -/** - * Remove most spacing between table cells. - */ - -table { - border-collapse: collapse; - border-spacing: 0; -} diff --git a/latest/_static/css/theme.css b/latest/_static/css/theme.css new file mode 100644 index 000000000000..7be93399a4f5 --- /dev/null +++ b/latest/_static/css/theme.css @@ -0,0 +1,5 @@ +*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}article,aside,details,figcaption,figure,footer,header,hgroup,nav,section{display:block}audio,canvas,video{display:inline-block;*display:inline;*zoom:1}audio:not([controls]){display:none}[hidden]{display:none}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}html{font-size:100%;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}body{margin:0}a:hover,a:active{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}blockquote{margin:0}dfn{font-style:italic}ins{background:#ff9;color:#000;text-decoration:none}mark{background:#ff0;color:#000;font-style:italic;font-weight:bold}pre,code,.rst-content tt,.rst-content code,kbd,samp{font-family:monospace,serif;_font-family:"courier new",monospace;font-size:1em}pre{white-space:pre}q{quotes:none}q:before,q:after{content:"";content:none}small{font-size:85%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}ul,ol,dl{margin:0;padding:0;list-style:none;list-style-image:none}li{list-style:none}dd{margin:0}img{border:0;-ms-interpolation-mode:bicubic;vertical-align:middle;max-width:100%}svg:not(:root){overflow:hidden}figure{margin:0}form{margin:0}fieldset{border:0;margin:0;padding:0}label{cursor:pointer}legend{border:0;*margin-left:-7px;padding:0;white-space:normal}button,input,select,textarea{font-size:100%;margin:0;vertical-align:baseline;*vertical-align:middle}button,input{line-height:normal}button,input[type="button"],input[type="reset"],input[type="submit"]{cursor:pointer;-webkit-appearance:button;*overflow:visible}button[disabled],input[disabled]{cursor:default}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0;*width:13px;*height:13px}input[type="search"]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type="search"]::-webkit-search-decoration,input[type="search"]::-webkit-search-cancel-button{-webkit-appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}textarea{overflow:auto;vertical-align:top;resize:vertical}table{border-collapse:collapse;border-spacing:0}td{vertical-align:top}.chromeframe{margin:0.2em 0;background:#ccc;color:#000;padding:0.2em 0}.ir{display:block;border:0;text-indent:-999em;overflow:hidden;background-color:transparent;background-repeat:no-repeat;text-align:left;direction:ltr;*line-height:0}.ir br{display:none}.hidden{display:none !important;visibility:hidden}.visuallyhidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.visuallyhidden.focusable:active,.visuallyhidden.focusable:focus{clip:auto;height:auto;margin:0;overflow:visible;position:static;width:auto}.invisible{visibility:hidden}.relative{position:relative}big,small{font-size:100%}@media print{html,body,section{background:none !important}*{box-shadow:none !important;text-shadow:none !important;filter:none !important;-ms-filter:none !important}a,a:visited{text-decoration:underline}.ir a:after,a[href^="javascript:"]:after,a[href^="#"]:after{content:""}pre,blockquote{page-break-inside:avoid}thead{display:table-header-group}tr,img{page-break-inside:avoid}img{max-width:100% !important}@page{margin:0.5cm}p,h2,.rst-content .toctree-wrapper p.caption,h3{orphans:3;widows:3}h2,.rst-content .toctree-wrapper p.caption,h3{page-break-after:avoid}}.fa:before,.wy-menu-vertical li span.toctree-expand:before,.wy-menu-vertical li.on a span.toctree-expand:before,.wy-menu-vertical li.current>a span.toctree-expand:before,.rst-content .admonition-title:before,.rst-content h1 .headerlink:before,.rst-content h2 .headerlink:before,.rst-content h3 .headerlink:before,.rst-content h4 .headerlink:before,.rst-content h5 .headerlink:before,.rst-content h6 .headerlink:before,.rst-content dl dt .headerlink:before,.rst-content p.caption .headerlink:before,.rst-content tt.download span:first-child:before,.rst-content code.download span:first-child:before,.icon:before,.wy-dropdown .caret:before,.wy-inline-validate.wy-inline-validate-success .wy-input-context:before,.wy-inline-validate.wy-inline-validate-danger .wy-input-context:before,.wy-inline-validate.wy-inline-validate-warning .wy-input-context:before,.wy-inline-validate.wy-inline-validate-info .wy-input-context:before,.wy-alert,.rst-content .note,.rst-content .attention,.rst-content .caution,.rst-content .danger,.rst-content .error,.rst-content .hint,.rst-content .important,.rst-content .tip,.rst-content .warning,.rst-content .seealso,.rst-content .admonition-todo,.btn,input[type="text"],input[type="password"],input[type="email"],input[type="url"],input[type="date"],input[type="month"],input[type="time"],input[type="datetime"],input[type="datetime-local"],input[type="week"],input[type="number"],input[type="search"],input[type="tel"],input[type="color"],select,textarea,.wy-menu-vertical li.on a,.wy-menu-vertical li.current>a,.wy-side-nav-search>a,.wy-side-nav-search .wy-dropdown>a,.wy-nav-top a{-webkit-font-smoothing:antialiased}.clearfix{*zoom:1}.clearfix:before,.clearfix:after{display:table;content:""}.clearfix:after{clear:both}/*! + * Font Awesome 4.2.0 by @davegandy - http://fontawesome.io - @fontawesome + * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) + */@font-face{font-family:'FontAwesome';src:url("../fonts/fontawesome-webfont.eot?v=4.2.0");src:url("../fonts/fontawesome-webfont.eot?#iefix&v=4.2.0") format("embedded-opentype"),url("../fonts/fontawesome-webfont.woff?v=4.2.0") format("woff"),url("../fonts/fontawesome-webfont.ttf?v=4.2.0") format("truetype"),url("../fonts/fontawesome-webfont.svg?v=4.2.0#fontawesomeregular") format("svg");font-weight:normal;font-style:normal}.fa,.wy-menu-vertical li span.toctree-expand,.wy-menu-vertical li.on a span.toctree-expand,.wy-menu-vertical li.current>a span.toctree-expand,.rst-content .admonition-title,.rst-content h1 .headerlink,.rst-content h2 .headerlink,.rst-content h3 .headerlink,.rst-content h4 .headerlink,.rst-content h5 .headerlink,.rst-content h6 .headerlink,.rst-content dl dt .headerlink,.rst-content p.caption .headerlink,.rst-content tt.download span:first-child,.rst-content code.download span:first-child,.icon{display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fa-lg{font-size:1.33333em;line-height:0.75em;vertical-align:-15%}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-fw{width:1.28571em;text-align:center}.fa-ul{padding-left:0;margin-left:2.14286em;list-style-type:none}.fa-ul>li{position:relative}.fa-li{position:absolute;left:-2.14286em;width:2.14286em;top:0.14286em;text-align:center}.fa-li.fa-lg{left:-1.85714em}.fa-border{padding:.2em .25em .15em;border:solid 0.08em #eee;border-radius:.1em}.pull-right{float:right}.pull-left{float:left}.fa.pull-left,.wy-menu-vertical li span.pull-left.toctree-expand,.wy-menu-vertical li.on a span.pull-left.toctree-expand,.wy-menu-vertical li.current>a span.pull-left.toctree-expand,.rst-content .pull-left.admonition-title,.rst-content h1 .pull-left.headerlink,.rst-content h2 .pull-left.headerlink,.rst-content h3 .pull-left.headerlink,.rst-content h4 .pull-left.headerlink,.rst-content h5 .pull-left.headerlink,.rst-content h6 .pull-left.headerlink,.rst-content dl dt .pull-left.headerlink,.rst-content p.caption .pull-left.headerlink,.rst-content tt.download span.pull-left:first-child,.rst-content code.download span.pull-left:first-child,.pull-left.icon{margin-right:.3em}.fa.pull-right,.wy-menu-vertical li span.pull-right.toctree-expand,.wy-menu-vertical li.on a span.pull-right.toctree-expand,.wy-menu-vertical li.current>a span.pull-right.toctree-expand,.rst-content .pull-right.admonition-title,.rst-content h1 .pull-right.headerlink,.rst-content h2 .pull-right.headerlink,.rst-content h3 .pull-right.headerlink,.rst-content h4 .pull-right.headerlink,.rst-content h5 .pull-right.headerlink,.rst-content h6 .pull-right.headerlink,.rst-content dl dt .pull-right.headerlink,.rst-content p.caption .pull-right.headerlink,.rst-content tt.download span.pull-right:first-child,.rst-content code.download span.pull-right:first-child,.pull-right.icon{margin-left:.3em}.fa-spin{-webkit-animation:fa-spin 2s infinite linear;animation:fa-spin 2s infinite linear}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.fa-rotate-90{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=1);-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2);-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=3);-webkit-transform:rotate(270deg);-ms-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=0);-webkit-transform:scale(-1, 1);-ms-transform:scale(-1, 1);transform:scale(-1, 1)}.fa-flip-vertical{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2);-webkit-transform:scale(1, -1);-ms-transform:scale(1, -1);transform:scale(1, -1)}:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270,:root .fa-flip-horizontal,:root .fa-flip-vertical{filter:none}.fa-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:middle}.fa-stack-1x,.fa-stack-2x{position:absolute;left:0;width:100%;text-align:center}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-glass:before{content:""}.fa-music:before{content:""}.fa-search:before,.icon-search:before{content:""}.fa-envelope-o:before{content:""}.fa-heart:before{content:""}.fa-star:before{content:""}.fa-star-o:before{content:""}.fa-user:before{content:""}.fa-film:before{content:""}.fa-th-large:before{content:""}.fa-th:before{content:""}.fa-th-list:before{content:""}.fa-check:before{content:""}.fa-remove:before,.fa-close:before,.fa-times:before{content:""}.fa-search-plus:before{content:""}.fa-search-minus:before{content:""}.fa-power-off:before{content:""}.fa-signal:before{content:""}.fa-gear:before,.fa-cog:before{content:""}.fa-trash-o:before{content:""}.fa-home:before,.icon-home:before{content:""}.fa-file-o:before{content:""}.fa-clock-o:before{content:""}.fa-road:before{content:""}.fa-download:before,.rst-content tt.download span:first-child:before,.rst-content code.download span:first-child:before{content:""}.fa-arrow-circle-o-down:before{content:""}.fa-arrow-circle-o-up:before{content:""}.fa-inbox:before{content:""}.fa-play-circle-o:before{content:""}.fa-rotate-right:before,.fa-repeat:before{content:""}.fa-refresh:before{content:""}.fa-list-alt:before{content:""}.fa-lock:before{content:""}.fa-flag:before{content:""}.fa-headphones:before{content:""}.fa-volume-off:before{content:""}.fa-volume-down:before{content:""}.fa-volume-up:before{content:""}.fa-qrcode:before{content:""}.fa-barcode:before{content:""}.fa-tag:before{content:""}.fa-tags:before{content:""}.fa-book:before,.icon-book:before{content:""}.fa-bookmark:before{content:""}.fa-print:before{content:""}.fa-camera:before{content:""}.fa-font:before{content:""}.fa-bold:before{content:""}.fa-italic:before{content:""}.fa-text-height:before{content:""}.fa-text-width:before{content:""}.fa-align-left:before{content:""}.fa-align-center:before{content:""}.fa-align-right:before{content:""}.fa-align-justify:before{content:""}.fa-list:before{content:""}.fa-dedent:before,.fa-outdent:before{content:""}.fa-indent:before{content:""}.fa-video-camera:before{content:""}.fa-photo:before,.fa-image:before,.fa-picture-o:before{content:""}.fa-pencil:before{content:""}.fa-map-marker:before{content:""}.fa-adjust:before{content:""}.fa-tint:before{content:""}.fa-edit:before,.fa-pencil-square-o:before{content:""}.fa-share-square-o:before{content:""}.fa-check-square-o:before{content:""}.fa-arrows:before{content:""}.fa-step-backward:before{content:""}.fa-fast-backward:before{content:""}.fa-backward:before{content:""}.fa-play:before{content:""}.fa-pause:before{content:""}.fa-stop:before{content:""}.fa-forward:before{content:""}.fa-fast-forward:before{content:""}.fa-step-forward:before{content:""}.fa-eject:before{content:""}.fa-chevron-left:before{content:""}.fa-chevron-right:before{content:""}.fa-plus-circle:before{content:""}.fa-minus-circle:before{content:""}.fa-times-circle:before,.wy-inline-validate.wy-inline-validate-danger .wy-input-context:before{content:""}.fa-check-circle:before,.wy-inline-validate.wy-inline-validate-success .wy-input-context:before{content:""}.fa-question-circle:before{content:""}.fa-info-circle:before{content:""}.fa-crosshairs:before{content:""}.fa-times-circle-o:before{content:""}.fa-check-circle-o:before{content:""}.fa-ban:before{content:""}.fa-arrow-left:before{content:""}.fa-arrow-right:before{content:""}.fa-arrow-up:before{content:""}.fa-arrow-down:before{content:""}.fa-mail-forward:before,.fa-share:before{content:""}.fa-expand:before{content:""}.fa-compress:before{content:""}.fa-plus:before{content:""}.fa-minus:before{content:""}.fa-asterisk:before{content:""}.fa-exclamation-circle:before,.wy-inline-validate.wy-inline-validate-warning .wy-input-context:before,.wy-inline-validate.wy-inline-validate-info .wy-input-context:before,.rst-content .admonition-title:before{content:""}.fa-gift:before{content:""}.fa-leaf:before{content:""}.fa-fire:before,.icon-fire:before{content:""}.fa-eye:before{content:""}.fa-eye-slash:before{content:""}.fa-warning:before,.fa-exclamation-triangle:before{content:""}.fa-plane:before{content:""}.fa-calendar:before{content:""}.fa-random:before{content:""}.fa-comment:before{content:""}.fa-magnet:before{content:""}.fa-chevron-up:before{content:""}.fa-chevron-down:before{content:""}.fa-retweet:before{content:""}.fa-shopping-cart:before{content:""}.fa-folder:before{content:""}.fa-folder-open:before{content:""}.fa-arrows-v:before{content:""}.fa-arrows-h:before{content:""}.fa-bar-chart-o:before,.fa-bar-chart:before{content:""}.fa-twitter-square:before{content:""}.fa-facebook-square:before{content:""}.fa-camera-retro:before{content:""}.fa-key:before{content:""}.fa-gears:before,.fa-cogs:before{content:""}.fa-comments:before{content:""}.fa-thumbs-o-up:before{content:""}.fa-thumbs-o-down:before{content:""}.fa-star-half:before{content:""}.fa-heart-o:before{content:""}.fa-sign-out:before{content:""}.fa-linkedin-square:before{content:""}.fa-thumb-tack:before{content:""}.fa-external-link:before{content:""}.fa-sign-in:before{content:""}.fa-trophy:before{content:""}.fa-github-square:before{content:""}.fa-upload:before{content:""}.fa-lemon-o:before{content:""}.fa-phone:before{content:""}.fa-square-o:before{content:""}.fa-bookmark-o:before{content:""}.fa-phone-square:before{content:""}.fa-twitter:before{content:""}.fa-facebook:before{content:""}.fa-github:before,.icon-github:before{content:""}.fa-unlock:before{content:""}.fa-credit-card:before{content:""}.fa-rss:before{content:""}.fa-hdd-o:before{content:""}.fa-bullhorn:before{content:""}.fa-bell:before{content:""}.fa-certificate:before{content:""}.fa-hand-o-right:before{content:""}.fa-hand-o-left:before{content:""}.fa-hand-o-up:before{content:""}.fa-hand-o-down:before{content:""}.fa-arrow-circle-left:before,.icon-circle-arrow-left:before{content:""}.fa-arrow-circle-right:before,.icon-circle-arrow-right:before{content:""}.fa-arrow-circle-up:before{content:""}.fa-arrow-circle-down:before{content:""}.fa-globe:before{content:""}.fa-wrench:before{content:""}.fa-tasks:before{content:""}.fa-filter:before{content:""}.fa-briefcase:before{content:""}.fa-arrows-alt:before{content:""}.fa-group:before,.fa-users:before{content:""}.fa-chain:before,.fa-link:before,.icon-link:before{content:""}.fa-cloud:before{content:""}.fa-flask:before{content:""}.fa-cut:before,.fa-scissors:before{content:""}.fa-copy:before,.fa-files-o:before{content:""}.fa-paperclip:before{content:""}.fa-save:before,.fa-floppy-o:before{content:""}.fa-square:before{content:""}.fa-navicon:before,.fa-reorder:before,.fa-bars:before{content:""}.fa-list-ul:before{content:""}.fa-list-ol:before{content:""}.fa-strikethrough:before{content:""}.fa-underline:before{content:""}.fa-table:before{content:""}.fa-magic:before{content:""}.fa-truck:before{content:""}.fa-pinterest:before{content:""}.fa-pinterest-square:before{content:""}.fa-google-plus-square:before{content:""}.fa-google-plus:before{content:""}.fa-money:before{content:""}.fa-caret-down:before,.wy-dropdown .caret:before,.icon-caret-down:before{content:""}.fa-caret-up:before{content:""}.fa-caret-left:before{content:""}.fa-caret-right:before{content:""}.fa-columns:before{content:""}.fa-unsorted:before,.fa-sort:before{content:""}.fa-sort-down:before,.fa-sort-desc:before{content:""}.fa-sort-up:before,.fa-sort-asc:before{content:""}.fa-envelope:before{content:""}.fa-linkedin:before{content:""}.fa-rotate-left:before,.fa-undo:before{content:""}.fa-legal:before,.fa-gavel:before{content:""}.fa-dashboard:before,.fa-tachometer:before{content:""}.fa-comment-o:before{content:""}.fa-comments-o:before{content:""}.fa-flash:before,.fa-bolt:before{content:""}.fa-sitemap:before{content:""}.fa-umbrella:before{content:""}.fa-paste:before,.fa-clipboard:before{content:""}.fa-lightbulb-o:before{content:""}.fa-exchange:before{content:""}.fa-cloud-download:before{content:""}.fa-cloud-upload:before{content:""}.fa-user-md:before{content:""}.fa-stethoscope:before{content:""}.fa-suitcase:before{content:""}.fa-bell-o:before{content:""}.fa-coffee:before{content:""}.fa-cutlery:before{content:""}.fa-file-text-o:before{content:""}.fa-building-o:before{content:""}.fa-hospital-o:before{content:""}.fa-ambulance:before{content:""}.fa-medkit:before{content:""}.fa-fighter-jet:before{content:""}.fa-beer:before{content:""}.fa-h-square:before{content:""}.fa-plus-square:before{content:""}.fa-angle-double-left:before{content:""}.fa-angle-double-right:before{content:""}.fa-angle-double-up:before{content:""}.fa-angle-double-down:before{content:""}.fa-angle-left:before{content:""}.fa-angle-right:before{content:""}.fa-angle-up:before{content:""}.fa-angle-down:before{content:""}.fa-desktop:before{content:""}.fa-laptop:before{content:""}.fa-tablet:before{content:""}.fa-mobile-phone:before,.fa-mobile:before{content:""}.fa-circle-o:before{content:""}.fa-quote-left:before{content:""}.fa-quote-right:before{content:""}.fa-spinner:before{content:""}.fa-circle:before{content:""}.fa-mail-reply:before,.fa-reply:before{content:""}.fa-github-alt:before{content:""}.fa-folder-o:before{content:""}.fa-folder-open-o:before{content:""}.fa-smile-o:before{content:""}.fa-frown-o:before{content:""}.fa-meh-o:before{content:""}.fa-gamepad:before{content:""}.fa-keyboard-o:before{content:""}.fa-flag-o:before{content:""}.fa-flag-checkered:before{content:""}.fa-terminal:before{content:""}.fa-code:before{content:""}.fa-mail-reply-all:before,.fa-reply-all:before{content:""}.fa-star-half-empty:before,.fa-star-half-full:before,.fa-star-half-o:before{content:""}.fa-location-arrow:before{content:""}.fa-crop:before{content:""}.fa-code-fork:before{content:""}.fa-unlink:before,.fa-chain-broken:before{content:""}.fa-question:before{content:""}.fa-info:before{content:""}.fa-exclamation:before{content:""}.fa-superscript:before{content:""}.fa-subscript:before{content:""}.fa-eraser:before{content:""}.fa-puzzle-piece:before{content:""}.fa-microphone:before{content:""}.fa-microphone-slash:before{content:""}.fa-shield:before{content:""}.fa-calendar-o:before{content:""}.fa-fire-extinguisher:before{content:""}.fa-rocket:before{content:""}.fa-maxcdn:before{content:""}.fa-chevron-circle-left:before{content:""}.fa-chevron-circle-right:before{content:""}.fa-chevron-circle-up:before{content:""}.fa-chevron-circle-down:before{content:""}.fa-html5:before{content:""}.fa-css3:before{content:""}.fa-anchor:before{content:""}.fa-unlock-alt:before{content:""}.fa-bullseye:before{content:""}.fa-ellipsis-h:before{content:""}.fa-ellipsis-v:before{content:""}.fa-rss-square:before{content:""}.fa-play-circle:before{content:""}.fa-ticket:before{content:""}.fa-minus-square:before{content:""}.fa-minus-square-o:before,.wy-menu-vertical li.on a span.toctree-expand:before,.wy-menu-vertical li.current>a span.toctree-expand:before{content:""}.fa-level-up:before{content:""}.fa-level-down:before{content:""}.fa-check-square:before{content:""}.fa-pencil-square:before{content:""}.fa-external-link-square:before{content:""}.fa-share-square:before{content:""}.fa-compass:before{content:""}.fa-toggle-down:before,.fa-caret-square-o-down:before{content:""}.fa-toggle-up:before,.fa-caret-square-o-up:before{content:""}.fa-toggle-right:before,.fa-caret-square-o-right:before{content:""}.fa-euro:before,.fa-eur:before{content:""}.fa-gbp:before{content:""}.fa-dollar:before,.fa-usd:before{content:""}.fa-rupee:before,.fa-inr:before{content:""}.fa-cny:before,.fa-rmb:before,.fa-yen:before,.fa-jpy:before{content:""}.fa-ruble:before,.fa-rouble:before,.fa-rub:before{content:""}.fa-won:before,.fa-krw:before{content:""}.fa-bitcoin:before,.fa-btc:before{content:""}.fa-file:before{content:""}.fa-file-text:before{content:""}.fa-sort-alpha-asc:before{content:""}.fa-sort-alpha-desc:before{content:""}.fa-sort-amount-asc:before{content:""}.fa-sort-amount-desc:before{content:""}.fa-sort-numeric-asc:before{content:""}.fa-sort-numeric-desc:before{content:""}.fa-thumbs-up:before{content:""}.fa-thumbs-down:before{content:""}.fa-youtube-square:before{content:""}.fa-youtube:before{content:""}.fa-xing:before{content:""}.fa-xing-square:before{content:""}.fa-youtube-play:before{content:""}.fa-dropbox:before{content:""}.fa-stack-overflow:before{content:""}.fa-instagram:before{content:""}.fa-flickr:before{content:""}.fa-adn:before{content:""}.fa-bitbucket:before,.icon-bitbucket:before{content:""}.fa-bitbucket-square:before{content:""}.fa-tumblr:before{content:""}.fa-tumblr-square:before{content:""}.fa-long-arrow-down:before{content:""}.fa-long-arrow-up:before{content:""}.fa-long-arrow-left:before{content:""}.fa-long-arrow-right:before{content:""}.fa-apple:before{content:""}.fa-windows:before{content:""}.fa-android:before{content:""}.fa-linux:before{content:""}.fa-dribbble:before{content:""}.fa-skype:before{content:""}.fa-foursquare:before{content:""}.fa-trello:before{content:""}.fa-female:before{content:""}.fa-male:before{content:""}.fa-gittip:before{content:""}.fa-sun-o:before{content:""}.fa-moon-o:before{content:""}.fa-archive:before{content:""}.fa-bug:before{content:""}.fa-vk:before{content:""}.fa-weibo:before{content:""}.fa-renren:before{content:""}.fa-pagelines:before{content:""}.fa-stack-exchange:before{content:""}.fa-arrow-circle-o-right:before{content:""}.fa-arrow-circle-o-left:before{content:""}.fa-toggle-left:before,.fa-caret-square-o-left:before{content:""}.fa-dot-circle-o:before{content:""}.fa-wheelchair:before{content:""}.fa-vimeo-square:before{content:""}.fa-turkish-lira:before,.fa-try:before{content:""}.fa-plus-square-o:before,.wy-menu-vertical li span.toctree-expand:before{content:""}.fa-space-shuttle:before{content:""}.fa-slack:before{content:""}.fa-envelope-square:before{content:""}.fa-wordpress:before{content:""}.fa-openid:before{content:""}.fa-institution:before,.fa-bank:before,.fa-university:before{content:""}.fa-mortar-board:before,.fa-graduation-cap:before{content:""}.fa-yahoo:before{content:""}.fa-google:before{content:""}.fa-reddit:before{content:""}.fa-reddit-square:before{content:""}.fa-stumbleupon-circle:before{content:""}.fa-stumbleupon:before{content:""}.fa-delicious:before{content:""}.fa-digg:before{content:""}.fa-pied-piper:before{content:""}.fa-pied-piper-alt:before{content:""}.fa-drupal:before{content:""}.fa-joomla:before{content:""}.fa-language:before{content:""}.fa-fax:before{content:""}.fa-building:before{content:""}.fa-child:before{content:""}.fa-paw:before{content:""}.fa-spoon:before{content:""}.fa-cube:before{content:""}.fa-cubes:before{content:""}.fa-behance:before{content:""}.fa-behance-square:before{content:""}.fa-steam:before{content:""}.fa-steam-square:before{content:""}.fa-recycle:before{content:""}.fa-automobile:before,.fa-car:before{content:""}.fa-cab:before,.fa-taxi:before{content:""}.fa-tree:before{content:""}.fa-spotify:before{content:""}.fa-deviantart:before{content:""}.fa-soundcloud:before{content:""}.fa-database:before{content:""}.fa-file-pdf-o:before{content:""}.fa-file-word-o:before{content:""}.fa-file-excel-o:before{content:""}.fa-file-powerpoint-o:before{content:""}.fa-file-photo-o:before,.fa-file-picture-o:before,.fa-file-image-o:before{content:""}.fa-file-zip-o:before,.fa-file-archive-o:before{content:""}.fa-file-sound-o:before,.fa-file-audio-o:before{content:""}.fa-file-movie-o:before,.fa-file-video-o:before{content:""}.fa-file-code-o:before{content:""}.fa-vine:before{content:""}.fa-codepen:before{content:""}.fa-jsfiddle:before{content:""}.fa-life-bouy:before,.fa-life-buoy:before,.fa-life-saver:before,.fa-support:before,.fa-life-ring:before{content:""}.fa-circle-o-notch:before{content:""}.fa-ra:before,.fa-rebel:before{content:""}.fa-ge:before,.fa-empire:before{content:""}.fa-git-square:before{content:""}.fa-git:before{content:""}.fa-hacker-news:before{content:""}.fa-tencent-weibo:before{content:""}.fa-qq:before{content:""}.fa-wechat:before,.fa-weixin:before{content:""}.fa-send:before,.fa-paper-plane:before{content:""}.fa-send-o:before,.fa-paper-plane-o:before{content:""}.fa-history:before{content:""}.fa-circle-thin:before{content:""}.fa-header:before{content:""}.fa-paragraph:before{content:""}.fa-sliders:before{content:""}.fa-share-alt:before{content:""}.fa-share-alt-square:before{content:""}.fa-bomb:before{content:""}.fa-soccer-ball-o:before,.fa-futbol-o:before{content:""}.fa-tty:before{content:""}.fa-binoculars:before{content:""}.fa-plug:before{content:""}.fa-slideshare:before{content:""}.fa-twitch:before{content:""}.fa-yelp:before{content:""}.fa-newspaper-o:before{content:""}.fa-wifi:before{content:""}.fa-calculator:before{content:""}.fa-paypal:before{content:""}.fa-google-wallet:before{content:""}.fa-cc-visa:before{content:""}.fa-cc-mastercard:before{content:""}.fa-cc-discover:before{content:""}.fa-cc-amex:before{content:""}.fa-cc-paypal:before{content:""}.fa-cc-stripe:before{content:""}.fa-bell-slash:before{content:""}.fa-bell-slash-o:before{content:""}.fa-trash:before{content:""}.fa-copyright:before{content:""}.fa-at:before{content:""}.fa-eyedropper:before{content:""}.fa-paint-brush:before{content:""}.fa-birthday-cake:before{content:""}.fa-area-chart:before{content:""}.fa-pie-chart:before{content:""}.fa-line-chart:before{content:""}.fa-lastfm:before{content:""}.fa-lastfm-square:before{content:""}.fa-toggle-off:before{content:""}.fa-toggle-on:before{content:""}.fa-bicycle:before{content:""}.fa-bus:before{content:""}.fa-ioxhost:before{content:""}.fa-angellist:before{content:""}.fa-cc:before{content:""}.fa-shekel:before,.fa-sheqel:before,.fa-ils:before{content:""}.fa-meanpath:before{content:""}.fa,.wy-menu-vertical li span.toctree-expand,.wy-menu-vertical li.on a span.toctree-expand,.wy-menu-vertical li.current>a span.toctree-expand,.rst-content .admonition-title,.rst-content h1 .headerlink,.rst-content h2 .headerlink,.rst-content h3 .headerlink,.rst-content h4 .headerlink,.rst-content h5 .headerlink,.rst-content h6 .headerlink,.rst-content dl dt .headerlink,.rst-content p.caption .headerlink,.rst-content tt.download span:first-child,.rst-content code.download span:first-child,.icon,.wy-dropdown .caret,.wy-inline-validate.wy-inline-validate-success .wy-input-context,.wy-inline-validate.wy-inline-validate-danger .wy-input-context,.wy-inline-validate.wy-inline-validate-warning .wy-input-context,.wy-inline-validate.wy-inline-validate-info .wy-input-context{font-family:inherit}.fa:before,.wy-menu-vertical li span.toctree-expand:before,.wy-menu-vertical li.on a span.toctree-expand:before,.wy-menu-vertical li.current>a span.toctree-expand:before,.rst-content .admonition-title:before,.rst-content h1 .headerlink:before,.rst-content h2 .headerlink:before,.rst-content h3 .headerlink:before,.rst-content h4 .headerlink:before,.rst-content h5 .headerlink:before,.rst-content h6 .headerlink:before,.rst-content dl dt .headerlink:before,.rst-content p.caption .headerlink:before,.rst-content tt.download span:first-child:before,.rst-content code.download span:first-child:before,.icon:before,.wy-dropdown .caret:before,.wy-inline-validate.wy-inline-validate-success .wy-input-context:before,.wy-inline-validate.wy-inline-validate-danger .wy-input-context:before,.wy-inline-validate.wy-inline-validate-warning .wy-input-context:before,.wy-inline-validate.wy-inline-validate-info .wy-input-context:before{font-family:"FontAwesome";display:inline-block;font-style:normal;font-weight:normal;line-height:1;text-decoration:inherit}a .fa,a .wy-menu-vertical li span.toctree-expand,.wy-menu-vertical li a span.toctree-expand,.wy-menu-vertical li.on a span.toctree-expand,.wy-menu-vertical li.current>a span.toctree-expand,a .rst-content .admonition-title,.rst-content a .admonition-title,a .rst-content h1 .headerlink,.rst-content h1 a .headerlink,a .rst-content h2 .headerlink,.rst-content h2 a .headerlink,a .rst-content h3 .headerlink,.rst-content h3 a .headerlink,a .rst-content h4 .headerlink,.rst-content h4 a .headerlink,a .rst-content h5 .headerlink,.rst-content h5 a .headerlink,a .rst-content h6 .headerlink,.rst-content h6 a .headerlink,a .rst-content dl dt .headerlink,.rst-content dl dt a .headerlink,a .rst-content p.caption .headerlink,.rst-content p.caption a .headerlink,a .rst-content tt.download span:first-child,.rst-content tt.download a span:first-child,a .rst-content code.download span:first-child,.rst-content code.download a span:first-child,a .icon{display:inline-block;text-decoration:inherit}.btn .fa,.btn .wy-menu-vertical li span.toctree-expand,.wy-menu-vertical li .btn span.toctree-expand,.btn .wy-menu-vertical li.on a span.toctree-expand,.wy-menu-vertical li.on a .btn span.toctree-expand,.btn .wy-menu-vertical li.current>a span.toctree-expand,.wy-menu-vertical li.current>a .btn span.toctree-expand,.btn .rst-content .admonition-title,.rst-content .btn .admonition-title,.btn .rst-content h1 .headerlink,.rst-content h1 .btn .headerlink,.btn .rst-content h2 .headerlink,.rst-content h2 .btn .headerlink,.btn .rst-content h3 .headerlink,.rst-content h3 .btn .headerlink,.btn .rst-content h4 .headerlink,.rst-content h4 .btn .headerlink,.btn .rst-content h5 .headerlink,.rst-content h5 .btn .headerlink,.btn .rst-content h6 .headerlink,.rst-content h6 .btn .headerlink,.btn .rst-content dl dt .headerlink,.rst-content dl dt .btn .headerlink,.btn .rst-content p.caption .headerlink,.rst-content p.caption .btn .headerlink,.btn .rst-content tt.download span:first-child,.rst-content tt.download .btn span:first-child,.btn .rst-content code.download span:first-child,.rst-content code.download .btn span:first-child,.btn .icon,.nav .fa,.nav .wy-menu-vertical li span.toctree-expand,.wy-menu-vertical li .nav span.toctree-expand,.nav .wy-menu-vertical li.on a span.toctree-expand,.wy-menu-vertical li.on a .nav span.toctree-expand,.nav .wy-menu-vertical li.current>a span.toctree-expand,.wy-menu-vertical li.current>a .nav span.toctree-expand,.nav .rst-content .admonition-title,.rst-content .nav .admonition-title,.nav .rst-content h1 .headerlink,.rst-content h1 .nav .headerlink,.nav .rst-content h2 .headerlink,.rst-content h2 .nav .headerlink,.nav .rst-content h3 .headerlink,.rst-content h3 .nav .headerlink,.nav .rst-content h4 .headerlink,.rst-content h4 .nav .headerlink,.nav .rst-content h5 .headerlink,.rst-content h5 .nav .headerlink,.nav .rst-content h6 .headerlink,.rst-content h6 .nav .headerlink,.nav .rst-content dl dt .headerlink,.rst-content dl dt .nav .headerlink,.nav .rst-content p.caption .headerlink,.rst-content p.caption .nav .headerlink,.nav .rst-content tt.download span:first-child,.rst-content tt.download .nav span:first-child,.nav .rst-content code.download span:first-child,.rst-content code.download .nav span:first-child,.nav .icon{display:inline}.btn .fa.fa-large,.btn .wy-menu-vertical li span.fa-large.toctree-expand,.wy-menu-vertical li .btn span.fa-large.toctree-expand,.btn .rst-content .fa-large.admonition-title,.rst-content .btn .fa-large.admonition-title,.btn .rst-content h1 .fa-large.headerlink,.rst-content h1 .btn .fa-large.headerlink,.btn .rst-content h2 .fa-large.headerlink,.rst-content h2 .btn .fa-large.headerlink,.btn .rst-content h3 .fa-large.headerlink,.rst-content h3 .btn .fa-large.headerlink,.btn .rst-content h4 .fa-large.headerlink,.rst-content h4 .btn .fa-large.headerlink,.btn .rst-content h5 .fa-large.headerlink,.rst-content h5 .btn .fa-large.headerlink,.btn .rst-content h6 .fa-large.headerlink,.rst-content h6 .btn .fa-large.headerlink,.btn .rst-content dl dt .fa-large.headerlink,.rst-content dl dt .btn .fa-large.headerlink,.btn .rst-content p.caption .fa-large.headerlink,.rst-content p.caption .btn .fa-large.headerlink,.btn .rst-content tt.download span.fa-large:first-child,.rst-content tt.download .btn span.fa-large:first-child,.btn .rst-content code.download span.fa-large:first-child,.rst-content code.download .btn span.fa-large:first-child,.btn .fa-large.icon,.nav .fa.fa-large,.nav .wy-menu-vertical li span.fa-large.toctree-expand,.wy-menu-vertical li .nav span.fa-large.toctree-expand,.nav .rst-content .fa-large.admonition-title,.rst-content .nav .fa-large.admonition-title,.nav .rst-content h1 .fa-large.headerlink,.rst-content h1 .nav .fa-large.headerlink,.nav .rst-content h2 .fa-large.headerlink,.rst-content h2 .nav .fa-large.headerlink,.nav .rst-content h3 .fa-large.headerlink,.rst-content h3 .nav .fa-large.headerlink,.nav .rst-content h4 .fa-large.headerlink,.rst-content h4 .nav .fa-large.headerlink,.nav .rst-content h5 .fa-large.headerlink,.rst-content h5 .nav .fa-large.headerlink,.nav .rst-content h6 .fa-large.headerlink,.rst-content h6 .nav .fa-large.headerlink,.nav .rst-content dl dt .fa-large.headerlink,.rst-content dl dt .nav .fa-large.headerlink,.nav .rst-content p.caption .fa-large.headerlink,.rst-content p.caption .nav .fa-large.headerlink,.nav .rst-content tt.download span.fa-large:first-child,.rst-content tt.download .nav span.fa-large:first-child,.nav .rst-content code.download span.fa-large:first-child,.rst-content code.download .nav span.fa-large:first-child,.nav .fa-large.icon{line-height:0.9em}.btn .fa.fa-spin,.btn .wy-menu-vertical li span.fa-spin.toctree-expand,.wy-menu-vertical li .btn span.fa-spin.toctree-expand,.btn .rst-content .fa-spin.admonition-title,.rst-content .btn .fa-spin.admonition-title,.btn .rst-content h1 .fa-spin.headerlink,.rst-content h1 .btn .fa-spin.headerlink,.btn .rst-content h2 .fa-spin.headerlink,.rst-content h2 .btn .fa-spin.headerlink,.btn .rst-content h3 .fa-spin.headerlink,.rst-content h3 .btn .fa-spin.headerlink,.btn .rst-content h4 .fa-spin.headerlink,.rst-content h4 .btn .fa-spin.headerlink,.btn .rst-content h5 .fa-spin.headerlink,.rst-content h5 .btn .fa-spin.headerlink,.btn .rst-content h6 .fa-spin.headerlink,.rst-content h6 .btn .fa-spin.headerlink,.btn .rst-content dl dt .fa-spin.headerlink,.rst-content dl dt .btn .fa-spin.headerlink,.btn .rst-content p.caption .fa-spin.headerlink,.rst-content p.caption .btn .fa-spin.headerlink,.btn .rst-content tt.download span.fa-spin:first-child,.rst-content tt.download .btn span.fa-spin:first-child,.btn .rst-content code.download span.fa-spin:first-child,.rst-content code.download .btn span.fa-spin:first-child,.btn .fa-spin.icon,.nav .fa.fa-spin,.nav .wy-menu-vertical li span.fa-spin.toctree-expand,.wy-menu-vertical li .nav span.fa-spin.toctree-expand,.nav .rst-content .fa-spin.admonition-title,.rst-content .nav .fa-spin.admonition-title,.nav .rst-content h1 .fa-spin.headerlink,.rst-content h1 .nav .fa-spin.headerlink,.nav .rst-content h2 .fa-spin.headerlink,.rst-content h2 .nav .fa-spin.headerlink,.nav .rst-content h3 .fa-spin.headerlink,.rst-content h3 .nav .fa-spin.headerlink,.nav .rst-content h4 .fa-spin.headerlink,.rst-content h4 .nav .fa-spin.headerlink,.nav .rst-content h5 .fa-spin.headerlink,.rst-content h5 .nav .fa-spin.headerlink,.nav .rst-content h6 .fa-spin.headerlink,.rst-content h6 .nav .fa-spin.headerlink,.nav .rst-content dl dt .fa-spin.headerlink,.rst-content dl dt .nav .fa-spin.headerlink,.nav .rst-content p.caption .fa-spin.headerlink,.rst-content p.caption .nav .fa-spin.headerlink,.nav .rst-content tt.download span.fa-spin:first-child,.rst-content tt.download .nav span.fa-spin:first-child,.nav .rst-content code.download span.fa-spin:first-child,.rst-content code.download .nav span.fa-spin:first-child,.nav .fa-spin.icon{display:inline-block}.btn.fa:before,.wy-menu-vertical li span.btn.toctree-expand:before,.rst-content .btn.admonition-title:before,.rst-content h1 .btn.headerlink:before,.rst-content h2 .btn.headerlink:before,.rst-content h3 .btn.headerlink:before,.rst-content h4 .btn.headerlink:before,.rst-content h5 .btn.headerlink:before,.rst-content h6 .btn.headerlink:before,.rst-content dl dt .btn.headerlink:before,.rst-content p.caption .btn.headerlink:before,.rst-content tt.download span.btn:first-child:before,.rst-content code.download span.btn:first-child:before,.btn.icon:before{opacity:0.5;-webkit-transition:opacity 0.05s ease-in;-moz-transition:opacity 0.05s ease-in;transition:opacity 0.05s ease-in}.btn.fa:hover:before,.wy-menu-vertical li span.btn.toctree-expand:hover:before,.rst-content .btn.admonition-title:hover:before,.rst-content h1 .btn.headerlink:hover:before,.rst-content h2 .btn.headerlink:hover:before,.rst-content h3 .btn.headerlink:hover:before,.rst-content h4 .btn.headerlink:hover:before,.rst-content h5 .btn.headerlink:hover:before,.rst-content h6 .btn.headerlink:hover:before,.rst-content dl dt .btn.headerlink:hover:before,.rst-content p.caption .btn.headerlink:hover:before,.rst-content tt.download span.btn:first-child:hover:before,.rst-content code.download span.btn:first-child:hover:before,.btn.icon:hover:before{opacity:1}.btn-mini .fa:before,.btn-mini .wy-menu-vertical li span.toctree-expand:before,.wy-menu-vertical li .btn-mini span.toctree-expand:before,.btn-mini .rst-content .admonition-title:before,.rst-content .btn-mini .admonition-title:before,.btn-mini .rst-content h1 .headerlink:before,.rst-content h1 .btn-mini .headerlink:before,.btn-mini .rst-content h2 .headerlink:before,.rst-content h2 .btn-mini .headerlink:before,.btn-mini .rst-content h3 .headerlink:before,.rst-content h3 .btn-mini .headerlink:before,.btn-mini .rst-content h4 .headerlink:before,.rst-content h4 .btn-mini .headerlink:before,.btn-mini .rst-content h5 .headerlink:before,.rst-content h5 .btn-mini .headerlink:before,.btn-mini .rst-content h6 .headerlink:before,.rst-content h6 .btn-mini .headerlink:before,.btn-mini .rst-content dl dt .headerlink:before,.rst-content dl dt .btn-mini .headerlink:before,.btn-mini .rst-content p.caption .headerlink:before,.rst-content p.caption .btn-mini .headerlink:before,.btn-mini .rst-content tt.download span:first-child:before,.rst-content tt.download .btn-mini span:first-child:before,.btn-mini .rst-content code.download span:first-child:before,.rst-content code.download .btn-mini span:first-child:before,.btn-mini .icon:before{font-size:14px;vertical-align:-15%}.wy-alert,.rst-content .note,.rst-content .attention,.rst-content .caution,.rst-content .danger,.rst-content .error,.rst-content .hint,.rst-content .important,.rst-content .tip,.rst-content .warning,.rst-content .seealso,.rst-content .admonition-todo{padding:12px;line-height:24px;margin-bottom:24px;background:#e7f2fa}.wy-alert-title,.rst-content .admonition-title{color:#fff;font-weight:bold;display:block;color:#fff;background:#6ab0de;margin:-12px;padding:6px 12px;margin-bottom:12px}.wy-alert.wy-alert-danger,.rst-content .wy-alert-danger.note,.rst-content .wy-alert-danger.attention,.rst-content .wy-alert-danger.caution,.rst-content .danger,.rst-content .error,.rst-content .wy-alert-danger.hint,.rst-content .wy-alert-danger.important,.rst-content .wy-alert-danger.tip,.rst-content .wy-alert-danger.warning,.rst-content .wy-alert-danger.seealso,.rst-content .wy-alert-danger.admonition-todo{background:#fdf3f2}.wy-alert.wy-alert-danger .wy-alert-title,.rst-content .wy-alert-danger.note .wy-alert-title,.rst-content .wy-alert-danger.attention .wy-alert-title,.rst-content .wy-alert-danger.caution .wy-alert-title,.rst-content .danger .wy-alert-title,.rst-content .error .wy-alert-title,.rst-content .wy-alert-danger.hint .wy-alert-title,.rst-content .wy-alert-danger.important .wy-alert-title,.rst-content .wy-alert-danger.tip .wy-alert-title,.rst-content .wy-alert-danger.warning .wy-alert-title,.rst-content .wy-alert-danger.seealso .wy-alert-title,.rst-content .wy-alert-danger.admonition-todo .wy-alert-title,.wy-alert.wy-alert-danger .rst-content .admonition-title,.rst-content .wy-alert.wy-alert-danger .admonition-title,.rst-content .wy-alert-danger.note .admonition-title,.rst-content .wy-alert-danger.attention .admonition-title,.rst-content .wy-alert-danger.caution .admonition-title,.rst-content .danger .admonition-title,.rst-content .error .admonition-title,.rst-content .wy-alert-danger.hint .admonition-title,.rst-content .wy-alert-danger.important .admonition-title,.rst-content .wy-alert-danger.tip .admonition-title,.rst-content .wy-alert-danger.warning .admonition-title,.rst-content .wy-alert-danger.seealso .admonition-title,.rst-content .wy-alert-danger.admonition-todo .admonition-title{background:#f29f97}.wy-alert.wy-alert-warning,.rst-content .wy-alert-warning.note,.rst-content .attention,.rst-content .caution,.rst-content .wy-alert-warning.danger,.rst-content .wy-alert-warning.error,.rst-content .wy-alert-warning.hint,.rst-content .wy-alert-warning.important,.rst-content .wy-alert-warning.tip,.rst-content .warning,.rst-content .wy-alert-warning.seealso,.rst-content .admonition-todo{background:#ffedcc}.wy-alert.wy-alert-warning .wy-alert-title,.rst-content .wy-alert-warning.note .wy-alert-title,.rst-content .attention .wy-alert-title,.rst-content .caution .wy-alert-title,.rst-content .wy-alert-warning.danger .wy-alert-title,.rst-content .wy-alert-warning.error .wy-alert-title,.rst-content .wy-alert-warning.hint .wy-alert-title,.rst-content .wy-alert-warning.important .wy-alert-title,.rst-content .wy-alert-warning.tip .wy-alert-title,.rst-content .warning .wy-alert-title,.rst-content .wy-alert-warning.seealso .wy-alert-title,.rst-content .admonition-todo .wy-alert-title,.wy-alert.wy-alert-warning .rst-content .admonition-title,.rst-content .wy-alert.wy-alert-warning .admonition-title,.rst-content .wy-alert-warning.note .admonition-title,.rst-content .attention .admonition-title,.rst-content .caution .admonition-title,.rst-content .wy-alert-warning.danger .admonition-title,.rst-content .wy-alert-warning.error .admonition-title,.rst-content .wy-alert-warning.hint .admonition-title,.rst-content .wy-alert-warning.important .admonition-title,.rst-content .wy-alert-warning.tip .admonition-title,.rst-content .warning .admonition-title,.rst-content .wy-alert-warning.seealso .admonition-title,.rst-content .admonition-todo .admonition-title{background:#f0b37e}.wy-alert.wy-alert-info,.rst-content .note,.rst-content .wy-alert-info.attention,.rst-content .wy-alert-info.caution,.rst-content .wy-alert-info.danger,.rst-content .wy-alert-info.error,.rst-content .wy-alert-info.hint,.rst-content .wy-alert-info.important,.rst-content .wy-alert-info.tip,.rst-content .wy-alert-info.warning,.rst-content .seealso,.rst-content .wy-alert-info.admonition-todo{background:#e7f2fa}.wy-alert.wy-alert-info .wy-alert-title,.rst-content .note .wy-alert-title,.rst-content .wy-alert-info.attention .wy-alert-title,.rst-content .wy-alert-info.caution .wy-alert-title,.rst-content .wy-alert-info.danger .wy-alert-title,.rst-content .wy-alert-info.error .wy-alert-title,.rst-content .wy-alert-info.hint .wy-alert-title,.rst-content .wy-alert-info.important .wy-alert-title,.rst-content .wy-alert-info.tip .wy-alert-title,.rst-content .wy-alert-info.warning .wy-alert-title,.rst-content .seealso .wy-alert-title,.rst-content .wy-alert-info.admonition-todo .wy-alert-title,.wy-alert.wy-alert-info .rst-content .admonition-title,.rst-content .wy-alert.wy-alert-info .admonition-title,.rst-content .note .admonition-title,.rst-content .wy-alert-info.attention .admonition-title,.rst-content .wy-alert-info.caution .admonition-title,.rst-content .wy-alert-info.danger .admonition-title,.rst-content .wy-alert-info.error .admonition-title,.rst-content .wy-alert-info.hint .admonition-title,.rst-content .wy-alert-info.important .admonition-title,.rst-content .wy-alert-info.tip .admonition-title,.rst-content .wy-alert-info.warning .admonition-title,.rst-content .seealso .admonition-title,.rst-content .wy-alert-info.admonition-todo .admonition-title{background:#6ab0de}.wy-alert.wy-alert-success,.rst-content .wy-alert-success.note,.rst-content .wy-alert-success.attention,.rst-content .wy-alert-success.caution,.rst-content .wy-alert-success.danger,.rst-content .wy-alert-success.error,.rst-content .hint,.rst-content .important,.rst-content .tip,.rst-content .wy-alert-success.warning,.rst-content .wy-alert-success.seealso,.rst-content .wy-alert-success.admonition-todo{background:#dbfaf4}.wy-alert.wy-alert-success .wy-alert-title,.rst-content .wy-alert-success.note .wy-alert-title,.rst-content .wy-alert-success.attention .wy-alert-title,.rst-content .wy-alert-success.caution .wy-alert-title,.rst-content .wy-alert-success.danger .wy-alert-title,.rst-content .wy-alert-success.error .wy-alert-title,.rst-content .hint .wy-alert-title,.rst-content .important .wy-alert-title,.rst-content .tip .wy-alert-title,.rst-content .wy-alert-success.warning .wy-alert-title,.rst-content .wy-alert-success.seealso .wy-alert-title,.rst-content .wy-alert-success.admonition-todo .wy-alert-title,.wy-alert.wy-alert-success .rst-content .admonition-title,.rst-content .wy-alert.wy-alert-success .admonition-title,.rst-content .wy-alert-success.note .admonition-title,.rst-content .wy-alert-success.attention .admonition-title,.rst-content .wy-alert-success.caution .admonition-title,.rst-content .wy-alert-success.danger .admonition-title,.rst-content .wy-alert-success.error .admonition-title,.rst-content .hint .admonition-title,.rst-content .important .admonition-title,.rst-content .tip .admonition-title,.rst-content .wy-alert-success.warning .admonition-title,.rst-content .wy-alert-success.seealso .admonition-title,.rst-content .wy-alert-success.admonition-todo .admonition-title{background:#1abc9c}.wy-alert.wy-alert-neutral,.rst-content .wy-alert-neutral.note,.rst-content .wy-alert-neutral.attention,.rst-content .wy-alert-neutral.caution,.rst-content .wy-alert-neutral.danger,.rst-content .wy-alert-neutral.error,.rst-content .wy-alert-neutral.hint,.rst-content .wy-alert-neutral.important,.rst-content .wy-alert-neutral.tip,.rst-content .wy-alert-neutral.warning,.rst-content .wy-alert-neutral.seealso,.rst-content .wy-alert-neutral.admonition-todo{background:#f3f6f6}.wy-alert.wy-alert-neutral .wy-alert-title,.rst-content .wy-alert-neutral.note .wy-alert-title,.rst-content .wy-alert-neutral.attention .wy-alert-title,.rst-content .wy-alert-neutral.caution .wy-alert-title,.rst-content .wy-alert-neutral.danger .wy-alert-title,.rst-content .wy-alert-neutral.error .wy-alert-title,.rst-content .wy-alert-neutral.hint .wy-alert-title,.rst-content .wy-alert-neutral.important .wy-alert-title,.rst-content .wy-alert-neutral.tip .wy-alert-title,.rst-content .wy-alert-neutral.warning .wy-alert-title,.rst-content .wy-alert-neutral.seealso .wy-alert-title,.rst-content .wy-alert-neutral.admonition-todo .wy-alert-title,.wy-alert.wy-alert-neutral .rst-content .admonition-title,.rst-content .wy-alert.wy-alert-neutral .admonition-title,.rst-content .wy-alert-neutral.note .admonition-title,.rst-content .wy-alert-neutral.attention .admonition-title,.rst-content .wy-alert-neutral.caution .admonition-title,.rst-content .wy-alert-neutral.danger .admonition-title,.rst-content .wy-alert-neutral.error .admonition-title,.rst-content .wy-alert-neutral.hint .admonition-title,.rst-content .wy-alert-neutral.important .admonition-title,.rst-content .wy-alert-neutral.tip .admonition-title,.rst-content .wy-alert-neutral.warning .admonition-title,.rst-content .wy-alert-neutral.seealso .admonition-title,.rst-content .wy-alert-neutral.admonition-todo .admonition-title{color:#404040;background:#e1e4e5}.wy-alert.wy-alert-neutral a,.rst-content .wy-alert-neutral.note a,.rst-content .wy-alert-neutral.attention a,.rst-content .wy-alert-neutral.caution a,.rst-content .wy-alert-neutral.danger a,.rst-content .wy-alert-neutral.error a,.rst-content .wy-alert-neutral.hint a,.rst-content .wy-alert-neutral.important a,.rst-content .wy-alert-neutral.tip a,.rst-content .wy-alert-neutral.warning a,.rst-content .wy-alert-neutral.seealso a,.rst-content .wy-alert-neutral.admonition-todo a{color:#2980B9}.wy-alert p:last-child,.rst-content .note p:last-child,.rst-content .attention p:last-child,.rst-content .caution p:last-child,.rst-content .danger p:last-child,.rst-content .error p:last-child,.rst-content .hint p:last-child,.rst-content .important p:last-child,.rst-content .tip p:last-child,.rst-content .warning p:last-child,.rst-content .seealso p:last-child,.rst-content .admonition-todo p:last-child{margin-bottom:0}.wy-tray-container{position:fixed;bottom:0px;left:0;z-index:600}.wy-tray-container li{display:block;width:300px;background:transparent;color:#fff;text-align:center;box-shadow:0 5px 5px 0 rgba(0,0,0,0.1);padding:0 24px;min-width:20%;opacity:0;height:0;line-height:56px;overflow:hidden;-webkit-transition:all 0.3s ease-in;-moz-transition:all 0.3s ease-in;transition:all 0.3s ease-in}.wy-tray-container li.wy-tray-item-success{background:#27AE60}.wy-tray-container li.wy-tray-item-info{background:#2980B9}.wy-tray-container li.wy-tray-item-warning{background:#E67E22}.wy-tray-container li.wy-tray-item-danger{background:#E74C3C}.wy-tray-container li.on{opacity:1;height:56px}@media screen and (max-width: 768px){.wy-tray-container{bottom:auto;top:0;width:100%}.wy-tray-container li{width:100%}}button{font-size:100%;margin:0;vertical-align:baseline;*vertical-align:middle;cursor:pointer;line-height:normal;-webkit-appearance:button;*overflow:visible}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}button[disabled]{cursor:default}.btn{display:inline-block;border-radius:2px;line-height:normal;white-space:nowrap;text-align:center;cursor:pointer;font-size:100%;padding:6px 12px 8px 12px;color:#fff;border:1px solid rgba(0,0,0,0.1);background-color:#27AE60;text-decoration:none;font-weight:normal;font-family:"Lato","proxima-nova","Helvetica Neue",Arial,sans-serif;box-shadow:0px 1px 2px -1px rgba(255,255,255,0.5) inset,0px -2px 0px 0px rgba(0,0,0,0.1) inset;outline-none:false;vertical-align:middle;*display:inline;zoom:1;-webkit-user-drag:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-transition:all 0.1s linear;-moz-transition:all 0.1s linear;transition:all 0.1s linear}.btn-hover{background:#2e8ece;color:#fff}.btn:hover{background:#2cc36b;color:#fff}.btn:focus{background:#2cc36b;outline:0}.btn:active{box-shadow:0px -1px 0px 0px rgba(0,0,0,0.05) inset,0px 2px 0px 0px rgba(0,0,0,0.1) inset;padding:8px 12px 6px 12px}.btn:visited{color:#fff}.btn:disabled{background-image:none;filter:progid:DXImageTransform.Microsoft.gradient(enabled = false);filter:alpha(opacity=40);opacity:0.4;cursor:not-allowed;box-shadow:none}.btn-disabled{background-image:none;filter:progid:DXImageTransform.Microsoft.gradient(enabled = false);filter:alpha(opacity=40);opacity:0.4;cursor:not-allowed;box-shadow:none}.btn-disabled:hover,.btn-disabled:focus,.btn-disabled:active{background-image:none;filter:progid:DXImageTransform.Microsoft.gradient(enabled = false);filter:alpha(opacity=40);opacity:0.4;cursor:not-allowed;box-shadow:none}.btn::-moz-focus-inner{padding:0;border:0}.btn-small{font-size:80%}.btn-info{background-color:#2980B9 !important}.btn-info:hover{background-color:#2e8ece !important}.btn-neutral{background-color:#f3f6f6 !important;color:#404040 !important}.btn-neutral:hover{background-color:#e5ebeb !important;color:#404040}.btn-neutral:visited{color:#404040 !important}.btn-success{background-color:#27AE60 !important}.btn-success:hover{background-color:#295 !important}.btn-danger{background-color:#E74C3C !important}.btn-danger:hover{background-color:#ea6153 !important}.btn-warning{background-color:#E67E22 !important}.btn-warning:hover{background-color:#e98b39 !important}.btn-invert{background-color:#222}.btn-invert:hover{background-color:#2f2f2f !important}.btn-link{background-color:transparent !important;color:#2980B9;box-shadow:none;border-color:transparent !important}.btn-link:hover{background-color:transparent !important;color:#409ad5 !important;box-shadow:none}.btn-link:active{background-color:transparent !important;color:#409ad5 !important;box-shadow:none}.btn-link:visited{color:#9B59B6}.wy-btn-group .btn,.wy-control .btn{vertical-align:middle}.wy-btn-group{margin-bottom:24px;*zoom:1}.wy-btn-group:before,.wy-btn-group:after{display:table;content:""}.wy-btn-group:after{clear:both}.wy-dropdown{position:relative;display:inline-block}.wy-dropdown-active .wy-dropdown-menu{display:block}.wy-dropdown-menu{position:absolute;left:0;display:none;float:left;top:100%;min-width:100%;background:#fcfcfc;z-index:100;border:solid 1px #cfd7dd;box-shadow:0 2px 2px 0 rgba(0,0,0,0.1);padding:12px}.wy-dropdown-menu>dd>a{display:block;clear:both;color:#404040;white-space:nowrap;font-size:90%;padding:0 12px;cursor:pointer}.wy-dropdown-menu>dd>a:hover{background:#2980B9;color:#fff}.wy-dropdown-menu>dd.divider{border-top:solid 1px #cfd7dd;margin:6px 0}.wy-dropdown-menu>dd.search{padding-bottom:12px}.wy-dropdown-menu>dd.search input[type="search"]{width:100%}.wy-dropdown-menu>dd.call-to-action{background:#e3e3e3;text-transform:uppercase;font-weight:500;font-size:80%}.wy-dropdown-menu>dd.call-to-action:hover{background:#e3e3e3}.wy-dropdown-menu>dd.call-to-action .btn{color:#fff}.wy-dropdown.wy-dropdown-up .wy-dropdown-menu{bottom:100%;top:auto;left:auto;right:0}.wy-dropdown.wy-dropdown-bubble .wy-dropdown-menu{background:#fcfcfc;margin-top:2px}.wy-dropdown.wy-dropdown-bubble .wy-dropdown-menu a{padding:6px 12px}.wy-dropdown.wy-dropdown-bubble .wy-dropdown-menu a:hover{background:#2980B9;color:#fff}.wy-dropdown.wy-dropdown-left .wy-dropdown-menu{right:0;left:auto;text-align:right}.wy-dropdown-arrow:before{content:" ";border-bottom:5px solid #f5f5f5;border-left:5px solid transparent;border-right:5px solid transparent;position:absolute;display:block;top:-4px;left:50%;margin-left:-3px}.wy-dropdown-arrow.wy-dropdown-arrow-left:before{left:11px}.wy-form-stacked select{display:block}.wy-form-aligned input,.wy-form-aligned textarea,.wy-form-aligned select,.wy-form-aligned .wy-help-inline,.wy-form-aligned label{display:inline-block;*display:inline;*zoom:1;vertical-align:middle}.wy-form-aligned .wy-control-group>label{display:inline-block;vertical-align:middle;width:10em;margin:6px 12px 0 0;float:left}.wy-form-aligned .wy-control{float:left}.wy-form-aligned .wy-control label{display:block}.wy-form-aligned .wy-control select{margin-top:6px}fieldset{border:0;margin:0;padding:0}legend{display:block;width:100%;border:0;padding:0;white-space:normal;margin-bottom:24px;font-size:150%;*margin-left:-7px}label{display:block;margin:0 0 0.3125em 0;color:#333;font-size:90%}input,select,textarea{font-size:100%;margin:0;vertical-align:baseline;*vertical-align:middle}.wy-control-group{margin-bottom:24px;*zoom:1;max-width:68em;margin-left:auto;margin-right:auto;*zoom:1}.wy-control-group:before,.wy-control-group:after{display:table;content:""}.wy-control-group:after{clear:both}.wy-control-group:before,.wy-control-group:after{display:table;content:""}.wy-control-group:after{clear:both}.wy-control-group.wy-control-group-required>label:after{content:" *";color:#E74C3C}.wy-control-group .wy-form-full,.wy-control-group .wy-form-halves,.wy-control-group .wy-form-thirds{padding-bottom:12px}.wy-control-group .wy-form-full select,.wy-control-group .wy-form-halves select,.wy-control-group .wy-form-thirds select{width:100%}.wy-control-group .wy-form-full input[type="text"],.wy-control-group .wy-form-full input[type="password"],.wy-control-group .wy-form-full input[type="email"],.wy-control-group .wy-form-full input[type="url"],.wy-control-group .wy-form-full input[type="date"],.wy-control-group .wy-form-full input[type="month"],.wy-control-group .wy-form-full input[type="time"],.wy-control-group .wy-form-full input[type="datetime"],.wy-control-group .wy-form-full input[type="datetime-local"],.wy-control-group .wy-form-full input[type="week"],.wy-control-group .wy-form-full input[type="number"],.wy-control-group .wy-form-full input[type="search"],.wy-control-group .wy-form-full input[type="tel"],.wy-control-group .wy-form-full input[type="color"],.wy-control-group .wy-form-halves input[type="text"],.wy-control-group .wy-form-halves input[type="password"],.wy-control-group .wy-form-halves input[type="email"],.wy-control-group .wy-form-halves input[type="url"],.wy-control-group .wy-form-halves input[type="date"],.wy-control-group .wy-form-halves input[type="month"],.wy-control-group .wy-form-halves input[type="time"],.wy-control-group .wy-form-halves input[type="datetime"],.wy-control-group .wy-form-halves input[type="datetime-local"],.wy-control-group .wy-form-halves input[type="week"],.wy-control-group .wy-form-halves input[type="number"],.wy-control-group .wy-form-halves input[type="search"],.wy-control-group .wy-form-halves input[type="tel"],.wy-control-group .wy-form-halves input[type="color"],.wy-control-group .wy-form-thirds input[type="text"],.wy-control-group .wy-form-thirds input[type="password"],.wy-control-group .wy-form-thirds input[type="email"],.wy-control-group .wy-form-thirds input[type="url"],.wy-control-group .wy-form-thirds input[type="date"],.wy-control-group .wy-form-thirds input[type="month"],.wy-control-group .wy-form-thirds input[type="time"],.wy-control-group .wy-form-thirds input[type="datetime"],.wy-control-group .wy-form-thirds input[type="datetime-local"],.wy-control-group .wy-form-thirds input[type="week"],.wy-control-group .wy-form-thirds input[type="number"],.wy-control-group .wy-form-thirds input[type="search"],.wy-control-group .wy-form-thirds input[type="tel"],.wy-control-group .wy-form-thirds input[type="color"]{width:100%}.wy-control-group .wy-form-full{float:left;display:block;margin-right:2.35765%;width:100%;margin-right:0}.wy-control-group .wy-form-full:last-child{margin-right:0}.wy-control-group .wy-form-halves{float:left;display:block;margin-right:2.35765%;width:48.82117%}.wy-control-group .wy-form-halves:last-child{margin-right:0}.wy-control-group .wy-form-halves:nth-of-type(2n){margin-right:0}.wy-control-group .wy-form-halves:nth-of-type(2n+1){clear:left}.wy-control-group .wy-form-thirds{float:left;display:block;margin-right:2.35765%;width:31.76157%}.wy-control-group .wy-form-thirds:last-child{margin-right:0}.wy-control-group .wy-form-thirds:nth-of-type(3n){margin-right:0}.wy-control-group .wy-form-thirds:nth-of-type(3n+1){clear:left}.wy-control-group.wy-control-group-no-input .wy-control{margin:6px 0 0 0;font-size:90%}.wy-control-no-input{display:inline-block;margin:6px 0 0 0;font-size:90%}.wy-control-group.fluid-input input[type="text"],.wy-control-group.fluid-input input[type="password"],.wy-control-group.fluid-input input[type="email"],.wy-control-group.fluid-input input[type="url"],.wy-control-group.fluid-input input[type="date"],.wy-control-group.fluid-input input[type="month"],.wy-control-group.fluid-input input[type="time"],.wy-control-group.fluid-input input[type="datetime"],.wy-control-group.fluid-input input[type="datetime-local"],.wy-control-group.fluid-input input[type="week"],.wy-control-group.fluid-input input[type="number"],.wy-control-group.fluid-input input[type="search"],.wy-control-group.fluid-input input[type="tel"],.wy-control-group.fluid-input input[type="color"]{width:100%}.wy-form-message-inline{display:inline-block;padding-left:0.3em;color:#666;vertical-align:middle;font-size:90%}.wy-form-message{display:block;color:#999;font-size:70%;margin-top:0.3125em;font-style:italic}.wy-form-message p{font-size:inherit;font-style:italic;margin-bottom:6px}.wy-form-message p:last-child{margin-bottom:0}input{line-height:normal}input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer;font-family:"Lato","proxima-nova","Helvetica Neue",Arial,sans-serif;*overflow:visible}input[type="text"],input[type="password"],input[type="email"],input[type="url"],input[type="date"],input[type="month"],input[type="time"],input[type="datetime"],input[type="datetime-local"],input[type="week"],input[type="number"],input[type="search"],input[type="tel"],input[type="color"]{-webkit-appearance:none;padding:6px;display:inline-block;border:1px solid #ccc;font-size:80%;font-family:"Lato","proxima-nova","Helvetica Neue",Arial,sans-serif;box-shadow:inset 0 1px 3px #ddd;border-radius:0;-webkit-transition:border 0.3s linear;-moz-transition:border 0.3s linear;transition:border 0.3s linear}input[type="datetime-local"]{padding:0.34375em 0.625em}input[disabled]{cursor:default}input[type="checkbox"],input[type="radio"]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:0;margin-right:0.3125em;*height:13px;*width:13px}input[type="search"]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}input[type="text"]:focus,input[type="password"]:focus,input[type="email"]:focus,input[type="url"]:focus,input[type="date"]:focus,input[type="month"]:focus,input[type="time"]:focus,input[type="datetime"]:focus,input[type="datetime-local"]:focus,input[type="week"]:focus,input[type="number"]:focus,input[type="search"]:focus,input[type="tel"]:focus,input[type="color"]:focus{outline:0;outline:thin dotted \9;border-color:#333}input.no-focus:focus{border-color:#ccc !important}input[type="file"]:focus,input[type="radio"]:focus,input[type="checkbox"]:focus{outline:thin dotted #333;outline:1px auto #129FEA}input[type="text"][disabled],input[type="password"][disabled],input[type="email"][disabled],input[type="url"][disabled],input[type="date"][disabled],input[type="month"][disabled],input[type="time"][disabled],input[type="datetime"][disabled],input[type="datetime-local"][disabled],input[type="week"][disabled],input[type="number"][disabled],input[type="search"][disabled],input[type="tel"][disabled],input[type="color"][disabled]{cursor:not-allowed;background-color:#fafafa}input:focus:invalid,textarea:focus:invalid,select:focus:invalid{color:#E74C3C;border:1px solid #E74C3C}input:focus:invalid:focus,textarea:focus:invalid:focus,select:focus:invalid:focus{border-color:#E74C3C}input[type="file"]:focus:invalid:focus,input[type="radio"]:focus:invalid:focus,input[type="checkbox"]:focus:invalid:focus{outline-color:#E74C3C}input.wy-input-large{padding:12px;font-size:100%}textarea{overflow:auto;vertical-align:top;width:100%;font-family:"Lato","proxima-nova","Helvetica Neue",Arial,sans-serif}select,textarea{padding:0.5em 0.625em;display:inline-block;border:1px solid #ccc;font-size:80%;box-shadow:inset 0 1px 3px #ddd;-webkit-transition:border 0.3s linear;-moz-transition:border 0.3s linear;transition:border 0.3s linear}select{border:1px solid #ccc;background-color:#fff}select[multiple]{height:auto}select:focus,textarea:focus{outline:0}select[disabled],textarea[disabled],input[readonly],select[readonly],textarea[readonly]{cursor:not-allowed;background-color:#fafafa}input[type="radio"][disabled],input[type="checkbox"][disabled]{cursor:not-allowed}.wy-checkbox,.wy-radio{margin:6px 0;color:#404040;display:block}.wy-checkbox input,.wy-radio input{vertical-align:baseline}.wy-form-message-inline{display:inline-block;*display:inline;*zoom:1;vertical-align:middle}.wy-input-prefix,.wy-input-suffix{white-space:nowrap;padding:6px}.wy-input-prefix .wy-input-context,.wy-input-suffix .wy-input-context{line-height:27px;padding:0 8px;display:inline-block;font-size:80%;background-color:#f3f6f6;border:solid 1px #ccc;color:#999}.wy-input-suffix .wy-input-context{border-left:0}.wy-input-prefix .wy-input-context{border-right:0}.wy-switch{width:36px;height:12px;margin:12px 0;position:relative;border-radius:4px;background:#ccc;cursor:pointer;-webkit-transition:all 0.2s ease-in-out;-moz-transition:all 0.2s ease-in-out;transition:all 0.2s ease-in-out}.wy-switch:before{position:absolute;content:"";display:block;width:18px;height:18px;border-radius:4px;background:#999;left:-3px;top:-3px;-webkit-transition:all 0.2s ease-in-out;-moz-transition:all 0.2s ease-in-out;transition:all 0.2s ease-in-out}.wy-switch:after{content:"false";position:absolute;left:48px;display:block;font-size:12px;color:#ccc}.wy-switch.active{background:#1e8449}.wy-switch.active:before{left:24px;background:#27AE60}.wy-switch.active:after{content:"true"}.wy-switch.disabled,.wy-switch.active.disabled{cursor:not-allowed}.wy-control-group.wy-control-group-error .wy-form-message,.wy-control-group.wy-control-group-error>label{color:#E74C3C}.wy-control-group.wy-control-group-error input[type="text"],.wy-control-group.wy-control-group-error input[type="password"],.wy-control-group.wy-control-group-error input[type="email"],.wy-control-group.wy-control-group-error input[type="url"],.wy-control-group.wy-control-group-error input[type="date"],.wy-control-group.wy-control-group-error input[type="month"],.wy-control-group.wy-control-group-error input[type="time"],.wy-control-group.wy-control-group-error input[type="datetime"],.wy-control-group.wy-control-group-error input[type="datetime-local"],.wy-control-group.wy-control-group-error input[type="week"],.wy-control-group.wy-control-group-error input[type="number"],.wy-control-group.wy-control-group-error input[type="search"],.wy-control-group.wy-control-group-error input[type="tel"],.wy-control-group.wy-control-group-error input[type="color"]{border:solid 1px #E74C3C}.wy-control-group.wy-control-group-error textarea{border:solid 1px #E74C3C}.wy-inline-validate{white-space:nowrap}.wy-inline-validate .wy-input-context{padding:0.5em 0.625em;display:inline-block;font-size:80%}.wy-inline-validate.wy-inline-validate-success .wy-input-context{color:#27AE60}.wy-inline-validate.wy-inline-validate-danger .wy-input-context{color:#E74C3C}.wy-inline-validate.wy-inline-validate-warning .wy-input-context{color:#E67E22}.wy-inline-validate.wy-inline-validate-info .wy-input-context{color:#2980B9}.rotate-90{-webkit-transform:rotate(90deg);-moz-transform:rotate(90deg);-ms-transform:rotate(90deg);-o-transform:rotate(90deg);transform:rotate(90deg)}.rotate-180{-webkit-transform:rotate(180deg);-moz-transform:rotate(180deg);-ms-transform:rotate(180deg);-o-transform:rotate(180deg);transform:rotate(180deg)}.rotate-270{-webkit-transform:rotate(270deg);-moz-transform:rotate(270deg);-ms-transform:rotate(270deg);-o-transform:rotate(270deg);transform:rotate(270deg)}.mirror{-webkit-transform:scaleX(-1);-moz-transform:scaleX(-1);-ms-transform:scaleX(-1);-o-transform:scaleX(-1);transform:scaleX(-1)}.mirror.rotate-90{-webkit-transform:scaleX(-1) rotate(90deg);-moz-transform:scaleX(-1) rotate(90deg);-ms-transform:scaleX(-1) rotate(90deg);-o-transform:scaleX(-1) rotate(90deg);transform:scaleX(-1) rotate(90deg)}.mirror.rotate-180{-webkit-transform:scaleX(-1) rotate(180deg);-moz-transform:scaleX(-1) rotate(180deg);-ms-transform:scaleX(-1) rotate(180deg);-o-transform:scaleX(-1) rotate(180deg);transform:scaleX(-1) rotate(180deg)}.mirror.rotate-270{-webkit-transform:scaleX(-1) rotate(270deg);-moz-transform:scaleX(-1) rotate(270deg);-ms-transform:scaleX(-1) rotate(270deg);-o-transform:scaleX(-1) rotate(270deg);transform:scaleX(-1) rotate(270deg)}@media only screen and (max-width: 480px){.wy-form button[type="submit"]{margin:0.7em 0 0}.wy-form input[type="text"],.wy-form input[type="password"],.wy-form input[type="email"],.wy-form input[type="url"],.wy-form input[type="date"],.wy-form input[type="month"],.wy-form input[type="time"],.wy-form input[type="datetime"],.wy-form input[type="datetime-local"],.wy-form input[type="week"],.wy-form input[type="number"],.wy-form input[type="search"],.wy-form input[type="tel"],.wy-form input[type="color"]{margin-bottom:0.3em;display:block}.wy-form label{margin-bottom:0.3em;display:block}.wy-form input[type="password"],.wy-form input[type="email"],.wy-form input[type="url"],.wy-form input[type="date"],.wy-form input[type="month"],.wy-form input[type="time"],.wy-form input[type="datetime"],.wy-form input[type="datetime-local"],.wy-form input[type="week"],.wy-form input[type="number"],.wy-form input[type="search"],.wy-form input[type="tel"],.wy-form input[type="color"]{margin-bottom:0}.wy-form-aligned .wy-control-group label{margin-bottom:0.3em;text-align:left;display:block;width:100%}.wy-form-aligned .wy-control{margin:1.5em 0 0 0}.wy-form .wy-help-inline,.wy-form-message-inline,.wy-form-message{display:block;font-size:80%;padding:6px 0}}@media screen and (max-width: 768px){.tablet-hide{display:none}}@media screen and (max-width: 480px){.mobile-hide{display:none}}.float-left{float:left}.float-right{float:right}.full-width{width:100%}.wy-table,.rst-content table.docutils,.rst-content table.field-list{border-collapse:collapse;border-spacing:0;empty-cells:show;margin-bottom:24px}.wy-table caption,.rst-content table.docutils caption,.rst-content table.field-list caption{color:#000;font:italic 85%/1 arial,sans-serif;padding:1em 0;text-align:center}.wy-table td,.rst-content table.docutils td,.rst-content table.field-list td,.wy-table th,.rst-content table.docutils th,.rst-content table.field-list th{font-size:90%;margin:0;overflow:visible;padding:8px 16px}.wy-table td:first-child,.rst-content table.docutils td:first-child,.rst-content table.field-list td:first-child,.wy-table th:first-child,.rst-content table.docutils th:first-child,.rst-content table.field-list th:first-child{border-left-width:0}.wy-table thead,.rst-content table.docutils thead,.rst-content table.field-list thead{color:#000;text-align:left;vertical-align:bottom;white-space:nowrap}.wy-table thead th,.rst-content table.docutils thead th,.rst-content table.field-list thead th{font-weight:bold;border-bottom:solid 2px #e1e4e5}.wy-table td,.rst-content table.docutils td,.rst-content table.field-list td{background-color:transparent;vertical-align:middle}.wy-table td p,.rst-content table.docutils td p,.rst-content table.field-list td p{line-height:18px}.wy-table td p:last-child,.rst-content table.docutils td p:last-child,.rst-content table.field-list td p:last-child{margin-bottom:0}.wy-table .wy-table-cell-min,.rst-content table.docutils .wy-table-cell-min,.rst-content table.field-list .wy-table-cell-min{width:1%;padding-right:0}.wy-table .wy-table-cell-min input[type=checkbox],.rst-content table.docutils .wy-table-cell-min input[type=checkbox],.rst-content table.field-list .wy-table-cell-min input[type=checkbox],.wy-table .wy-table-cell-min input[type=checkbox],.rst-content table.docutils .wy-table-cell-min input[type=checkbox],.rst-content table.field-list .wy-table-cell-min input[type=checkbox]{margin:0}.wy-table-secondary{color:gray;font-size:90%}.wy-table-tertiary{color:gray;font-size:80%}.wy-table-odd td,.wy-table-striped tr:nth-child(2n-1) td,.rst-content table.docutils:not(.field-list) tr:nth-child(2n-1) td{background-color:#f3f6f6}.wy-table-backed{background-color:#f3f6f6}.wy-table-bordered-all,.rst-content table.docutils{border:1px solid #e1e4e5}.wy-table-bordered-all td,.rst-content table.docutils td{border-bottom:1px solid #e1e4e5;border-left:1px solid #e1e4e5}.wy-table-bordered-all tbody>tr:last-child td,.rst-content table.docutils tbody>tr:last-child td{border-bottom-width:0}.wy-table-bordered{border:1px solid #e1e4e5}.wy-table-bordered-rows td{border-bottom:1px solid #e1e4e5}.wy-table-bordered-rows tbody>tr:last-child td{border-bottom-width:0}.wy-table-horizontal tbody>tr:last-child td{border-bottom-width:0}.wy-table-horizontal td,.wy-table-horizontal th{border-width:0 0 1px 0;border-bottom:1px solid #e1e4e5}.wy-table-horizontal tbody>tr:last-child td{border-bottom-width:0}.wy-table-responsive{margin-bottom:24px;max-width:100%;overflow:auto}.wy-table-responsive table{margin-bottom:0 !important}.wy-table-responsive table td,.wy-table-responsive table th{white-space:nowrap}a{color:#2980B9;text-decoration:none;cursor:pointer}a:hover{color:#3091d1}a:visited{color:#9B59B6}html{height:100%;overflow-x:hidden}body{font-family:"Lato","proxima-nova","Helvetica Neue",Arial,sans-serif;font-weight:normal;color:#404040;min-height:100%;overflow-x:hidden;background:#edf0f2}.wy-text-left{text-align:left}.wy-text-center{text-align:center}.wy-text-right{text-align:right}.wy-text-large{font-size:120%}.wy-text-normal{font-size:100%}.wy-text-small,small{font-size:80%}.wy-text-strike{text-decoration:line-through}.wy-text-warning{color:#E67E22 !important}a.wy-text-warning:hover{color:#eb9950 !important}.wy-text-info{color:#2980B9 !important}a.wy-text-info:hover{color:#409ad5 !important}.wy-text-success{color:#27AE60 !important}a.wy-text-success:hover{color:#36d278 !important}.wy-text-danger{color:#E74C3C !important}a.wy-text-danger:hover{color:#ed7669 !important}.wy-text-neutral{color:#404040 !important}a.wy-text-neutral:hover{color:#595959 !important}h1,h2,.rst-content .toctree-wrapper p.caption,h3,h4,h5,h6,legend{margin-top:0;font-weight:700;font-family:"Roboto Slab","ff-tisa-web-pro","Georgia",Arial,sans-serif}p{line-height:24px;margin:0;font-size:16px;margin-bottom:24px}h1{font-size:175%}h2,.rst-content .toctree-wrapper p.caption{font-size:150%}h3{font-size:125%}h4{font-size:115%}h5{font-size:110%}h6{font-size:100%}hr{display:block;height:1px;border:0;border-top:1px solid #e1e4e5;margin:24px 0;padding:0}code,.rst-content tt,.rst-content code{white-space:nowrap;max-width:100%;background:#fff;border:solid 1px #e1e4e5;font-size:75%;padding:0 5px;font-family:Consolas,"Andale Mono WT","Andale Mono","Lucida Console","Lucida Sans Typewriter","DejaVu Sans Mono","Bitstream Vera Sans Mono","Liberation Mono","Nimbus Mono L",Monaco,"Courier New",Courier,monospace;color:#E74C3C;overflow-x:auto}code.code-large,.rst-content tt.code-large{font-size:90%}.wy-plain-list-disc,.rst-content .section ul,.rst-content .toctree-wrapper ul,article ul{list-style:disc;line-height:24px;margin-bottom:24px}.wy-plain-list-disc li,.rst-content .section ul li,.rst-content .toctree-wrapper ul li,article ul li{list-style:disc;margin-left:24px}.wy-plain-list-disc li p:last-child,.rst-content .section ul li p:last-child,.rst-content .toctree-wrapper ul li p:last-child,article ul li p:last-child{margin-bottom:0}.wy-plain-list-disc li ul,.rst-content .section ul li ul,.rst-content .toctree-wrapper ul li ul,article ul li ul{margin-bottom:0}.wy-plain-list-disc li li,.rst-content .section ul li li,.rst-content .toctree-wrapper ul li li,article ul li li{list-style:circle}.wy-plain-list-disc li li li,.rst-content .section ul li li li,.rst-content .toctree-wrapper ul li li li,article ul li li li{list-style:square}.wy-plain-list-disc li ol li,.rst-content .section ul li ol li,.rst-content .toctree-wrapper ul li ol li,article ul li ol li{list-style:decimal}.wy-plain-list-decimal,.rst-content .section ol,.rst-content ol.arabic,article ol{list-style:decimal;line-height:24px;margin-bottom:24px}.wy-plain-list-decimal li,.rst-content .section ol li,.rst-content ol.arabic li,article ol li{list-style:decimal;margin-left:24px}.wy-plain-list-decimal li p:last-child,.rst-content .section ol li p:last-child,.rst-content ol.arabic li p:last-child,article ol li p:last-child{margin-bottom:0}.wy-plain-list-decimal li ul,.rst-content .section ol li ul,.rst-content ol.arabic li ul,article ol li ul{margin-bottom:0}.wy-plain-list-decimal li ul li,.rst-content .section ol li ul li,.rst-content ol.arabic li ul li,article ol li ul li{list-style:disc}.codeblock-example{border:1px solid #e1e4e5;border-bottom:none;padding:24px;padding-top:48px;font-weight:500;background:#fff;position:relative}.codeblock-example:after{content:"Example";position:absolute;top:0px;left:0px;background:#9B59B6;color:#fff;padding:6px 12px}.codeblock-example.prettyprint-example-only{border:1px solid #e1e4e5;margin-bottom:24px}.codeblock,pre.literal-block,.rst-content .literal-block,.rst-content pre.literal-block,div[class^='highlight']{border:1px solid #e1e4e5;padding:0px;overflow-x:auto;background:#fff;margin:1px 0 24px 0}.codeblock div[class^='highlight'],pre.literal-block div[class^='highlight'],.rst-content .literal-block div[class^='highlight'],div[class^='highlight'] div[class^='highlight']{border:none;background:none;margin:0}div[class^='highlight'] td.code{width:100%}.linenodiv pre{border-right:solid 1px #e6e9ea;margin:0;padding:12px 12px;font-family:Consolas,"Andale Mono WT","Andale Mono","Lucida Console","Lucida Sans Typewriter","DejaVu Sans Mono","Bitstream Vera Sans Mono","Liberation Mono","Nimbus Mono L",Monaco,"Courier New",Courier,monospace;font-size:12px;line-height:1.5;color:#d9d9d9}div[class^='highlight'] pre{white-space:pre;margin:0;padding:12px 12px;font-family:Consolas,"Andale Mono WT","Andale Mono","Lucida Console","Lucida Sans Typewriter","DejaVu Sans Mono","Bitstream Vera Sans Mono","Liberation Mono","Nimbus Mono L",Monaco,"Courier New",Courier,monospace;font-size:12px;line-height:1.5;display:block;overflow:auto;color:#404040}@media print{.codeblock,pre.literal-block,.rst-content .literal-block,.rst-content pre.literal-block,div[class^='highlight'],div[class^='highlight'] pre{white-space:pre-wrap}}.hll{background-color:#ffc;margin:0 -12px;padding:0 12px;display:block}.c{color:#998;font-style:italic}.err{color:#a61717;background-color:#e3d2d2}.k{font-weight:bold}.o{font-weight:bold}.cm{color:#998;font-style:italic}.cp{color:#999;font-weight:bold}.c1{color:#998;font-style:italic}.cs{color:#999;font-weight:bold;font-style:italic}.gd{color:#000;background-color:#fdd}.gd .x{color:#000;background-color:#faa}.ge{font-style:italic}.gr{color:#a00}.gh{color:#999}.gi{color:#000;background-color:#dfd}.gi .x{color:#000;background-color:#afa}.go{color:#888}.gp{color:#555}.gs{font-weight:bold}.gu{color:purple;font-weight:bold}.gt{color:#a00}.kc{font-weight:bold}.kd{font-weight:bold}.kn{font-weight:bold}.kp{font-weight:bold}.kr{font-weight:bold}.kt{color:#458;font-weight:bold}.m{color:#099}.s{color:#d14}.n{color:#333}.na{color:teal}.nb{color:#0086b3}.nc{color:#458;font-weight:bold}.no{color:teal}.ni{color:purple}.ne{color:#900;font-weight:bold}.nf{color:#900;font-weight:bold}.nn{color:#555}.nt{color:navy}.nv{color:teal}.ow{font-weight:bold}.w{color:#bbb}.mf{color:#099}.mh{color:#099}.mi{color:#099}.mo{color:#099}.sb{color:#d14}.sc{color:#d14}.sd{color:#d14}.s2{color:#d14}.se{color:#d14}.sh{color:#d14}.si{color:#d14}.sx{color:#d14}.sr{color:#009926}.s1{color:#d14}.ss{color:#990073}.bp{color:#999}.vc{color:teal}.vg{color:teal}.vi{color:teal}.il{color:#099}.gc{color:#999;background-color:#EAF2F5}.wy-breadcrumbs li{display:inline-block}.wy-breadcrumbs li.wy-breadcrumbs-aside{float:right}.wy-breadcrumbs li a{display:inline-block;padding:5px}.wy-breadcrumbs li a:first-child{padding-left:0}.wy-breadcrumbs li code,.wy-breadcrumbs li .rst-content tt,.rst-content .wy-breadcrumbs li tt{padding:5px;border:none;background:none}.wy-breadcrumbs li code.literal,.wy-breadcrumbs li .rst-content tt.literal,.rst-content .wy-breadcrumbs li tt.literal{color:#404040}.wy-breadcrumbs-extra{margin-bottom:0;color:#b3b3b3;font-size:80%;display:inline-block}@media screen and (max-width: 480px){.wy-breadcrumbs-extra{display:none}.wy-breadcrumbs li.wy-breadcrumbs-aside{display:none}}@media print{.wy-breadcrumbs li.wy-breadcrumbs-aside{display:none}}.wy-affix{position:fixed;top:1.618em}.wy-menu a:hover{text-decoration:none}.wy-menu-horiz{*zoom:1}.wy-menu-horiz:before,.wy-menu-horiz:after{display:table;content:""}.wy-menu-horiz:after{clear:both}.wy-menu-horiz ul,.wy-menu-horiz li{display:inline-block}.wy-menu-horiz li:hover{background:rgba(255,255,255,0.1)}.wy-menu-horiz li.divide-left{border-left:solid 1px #404040}.wy-menu-horiz li.divide-right{border-right:solid 1px #404040}.wy-menu-horiz a{height:32px;display:inline-block;line-height:32px;padding:0 16px}.wy-menu-vertical{width:300px}.wy-menu-vertical header,.wy-menu-vertical p.caption{height:32px;display:inline-block;line-height:32px;padding:0 1.618em;margin-bottom:0;display:block;font-weight:bold;text-transform:uppercase;font-size:80%;color:#555;white-space:nowrap}.wy-menu-vertical ul{margin-bottom:0}.wy-menu-vertical li.divide-top{border-top:solid 1px #404040}.wy-menu-vertical li.divide-bottom{border-bottom:solid 1px #404040}.wy-menu-vertical li.current{background:#e3e3e3}.wy-menu-vertical li.current a{color:gray;border-right:solid 1px #c9c9c9;padding:0.4045em 2.427em}.wy-menu-vertical li.current a:hover{background:#d6d6d6}.wy-menu-vertical li code,.wy-menu-vertical li .rst-content tt,.rst-content .wy-menu-vertical li tt{border:none;background:inherit;color:inherit;padding-left:0;padding-right:0}.wy-menu-vertical li span.toctree-expand{display:block;float:left;margin-left:-1.2em;font-size:0.8em;line-height:1.6em;color:#4d4d4d}.wy-menu-vertical li.on a,.wy-menu-vertical li.current>a{color:#404040;padding:0.4045em 1.618em;font-weight:bold;position:relative;background:#fcfcfc;border:none;border-bottom:solid 1px #c9c9c9;border-top:solid 1px #c9c9c9;padding-left:1.618em -4px}.wy-menu-vertical li.on a:hover,.wy-menu-vertical li.current>a:hover{background:#fcfcfc}.wy-menu-vertical li.on a:hover span.toctree-expand,.wy-menu-vertical li.current>a:hover span.toctree-expand{color:gray}.wy-menu-vertical li.on a span.toctree-expand,.wy-menu-vertical li.current>a span.toctree-expand{display:block;font-size:0.8em;line-height:1.6em;color:#333}.wy-menu-vertical li.toctree-l1.current li.toctree-l2>ul,.wy-menu-vertical li.toctree-l2.current li.toctree-l3>ul{display:none}.wy-menu-vertical li.toctree-l1.current li.toctree-l2.current>ul,.wy-menu-vertical li.toctree-l2.current li.toctree-l3.current>ul{display:block}.wy-menu-vertical li.toctree-l2.current>a{background:#c9c9c9;padding:0.4045em 2.427em}.wy-menu-vertical li.toctree-l2.current li.toctree-l3>a{display:block;background:#c9c9c9;padding:0.4045em 4.045em}.wy-menu-vertical li.toctree-l2 a:hover span.toctree-expand{color:gray}.wy-menu-vertical li.toctree-l2 span.toctree-expand{color:#a3a3a3}.wy-menu-vertical li.toctree-l3{font-size:0.9em}.wy-menu-vertical li.toctree-l3.current>a{background:#bdbdbd;padding:0.4045em 4.045em}.wy-menu-vertical li.toctree-l3.current li.toctree-l4>a{display:block;background:#bdbdbd;padding:0.4045em 5.663em;border-top:none;border-bottom:none}.wy-menu-vertical li.toctree-l3 a:hover span.toctree-expand{color:gray}.wy-menu-vertical li.toctree-l3 span.toctree-expand{color:#969696}.wy-menu-vertical li.toctree-l4{font-size:0.9em}.wy-menu-vertical li.current ul{display:block}.wy-menu-vertical li ul{margin-bottom:0;display:none}.wy-menu-vertical .local-toc li ul{display:block}.wy-menu-vertical li ul li a{margin-bottom:0;color:#b3b3b3;font-weight:normal}.wy-menu-vertical a{display:inline-block;line-height:18px;padding:0.4045em 1.618em;display:block;position:relative;font-size:90%;color:#b3b3b3}.wy-menu-vertical a:hover{background-color:#4e4a4a;cursor:pointer}.wy-menu-vertical a:hover span.toctree-expand{color:#b3b3b3}.wy-menu-vertical a:active{background-color:#2980B9;cursor:pointer;color:#fff}.wy-menu-vertical a:active span.toctree-expand{color:#fff}.wy-side-nav-search{display:block;width:300px;padding:0.809em;margin-bottom:0.809em;z-index:200;background-color:#2980B9;text-align:center;padding:0.809em;display:block;color:#fcfcfc;margin-bottom:0.809em}.wy-side-nav-search input[type=text]{width:100%;border-radius:50px;padding:6px 12px;border-color:#2472a4}.wy-side-nav-search img{display:block;margin:auto auto 0.809em auto;height:45px;width:45px;background-color:#2980B9;padding:5px;border-radius:100%}.wy-side-nav-search>a,.wy-side-nav-search .wy-dropdown>a{color:#fcfcfc;font-size:100%;font-weight:bold;display:inline-block;padding:4px 6px;margin-bottom:0.809em}.wy-side-nav-search>a:hover,.wy-side-nav-search .wy-dropdown>a:hover{background:rgba(255,255,255,0.1)}.wy-side-nav-search>a img.logo,.wy-side-nav-search .wy-dropdown>a img.logo{display:block;margin:0 auto;height:auto;width:auto;border-radius:0;max-width:100%;background:transparent}.wy-side-nav-search>a.icon img.logo,.wy-side-nav-search .wy-dropdown>a.icon img.logo{margin-top:0.85em}.wy-side-nav-search>div.version{margin-top:-0.4045em;margin-bottom:0.809em;font-weight:normal;color:rgba(255,255,255,0.3)}.wy-nav .wy-menu-vertical header{color:#2980B9}.wy-nav .wy-menu-vertical a{color:#b3b3b3}.wy-nav .wy-menu-vertical a:hover{background-color:#2980B9;color:#fff}[data-menu-wrap]{-webkit-transition:all 0.2s ease-in;-moz-transition:all 0.2s ease-in;transition:all 0.2s ease-in;position:absolute;opacity:1;width:100%;opacity:0}[data-menu-wrap].move-center{left:0;right:auto;opacity:1}[data-menu-wrap].move-left{right:auto;left:-100%;opacity:0}[data-menu-wrap].move-right{right:-100%;left:auto;opacity:0}.wy-body-for-nav{background:left repeat-y #fcfcfc;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyRpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoTWFjaW50b3NoKSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDoxOERBMTRGRDBFMUUxMUUzODUwMkJCOThDMEVFNURFMCIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDoxOERBMTRGRTBFMUUxMUUzODUwMkJCOThDMEVFNURFMCI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjE4REExNEZCMEUxRTExRTM4NTAyQkI5OEMwRUU1REUwIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjE4REExNEZDMEUxRTExRTM4NTAyQkI5OEMwRUU1REUwIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+EwrlwAAAAA5JREFUeNpiMDU0BAgwAAE2AJgB9BnaAAAAAElFTkSuQmCC);background-size:300px 1px}.wy-grid-for-nav{position:absolute;width:100%;height:100%}.wy-nav-side{position:fixed;top:0;bottom:0;left:0;padding-bottom:2em;width:300px;overflow-x:hidden;overflow-y:hidden;min-height:100%;background:#343131;z-index:200}.wy-side-scroll{width:320px;position:relative;overflow-x:hidden;overflow-y:scroll;height:100%}.wy-nav-top{display:none;background:#2980B9;color:#fff;padding:0.4045em 0.809em;position:relative;line-height:50px;text-align:center;font-size:100%;*zoom:1}.wy-nav-top:before,.wy-nav-top:after{display:table;content:""}.wy-nav-top:after{clear:both}.wy-nav-top a{color:#fff;font-weight:bold}.wy-nav-top img{margin-right:12px;height:45px;width:45px;background-color:#2980B9;padding:5px;border-radius:100%}.wy-nav-top i{font-size:30px;float:left;cursor:pointer}.wy-nav-content-wrap{margin-left:300px;background:#fcfcfc;min-height:100%}.wy-nav-content{padding:1.618em 3.236em;height:100%;max-width:800px;margin:auto}.wy-body-mask{position:fixed;width:100%;height:100%;background:rgba(0,0,0,0.2);display:none;z-index:499}.wy-body-mask.on{display:block}footer{color:#999}footer p{margin-bottom:12px}footer span.commit code,footer span.commit .rst-content tt,.rst-content footer span.commit tt{padding:0px;font-family:Consolas,"Andale Mono WT","Andale Mono","Lucida Console","Lucida Sans Typewriter","DejaVu Sans Mono","Bitstream Vera Sans Mono","Liberation Mono","Nimbus Mono L",Monaco,"Courier New",Courier,monospace;font-size:1em;background:none;border:none;color:#999}.rst-footer-buttons{*zoom:1}.rst-footer-buttons:before,.rst-footer-buttons:after{display:table;content:""}.rst-footer-buttons:after{clear:both}#search-results .search li{margin-bottom:24px;border-bottom:solid 1px #e1e4e5;padding-bottom:24px}#search-results .search li:first-child{border-top:solid 1px #e1e4e5;padding-top:24px}#search-results .search li a{font-size:120%;margin-bottom:12px;display:inline-block}#search-results .context{color:gray;font-size:90%}@media screen and (max-width: 768px){.wy-body-for-nav{background:#fcfcfc}.wy-nav-top{display:block}.wy-nav-side{left:-300px}.wy-nav-side.shift{width:85%;left:0}.wy-side-scroll{width:auto}.wy-side-nav-search{width:auto}.wy-menu.wy-menu-vertical{width:auto}.wy-nav-content-wrap{margin-left:0}.wy-nav-content-wrap .wy-nav-content{padding:1.618em}.wy-nav-content-wrap.shift{position:fixed;min-width:100%;left:85%;top:0;height:100%;overflow:hidden}}@media screen and (min-width: 1400px){.wy-nav-content-wrap{background:rgba(0,0,0,0.05)}.wy-nav-content{margin:0;background:#fcfcfc}}@media print{.rst-versions,footer,.wy-nav-side{display:none}.wy-nav-content-wrap{margin-left:0}}.rst-versions{position:fixed;bottom:0;left:0;width:300px;color:#fcfcfc;background:#1f1d1d;border-top:solid 10px #343131;font-family:"Lato","proxima-nova","Helvetica Neue",Arial,sans-serif;z-index:400}.rst-versions a{color:#2980B9;text-decoration:none}.rst-versions .rst-badge-small{display:none}.rst-versions .rst-current-version{padding:12px;background-color:#272525;display:block;text-align:right;font-size:90%;cursor:pointer;color:#27AE60;*zoom:1}.rst-versions .rst-current-version:before,.rst-versions .rst-current-version:after{display:table;content:""}.rst-versions .rst-current-version:after{clear:both}.rst-versions .rst-current-version .fa,.rst-versions .rst-current-version .wy-menu-vertical li span.toctree-expand,.wy-menu-vertical li .rst-versions .rst-current-version span.toctree-expand,.rst-versions .rst-current-version .rst-content .admonition-title,.rst-content .rst-versions .rst-current-version .admonition-title,.rst-versions .rst-current-version .rst-content h1 .headerlink,.rst-content h1 .rst-versions .rst-current-version .headerlink,.rst-versions .rst-current-version .rst-content h2 .headerlink,.rst-content h2 .rst-versions .rst-current-version .headerlink,.rst-versions .rst-current-version .rst-content h3 .headerlink,.rst-content h3 .rst-versions .rst-current-version .headerlink,.rst-versions .rst-current-version .rst-content h4 .headerlink,.rst-content h4 .rst-versions .rst-current-version .headerlink,.rst-versions .rst-current-version .rst-content h5 .headerlink,.rst-content h5 .rst-versions .rst-current-version .headerlink,.rst-versions .rst-current-version .rst-content h6 .headerlink,.rst-content h6 .rst-versions .rst-current-version .headerlink,.rst-versions .rst-current-version .rst-content dl dt .headerlink,.rst-content dl dt .rst-versions .rst-current-version .headerlink,.rst-versions .rst-current-version .rst-content p.caption .headerlink,.rst-content p.caption .rst-versions .rst-current-version .headerlink,.rst-versions .rst-current-version .rst-content tt.download span:first-child,.rst-content tt.download .rst-versions .rst-current-version span:first-child,.rst-versions .rst-current-version .rst-content code.download span:first-child,.rst-content code.download .rst-versions .rst-current-version span:first-child,.rst-versions .rst-current-version .icon{color:#fcfcfc}.rst-versions .rst-current-version .fa-book,.rst-versions .rst-current-version .icon-book{float:left}.rst-versions .rst-current-version .icon-book{float:left}.rst-versions .rst-current-version.rst-out-of-date{background-color:#E74C3C;color:#fff}.rst-versions .rst-current-version.rst-active-old-version{background-color:#F1C40F;color:#000}.rst-versions.shift-up .rst-other-versions{display:block}.rst-versions .rst-other-versions{font-size:90%;padding:12px;color:gray;display:none}.rst-versions .rst-other-versions hr{display:block;height:1px;border:0;margin:20px 0;padding:0;border-top:solid 1px #413d3d}.rst-versions .rst-other-versions dd{display:inline-block;margin:0}.rst-versions .rst-other-versions dd a{display:inline-block;padding:6px;color:#fcfcfc}.rst-versions.rst-badge{width:auto;bottom:20px;right:20px;left:auto;border:none;max-width:300px}.rst-versions.rst-badge .icon-book{float:none}.rst-versions.rst-badge .fa-book,.rst-versions.rst-badge .icon-book{float:none}.rst-versions.rst-badge.shift-up .rst-current-version{text-align:right}.rst-versions.rst-badge.shift-up .rst-current-version .fa-book,.rst-versions.rst-badge.shift-up .rst-current-version .icon-book{float:left}.rst-versions.rst-badge.shift-up .rst-current-version .icon-book{float:left}.rst-versions.rst-badge .rst-current-version{width:auto;height:30px;line-height:30px;padding:0 6px;display:block;text-align:center}@media screen and (max-width: 768px){.rst-versions{width:85%;display:none}.rst-versions.shift{display:block}img{width:100%;height:auto}}.rst-content img{max-width:100%;height:auto !important}.rst-content div.figure{margin-bottom:24px}.rst-content div.figure p.caption{font-style:italic}.rst-content div.figure.align-center{text-align:center}.rst-content .section>img,.rst-content .section>a>img{margin-bottom:24px}.rst-content blockquote{margin-left:24px;line-height:24px;margin-bottom:24px}.rst-content .note .last,.rst-content .attention .last,.rst-content .caution .last,.rst-content .danger .last,.rst-content .error .last,.rst-content .hint .last,.rst-content .important .last,.rst-content .tip .last,.rst-content .warning .last,.rst-content .seealso .last,.rst-content .admonition-todo .last{margin-bottom:0}.rst-content .admonition-title:before{margin-right:4px}.rst-content .admonition table{border-color:rgba(0,0,0,0.1)}.rst-content .admonition table td,.rst-content .admonition table th{background:transparent !important;border-color:rgba(0,0,0,0.1) !important}.rst-content .section ol.loweralpha,.rst-content .section ol.loweralpha li{list-style:lower-alpha}.rst-content .section ol.upperalpha,.rst-content .section ol.upperalpha li{list-style:upper-alpha}.rst-content .section ol p,.rst-content .section ul p{margin-bottom:12px}.rst-content .line-block{margin-left:24px}.rst-content .topic-title{font-weight:bold;margin-bottom:12px}.rst-content .toc-backref{color:#404040}.rst-content .align-right{float:right;margin:0px 0px 24px 24px}.rst-content .align-left{float:left;margin:0px 24px 24px 0px}.rst-content .align-center{margin:auto;display:block}.rst-content h1 .headerlink,.rst-content h2 .headerlink,.rst-content .toctree-wrapper p.caption .headerlink,.rst-content h3 .headerlink,.rst-content h4 .headerlink,.rst-content h5 .headerlink,.rst-content h6 .headerlink,.rst-content dl dt .headerlink,.rst-content p.caption .headerlink{display:none;visibility:hidden;font-size:14px}.rst-content h1 .headerlink:after,.rst-content h2 .headerlink:after,.rst-content .toctree-wrapper p.caption .headerlink:after,.rst-content h3 .headerlink:after,.rst-content h4 .headerlink:after,.rst-content h5 .headerlink:after,.rst-content h6 .headerlink:after,.rst-content dl dt .headerlink:after,.rst-content p.caption .headerlink:after{visibility:visible;content:"";font-family:FontAwesome;display:inline-block}.rst-content h1:hover .headerlink,.rst-content h2:hover .headerlink,.rst-content .toctree-wrapper p.caption:hover .headerlink,.rst-content h3:hover .headerlink,.rst-content h4:hover .headerlink,.rst-content h5:hover .headerlink,.rst-content h6:hover .headerlink,.rst-content dl dt:hover .headerlink,.rst-content p.caption:hover .headerlink{display:inline-block}.rst-content .sidebar{float:right;width:40%;display:block;margin:0 0 24px 24px;padding:24px;background:#f3f6f6;border:solid 1px #e1e4e5}.rst-content .sidebar p,.rst-content .sidebar ul,.rst-content .sidebar dl{font-size:90%}.rst-content .sidebar .last{margin-bottom:0}.rst-content .sidebar .sidebar-title{display:block;font-family:"Roboto Slab","ff-tisa-web-pro","Georgia",Arial,sans-serif;font-weight:bold;background:#e1e4e5;padding:6px 12px;margin:-24px;margin-bottom:24px;font-size:100%}.rst-content .highlighted{background:#F1C40F;display:inline-block;font-weight:bold;padding:0 6px}.rst-content .footnote-reference,.rst-content .citation-reference{vertical-align:super;font-size:90%}.rst-content table.docutils.citation,.rst-content table.docutils.footnote{background:none;border:none;color:#999}.rst-content table.docutils.citation td,.rst-content table.docutils.citation tr,.rst-content table.docutils.footnote td,.rst-content table.docutils.footnote tr{border:none;background-color:transparent !important;white-space:normal}.rst-content table.docutils.citation td.label,.rst-content table.docutils.footnote td.label{padding-left:0;padding-right:0;vertical-align:top}.rst-content table.docutils.citation tt,.rst-content table.docutils.citation code,.rst-content table.docutils.footnote tt,.rst-content table.docutils.footnote code{color:#555}.rst-content table.field-list{border:none}.rst-content table.field-list td{border:none;padding-top:5px}.rst-content table.field-list td>strong{display:inline-block;margin-top:3px}.rst-content table.field-list .field-name{padding-right:10px;text-align:left;white-space:nowrap}.rst-content table.field-list .field-body{text-align:left;padding-left:0}.rst-content tt,.rst-content tt,.rst-content code{color:#000;padding:2px 5px}.rst-content tt big,.rst-content tt em,.rst-content tt big,.rst-content code big,.rst-content tt em,.rst-content code em{font-size:100% !important;line-height:normal}.rst-content tt.literal,.rst-content tt.literal,.rst-content code.literal{color:#E74C3C}.rst-content tt.xref,a .rst-content tt,.rst-content tt.xref,.rst-content code.xref,a .rst-content tt,a .rst-content code{font-weight:bold;color:#404040}.rst-content a tt,.rst-content a tt,.rst-content a code{color:#2980B9}.rst-content dl{margin-bottom:24px}.rst-content dl dt{font-weight:bold}.rst-content dl p,.rst-content dl table,.rst-content dl ul,.rst-content dl ol{margin-bottom:12px !important}.rst-content dl dd{margin:0 0 12px 24px}.rst-content dl:not(.docutils){margin-bottom:24px}.rst-content dl:not(.docutils) dt{display:inline-block;margin:6px 0;font-size:90%;line-height:normal;background:#e7f2fa;color:#2980B9;border-top:solid 3px #6ab0de;padding:6px;position:relative}.rst-content dl:not(.docutils) dt:before{color:#6ab0de}.rst-content dl:not(.docutils) dt .headerlink{color:#404040;font-size:100% !important}.rst-content dl:not(.docutils) dl dt{margin-bottom:6px;border:none;border-left:solid 3px #ccc;background:#f0f0f0;color:#555}.rst-content dl:not(.docutils) dl dt .headerlink{color:#404040;font-size:100% !important}.rst-content dl:not(.docutils) dt:first-child{margin-top:0}.rst-content dl:not(.docutils) tt,.rst-content dl:not(.docutils) tt,.rst-content dl:not(.docutils) code{font-weight:bold}.rst-content dl:not(.docutils) tt.descname,.rst-content dl:not(.docutils) tt.descclassname,.rst-content dl:not(.docutils) tt.descname,.rst-content dl:not(.docutils) code.descname,.rst-content dl:not(.docutils) tt.descclassname,.rst-content dl:not(.docutils) code.descclassname{background-color:transparent;border:none;padding:0;font-size:100% !important}.rst-content dl:not(.docutils) tt.descname,.rst-content dl:not(.docutils) tt.descname,.rst-content dl:not(.docutils) code.descname{font-weight:bold}.rst-content dl:not(.docutils) .optional{display:inline-block;padding:0 4px;color:#000;font-weight:bold}.rst-content dl:not(.docutils) .property{display:inline-block;padding-right:8px}.rst-content .viewcode-link,.rst-content .viewcode-back{display:inline-block;color:#27AE60;font-size:80%;padding-left:24px}.rst-content .viewcode-back{display:block;float:right}.rst-content p.rubric{margin-bottom:12px;font-weight:bold}.rst-content tt.download,.rst-content code.download{background:inherit;padding:inherit;font-family:inherit;font-size:inherit;color:inherit;border:inherit;white-space:inherit}.rst-content tt.download span:first-child:before,.rst-content code.download span:first-child:before{margin-right:4px}@media screen and (max-width: 480px){.rst-content .sidebar{width:100%}}span[id*='MathJax-Span']{color:#404040}.math{text-align:center}@font-face{font-family:"Inconsolata";font-style:normal;font-weight:400;src:local("Inconsolata"),local("Inconsolata-Regular"),url(../fonts/Inconsolata-Regular.ttf) format("truetype")}@font-face{font-family:"Inconsolata";font-style:normal;font-weight:700;src:local("Inconsolata Bold"),local("Inconsolata-Bold"),url(../fonts/Inconsolata-Bold.ttf) format("truetype")}@font-face{font-family:"Lato";font-style:normal;font-weight:400;src:local("Lato Regular"),local("Lato-Regular"),url(../fonts/Lato-Regular.ttf) format("truetype")}@font-face{font-family:"Lato";font-style:normal;font-weight:700;src:local("Lato Bold"),local("Lato-Bold"),url(../fonts/Lato-Bold.ttf) format("truetype")}@font-face{font-family:"Roboto Slab";font-style:normal;font-weight:400;src:local("Roboto Slab Regular"),local("RobotoSlab-Regular"),url(../fonts/RobotoSlab-Regular.ttf) format("truetype")}@font-face{font-family:"Roboto Slab";font-style:normal;font-weight:700;src:local("Roboto Slab Bold"),local("RobotoSlab-Bold"),url(../fonts/RobotoSlab-Bold.ttf) format("truetype")} +/*# sourceMappingURL=theme.css.map */ diff --git a/latest/_static/custom.css b/latest/_static/custom.css deleted file mode 100644 index 2a924f1d6a8b..000000000000 --- a/latest/_static/custom.css +++ /dev/null @@ -1 +0,0 @@ -/* This file intentionally left blank. */ diff --git a/latest/_static/fonts/Inconsolata-Bold.ttf b/latest/_static/fonts/Inconsolata-Bold.ttf new file mode 100644 index 000000000000..58c9fef3a01c Binary files /dev/null and b/latest/_static/fonts/Inconsolata-Bold.ttf differ diff --git a/latest/_static/fonts/Inconsolata-Regular.ttf b/latest/_static/fonts/Inconsolata-Regular.ttf new file mode 100644 index 000000000000..a87ffba6bef4 Binary files /dev/null and b/latest/_static/fonts/Inconsolata-Regular.ttf differ diff --git a/latest/_static/fonts/Lato-Bold.ttf b/latest/_static/fonts/Lato-Bold.ttf new file mode 100644 index 000000000000..74343694e2b2 Binary files /dev/null and b/latest/_static/fonts/Lato-Bold.ttf differ diff --git a/latest/_static/fonts/Lato-Regular.ttf b/latest/_static/fonts/Lato-Regular.ttf new file mode 100644 index 000000000000..04ea8efb1367 Binary files /dev/null and b/latest/_static/fonts/Lato-Regular.ttf differ diff --git a/latest/_static/fonts/RobotoSlab-Bold.ttf b/latest/_static/fonts/RobotoSlab-Bold.ttf new file mode 100644 index 000000000000..df5d1df27304 Binary files /dev/null and b/latest/_static/fonts/RobotoSlab-Bold.ttf differ diff --git a/latest/_static/fonts/RobotoSlab-Regular.ttf b/latest/_static/fonts/RobotoSlab-Regular.ttf new file mode 100644 index 000000000000..eb52a7907362 Binary files /dev/null and b/latest/_static/fonts/RobotoSlab-Regular.ttf differ diff --git a/latest/_static/fonts/fontawesome-webfont.eot b/latest/_static/fonts/fontawesome-webfont.eot new file mode 100644 index 000000000000..84677bc0c5f3 Binary files /dev/null and b/latest/_static/fonts/fontawesome-webfont.eot differ diff --git a/latest/_static/fonts/fontawesome-webfont.svg b/latest/_static/fonts/fontawesome-webfont.svg new file mode 100644 index 000000000000..d907b25ae60e --- /dev/null +++ b/latest/_static/fonts/fontawesome-webfont.svg @@ -0,0 +1,520 @@ +<?xml version="1.0" standalone="no"?> +<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" > +<svg xmlns="http://www.w3.org/2000/svg"> +<metadata></metadata> +<defs> +<font id="fontawesomeregular" horiz-adv-x="1536" > +<font-face units-per-em="1792" ascent="1536" descent="-256" /> +<missing-glyph horiz-adv-x="448" /> +<glyph unicode=" " horiz-adv-x="448" /> +<glyph unicode=" " horiz-adv-x="448" /> +<glyph unicode=" " horiz-adv-x="448" /> +<glyph unicode="¨" horiz-adv-x="1792" /> +<glyph unicode="©" horiz-adv-x="1792" /> +<glyph unicode="®" horiz-adv-x="1792" /> +<glyph unicode="´" horiz-adv-x="1792" /> +<glyph unicode="Æ" horiz-adv-x="1792" /> +<glyph unicode="Ø" horiz-adv-x="1792" /> +<glyph unicode=" " horiz-adv-x="768" /> +<glyph unicode=" " horiz-adv-x="1537" /> +<glyph unicode=" " horiz-adv-x="768" /> +<glyph unicode=" " horiz-adv-x="1537" /> +<glyph unicode=" " horiz-adv-x="512" /> +<glyph unicode=" " horiz-adv-x="384" /> +<glyph unicode=" " horiz-adv-x="256" /> +<glyph unicode=" " horiz-adv-x="256" /> +<glyph unicode=" " horiz-adv-x="192" /> +<glyph unicode=" " horiz-adv-x="307" /> +<glyph unicode=" " horiz-adv-x="85" /> +<glyph unicode=" " horiz-adv-x="307" /> +<glyph unicode=" " horiz-adv-x="384" /> +<glyph unicode="™" horiz-adv-x="1792" /> +<glyph unicode="∞" horiz-adv-x="1792" /> +<glyph unicode="≠" horiz-adv-x="1792" /> +<glyph unicode="◼" horiz-adv-x="500" d="M0 0z" /> +<glyph unicode="" horiz-adv-x="1792" d="M1699 1350q0 -35 -43 -78l-632 -632v-768h320q26 0 45 -19t19 -45t-19 -45t-45 -19h-896q-26 0 -45 19t-19 45t19 45t45 19h320v768l-632 632q-43 43 -43 78q0 23 18 36.5t38 17.5t43 4h1408q23 0 43 -4t38 -17.5t18 -36.5z" /> +<glyph unicode="" d="M1536 1312v-1120q0 -50 -34 -89t-86 -60.5t-103.5 -32t-96.5 -10.5t-96.5 10.5t-103.5 32t-86 60.5t-34 89t34 89t86 60.5t103.5 32t96.5 10.5q105 0 192 -39v537l-768 -237v-709q0 -50 -34 -89t-86 -60.5t-103.5 -32t-96.5 -10.5t-96.5 10.5t-103.5 32t-86 60.5t-34 89 t34 89t86 60.5t103.5 32t96.5 10.5q105 0 192 -39v967q0 31 19 56.5t49 35.5l832 256q12 4 28 4q40 0 68 -28t28 -68z" /> +<glyph unicode="" horiz-adv-x="1664" d="M1152 704q0 185 -131.5 316.5t-316.5 131.5t-316.5 -131.5t-131.5 -316.5t131.5 -316.5t316.5 -131.5t316.5 131.5t131.5 316.5zM1664 -128q0 -52 -38 -90t-90 -38q-54 0 -90 38l-343 342q-179 -124 -399 -124q-143 0 -273.5 55.5t-225 150t-150 225t-55.5 273.5 t55.5 273.5t150 225t225 150t273.5 55.5t273.5 -55.5t225 -150t150 -225t55.5 -273.5q0 -220 -124 -399l343 -343q37 -37 37 -90z" /> +<glyph unicode="" horiz-adv-x="1792" d="M1664 32v768q-32 -36 -69 -66q-268 -206 -426 -338q-51 -43 -83 -67t-86.5 -48.5t-102.5 -24.5h-1h-1q-48 0 -102.5 24.5t-86.5 48.5t-83 67q-158 132 -426 338q-37 30 -69 66v-768q0 -13 9.5 -22.5t22.5 -9.5h1472q13 0 22.5 9.5t9.5 22.5zM1664 1083v11v13.5t-0.5 13 t-3 12.5t-5.5 9t-9 7.5t-14 2.5h-1472q-13 0 -22.5 -9.5t-9.5 -22.5q0 -168 147 -284q193 -152 401 -317q6 -5 35 -29.5t46 -37.5t44.5 -31.5t50.5 -27.5t43 -9h1h1q20 0 43 9t50.5 27.5t44.5 31.5t46 37.5t35 29.5q208 165 401 317q54 43 100.5 115.5t46.5 131.5z M1792 1120v-1088q0 -66 -47 -113t-113 -47h-1472q-66 0 -113 47t-47 113v1088q0 66 47 113t113 47h1472q66 0 113 -47t47 -113z" /> +<glyph unicode="" horiz-adv-x="1792" d="M896 -128q-26 0 -44 18l-624 602q-10 8 -27.5 26t-55.5 65.5t-68 97.5t-53.5 121t-23.5 138q0 220 127 344t351 124q62 0 126.5 -21.5t120 -58t95.5 -68.5t76 -68q36 36 76 68t95.5 68.5t120 58t126.5 21.5q224 0 351 -124t127 -344q0 -221 -229 -450l-623 -600 q-18 -18 -44 -18z" /> +<glyph unicode="" horiz-adv-x="1664" d="M1664 889q0 -22 -26 -48l-363 -354l86 -500q1 -7 1 -20q0 -21 -10.5 -35.5t-30.5 -14.5q-19 0 -40 12l-449 236l-449 -236q-22 -12 -40 -12q-21 0 -31.5 14.5t-10.5 35.5q0 6 2 20l86 500l-364 354q-25 27 -25 48q0 37 56 46l502 73l225 455q19 41 49 41t49 -41l225 -455 l502 -73q56 -9 56 -46z" /> +<glyph unicode="" horiz-adv-x="1664" d="M1137 532l306 297l-422 62l-189 382l-189 -382l-422 -62l306 -297l-73 -421l378 199l377 -199zM1664 889q0 -22 -26 -48l-363 -354l86 -500q1 -7 1 -20q0 -50 -41 -50q-19 0 -40 12l-449 236l-449 -236q-22 -12 -40 -12q-21 0 -31.5 14.5t-10.5 35.5q0 6 2 20l86 500 l-364 354q-25 27 -25 48q0 37 56 46l502 73l225 455q19 41 49 41t49 -41l225 -455l502 -73q56 -9 56 -46z" /> +<glyph unicode="" horiz-adv-x="1408" d="M1408 131q0 -120 -73 -189.5t-194 -69.5h-874q-121 0 -194 69.5t-73 189.5q0 53 3.5 103.5t14 109t26.5 108.5t43 97.5t62 81t85.5 53.5t111.5 20q9 0 42 -21.5t74.5 -48t108 -48t133.5 -21.5t133.5 21.5t108 48t74.5 48t42 21.5q61 0 111.5 -20t85.5 -53.5t62 -81 t43 -97.5t26.5 -108.5t14 -109t3.5 -103.5zM1088 1024q0 -159 -112.5 -271.5t-271.5 -112.5t-271.5 112.5t-112.5 271.5t112.5 271.5t271.5 112.5t271.5 -112.5t112.5 -271.5z" /> +<glyph unicode="" horiz-adv-x="1920" d="M384 -64v128q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM384 320v128q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM384 704v128q0 26 -19 45t-45 19h-128 q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM1408 -64v512q0 26 -19 45t-45 19h-768q-26 0 -45 -19t-19 -45v-512q0 -26 19 -45t45 -19h768q26 0 45 19t19 45zM384 1088v128q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45 t45 -19h128q26 0 45 19t19 45zM1792 -64v128q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM1408 704v512q0 26 -19 45t-45 19h-768q-26 0 -45 -19t-19 -45v-512q0 -26 19 -45t45 -19h768q26 0 45 19t19 45zM1792 320v128 q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM1792 704v128q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM1792 1088v128q0 26 -19 45t-45 19h-128q-26 0 -45 -19 t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM1920 1248v-1344q0 -66 -47 -113t-113 -47h-1600q-66 0 -113 47t-47 113v1344q0 66 47 113t113 47h1600q66 0 113 -47t47 -113z" /> +<glyph unicode="" horiz-adv-x="1664" d="M768 512v-384q0 -52 -38 -90t-90 -38h-512q-52 0 -90 38t-38 90v384q0 52 38 90t90 38h512q52 0 90 -38t38 -90zM768 1280v-384q0 -52 -38 -90t-90 -38h-512q-52 0 -90 38t-38 90v384q0 52 38 90t90 38h512q52 0 90 -38t38 -90zM1664 512v-384q0 -52 -38 -90t-90 -38 h-512q-52 0 -90 38t-38 90v384q0 52 38 90t90 38h512q52 0 90 -38t38 -90zM1664 1280v-384q0 -52 -38 -90t-90 -38h-512q-52 0 -90 38t-38 90v384q0 52 38 90t90 38h512q52 0 90 -38t38 -90z" /> +<glyph unicode="" horiz-adv-x="1792" d="M512 288v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM512 800v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1152 288v-192q0 -40 -28 -68t-68 -28h-320 q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM512 1312v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1152 800v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28 h320q40 0 68 -28t28 -68zM1792 288v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1152 1312v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1792 800v-192 q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1792 1312v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68z" /> +<glyph unicode="" horiz-adv-x="1792" d="M512 288v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM512 800v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1792 288v-192q0 -40 -28 -68t-68 -28h-960 q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h960q40 0 68 -28t28 -68zM512 1312v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1792 800v-192q0 -40 -28 -68t-68 -28h-960q-40 0 -68 28t-28 68v192q0 40 28 68t68 28 h960q40 0 68 -28t28 -68zM1792 1312v-192q0 -40 -28 -68t-68 -28h-960q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h960q40 0 68 -28t28 -68z" /> +<glyph unicode="" horiz-adv-x="1792" d="M1671 970q0 -40 -28 -68l-724 -724l-136 -136q-28 -28 -68 -28t-68 28l-136 136l-362 362q-28 28 -28 68t28 68l136 136q28 28 68 28t68 -28l294 -295l656 657q28 28 68 28t68 -28l136 -136q28 -28 28 -68z" /> +<glyph unicode="" horiz-adv-x="1408" d="M1298 214q0 -40 -28 -68l-136 -136q-28 -28 -68 -28t-68 28l-294 294l-294 -294q-28 -28 -68 -28t-68 28l-136 136q-28 28 -28 68t28 68l294 294l-294 294q-28 28 -28 68t28 68l136 136q28 28 68 28t68 -28l294 -294l294 294q28 28 68 28t68 -28l136 -136q28 -28 28 -68 t-28 -68l-294 -294l294 -294q28 -28 28 -68z" /> +<glyph unicode="" horiz-adv-x="1664" d="M1024 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-224v-224q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v224h-224q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h224v224q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5v-224h224 q13 0 22.5 -9.5t9.5 -22.5zM1152 704q0 185 -131.5 316.5t-316.5 131.5t-316.5 -131.5t-131.5 -316.5t131.5 -316.5t316.5 -131.5t316.5 131.5t131.5 316.5zM1664 -128q0 -53 -37.5 -90.5t-90.5 -37.5q-54 0 -90 38l-343 342q-179 -124 -399 -124q-143 0 -273.5 55.5 t-225 150t-150 225t-55.5 273.5t55.5 273.5t150 225t225 150t273.5 55.5t273.5 -55.5t225 -150t150 -225t55.5 -273.5q0 -220 -124 -399l343 -343q37 -37 37 -90z" /> +<glyph unicode="" horiz-adv-x="1664" d="M1024 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-576q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h576q13 0 22.5 -9.5t9.5 -22.5zM1152 704q0 185 -131.5 316.5t-316.5 131.5t-316.5 -131.5t-131.5 -316.5t131.5 -316.5t316.5 -131.5t316.5 131.5t131.5 316.5z M1664 -128q0 -53 -37.5 -90.5t-90.5 -37.5q-54 0 -90 38l-343 342q-179 -124 -399 -124q-143 0 -273.5 55.5t-225 150t-150 225t-55.5 273.5t55.5 273.5t150 225t225 150t273.5 55.5t273.5 -55.5t225 -150t150 -225t55.5 -273.5q0 -220 -124 -399l343 -343q37 -37 37 -90z " /> +<glyph unicode="" d="M1536 640q0 -156 -61 -298t-164 -245t-245 -164t-298 -61t-298 61t-245 164t-164 245t-61 298q0 182 80.5 343t226.5 270q43 32 95.5 25t83.5 -50q32 -42 24.5 -94.5t-49.5 -84.5q-98 -74 -151.5 -181t-53.5 -228q0 -104 40.5 -198.5t109.5 -163.5t163.5 -109.5 t198.5 -40.5t198.5 40.5t163.5 109.5t109.5 163.5t40.5 198.5q0 121 -53.5 228t-151.5 181q-42 32 -49.5 84.5t24.5 94.5q31 43 84 50t95 -25q146 -109 226.5 -270t80.5 -343zM896 1408v-640q0 -52 -38 -90t-90 -38t-90 38t-38 90v640q0 52 38 90t90 38t90 -38t38 -90z" /> +<glyph unicode="" horiz-adv-x="1792" d="M256 96v-192q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM640 224v-320q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v320q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM1024 480v-576q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23 v576q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM1408 864v-960q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v960q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM1792 1376v-1472q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v1472q0 14 9 23t23 9h192q14 0 23 -9t9 -23z" /> +<glyph unicode="" d="M1024 640q0 106 -75 181t-181 75t-181 -75t-75 -181t75 -181t181 -75t181 75t75 181zM1536 749v-222q0 -12 -8 -23t-20 -13l-185 -28q-19 -54 -39 -91q35 -50 107 -138q10 -12 10 -25t-9 -23q-27 -37 -99 -108t-94 -71q-12 0 -26 9l-138 108q-44 -23 -91 -38 q-16 -136 -29 -186q-7 -28 -36 -28h-222q-14 0 -24.5 8.5t-11.5 21.5l-28 184q-49 16 -90 37l-141 -107q-10 -9 -25 -9q-14 0 -25 11q-126 114 -165 168q-7 10 -7 23q0 12 8 23q15 21 51 66.5t54 70.5q-27 50 -41 99l-183 27q-13 2 -21 12.5t-8 23.5v222q0 12 8 23t19 13 l186 28q14 46 39 92q-40 57 -107 138q-10 12 -10 24q0 10 9 23q26 36 98.5 107.5t94.5 71.5q13 0 26 -10l138 -107q44 23 91 38q16 136 29 186q7 28 36 28h222q14 0 24.5 -8.5t11.5 -21.5l28 -184q49 -16 90 -37l142 107q9 9 24 9q13 0 25 -10q129 -119 165 -170q7 -8 7 -22 q0 -12 -8 -23q-15 -21 -51 -66.5t-54 -70.5q26 -50 41 -98l183 -28q13 -2 21 -12.5t8 -23.5z" /> +<glyph unicode="" horiz-adv-x="1408" d="M512 800v-576q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v576q0 14 9 23t23 9h64q14 0 23 -9t9 -23zM768 800v-576q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v576q0 14 9 23t23 9h64q14 0 23 -9t9 -23zM1024 800v-576q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v576 q0 14 9 23t23 9h64q14 0 23 -9t9 -23zM1152 76v948h-896v-948q0 -22 7 -40.5t14.5 -27t10.5 -8.5h832q3 0 10.5 8.5t14.5 27t7 40.5zM480 1152h448l-48 117q-7 9 -17 11h-317q-10 -2 -17 -11zM1408 1120v-64q0 -14 -9 -23t-23 -9h-96v-948q0 -83 -47 -143.5t-113 -60.5h-832 q-66 0 -113 58.5t-47 141.5v952h-96q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h309l70 167q15 37 54 63t79 26h320q40 0 79 -26t54 -63l70 -167h309q14 0 23 -9t9 -23z" /> +<glyph unicode="" horiz-adv-x="1664" d="M1408 544v-480q0 -26 -19 -45t-45 -19h-384v384h-256v-384h-384q-26 0 -45 19t-19 45v480q0 1 0.5 3t0.5 3l575 474l575 -474q1 -2 1 -6zM1631 613l-62 -74q-8 -9 -21 -11h-3q-13 0 -21 7l-692 577l-692 -577q-12 -8 -24 -7q-13 2 -21 11l-62 74q-8 10 -7 23.5t11 21.5 l719 599q32 26 76 26t76 -26l244 -204v195q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-408l219 -182q10 -8 11 -21.5t-7 -23.5z" /> +<glyph unicode="" d="M1468 1156q28 -28 48 -76t20 -88v-1152q0 -40 -28 -68t-68 -28h-1344q-40 0 -68 28t-28 68v1600q0 40 28 68t68 28h896q40 0 88 -20t76 -48zM1024 1400v-376h376q-10 29 -22 41l-313 313q-12 12 -41 22zM1408 -128v1024h-416q-40 0 -68 28t-28 68v416h-768v-1536h1280z " /> +<glyph unicode="" d="M896 992v-448q0 -14 -9 -23t-23 -9h-320q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h224v352q0 14 9 23t23 9h64q14 0 23 -9t9 -23zM1312 640q0 148 -73 273t-198 198t-273 73t-273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73t273 73t198 198t73 273zM1536 640 q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" /> +<glyph unicode="" horiz-adv-x="1920" d="M1111 540v4l-24 320q-1 13 -11 22.5t-23 9.5h-186q-13 0 -23 -9.5t-11 -22.5l-24 -320v-4q-1 -12 8 -20t21 -8h244q12 0 21 8t8 20zM1870 73q0 -73 -46 -73h-704q13 0 22 9.5t8 22.5l-20 256q-1 13 -11 22.5t-23 9.5h-272q-13 0 -23 -9.5t-11 -22.5l-20 -256 q-1 -13 8 -22.5t22 -9.5h-704q-46 0 -46 73q0 54 26 116l417 1044q8 19 26 33t38 14h339q-13 0 -23 -9.5t-11 -22.5l-15 -192q-1 -14 8 -23t22 -9h166q13 0 22 9t8 23l-15 192q-1 13 -11 22.5t-23 9.5h339q20 0 38 -14t26 -33l417 -1044q26 -62 26 -116z" /> +<glyph unicode="" horiz-adv-x="1664" d="M1280 192q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1536 192q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1664 416v-320q0 -40 -28 -68t-68 -28h-1472q-40 0 -68 28t-28 68v320q0 40 28 68t68 28h465l135 -136 q58 -56 136 -56t136 56l136 136h464q40 0 68 -28t28 -68zM1339 985q17 -41 -14 -70l-448 -448q-18 -19 -45 -19t-45 19l-448 448q-31 29 -14 70q17 39 59 39h256v448q0 26 19 45t45 19h256q26 0 45 -19t19 -45v-448h256q42 0 59 -39z" /> +<glyph unicode="" d="M1120 608q0 -12 -10 -24l-319 -319q-11 -9 -23 -9t-23 9l-320 320q-15 16 -7 35q8 20 30 20h192v352q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-352h192q14 0 23 -9t9 -23zM768 1184q-148 0 -273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73t273 73t198 198t73 273 t-73 273t-198 198t-273 73zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" /> +<glyph unicode="" d="M1118 660q-8 -20 -30 -20h-192v-352q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v352h-192q-14 0 -23 9t-9 23q0 12 10 24l319 319q11 9 23 9t23 -9l320 -320q15 -16 7 -35zM768 1184q-148 0 -273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73t273 73t198 198 t73 273t-73 273t-198 198t-273 73zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" /> +<glyph unicode="" d="M1023 576h316q-1 3 -2.5 8t-2.5 8l-212 496h-708l-212 -496q-1 -2 -2.5 -8t-2.5 -8h316l95 -192h320zM1536 546v-482q0 -26 -19 -45t-45 -19h-1408q-26 0 -45 19t-19 45v482q0 62 25 123l238 552q10 25 36.5 42t52.5 17h832q26 0 52.5 -17t36.5 -42l238 -552 q25 -61 25 -123z" /> +<glyph unicode="" d="M1184 640q0 -37 -32 -55l-544 -320q-15 -9 -32 -9q-16 0 -32 8q-32 19 -32 56v640q0 37 32 56q33 18 64 -1l544 -320q32 -18 32 -55zM1312 640q0 148 -73 273t-198 198t-273 73t-273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73t273 73t198 198t73 273zM1536 640 q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" /> +<glyph unicode="" d="M1536 1280v-448q0 -26 -19 -45t-45 -19h-448q-42 0 -59 40q-17 39 14 69l138 138q-148 137 -349 137q-104 0 -198.5 -40.5t-163.5 -109.5t-109.5 -163.5t-40.5 -198.5t40.5 -198.5t109.5 -163.5t163.5 -109.5t198.5 -40.5q119 0 225 52t179 147q7 10 23 12q14 0 25 -9 l137 -138q9 -8 9.5 -20.5t-7.5 -22.5q-109 -132 -264 -204.5t-327 -72.5q-156 0 -298 61t-245 164t-164 245t-61 298t61 298t164 245t245 164t298 61q147 0 284.5 -55.5t244.5 -156.5l130 129q29 31 70 14q39 -17 39 -59z" /> +<glyph unicode="" d="M1511 480q0 -5 -1 -7q-64 -268 -268 -434.5t-478 -166.5q-146 0 -282.5 55t-243.5 157l-129 -129q-19 -19 -45 -19t-45 19t-19 45v448q0 26 19 45t45 19h448q26 0 45 -19t19 -45t-19 -45l-137 -137q71 -66 161 -102t187 -36q134 0 250 65t186 179q11 17 53 117 q8 23 30 23h192q13 0 22.5 -9.5t9.5 -22.5zM1536 1280v-448q0 -26 -19 -45t-45 -19h-448q-26 0 -45 19t-19 45t19 45l138 138q-148 137 -349 137q-134 0 -250 -65t-186 -179q-11 -17 -53 -117q-8 -23 -30 -23h-199q-13 0 -22.5 9.5t-9.5 22.5v7q65 268 270 434.5t480 166.5 q146 0 284 -55.5t245 -156.5l130 129q19 19 45 19t45 -19t19 -45z" /> +<glyph unicode="" horiz-adv-x="1792" d="M384 352v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM384 608v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M384 864v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM1536 352v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-960q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h960q13 0 22.5 -9.5t9.5 -22.5z M1536 608v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-960q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h960q13 0 22.5 -9.5t9.5 -22.5zM1536 864v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-960q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h960q13 0 22.5 -9.5 t9.5 -22.5zM1664 160v832q0 13 -9.5 22.5t-22.5 9.5h-1472q-13 0 -22.5 -9.5t-9.5 -22.5v-832q0 -13 9.5 -22.5t22.5 -9.5h1472q13 0 22.5 9.5t9.5 22.5zM1792 1248v-1088q0 -66 -47 -113t-113 -47h-1472q-66 0 -113 47t-47 113v1088q0 66 47 113t113 47h1472q66 0 113 -47 t47 -113z" /> +<glyph unicode="" horiz-adv-x="1152" d="M320 768h512v192q0 106 -75 181t-181 75t-181 -75t-75 -181v-192zM1152 672v-576q0 -40 -28 -68t-68 -28h-960q-40 0 -68 28t-28 68v576q0 40 28 68t68 28h32v192q0 184 132 316t316 132t316 -132t132 -316v-192h32q40 0 68 -28t28 -68z" /> +<glyph unicode="" horiz-adv-x="1792" d="M320 1280q0 -72 -64 -110v-1266q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v1266q-64 38 -64 110q0 53 37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1792 1216v-763q0 -25 -12.5 -38.5t-39.5 -27.5q-215 -116 -369 -116q-61 0 -123.5 22t-108.5 48 t-115.5 48t-142.5 22q-192 0 -464 -146q-17 -9 -33 -9q-26 0 -45 19t-19 45v742q0 32 31 55q21 14 79 43q236 120 421 120q107 0 200 -29t219 -88q38 -19 88 -19q54 0 117.5 21t110 47t88 47t54.5 21q26 0 45 -19t19 -45z" /> +<glyph unicode="" horiz-adv-x="1664" d="M1664 650q0 -166 -60 -314l-20 -49l-185 -33q-22 -83 -90.5 -136.5t-156.5 -53.5v-32q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v576q0 14 9 23t23 9h64q14 0 23 -9t9 -23v-32q71 0 130 -35.5t93 -95.5l68 12q29 95 29 193q0 148 -88 279t-236.5 209t-315.5 78 t-315.5 -78t-236.5 -209t-88 -279q0 -98 29 -193l68 -12q34 60 93 95.5t130 35.5v32q0 14 9 23t23 9h64q14 0 23 -9t9 -23v-576q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v32q-88 0 -156.5 53.5t-90.5 136.5l-185 33l-20 49q-60 148 -60 314q0 151 67 291t179 242.5 t266 163.5t320 61t320 -61t266 -163.5t179 -242.5t67 -291z" /> +<glyph unicode="" horiz-adv-x="768" d="M768 1184v-1088q0 -26 -19 -45t-45 -19t-45 19l-333 333h-262q-26 0 -45 19t-19 45v384q0 26 19 45t45 19h262l333 333q19 19 45 19t45 -19t19 -45z" /> +<glyph unicode="" horiz-adv-x="1152" d="M768 1184v-1088q0 -26 -19 -45t-45 -19t-45 19l-333 333h-262q-26 0 -45 19t-19 45v384q0 26 19 45t45 19h262l333 333q19 19 45 19t45 -19t19 -45zM1152 640q0 -76 -42.5 -141.5t-112.5 -93.5q-10 -5 -25 -5q-26 0 -45 18.5t-19 45.5q0 21 12 35.5t29 25t34 23t29 35.5 t12 57t-12 57t-29 35.5t-34 23t-29 25t-12 35.5q0 27 19 45.5t45 18.5q15 0 25 -5q70 -27 112.5 -93t42.5 -142z" /> +<glyph unicode="" horiz-adv-x="1664" d="M768 1184v-1088q0 -26 -19 -45t-45 -19t-45 19l-333 333h-262q-26 0 -45 19t-19 45v384q0 26 19 45t45 19h262l333 333q19 19 45 19t45 -19t19 -45zM1152 640q0 -76 -42.5 -141.5t-112.5 -93.5q-10 -5 -25 -5q-26 0 -45 18.5t-19 45.5q0 21 12 35.5t29 25t34 23t29 35.5 t12 57t-12 57t-29 35.5t-34 23t-29 25t-12 35.5q0 27 19 45.5t45 18.5q15 0 25 -5q70 -27 112.5 -93t42.5 -142zM1408 640q0 -153 -85 -282.5t-225 -188.5q-13 -5 -25 -5q-27 0 -46 19t-19 45q0 39 39 59q56 29 76 44q74 54 115.5 135.5t41.5 173.5t-41.5 173.5 t-115.5 135.5q-20 15 -76 44q-39 20 -39 59q0 26 19 45t45 19q13 0 26 -5q140 -59 225 -188.5t85 -282.5zM1664 640q0 -230 -127 -422.5t-338 -283.5q-13 -5 -26 -5q-26 0 -45 19t-19 45q0 36 39 59q7 4 22.5 10.5t22.5 10.5q46 25 82 51q123 91 192 227t69 289t-69 289 t-192 227q-36 26 -82 51q-7 4 -22.5 10.5t-22.5 10.5q-39 23 -39 59q0 26 19 45t45 19q13 0 26 -5q211 -91 338 -283.5t127 -422.5z" /> +<glyph unicode="" horiz-adv-x="1408" d="M384 384v-128h-128v128h128zM384 1152v-128h-128v128h128zM1152 1152v-128h-128v128h128zM128 129h384v383h-384v-383zM128 896h384v384h-384v-384zM896 896h384v384h-384v-384zM640 640v-640h-640v640h640zM1152 128v-128h-128v128h128zM1408 128v-128h-128v128h128z M1408 640v-384h-384v128h-128v-384h-128v640h384v-128h128v128h128zM640 1408v-640h-640v640h640zM1408 1408v-640h-640v640h640z" /> +<glyph unicode="" horiz-adv-x="1792" d="M63 0h-63v1408h63v-1408zM126 1h-32v1407h32v-1407zM220 1h-31v1407h31v-1407zM377 1h-31v1407h31v-1407zM534 1h-62v1407h62v-1407zM660 1h-31v1407h31v-1407zM723 1h-31v1407h31v-1407zM786 1h-31v1407h31v-1407zM943 1h-63v1407h63v-1407zM1100 1h-63v1407h63v-1407z M1226 1h-63v1407h63v-1407zM1352 1h-63v1407h63v-1407zM1446 1h-63v1407h63v-1407zM1635 1h-94v1407h94v-1407zM1698 1h-32v1407h32v-1407zM1792 0h-63v1408h63v-1408z" /> +<glyph unicode="" d="M448 1088q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1515 512q0 -53 -37 -90l-491 -492q-39 -37 -91 -37q-53 0 -90 37l-715 716q-38 37 -64.5 101t-26.5 117v416q0 52 38 90t90 38h416q53 0 117 -26.5t102 -64.5 l715 -714q37 -39 37 -91z" /> +<glyph unicode="" horiz-adv-x="1920" d="M448 1088q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1515 512q0 -53 -37 -90l-491 -492q-39 -37 -91 -37q-53 0 -90 37l-715 716q-38 37 -64.5 101t-26.5 117v416q0 52 38 90t90 38h416q53 0 117 -26.5t102 -64.5 l715 -714q37 -39 37 -91zM1899 512q0 -53 -37 -90l-491 -492q-39 -37 -91 -37q-36 0 -59 14t-53 45l470 470q37 37 37 90q0 52 -37 91l-715 714q-38 38 -102 64.5t-117 26.5h224q53 0 117 -26.5t102 -64.5l715 -714q37 -39 37 -91z" /> +<glyph unicode="" horiz-adv-x="1664" d="M1639 1058q40 -57 18 -129l-275 -906q-19 -64 -76.5 -107.5t-122.5 -43.5h-923q-77 0 -148.5 53.5t-99.5 131.5q-24 67 -2 127q0 4 3 27t4 37q1 8 -3 21.5t-3 19.5q2 11 8 21t16.5 23.5t16.5 23.5q23 38 45 91.5t30 91.5q3 10 0.5 30t-0.5 28q3 11 17 28t17 23 q21 36 42 92t25 90q1 9 -2.5 32t0.5 28q4 13 22 30.5t22 22.5q19 26 42.5 84.5t27.5 96.5q1 8 -3 25.5t-2 26.5q2 8 9 18t18 23t17 21q8 12 16.5 30.5t15 35t16 36t19.5 32t26.5 23.5t36 11.5t47.5 -5.5l-1 -3q38 9 51 9h761q74 0 114 -56t18 -130l-274 -906 q-36 -119 -71.5 -153.5t-128.5 -34.5h-869q-27 0 -38 -15q-11 -16 -1 -43q24 -70 144 -70h923q29 0 56 15.5t35 41.5l300 987q7 22 5 57q38 -15 59 -43zM575 1056q-4 -13 2 -22.5t20 -9.5h608q13 0 25.5 9.5t16.5 22.5l21 64q4 13 -2 22.5t-20 9.5h-608q-13 0 -25.5 -9.5 t-16.5 -22.5zM492 800q-4 -13 2 -22.5t20 -9.5h608q13 0 25.5 9.5t16.5 22.5l21 64q4 13 -2 22.5t-20 9.5h-608q-13 0 -25.5 -9.5t-16.5 -22.5z" /> +<glyph unicode="" horiz-adv-x="1280" d="M1164 1408q23 0 44 -9q33 -13 52.5 -41t19.5 -62v-1289q0 -34 -19.5 -62t-52.5 -41q-19 -8 -44 -8q-48 0 -83 32l-441 424l-441 -424q-36 -33 -83 -33q-23 0 -44 9q-33 13 -52.5 41t-19.5 62v1289q0 34 19.5 62t52.5 41q21 9 44 9h1048z" /> +<glyph unicode="" horiz-adv-x="1664" d="M384 0h896v256h-896v-256zM384 640h896v384h-160q-40 0 -68 28t-28 68v160h-640v-640zM1536 576q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1664 576v-416q0 -13 -9.5 -22.5t-22.5 -9.5h-224v-160q0 -40 -28 -68t-68 -28h-960q-40 0 -68 28t-28 68 v160h-224q-13 0 -22.5 9.5t-9.5 22.5v416q0 79 56.5 135.5t135.5 56.5h64v544q0 40 28 68t68 28h672q40 0 88 -20t76 -48l152 -152q28 -28 48 -76t20 -88v-256h64q79 0 135.5 -56.5t56.5 -135.5z" /> +<glyph unicode="" horiz-adv-x="1920" d="M960 864q119 0 203.5 -84.5t84.5 -203.5t-84.5 -203.5t-203.5 -84.5t-203.5 84.5t-84.5 203.5t84.5 203.5t203.5 84.5zM1664 1280q106 0 181 -75t75 -181v-896q0 -106 -75 -181t-181 -75h-1408q-106 0 -181 75t-75 181v896q0 106 75 181t181 75h224l51 136 q19 49 69.5 84.5t103.5 35.5h512q53 0 103.5 -35.5t69.5 -84.5l51 -136h224zM960 128q185 0 316.5 131.5t131.5 316.5t-131.5 316.5t-316.5 131.5t-316.5 -131.5t-131.5 -316.5t131.5 -316.5t316.5 -131.5z" /> +<glyph unicode="" horiz-adv-x="1664" d="M725 977l-170 -450q33 0 136.5 -2t160.5 -2q19 0 57 2q-87 253 -184 452zM0 -128l2 79q23 7 56 12.5t57 10.5t49.5 14.5t44.5 29t31 50.5l237 616l280 724h75h53q8 -14 11 -21l205 -480q33 -78 106 -257.5t114 -274.5q15 -34 58 -144.5t72 -168.5q20 -45 35 -57 q19 -15 88 -29.5t84 -20.5q6 -38 6 -57q0 -4 -0.5 -13t-0.5 -13q-63 0 -190 8t-191 8q-76 0 -215 -7t-178 -8q0 43 4 78l131 28q1 0 12.5 2.5t15.5 3.5t14.5 4.5t15 6.5t11 8t9 11t2.5 14q0 16 -31 96.5t-72 177.5t-42 100l-450 2q-26 -58 -76.5 -195.5t-50.5 -162.5 q0 -22 14 -37.5t43.5 -24.5t48.5 -13.5t57 -8.5t41 -4q1 -19 1 -58q0 -9 -2 -27q-58 0 -174.5 10t-174.5 10q-8 0 -26.5 -4t-21.5 -4q-80 -14 -188 -14z" /> +<glyph unicode="" horiz-adv-x="1408" d="M555 15q74 -32 140 -32q376 0 376 335q0 114 -41 180q-27 44 -61.5 74t-67.5 46.5t-80.5 25t-84 10.5t-94.5 2q-73 0 -101 -10q0 -53 -0.5 -159t-0.5 -158q0 -8 -1 -67.5t-0.5 -96.5t4.5 -83.5t12 -66.5zM541 761q42 -7 109 -7q82 0 143 13t110 44.5t74.5 89.5t25.5 142 q0 70 -29 122.5t-79 82t-108 43.5t-124 14q-50 0 -130 -13q0 -50 4 -151t4 -152q0 -27 -0.5 -80t-0.5 -79q0 -46 1 -69zM0 -128l2 94q15 4 85 16t106 27q7 12 12.5 27t8.5 33.5t5.5 32.5t3 37.5t0.5 34v35.5v30q0 982 -22 1025q-4 8 -22 14.5t-44.5 11t-49.5 7t-48.5 4.5 t-30.5 3l-4 83q98 2 340 11.5t373 9.5q23 0 68.5 -0.5t67.5 -0.5q70 0 136.5 -13t128.5 -42t108 -71t74 -104.5t28 -137.5q0 -52 -16.5 -95.5t-39 -72t-64.5 -57.5t-73 -45t-84 -40q154 -35 256.5 -134t102.5 -248q0 -100 -35 -179.5t-93.5 -130.5t-138 -85.5t-163.5 -48.5 t-176 -14q-44 0 -132 3t-132 3q-106 0 -307 -11t-231 -12z" /> +<glyph unicode="" horiz-adv-x="1024" d="M0 -126l17 85q6 2 81.5 21.5t111.5 37.5q28 35 41 101q1 7 62 289t114 543.5t52 296.5v25q-24 13 -54.5 18.5t-69.5 8t-58 5.5l19 103q33 -2 120 -6.5t149.5 -7t120.5 -2.5q48 0 98.5 2.5t121 7t98.5 6.5q-5 -39 -19 -89q-30 -10 -101.5 -28.5t-108.5 -33.5 q-8 -19 -14 -42.5t-9 -40t-7.5 -45.5t-6.5 -42q-27 -148 -87.5 -419.5t-77.5 -355.5q-2 -9 -13 -58t-20 -90t-16 -83.5t-6 -57.5l1 -18q17 -4 185 -31q-3 -44 -16 -99q-11 0 -32.5 -1.5t-32.5 -1.5q-29 0 -87 10t-86 10q-138 2 -206 2q-51 0 -143 -9t-121 -11z" /> +<glyph unicode="" horiz-adv-x="1792" d="M1744 128q33 0 42 -18.5t-11 -44.5l-126 -162q-20 -26 -49 -26t-49 26l-126 162q-20 26 -11 44.5t42 18.5h80v1024h-80q-33 0 -42 18.5t11 44.5l126 162q20 26 49 26t49 -26l126 -162q20 -26 11 -44.5t-42 -18.5h-80v-1024h80zM81 1407l54 -27q12 -5 211 -5q44 0 132 2 t132 2q36 0 107.5 -0.5t107.5 -0.5h293q6 0 21 -0.5t20.5 0t16 3t17.5 9t15 17.5l42 1q4 0 14 -0.5t14 -0.5q2 -112 2 -336q0 -80 -5 -109q-39 -14 -68 -18q-25 44 -54 128q-3 9 -11 48t-14.5 73.5t-7.5 35.5q-6 8 -12 12.5t-15.5 6t-13 2.5t-18 0.5t-16.5 -0.5 q-17 0 -66.5 0.5t-74.5 0.5t-64 -2t-71 -6q-9 -81 -8 -136q0 -94 2 -388t2 -455q0 -16 -2.5 -71.5t0 -91.5t12.5 -69q40 -21 124 -42.5t120 -37.5q5 -40 5 -50q0 -14 -3 -29l-34 -1q-76 -2 -218 8t-207 10q-50 0 -151 -9t-152 -9q-3 51 -3 52v9q17 27 61.5 43t98.5 29t78 27 q19 42 19 383q0 101 -3 303t-3 303v117q0 2 0.5 15.5t0.5 25t-1 25.5t-3 24t-5 14q-11 12 -162 12q-33 0 -93 -12t-80 -26q-19 -13 -34 -72.5t-31.5 -111t-42.5 -53.5q-42 26 -56 44v383z" /> +<glyph unicode="" d="M81 1407l54 -27q12 -5 211 -5q44 0 132 2t132 2q70 0 246.5 1t304.5 0.5t247 -4.5q33 -1 56 31l42 1q4 0 14 -0.5t14 -0.5q2 -112 2 -336q0 -80 -5 -109q-39 -14 -68 -18q-25 44 -54 128q-3 9 -11 47.5t-15 73.5t-7 36q-10 13 -27 19q-5 2 -66 2q-30 0 -93 1t-103 1 t-94 -2t-96 -7q-9 -81 -8 -136l1 -152v52q0 -55 1 -154t1.5 -180t0.5 -153q0 -16 -2.5 -71.5t0 -91.5t12.5 -69q40 -21 124 -42.5t120 -37.5q5 -40 5 -50q0 -14 -3 -29l-34 -1q-76 -2 -218 8t-207 10q-50 0 -151 -9t-152 -9q-3 51 -3 52v9q17 27 61.5 43t98.5 29t78 27 q7 16 11.5 74t6 145.5t1.5 155t-0.5 153.5t-0.5 89q0 7 -2.5 21.5t-2.5 22.5q0 7 0.5 44t1 73t0 76.5t-3 67.5t-6.5 32q-11 12 -162 12q-41 0 -163 -13.5t-138 -24.5q-19 -12 -34 -71.5t-31.5 -111.5t-42.5 -54q-42 26 -56 44v383zM1310 125q12 0 42 -19.5t57.5 -41.5 t59.5 -49t36 -30q26 -21 26 -49t-26 -49q-4 -3 -36 -30t-59.5 -49t-57.5 -41.5t-42 -19.5q-13 0 -20.5 10.5t-10 28.5t-2.5 33.5t1.5 33t1.5 19.5h-1024q0 -2 1.5 -19.5t1.5 -33t-2.5 -33.5t-10 -28.5t-20.5 -10.5q-12 0 -42 19.5t-57.5 41.5t-59.5 49t-36 30q-26 21 -26 49 t26 49q4 3 36 30t59.5 49t57.5 41.5t42 19.5q13 0 20.5 -10.5t10 -28.5t2.5 -33.5t-1.5 -33t-1.5 -19.5h1024q0 2 -1.5 19.5t-1.5 33t2.5 33.5t10 28.5t20.5 10.5z" /> +<glyph unicode="" horiz-adv-x="1792" d="M1792 192v-128q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1408 576v-128q0 -26 -19 -45t-45 -19h-1280q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1280q26 0 45 -19t19 -45zM1664 960v-128q0 -26 -19 -45 t-45 -19h-1536q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1536q26 0 45 -19t19 -45zM1280 1344v-128q0 -26 -19 -45t-45 -19h-1152q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1152q26 0 45 -19t19 -45z" /> +<glyph unicode="" horiz-adv-x="1792" d="M1792 192v-128q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1408 576v-128q0 -26 -19 -45t-45 -19h-896q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h896q26 0 45 -19t19 -45zM1664 960v-128q0 -26 -19 -45t-45 -19 h-1408q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1408q26 0 45 -19t19 -45zM1280 1344v-128q0 -26 -19 -45t-45 -19h-640q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h640q26 0 45 -19t19 -45z" /> +<glyph unicode="" horiz-adv-x="1792" d="M1792 192v-128q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1792 576v-128q0 -26 -19 -45t-45 -19h-1280q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1280q26 0 45 -19t19 -45zM1792 960v-128q0 -26 -19 -45 t-45 -19h-1536q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1536q26 0 45 -19t19 -45zM1792 1344v-128q0 -26 -19 -45t-45 -19h-1152q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1152q26 0 45 -19t19 -45z" /> +<glyph unicode="" horiz-adv-x="1792" d="M1792 192v-128q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1792 576v-128q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1792 960v-128q0 -26 -19 -45 t-45 -19h-1664q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1792 1344v-128q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45z" /> +<glyph unicode="" horiz-adv-x="1792" d="M256 224v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-192q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h192q13 0 22.5 -9.5t9.5 -22.5zM256 608v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-192q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h192q13 0 22.5 -9.5 t9.5 -22.5zM256 992v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-192q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h192q13 0 22.5 -9.5t9.5 -22.5zM1792 224v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1344q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1344 q13 0 22.5 -9.5t9.5 -22.5zM256 1376v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-192q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h192q13 0 22.5 -9.5t9.5 -22.5zM1792 608v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1344q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5 t22.5 9.5h1344q13 0 22.5 -9.5t9.5 -22.5zM1792 992v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1344q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1344q13 0 22.5 -9.5t9.5 -22.5zM1792 1376v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1344q-13 0 -22.5 9.5t-9.5 22.5v192 q0 13 9.5 22.5t22.5 9.5h1344q13 0 22.5 -9.5t9.5 -22.5z" /> +<glyph unicode="" horiz-adv-x="1792" d="M384 992v-576q0 -13 -9.5 -22.5t-22.5 -9.5q-14 0 -23 9l-288 288q-9 9 -9 23t9 23l288 288q9 9 23 9q13 0 22.5 -9.5t9.5 -22.5zM1792 224v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1728q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1728q13 0 22.5 -9.5 t9.5 -22.5zM1792 608v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1088q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1088q13 0 22.5 -9.5t9.5 -22.5zM1792 992v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1088q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1088 q13 0 22.5 -9.5t9.5 -22.5zM1792 1376v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1728q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1728q13 0 22.5 -9.5t9.5 -22.5z" /> +<glyph unicode="" horiz-adv-x="1792" d="M352 704q0 -14 -9 -23l-288 -288q-9 -9 -23 -9q-13 0 -22.5 9.5t-9.5 22.5v576q0 13 9.5 22.5t22.5 9.5q14 0 23 -9l288 -288q9 -9 9 -23zM1792 224v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1728q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1728q13 0 22.5 -9.5 t9.5 -22.5zM1792 608v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1088q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1088q13 0 22.5 -9.5t9.5 -22.5zM1792 992v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1088q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1088 q13 0 22.5 -9.5t9.5 -22.5zM1792 1376v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1728q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1728q13 0 22.5 -9.5t9.5 -22.5z" /> +<glyph unicode="" horiz-adv-x="1792" d="M1792 1184v-1088q0 -42 -39 -59q-13 -5 -25 -5q-27 0 -45 19l-403 403v-166q0 -119 -84.5 -203.5t-203.5 -84.5h-704q-119 0 -203.5 84.5t-84.5 203.5v704q0 119 84.5 203.5t203.5 84.5h704q119 0 203.5 -84.5t84.5 -203.5v-165l403 402q18 19 45 19q12 0 25 -5 q39 -17 39 -59z" /> +<glyph unicode="" horiz-adv-x="1920" d="M640 960q0 -80 -56 -136t-136 -56t-136 56t-56 136t56 136t136 56t136 -56t56 -136zM1664 576v-448h-1408v192l320 320l160 -160l512 512zM1760 1280h-1600q-13 0 -22.5 -9.5t-9.5 -22.5v-1216q0 -13 9.5 -22.5t22.5 -9.5h1600q13 0 22.5 9.5t9.5 22.5v1216 q0 13 -9.5 22.5t-22.5 9.5zM1920 1248v-1216q0 -66 -47 -113t-113 -47h-1600q-66 0 -113 47t-47 113v1216q0 66 47 113t113 47h1600q66 0 113 -47t47 -113z" /> +<glyph unicode="" d="M363 0l91 91l-235 235l-91 -91v-107h128v-128h107zM886 928q0 22 -22 22q-10 0 -17 -7l-542 -542q-7 -7 -7 -17q0 -22 22 -22q10 0 17 7l542 542q7 7 7 17zM832 1120l416 -416l-832 -832h-416v416zM1515 1024q0 -53 -37 -90l-166 -166l-416 416l166 165q36 38 90 38 q53 0 91 -38l235 -234q37 -39 37 -91z" /> +<glyph unicode="" horiz-adv-x="1024" d="M768 896q0 106 -75 181t-181 75t-181 -75t-75 -181t75 -181t181 -75t181 75t75 181zM1024 896q0 -109 -33 -179l-364 -774q-16 -33 -47.5 -52t-67.5 -19t-67.5 19t-46.5 52l-365 774q-33 70 -33 179q0 212 150 362t362 150t362 -150t150 -362z" /> +<glyph unicode="" d="M768 96v1088q-148 0 -273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" /> +<glyph unicode="" horiz-adv-x="1024" d="M512 384q0 36 -20 69q-1 1 -15.5 22.5t-25.5 38t-25 44t-21 50.5q-4 16 -21 16t-21 -16q-7 -23 -21 -50.5t-25 -44t-25.5 -38t-15.5 -22.5q-20 -33 -20 -69q0 -53 37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1024 512q0 -212 -150 -362t-362 -150t-362 150t-150 362 q0 145 81 275q6 9 62.5 90.5t101 151t99.5 178t83 201.5q9 30 34 47t51 17t51.5 -17t33.5 -47q28 -93 83 -201.5t99.5 -178t101 -151t62.5 -90.5q81 -127 81 -275z" /> +<glyph unicode="" horiz-adv-x="1792" d="M888 352l116 116l-152 152l-116 -116v-56h96v-96h56zM1328 1072q-16 16 -33 -1l-350 -350q-17 -17 -1 -33t33 1l350 350q17 17 1 33zM1408 478v-190q0 -119 -84.5 -203.5t-203.5 -84.5h-832q-119 0 -203.5 84.5t-84.5 203.5v832q0 119 84.5 203.5t203.5 84.5h832 q63 0 117 -25q15 -7 18 -23q3 -17 -9 -29l-49 -49q-14 -14 -32 -8q-23 6 -45 6h-832q-66 0 -113 -47t-47 -113v-832q0 -66 47 -113t113 -47h832q66 0 113 47t47 113v126q0 13 9 22l64 64q15 15 35 7t20 -29zM1312 1216l288 -288l-672 -672h-288v288zM1756 1084l-92 -92 l-288 288l92 92q28 28 68 28t68 -28l152 -152q28 -28 28 -68t-28 -68z" /> +<glyph unicode="" horiz-adv-x="1664" d="M1408 547v-259q0 -119 -84.5 -203.5t-203.5 -84.5h-832q-119 0 -203.5 84.5t-84.5 203.5v832q0 119 84.5 203.5t203.5 84.5h255v0q13 0 22.5 -9.5t9.5 -22.5q0 -27 -26 -32q-77 -26 -133 -60q-10 -4 -16 -4h-112q-66 0 -113 -47t-47 -113v-832q0 -66 47 -113t113 -47h832 q66 0 113 47t47 113v214q0 19 18 29q28 13 54 37q16 16 35 8q21 -9 21 -29zM1645 1043l-384 -384q-18 -19 -45 -19q-12 0 -25 5q-39 17 -39 59v192h-160q-323 0 -438 -131q-119 -137 -74 -473q3 -23 -20 -34q-8 -2 -12 -2q-16 0 -26 13q-10 14 -21 31t-39.5 68.5t-49.5 99.5 t-38.5 114t-17.5 122q0 49 3.5 91t14 90t28 88t47 81.5t68.5 74t94.5 61.5t124.5 48.5t159.5 30.5t196.5 11h160v192q0 42 39 59q13 5 25 5q26 0 45 -19l384 -384q19 -19 19 -45t-19 -45z" /> +<glyph unicode="" horiz-adv-x="1664" d="M1408 606v-318q0 -119 -84.5 -203.5t-203.5 -84.5h-832q-119 0 -203.5 84.5t-84.5 203.5v832q0 119 84.5 203.5t203.5 84.5h832q63 0 117 -25q15 -7 18 -23q3 -17 -9 -29l-49 -49q-10 -10 -23 -10q-3 0 -9 2q-23 6 -45 6h-832q-66 0 -113 -47t-47 -113v-832 q0 -66 47 -113t113 -47h832q66 0 113 47t47 113v254q0 13 9 22l64 64q10 10 23 10q6 0 12 -3q20 -8 20 -29zM1639 1095l-814 -814q-24 -24 -57 -24t-57 24l-430 430q-24 24 -24 57t24 57l110 110q24 24 57 24t57 -24l263 -263l647 647q24 24 57 24t57 -24l110 -110 q24 -24 24 -57t-24 -57z" /> +<glyph unicode="" horiz-adv-x="1792" d="M1792 640q0 -26 -19 -45l-256 -256q-19 -19 -45 -19t-45 19t-19 45v128h-384v-384h128q26 0 45 -19t19 -45t-19 -45l-256 -256q-19 -19 -45 -19t-45 19l-256 256q-19 19 -19 45t19 45t45 19h128v384h-384v-128q0 -26 -19 -45t-45 -19t-45 19l-256 256q-19 19 -19 45 t19 45l256 256q19 19 45 19t45 -19t19 -45v-128h384v384h-128q-26 0 -45 19t-19 45t19 45l256 256q19 19 45 19t45 -19l256 -256q19 -19 19 -45t-19 -45t-45 -19h-128v-384h384v128q0 26 19 45t45 19t45 -19l256 -256q19 -19 19 -45z" /> +<glyph unicode="" horiz-adv-x="1024" d="M979 1395q19 19 32 13t13 -32v-1472q0 -26 -13 -32t-32 13l-710 710q-9 9 -13 19v-678q0 -26 -19 -45t-45 -19h-128q-26 0 -45 19t-19 45v1408q0 26 19 45t45 19h128q26 0 45 -19t19 -45v-678q4 11 13 19z" /> +<glyph unicode="" horiz-adv-x="1792" d="M1747 1395q19 19 32 13t13 -32v-1472q0 -26 -13 -32t-32 13l-710 710q-9 9 -13 19v-710q0 -26 -13 -32t-32 13l-710 710q-9 9 -13 19v-678q0 -26 -19 -45t-45 -19h-128q-26 0 -45 19t-19 45v1408q0 26 19 45t45 19h128q26 0 45 -19t19 -45v-678q4 11 13 19l710 710 q19 19 32 13t13 -32v-710q4 11 13 19z" /> +<glyph unicode="" horiz-adv-x="1664" d="M1619 1395q19 19 32 13t13 -32v-1472q0 -26 -13 -32t-32 13l-710 710q-8 9 -13 19v-710q0 -26 -13 -32t-32 13l-710 710q-19 19 -19 45t19 45l710 710q19 19 32 13t13 -32v-710q5 11 13 19z" /> +<glyph unicode="" horiz-adv-x="1408" d="M1384 609l-1328 -738q-23 -13 -39.5 -3t-16.5 36v1472q0 26 16.5 36t39.5 -3l1328 -738q23 -13 23 -31t-23 -31z" /> +<glyph unicode="" d="M1536 1344v-1408q0 -26 -19 -45t-45 -19h-512q-26 0 -45 19t-19 45v1408q0 26 19 45t45 19h512q26 0 45 -19t19 -45zM640 1344v-1408q0 -26 -19 -45t-45 -19h-512q-26 0 -45 19t-19 45v1408q0 26 19 45t45 19h512q26 0 45 -19t19 -45z" /> +<glyph unicode="" d="M1536 1344v-1408q0 -26 -19 -45t-45 -19h-1408q-26 0 -45 19t-19 45v1408q0 26 19 45t45 19h1408q26 0 45 -19t19 -45z" /> +<glyph unicode="" horiz-adv-x="1664" d="M45 -115q-19 -19 -32 -13t-13 32v1472q0 26 13 32t32 -13l710 -710q8 -8 13 -19v710q0 26 13 32t32 -13l710 -710q19 -19 19 -45t-19 -45l-710 -710q-19 -19 -32 -13t-13 32v710q-5 -10 -13 -19z" /> +<glyph unicode="" horiz-adv-x="1792" d="M45 -115q-19 -19 -32 -13t-13 32v1472q0 26 13 32t32 -13l710 -710q8 -8 13 -19v710q0 26 13 32t32 -13l710 -710q8 -8 13 -19v678q0 26 19 45t45 19h128q26 0 45 -19t19 -45v-1408q0 -26 -19 -45t-45 -19h-128q-26 0 -45 19t-19 45v678q-5 -10 -13 -19l-710 -710 q-19 -19 -32 -13t-13 32v710q-5 -10 -13 -19z" /> +<glyph unicode="" horiz-adv-x="1024" d="M45 -115q-19 -19 -32 -13t-13 32v1472q0 26 13 32t32 -13l710 -710q8 -8 13 -19v678q0 26 19 45t45 19h128q26 0 45 -19t19 -45v-1408q0 -26 -19 -45t-45 -19h-128q-26 0 -45 19t-19 45v678q-5 -10 -13 -19z" /> +<glyph unicode="" horiz-adv-x="1538" d="M14 557l710 710q19 19 45 19t45 -19l710 -710q19 -19 13 -32t-32 -13h-1472q-26 0 -32 13t13 32zM1473 0h-1408q-26 0 -45 19t-19 45v256q0 26 19 45t45 19h1408q26 0 45 -19t19 -45v-256q0 -26 -19 -45t-45 -19z" /> +<glyph unicode="" horiz-adv-x="1280" d="M1171 1235l-531 -531l531 -531q19 -19 19 -45t-19 -45l-166 -166q-19 -19 -45 -19t-45 19l-742 742q-19 19 -19 45t19 45l742 742q19 19 45 19t45 -19l166 -166q19 -19 19 -45t-19 -45z" /> +<glyph unicode="" horiz-adv-x="1280" d="M1107 659l-742 -742q-19 -19 -45 -19t-45 19l-166 166q-19 19 -19 45t19 45l531 531l-531 531q-19 19 -19 45t19 45l166 166q19 19 45 19t45 -19l742 -742q19 -19 19 -45t-19 -45z" /> +<glyph unicode="" d="M1216 576v128q0 26 -19 45t-45 19h-256v256q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-256h-256q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h256v-256q0 -26 19 -45t45 -19h128q26 0 45 19t19 45v256h256q26 0 45 19t19 45zM1536 640q0 -209 -103 -385.5 t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" /> +<glyph unicode="" d="M1216 576v128q0 26 -19 45t-45 19h-768q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h768q26 0 45 19t19 45zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5 t103 -385.5z" /> +<glyph unicode="" d="M1149 414q0 26 -19 45l-181 181l181 181q19 19 19 45q0 27 -19 46l-90 90q-19 19 -46 19q-26 0 -45 -19l-181 -181l-181 181q-19 19 -45 19q-27 0 -46 -19l-90 -90q-19 -19 -19 -46q0 -26 19 -45l181 -181l-181 -181q-19 -19 -19 -45q0 -27 19 -46l90 -90q19 -19 46 -19 q26 0 45 19l181 181l181 -181q19 -19 45 -19q27 0 46 19l90 90q19 19 19 46zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" /> +<glyph unicode="" d="M1284 802q0 28 -18 46l-91 90q-19 19 -45 19t-45 -19l-408 -407l-226 226q-19 19 -45 19t-45 -19l-91 -90q-18 -18 -18 -46q0 -27 18 -45l362 -362q19 -19 45 -19q27 0 46 19l543 543q18 18 18 45zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103 t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" /> +<glyph unicode="" d="M896 160v192q0 14 -9 23t-23 9h-192q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h192q14 0 23 9t9 23zM1152 832q0 88 -55.5 163t-138.5 116t-170 41q-243 0 -371 -213q-15 -24 8 -42l132 -100q7 -6 19 -6q16 0 25 12q53 68 86 92q34 24 86 24q48 0 85.5 -26t37.5 -59 q0 -38 -20 -61t-68 -45q-63 -28 -115.5 -86.5t-52.5 -125.5v-36q0 -14 9 -23t23 -9h192q14 0 23 9t9 23q0 19 21.5 49.5t54.5 49.5q32 18 49 28.5t46 35t44.5 48t28 60.5t12.5 81zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5 t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" /> +<glyph unicode="" d="M1024 160v160q0 14 -9 23t-23 9h-96v512q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-160q0 -14 9 -23t23 -9h96v-320h-96q-14 0 -23 -9t-9 -23v-160q0 -14 9 -23t23 -9h448q14 0 23 9t9 23zM896 1056v160q0 14 -9 23t-23 9h-192q-14 0 -23 -9t-9 -23v-160q0 -14 9 -23 t23 -9h192q14 0 23 9t9 23zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" /> +<glyph unicode="" d="M1197 512h-109q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h109q-32 108 -112.5 188.5t-188.5 112.5v-109q0 -26 -19 -45t-45 -19h-128q-26 0 -45 19t-19 45v109q-108 -32 -188.5 -112.5t-112.5 -188.5h109q26 0 45 -19t19 -45v-128q0 -26 -19 -45t-45 -19h-109 q32 -108 112.5 -188.5t188.5 -112.5v109q0 26 19 45t45 19h128q26 0 45 -19t19 -45v-109q108 32 188.5 112.5t112.5 188.5zM1536 704v-128q0 -26 -19 -45t-45 -19h-143q-37 -161 -154.5 -278.5t-278.5 -154.5v-143q0 -26 -19 -45t-45 -19h-128q-26 0 -45 19t-19 45v143 q-161 37 -278.5 154.5t-154.5 278.5h-143q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h143q37 161 154.5 278.5t278.5 154.5v143q0 26 19 45t45 19h128q26 0 45 -19t19 -45v-143q161 -37 278.5 -154.5t154.5 -278.5h143q26 0 45 -19t19 -45z" /> +<glyph unicode="" d="M1097 457l-146 -146q-10 -10 -23 -10t-23 10l-137 137l-137 -137q-10 -10 -23 -10t-23 10l-146 146q-10 10 -10 23t10 23l137 137l-137 137q-10 10 -10 23t10 23l146 146q10 10 23 10t23 -10l137 -137l137 137q10 10 23 10t23 -10l146 -146q10 -10 10 -23t-10 -23 l-137 -137l137 -137q10 -10 10 -23t-10 -23zM1312 640q0 148 -73 273t-198 198t-273 73t-273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73t273 73t198 198t73 273zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5 t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" /> +<glyph unicode="" d="M1171 723l-422 -422q-19 -19 -45 -19t-45 19l-294 294q-19 19 -19 45t19 45l102 102q19 19 45 19t45 -19l147 -147l275 275q19 19 45 19t45 -19l102 -102q19 -19 19 -45t-19 -45zM1312 640q0 148 -73 273t-198 198t-273 73t-273 -73t-198 -198t-73 -273t73 -273t198 -198 t273 -73t273 73t198 198t73 273zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" /> +<glyph unicode="" d="M1312 643q0 161 -87 295l-754 -753q137 -89 297 -89q111 0 211.5 43.5t173.5 116.5t116 174.5t43 212.5zM313 344l755 754q-135 91 -300 91q-148 0 -273 -73t-198 -199t-73 -274q0 -162 89 -299zM1536 643q0 -157 -61 -300t-163.5 -246t-245 -164t-298.5 -61t-298.5 61 t-245 164t-163.5 246t-61 300t61 299.5t163.5 245.5t245 164t298.5 61t298.5 -61t245 -164t163.5 -245.5t61 -299.5z" /> +<glyph unicode="" d="M1536 640v-128q0 -53 -32.5 -90.5t-84.5 -37.5h-704l293 -294q38 -36 38 -90t-38 -90l-75 -76q-37 -37 -90 -37q-52 0 -91 37l-651 652q-37 37 -37 90q0 52 37 91l651 650q38 38 91 38q52 0 90 -38l75 -74q38 -38 38 -91t-38 -91l-293 -293h704q52 0 84.5 -37.5 t32.5 -90.5z" /> +<glyph unicode="" d="M1472 576q0 -54 -37 -91l-651 -651q-39 -37 -91 -37q-51 0 -90 37l-75 75q-38 38 -38 91t38 91l293 293h-704q-52 0 -84.5 37.5t-32.5 90.5v128q0 53 32.5 90.5t84.5 37.5h704l-293 294q-38 36 -38 90t38 90l75 75q38 38 90 38q53 0 91 -38l651 -651q37 -35 37 -90z" /> +<glyph unicode="" horiz-adv-x="1664" d="M1611 565q0 -51 -37 -90l-75 -75q-38 -38 -91 -38q-54 0 -90 38l-294 293v-704q0 -52 -37.5 -84.5t-90.5 -32.5h-128q-53 0 -90.5 32.5t-37.5 84.5v704l-294 -293q-36 -38 -90 -38t-90 38l-75 75q-38 38 -38 90q0 53 38 91l651 651q35 37 90 37q54 0 91 -37l651 -651 q37 -39 37 -91z" /> +<glyph unicode="" horiz-adv-x="1664" d="M1611 704q0 -53 -37 -90l-651 -652q-39 -37 -91 -37q-53 0 -90 37l-651 652q-38 36 -38 90q0 53 38 91l74 75q39 37 91 37q53 0 90 -37l294 -294v704q0 52 38 90t90 38h128q52 0 90 -38t38 -90v-704l294 294q37 37 90 37q52 0 91 -37l75 -75q37 -39 37 -91z" /> +<glyph unicode="" horiz-adv-x="1792" d="M1792 896q0 -26 -19 -45l-512 -512q-19 -19 -45 -19t-45 19t-19 45v256h-224q-98 0 -175.5 -6t-154 -21.5t-133 -42.5t-105.5 -69.5t-80 -101t-48.5 -138.5t-17.5 -181q0 -55 5 -123q0 -6 2.5 -23.5t2.5 -26.5q0 -15 -8.5 -25t-23.5 -10q-16 0 -28 17q-7 9 -13 22 t-13.5 30t-10.5 24q-127 285 -127 451q0 199 53 333q162 403 875 403h224v256q0 26 19 45t45 19t45 -19l512 -512q19 -19 19 -45z" /> +<glyph unicode="" d="M755 480q0 -13 -10 -23l-332 -332l144 -144q19 -19 19 -45t-19 -45t-45 -19h-448q-26 0 -45 19t-19 45v448q0 26 19 45t45 19t45 -19l144 -144l332 332q10 10 23 10t23 -10l114 -114q10 -10 10 -23zM1536 1344v-448q0 -26 -19 -45t-45 -19t-45 19l-144 144l-332 -332 q-10 -10 -23 -10t-23 10l-114 114q-10 10 -10 23t10 23l332 332l-144 144q-19 19 -19 45t19 45t45 19h448q26 0 45 -19t19 -45z" /> +<glyph unicode="" d="M768 576v-448q0 -26 -19 -45t-45 -19t-45 19l-144 144l-332 -332q-10 -10 -23 -10t-23 10l-114 114q-10 10 -10 23t10 23l332 332l-144 144q-19 19 -19 45t19 45t45 19h448q26 0 45 -19t19 -45zM1523 1248q0 -13 -10 -23l-332 -332l144 -144q19 -19 19 -45t-19 -45 t-45 -19h-448q-26 0 -45 19t-19 45v448q0 26 19 45t45 19t45 -19l144 -144l332 332q10 10 23 10t23 -10l114 -114q10 -10 10 -23z" /> +<glyph unicode="" horiz-adv-x="1408" d="M1408 800v-192q0 -40 -28 -68t-68 -28h-416v-416q0 -40 -28 -68t-68 -28h-192q-40 0 -68 28t-28 68v416h-416q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h416v416q0 40 28 68t68 28h192q40 0 68 -28t28 -68v-416h416q40 0 68 -28t28 -68z" /> +<glyph unicode="" horiz-adv-x="1408" d="M1408 800v-192q0 -40 -28 -68t-68 -28h-1216q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h1216q40 0 68 -28t28 -68z" /> +<glyph unicode="" horiz-adv-x="1664" d="M1482 486q46 -26 59.5 -77.5t-12.5 -97.5l-64 -110q-26 -46 -77.5 -59.5t-97.5 12.5l-266 153v-307q0 -52 -38 -90t-90 -38h-128q-52 0 -90 38t-38 90v307l-266 -153q-46 -26 -97.5 -12.5t-77.5 59.5l-64 110q-26 46 -12.5 97.5t59.5 77.5l266 154l-266 154 q-46 26 -59.5 77.5t12.5 97.5l64 110q26 46 77.5 59.5t97.5 -12.5l266 -153v307q0 52 38 90t90 38h128q52 0 90 -38t38 -90v-307l266 153q46 26 97.5 12.5t77.5 -59.5l64 -110q26 -46 12.5 -97.5t-59.5 -77.5l-266 -154z" /> +<glyph unicode="" d="M768 1408q209 0 385.5 -103t279.5 -279.5t103 -385.5t-103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103zM896 161v190q0 14 -9 23.5t-22 9.5h-192q-13 0 -23 -10t-10 -23v-190q0 -13 10 -23t23 -10h192 q13 0 22 9.5t9 23.5zM894 505l18 621q0 12 -10 18q-10 8 -24 8h-220q-14 0 -24 -8q-10 -6 -10 -18l17 -621q0 -10 10 -17.5t24 -7.5h185q14 0 23.5 7.5t10.5 17.5z" /> +<glyph unicode="" d="M928 180v56v468v192h-320v-192v-468v-56q0 -25 18 -38.5t46 -13.5h192q28 0 46 13.5t18 38.5zM472 1024h195l-126 161q-26 31 -69 31q-40 0 -68 -28t-28 -68t28 -68t68 -28zM1160 1120q0 40 -28 68t-68 28q-43 0 -69 -31l-125 -161h194q40 0 68 28t28 68zM1536 864v-320 q0 -14 -9 -23t-23 -9h-96v-416q0 -40 -28 -68t-68 -28h-1088q-40 0 -68 28t-28 68v416h-96q-14 0 -23 9t-9 23v320q0 14 9 23t23 9h440q-93 0 -158.5 65.5t-65.5 158.5t65.5 158.5t158.5 65.5q107 0 168 -77l128 -165l128 165q61 77 168 77q93 0 158.5 -65.5t65.5 -158.5 t-65.5 -158.5t-158.5 -65.5h440q14 0 23 -9t9 -23z" /> +<glyph unicode="" horiz-adv-x="1792" d="M1280 832q0 26 -19 45t-45 19q-172 0 -318 -49.5t-259.5 -134t-235.5 -219.5q-19 -21 -19 -45q0 -26 19 -45t45 -19q24 0 45 19q27 24 74 71t67 66q137 124 268.5 176t313.5 52q26 0 45 19t19 45zM1792 1030q0 -95 -20 -193q-46 -224 -184.5 -383t-357.5 -268 q-214 -108 -438 -108q-148 0 -286 47q-15 5 -88 42t-96 37q-16 0 -39.5 -32t-45 -70t-52.5 -70t-60 -32q-30 0 -51 11t-31 24t-27 42q-2 4 -6 11t-5.5 10t-3 9.5t-1.5 13.5q0 35 31 73.5t68 65.5t68 56t31 48q0 4 -14 38t-16 44q-9 51 -9 104q0 115 43.5 220t119 184.5 t170.5 139t204 95.5q55 18 145 25.5t179.5 9t178.5 6t163.5 24t113.5 56.5l29.5 29.5t29.5 28t27 20t36.5 16t43.5 4.5q39 0 70.5 -46t47.5 -112t24 -124t8 -96z" /> +<glyph unicode="" horiz-adv-x="1408" d="M1408 -160v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-1344q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h1344q13 0 22.5 -9.5t9.5 -22.5zM1152 896q0 -78 -24.5 -144t-64 -112.5t-87.5 -88t-96 -77.5t-87.5 -72t-64 -81.5t-24.5 -96.5q0 -96 67 -224l-4 1l1 -1 q-90 41 -160 83t-138.5 100t-113.5 122.5t-72.5 150.5t-27.5 184q0 78 24.5 144t64 112.5t87.5 88t96 77.5t87.5 72t64 81.5t24.5 96.5q0 94 -66 224l3 -1l-1 1q90 -41 160 -83t138.5 -100t113.5 -122.5t72.5 -150.5t27.5 -184z" /> +<glyph unicode="" horiz-adv-x="1792" d="M1664 576q-152 236 -381 353q61 -104 61 -225q0 -185 -131.5 -316.5t-316.5 -131.5t-316.5 131.5t-131.5 316.5q0 121 61 225q-229 -117 -381 -353q133 -205 333.5 -326.5t434.5 -121.5t434.5 121.5t333.5 326.5zM944 960q0 20 -14 34t-34 14q-125 0 -214.5 -89.5 t-89.5 -214.5q0 -20 14 -34t34 -14t34 14t14 34q0 86 61 147t147 61q20 0 34 14t14 34zM1792 576q0 -34 -20 -69q-140 -230 -376.5 -368.5t-499.5 -138.5t-499.5 139t-376.5 368q-20 35 -20 69t20 69q140 229 376.5 368t499.5 139t499.5 -139t376.5 -368q20 -35 20 -69z" /> +<glyph unicode="" horiz-adv-x="1792" d="M555 201l78 141q-87 63 -136 159t-49 203q0 121 61 225q-229 -117 -381 -353q167 -258 427 -375zM944 960q0 20 -14 34t-34 14q-125 0 -214.5 -89.5t-89.5 -214.5q0 -20 14 -34t34 -14t34 14t14 34q0 86 61 147t147 61q20 0 34 14t14 34zM1307 1151q0 -7 -1 -9 q-105 -188 -315 -566t-316 -567l-49 -89q-10 -16 -28 -16q-12 0 -134 70q-16 10 -16 28q0 12 44 87q-143 65 -263.5 173t-208.5 245q-20 31 -20 69t20 69q153 235 380 371t496 136q89 0 180 -17l54 97q10 16 28 16q5 0 18 -6t31 -15.5t33 -18.5t31.5 -18.5t19.5 -11.5 q16 -10 16 -27zM1344 704q0 -139 -79 -253.5t-209 -164.5l280 502q8 -45 8 -84zM1792 576q0 -35 -20 -69q-39 -64 -109 -145q-150 -172 -347.5 -267t-419.5 -95l74 132q212 18 392.5 137t301.5 307q-115 179 -282 294l63 112q95 -64 182.5 -153t144.5 -184q20 -34 20 -69z " /> +<glyph unicode="" horiz-adv-x="1792" d="M1024 161v190q0 14 -9.5 23.5t-22.5 9.5h-192q-13 0 -22.5 -9.5t-9.5 -23.5v-190q0 -14 9.5 -23.5t22.5 -9.5h192q13 0 22.5 9.5t9.5 23.5zM1022 535l18 459q0 12 -10 19q-13 11 -24 11h-220q-11 0 -24 -11q-10 -7 -10 -21l17 -457q0 -10 10 -16.5t24 -6.5h185 q14 0 23.5 6.5t10.5 16.5zM1008 1469l768 -1408q35 -63 -2 -126q-17 -29 -46.5 -46t-63.5 -17h-1536q-34 0 -63.5 17t-46.5 46q-37 63 -2 126l768 1408q17 31 47 49t65 18t65 -18t47 -49z" /> +<glyph unicode="" horiz-adv-x="1408" d="M1376 1376q44 -52 12 -148t-108 -172l-161 -161l160 -696q5 -19 -12 -33l-128 -96q-7 -6 -19 -6q-4 0 -7 1q-15 3 -21 16l-279 508l-259 -259l53 -194q5 -17 -8 -31l-96 -96q-9 -9 -23 -9h-2q-15 2 -24 13l-189 252l-252 189q-11 7 -13 23q-1 13 9 25l96 97q9 9 23 9 q6 0 8 -1l194 -53l259 259l-508 279q-14 8 -17 24q-2 16 9 27l128 128q14 13 30 8l665 -159l160 160q76 76 172 108t148 -12z" /> +<glyph unicode="" horiz-adv-x="1664" d="M128 -128h288v288h-288v-288zM480 -128h320v288h-320v-288zM128 224h288v320h-288v-320zM480 224h320v320h-320v-320zM128 608h288v288h-288v-288zM864 -128h320v288h-320v-288zM480 608h320v288h-320v-288zM1248 -128h288v288h-288v-288zM864 224h320v320h-320v-320z M512 1088v288q0 13 -9.5 22.5t-22.5 9.5h-64q-13 0 -22.5 -9.5t-9.5 -22.5v-288q0 -13 9.5 -22.5t22.5 -9.5h64q13 0 22.5 9.5t9.5 22.5zM1248 224h288v320h-288v-320zM864 608h320v288h-320v-288zM1248 608h288v288h-288v-288zM1280 1088v288q0 13 -9.5 22.5t-22.5 9.5h-64 q-13 0 -22.5 -9.5t-9.5 -22.5v-288q0 -13 9.5 -22.5t22.5 -9.5h64q13 0 22.5 9.5t9.5 22.5zM1664 1152v-1280q0 -52 -38 -90t-90 -38h-1408q-52 0 -90 38t-38 90v1280q0 52 38 90t90 38h128v96q0 66 47 113t113 47h64q66 0 113 -47t47 -113v-96h384v96q0 66 47 113t113 47 h64q66 0 113 -47t47 -113v-96h128q52 0 90 -38t38 -90z" /> +<glyph unicode="" horiz-adv-x="1792" d="M666 1055q-60 -92 -137 -273q-22 45 -37 72.5t-40.5 63.5t-51 56.5t-63 35t-81.5 14.5h-224q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h224q250 0 410 -225zM1792 256q0 -14 -9 -23l-320 -320q-9 -9 -23 -9q-13 0 -22.5 9.5t-9.5 22.5v192q-32 0 -85 -0.5t-81 -1t-73 1 t-71 5t-64 10.5t-63 18.5t-58 28.5t-59 40t-55 53.5t-56 69.5q59 93 136 273q22 -45 37 -72.5t40.5 -63.5t51 -56.5t63 -35t81.5 -14.5h256v192q0 14 9 23t23 9q12 0 24 -10l319 -319q9 -9 9 -23zM1792 1152q0 -14 -9 -23l-320 -320q-9 -9 -23 -9q-13 0 -22.5 9.5t-9.5 22.5 v192h-256q-48 0 -87 -15t-69 -45t-51 -61.5t-45 -77.5q-32 -62 -78 -171q-29 -66 -49.5 -111t-54 -105t-64 -100t-74 -83t-90 -68.5t-106.5 -42t-128 -16.5h-224q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h224q48 0 87 15t69 45t51 61.5t45 77.5q32 62 78 171q29 66 49.5 111 t54 105t64 100t74 83t90 68.5t106.5 42t128 16.5h256v192q0 14 9 23t23 9q12 0 24 -10l319 -319q9 -9 9 -23z" /> +<glyph unicode="" horiz-adv-x="1792" d="M1792 640q0 -174 -120 -321.5t-326 -233t-450 -85.5q-70 0 -145 8q-198 -175 -460 -242q-49 -14 -114 -22q-17 -2 -30.5 9t-17.5 29v1q-3 4 -0.5 12t2 10t4.5 9.5l6 9t7 8.5t8 9q7 8 31 34.5t34.5 38t31 39.5t32.5 51t27 59t26 76q-157 89 -247.5 220t-90.5 281 q0 130 71 248.5t191 204.5t286 136.5t348 50.5q244 0 450 -85.5t326 -233t120 -321.5z" /> +<glyph unicode="" d="M1536 704v-128q0 -201 -98.5 -362t-274 -251.5t-395.5 -90.5t-395.5 90.5t-274 251.5t-98.5 362v128q0 26 19 45t45 19h384q26 0 45 -19t19 -45v-128q0 -52 23.5 -90t53.5 -57t71 -30t64 -13t44 -2t44 2t64 13t71 30t53.5 57t23.5 90v128q0 26 19 45t45 19h384 q26 0 45 -19t19 -45zM512 1344v-384q0 -26 -19 -45t-45 -19h-384q-26 0 -45 19t-19 45v384q0 26 19 45t45 19h384q26 0 45 -19t19 -45zM1536 1344v-384q0 -26 -19 -45t-45 -19h-384q-26 0 -45 19t-19 45v384q0 26 19 45t45 19h384q26 0 45 -19t19 -45z" /> +<glyph unicode="" horiz-adv-x="1792" d="M1683 205l-166 -165q-19 -19 -45 -19t-45 19l-531 531l-531 -531q-19 -19 -45 -19t-45 19l-166 165q-19 19 -19 45.5t19 45.5l742 741q19 19 45 19t45 -19l742 -741q19 -19 19 -45.5t-19 -45.5z" /> +<glyph unicode="" horiz-adv-x="1792" d="M1683 728l-742 -741q-19 -19 -45 -19t-45 19l-742 741q-19 19 -19 45.5t19 45.5l166 165q19 19 45 19t45 -19l531 -531l531 531q19 19 45 19t45 -19l166 -165q19 -19 19 -45.5t-19 -45.5z" /> +<glyph unicode="" horiz-adv-x="1920" d="M1280 32q0 -13 -9.5 -22.5t-22.5 -9.5h-960q-8 0 -13.5 2t-9 7t-5.5 8t-3 11.5t-1 11.5v13v11v160v416h-192q-26 0 -45 19t-19 45q0 24 15 41l320 384q19 22 49 22t49 -22l320 -384q15 -17 15 -41q0 -26 -19 -45t-45 -19h-192v-384h576q16 0 25 -11l160 -192q7 -11 7 -21 zM1920 448q0 -24 -15 -41l-320 -384q-20 -23 -49 -23t-49 23l-320 384q-15 17 -15 41q0 26 19 45t45 19h192v384h-576q-16 0 -25 12l-160 192q-7 9 -7 20q0 13 9.5 22.5t22.5 9.5h960q8 0 13.5 -2t9 -7t5.5 -8t3 -11.5t1 -11.5v-13v-11v-160v-416h192q26 0 45 -19t19 -45z " /> +<glyph unicode="" horiz-adv-x="1664" d="M640 0q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1536 0q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1664 1088v-512q0 -24 -16 -42.5t-41 -21.5 l-1044 -122q1 -7 4.5 -21.5t6 -26.5t2.5 -22q0 -16 -24 -64h920q26 0 45 -19t19 -45t-19 -45t-45 -19h-1024q-26 0 -45 19t-19 45q0 14 11 39.5t29.5 59.5t20.5 38l-177 823h-204q-26 0 -45 19t-19 45t19 45t45 19h256q16 0 28.5 -6.5t20 -15.5t13 -24.5t7.5 -26.5 t5.5 -29.5t4.5 -25.5h1201q26 0 45 -19t19 -45z" /> +<glyph unicode="" horiz-adv-x="1664" d="M1664 928v-704q0 -92 -66 -158t-158 -66h-1216q-92 0 -158 66t-66 158v960q0 92 66 158t158 66h320q92 0 158 -66t66 -158v-32h672q92 0 158 -66t66 -158z" /> +<glyph unicode="" horiz-adv-x="1920" d="M1879 584q0 -31 -31 -66l-336 -396q-43 -51 -120.5 -86.5t-143.5 -35.5h-1088q-34 0 -60.5 13t-26.5 43q0 31 31 66l336 396q43 51 120.5 86.5t143.5 35.5h1088q34 0 60.5 -13t26.5 -43zM1536 928v-160h-832q-94 0 -197 -47.5t-164 -119.5l-337 -396l-5 -6q0 4 -0.5 12.5 t-0.5 12.5v960q0 92 66 158t158 66h320q92 0 158 -66t66 -158v-32h544q92 0 158 -66t66 -158z" /> +<glyph unicode="" horiz-adv-x="768" d="M704 1216q0 -26 -19 -45t-45 -19h-128v-1024h128q26 0 45 -19t19 -45t-19 -45l-256 -256q-19 -19 -45 -19t-45 19l-256 256q-19 19 -19 45t19 45t45 19h128v1024h-128q-26 0 -45 19t-19 45t19 45l256 256q19 19 45 19t45 -19l256 -256q19 -19 19 -45z" /> +<glyph unicode="" horiz-adv-x="1792" d="M1792 640q0 -26 -19 -45l-256 -256q-19 -19 -45 -19t-45 19t-19 45v128h-1024v-128q0 -26 -19 -45t-45 -19t-45 19l-256 256q-19 19 -19 45t19 45l256 256q19 19 45 19t45 -19t19 -45v-128h1024v128q0 26 19 45t45 19t45 -19l256 -256q19 -19 19 -45z" /> +<glyph unicode="" horiz-adv-x="2048" d="M640 640v-512h-256v512h256zM1024 1152v-1024h-256v1024h256zM2048 0v-128h-2048v1536h128v-1408h1920zM1408 896v-768h-256v768h256zM1792 1280v-1152h-256v1152h256z" /> +<glyph unicode="" d="M1280 926q-56 -25 -121 -34q68 40 93 117q-65 -38 -134 -51q-61 66 -153 66q-87 0 -148.5 -61.5t-61.5 -148.5q0 -29 5 -48q-129 7 -242 65t-192 155q-29 -50 -29 -106q0 -114 91 -175q-47 1 -100 26v-2q0 -75 50 -133.5t123 -72.5q-29 -8 -51 -8q-13 0 -39 4 q21 -63 74.5 -104t121.5 -42q-116 -90 -261 -90q-26 0 -50 3q148 -94 322 -94q112 0 210 35.5t168 95t120.5 137t75 162t24.5 168.5q0 18 -1 27q63 45 105 109zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5 t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" /> +<glyph unicode="" d="M1536 160q0 -119 -84.5 -203.5t-203.5 -84.5h-192v608h203l30 224h-233v143q0 54 28 83t96 29l132 1v207q-96 9 -180 9q-136 0 -218 -80.5t-82 -225.5v-166h-224v-224h224v-608h-544q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960 q119 0 203.5 -84.5t84.5 -203.5v-960z" /> +<glyph unicode="" horiz-adv-x="1792" d="M928 704q0 14 -9 23t-23 9q-66 0 -113 -47t-47 -113q0 -14 9 -23t23 -9t23 9t9 23q0 40 28 68t68 28q14 0 23 9t9 23zM1152 574q0 -106 -75 -181t-181 -75t-181 75t-75 181t75 181t181 75t181 -75t75 -181zM128 0h1536v128h-1536v-128zM1280 574q0 159 -112.5 271.5 t-271.5 112.5t-271.5 -112.5t-112.5 -271.5t112.5 -271.5t271.5 -112.5t271.5 112.5t112.5 271.5zM256 1216h384v128h-384v-128zM128 1024h1536v118v138h-828l-64 -128h-644v-128zM1792 1280v-1280q0 -53 -37.5 -90.5t-90.5 -37.5h-1536q-53 0 -90.5 37.5t-37.5 90.5v1280 q0 53 37.5 90.5t90.5 37.5h1536q53 0 90.5 -37.5t37.5 -90.5z" /> +<glyph unicode="" horiz-adv-x="1792" d="M832 1024q0 80 -56 136t-136 56t-136 -56t-56 -136q0 -42 19 -83q-41 19 -83 19q-80 0 -136 -56t-56 -136t56 -136t136 -56t136 56t56 136q0 42 -19 83q41 -19 83 -19q80 0 136 56t56 136zM1683 320q0 -17 -49 -66t-66 -49q-9 0 -28.5 16t-36.5 33t-38.5 40t-24.5 26 l-96 -96l220 -220q28 -28 28 -68q0 -42 -39 -81t-81 -39q-40 0 -68 28l-671 671q-176 -131 -365 -131q-163 0 -265.5 102.5t-102.5 265.5q0 160 95 313t248 248t313 95q163 0 265.5 -102.5t102.5 -265.5q0 -189 -131 -365l355 -355l96 96q-3 3 -26 24.5t-40 38.5t-33 36.5 t-16 28.5q0 17 49 66t66 49q13 0 23 -10q6 -6 46 -44.5t82 -79.5t86.5 -86t73 -78t28.5 -41z" /> +<glyph unicode="" horiz-adv-x="1920" d="M896 640q0 106 -75 181t-181 75t-181 -75t-75 -181t75 -181t181 -75t181 75t75 181zM1664 128q0 52 -38 90t-90 38t-90 -38t-38 -90q0 -53 37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1664 1152q0 52 -38 90t-90 38t-90 -38t-38 -90q0 -53 37.5 -90.5t90.5 -37.5 t90.5 37.5t37.5 90.5zM1280 731v-185q0 -10 -7 -19.5t-16 -10.5l-155 -24q-11 -35 -32 -76q34 -48 90 -115q7 -10 7 -20q0 -12 -7 -19q-23 -30 -82.5 -89.5t-78.5 -59.5q-11 0 -21 7l-115 90q-37 -19 -77 -31q-11 -108 -23 -155q-7 -24 -30 -24h-186q-11 0 -20 7.5t-10 17.5 l-23 153q-34 10 -75 31l-118 -89q-7 -7 -20 -7q-11 0 -21 8q-144 133 -144 160q0 9 7 19q10 14 41 53t47 61q-23 44 -35 82l-152 24q-10 1 -17 9.5t-7 19.5v185q0 10 7 19.5t16 10.5l155 24q11 35 32 76q-34 48 -90 115q-7 11 -7 20q0 12 7 20q22 30 82 89t79 59q11 0 21 -7 l115 -90q34 18 77 32q11 108 23 154q7 24 30 24h186q11 0 20 -7.5t10 -17.5l23 -153q34 -10 75 -31l118 89q8 7 20 7q11 0 21 -8q144 -133 144 -160q0 -9 -7 -19q-12 -16 -42 -54t-45 -60q23 -48 34 -82l152 -23q10 -2 17 -10.5t7 -19.5zM1920 198v-140q0 -16 -149 -31 q-12 -27 -30 -52q51 -113 51 -138q0 -4 -4 -7q-122 -71 -124 -71q-8 0 -46 47t-52 68q-20 -2 -30 -2t-30 2q-14 -21 -52 -68t-46 -47q-2 0 -124 71q-4 3 -4 7q0 25 51 138q-18 25 -30 52q-149 15 -149 31v140q0 16 149 31q13 29 30 52q-51 113 -51 138q0 4 4 7q4 2 35 20 t59 34t30 16q8 0 46 -46.5t52 -67.5q20 2 30 2t30 -2q51 71 92 112l6 2q4 0 124 -70q4 -3 4 -7q0 -25 -51 -138q17 -23 30 -52q149 -15 149 -31zM1920 1222v-140q0 -16 -149 -31q-12 -27 -30 -52q51 -113 51 -138q0 -4 -4 -7q-122 -71 -124 -71q-8 0 -46 47t-52 68 q-20 -2 -30 -2t-30 2q-14 -21 -52 -68t-46 -47q-2 0 -124 71q-4 3 -4 7q0 25 51 138q-18 25 -30 52q-149 15 -149 31v140q0 16 149 31q13 29 30 52q-51 113 -51 138q0 4 4 7q4 2 35 20t59 34t30 16q8 0 46 -46.5t52 -67.5q20 2 30 2t30 -2q51 71 92 112l6 2q4 0 124 -70 q4 -3 4 -7q0 -25 -51 -138q17 -23 30 -52q149 -15 149 -31z" /> +<glyph unicode="" horiz-adv-x="1792" d="M1408 768q0 -139 -94 -257t-256.5 -186.5t-353.5 -68.5q-86 0 -176 16q-124 -88 -278 -128q-36 -9 -86 -16h-3q-11 0 -20.5 8t-11.5 21q-1 3 -1 6.5t0.5 6.5t2 6l2.5 5t3.5 5.5t4 5t4.5 5t4 4.5q5 6 23 25t26 29.5t22.5 29t25 38.5t20.5 44q-124 72 -195 177t-71 224 q0 139 94 257t256.5 186.5t353.5 68.5t353.5 -68.5t256.5 -186.5t94 -257zM1792 512q0 -120 -71 -224.5t-195 -176.5q10 -24 20.5 -44t25 -38.5t22.5 -29t26 -29.5t23 -25q1 -1 4 -4.5t4.5 -5t4 -5t3.5 -5.5l2.5 -5t2 -6t0.5 -6.5t-1 -6.5q-3 -14 -13 -22t-22 -7 q-50 7 -86 16q-154 40 -278 128q-90 -16 -176 -16q-271 0 -472 132q58 -4 88 -4q161 0 309 45t264 129q125 92 192 212t67 254q0 77 -23 152q129 -71 204 -178t75 -230z" /> +<glyph unicode="" d="M256 192q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1408 768q0 51 -39 89.5t-89 38.5h-352q0 58 48 159.5t48 160.5q0 98 -32 145t-128 47q-26 -26 -38 -85t-30.5 -125.5t-59.5 -109.5q-22 -23 -77 -91q-4 -5 -23 -30t-31.5 -41t-34.5 -42.5 t-40 -44t-38.5 -35.5t-40 -27t-35.5 -9h-32v-640h32q13 0 31.5 -3t33 -6.5t38 -11t35 -11.5t35.5 -12.5t29 -10.5q211 -73 342 -73h121q192 0 192 167q0 26 -5 56q30 16 47.5 52.5t17.5 73.5t-18 69q53 50 53 119q0 25 -10 55.5t-25 47.5q32 1 53.5 47t21.5 81zM1536 769 q0 -89 -49 -163q9 -33 9 -69q0 -77 -38 -144q3 -21 3 -43q0 -101 -60 -178q1 -139 -85 -219.5t-227 -80.5h-36h-93q-96 0 -189.5 22.5t-216.5 65.5q-116 40 -138 40h-288q-53 0 -90.5 37.5t-37.5 90.5v640q0 53 37.5 90.5t90.5 37.5h274q36 24 137 155q58 75 107 128 q24 25 35.5 85.5t30.5 126.5t62 108q39 37 90 37q84 0 151 -32.5t102 -101.5t35 -186q0 -93 -48 -192h176q104 0 180 -76t76 -179z" /> +<glyph unicode="" d="M256 1088q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1408 512q0 35 -21.5 81t-53.5 47q15 17 25 47.5t10 55.5q0 69 -53 119q18 32 18 69t-17.5 73.5t-47.5 52.5q5 30 5 56q0 85 -49 126t-136 41h-128q-131 0 -342 -73q-5 -2 -29 -10.5 t-35.5 -12.5t-35 -11.5t-38 -11t-33 -6.5t-31.5 -3h-32v-640h32q16 0 35.5 -9t40 -27t38.5 -35.5t40 -44t34.5 -42.5t31.5 -41t23 -30q55 -68 77 -91q41 -43 59.5 -109.5t30.5 -125.5t38 -85q96 0 128 47t32 145q0 59 -48 160.5t-48 159.5h352q50 0 89 38.5t39 89.5z M1536 511q0 -103 -76 -179t-180 -76h-176q48 -99 48 -192q0 -118 -35 -186q-35 -69 -102 -101.5t-151 -32.5q-51 0 -90 37q-34 33 -54 82t-25.5 90.5t-17.5 84.5t-31 64q-48 50 -107 127q-101 131 -137 155h-274q-53 0 -90.5 37.5t-37.5 90.5v640q0 53 37.5 90.5t90.5 37.5 h288q22 0 138 40q128 44 223 66t200 22h112q140 0 226.5 -79t85.5 -216v-5q60 -77 60 -178q0 -22 -3 -43q38 -67 38 -144q0 -36 -9 -69q49 -74 49 -163z" /> +<glyph unicode="" horiz-adv-x="896" d="M832 1504v-1339l-449 -236q-22 -12 -40 -12q-21 0 -31.5 14.5t-10.5 35.5q0 6 2 20l86 500l-364 354q-25 27 -25 48q0 37 56 46l502 73l225 455q19 41 49 41z" /> +<glyph unicode="" horiz-adv-x="1792" d="M1664 940q0 81 -21.5 143t-55 98.5t-81.5 59.5t-94 31t-98 8t-112 -25.5t-110.5 -64t-86.5 -72t-60 -61.5q-18 -22 -49 -22t-49 22q-24 28 -60 61.5t-86.5 72t-110.5 64t-112 25.5t-98 -8t-94 -31t-81.5 -59.5t-55 -98.5t-21.5 -143q0 -168 187 -355l581 -560l580 559 q188 188 188 356zM1792 940q0 -221 -229 -450l-623 -600q-18 -18 -44 -18t-44 18l-624 602q-10 8 -27.5 26t-55.5 65.5t-68 97.5t-53.5 121t-23.5 138q0 220 127 344t351 124q62 0 126.5 -21.5t120 -58t95.5 -68.5t76 -68q36 36 76 68t95.5 68.5t120 58t126.5 21.5 q224 0 351 -124t127 -344z" /> +<glyph unicode="" horiz-adv-x="1664" d="M640 96q0 -4 1 -20t0.5 -26.5t-3 -23.5t-10 -19.5t-20.5 -6.5h-320q-119 0 -203.5 84.5t-84.5 203.5v704q0 119 84.5 203.5t203.5 84.5h320q13 0 22.5 -9.5t9.5 -22.5q0 -4 1 -20t0.5 -26.5t-3 -23.5t-10 -19.5t-20.5 -6.5h-320q-66 0 -113 -47t-47 -113v-704 q0 -66 47 -113t113 -47h288h11h13t11.5 -1t11.5 -3t8 -5.5t7 -9t2 -13.5zM1568 640q0 -26 -19 -45l-544 -544q-19 -19 -45 -19t-45 19t-19 45v288h-448q-26 0 -45 19t-19 45v384q0 26 19 45t45 19h448v288q0 26 19 45t45 19t45 -19l544 -544q19 -19 19 -45z" /> +<glyph unicode="" d="M237 122h231v694h-231v-694zM483 1030q-1 52 -36 86t-93 34t-94.5 -34t-36.5 -86q0 -51 35.5 -85.5t92.5 -34.5h1q59 0 95 34.5t36 85.5zM1068 122h231v398q0 154 -73 233t-193 79q-136 0 -209 -117h2v101h-231q3 -66 0 -694h231v388q0 38 7 56q15 35 45 59.5t74 24.5 q116 0 116 -157v-371zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" /> +<glyph unicode="" horiz-adv-x="1152" d="M480 672v448q0 14 -9 23t-23 9t-23 -9t-9 -23v-448q0 -14 9 -23t23 -9t23 9t9 23zM1152 320q0 -26 -19 -45t-45 -19h-429l-51 -483q-2 -12 -10.5 -20.5t-20.5 -8.5h-1q-27 0 -32 27l-76 485h-404q-26 0 -45 19t-19 45q0 123 78.5 221.5t177.5 98.5v512q-52 0 -90 38 t-38 90t38 90t90 38h640q52 0 90 -38t38 -90t-38 -90t-90 -38v-512q99 0 177.5 -98.5t78.5 -221.5z" /> +<glyph unicode="" horiz-adv-x="1792" d="M1408 608v-320q0 -119 -84.5 -203.5t-203.5 -84.5h-832q-119 0 -203.5 84.5t-84.5 203.5v832q0 119 84.5 203.5t203.5 84.5h704q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-704q-66 0 -113 -47t-47 -113v-832q0 -66 47 -113t113 -47h832q66 0 113 47t47 113v320 q0 14 9 23t23 9h64q14 0 23 -9t9 -23zM1792 1472v-512q0 -26 -19 -45t-45 -19t-45 19l-176 176l-652 -652q-10 -10 -23 -10t-23 10l-114 114q-10 10 -10 23t10 23l652 652l-176 176q-19 19 -19 45t19 45t45 19h512q26 0 45 -19t19 -45z" /> +<glyph unicode="" d="M1184 640q0 -26 -19 -45l-544 -544q-19 -19 -45 -19t-45 19t-19 45v288h-448q-26 0 -45 19t-19 45v384q0 26 19 45t45 19h448v288q0 26 19 45t45 19t45 -19l544 -544q19 -19 19 -45zM1536 992v-704q0 -119 -84.5 -203.5t-203.5 -84.5h-320q-13 0 -22.5 9.5t-9.5 22.5 q0 4 -1 20t-0.5 26.5t3 23.5t10 19.5t20.5 6.5h320q66 0 113 47t47 113v704q0 66 -47 113t-113 47h-288h-11h-13t-11.5 1t-11.5 3t-8 5.5t-7 9t-2 13.5q0 4 -1 20t-0.5 26.5t3 23.5t10 19.5t20.5 6.5h320q119 0 203.5 -84.5t84.5 -203.5z" /> +<glyph unicode="" horiz-adv-x="1664" d="M458 653q-74 162 -74 371h-256v-96q0 -78 94.5 -162t235.5 -113zM1536 928v96h-256q0 -209 -74 -371q141 29 235.5 113t94.5 162zM1664 1056v-128q0 -71 -41.5 -143t-112 -130t-173 -97.5t-215.5 -44.5q-42 -54 -95 -95q-38 -34 -52.5 -72.5t-14.5 -89.5q0 -54 30.5 -91 t97.5 -37q75 0 133.5 -45.5t58.5 -114.5v-64q0 -14 -9 -23t-23 -9h-832q-14 0 -23 9t-9 23v64q0 69 58.5 114.5t133.5 45.5q67 0 97.5 37t30.5 91q0 51 -14.5 89.5t-52.5 72.5q-53 41 -95 95q-113 5 -215.5 44.5t-173 97.5t-112 130t-41.5 143v128q0 40 28 68t68 28h288v96 q0 66 47 113t113 47h576q66 0 113 -47t47 -113v-96h288q40 0 68 -28t28 -68z" /> +<glyph unicode="" d="M394 184q-8 -9 -20 3q-13 11 -4 19q8 9 20 -3q12 -11 4 -19zM352 245q9 -12 0 -19q-8 -6 -17 7t0 18q9 7 17 -6zM291 305q-5 -7 -13 -2q-10 5 -7 12q3 5 13 2q10 -5 7 -12zM322 271q-6 -7 -16 3q-9 11 -2 16q6 6 16 -3q9 -11 2 -16zM451 159q-4 -12 -19 -6q-17 4 -13 15 t19 7q16 -5 13 -16zM514 154q0 -11 -16 -11q-17 -2 -17 11q0 11 16 11q17 2 17 -11zM572 164q2 -10 -14 -14t-18 8t14 15q16 2 18 -9zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-224q-16 0 -24.5 1t-19.5 5t-16 14.5t-5 27.5v239q0 97 -52 142q57 6 102.5 18t94 39 t81 66.5t53 105t20.5 150.5q0 121 -79 206q37 91 -8 204q-28 9 -81 -11t-92 -44l-38 -24q-93 26 -192 26t-192 -26q-16 11 -42.5 27t-83.5 38.5t-86 13.5q-44 -113 -7 -204q-79 -85 -79 -206q0 -85 20.5 -150t52.5 -105t80.5 -67t94 -39t102.5 -18q-40 -36 -49 -103 q-21 -10 -45 -15t-57 -5t-65.5 21.5t-55.5 62.5q-19 32 -48.5 52t-49.5 24l-20 3q-21 0 -29 -4.5t-5 -11.5t9 -14t13 -12l7 -5q22 -10 43.5 -38t31.5 -51l10 -23q13 -38 44 -61.5t67 -30t69.5 -7t55.5 3.5l23 4q0 -38 0.5 -103t0.5 -68q0 -22 -11 -33.5t-22 -13t-33 -1.5 h-224q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" /> +<glyph unicode="" horiz-adv-x="1664" d="M1280 64q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1536 64q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1664 288v-320q0 -40 -28 -68t-68 -28h-1472q-40 0 -68 28t-28 68v320q0 40 28 68t68 28h427q21 -56 70.5 -92 t110.5 -36h256q61 0 110.5 36t70.5 92h427q40 0 68 -28t28 -68zM1339 936q-17 -40 -59 -40h-256v-448q0 -26 -19 -45t-45 -19h-256q-26 0 -45 19t-19 45v448h-256q-42 0 -59 40q-17 39 14 69l448 448q18 19 45 19t45 -19l448 -448q31 -30 14 -69z" /> +<glyph unicode="" d="M1407 710q0 44 -7 113.5t-18 96.5q-12 30 -17 44t-9 36.5t-4 48.5q0 23 5 68.5t5 67.5q0 37 -10 55q-4 1 -13 1q-19 0 -58 -4.5t-59 -4.5q-60 0 -176 24t-175 24q-43 0 -94.5 -11.5t-85 -23.5t-89.5 -34q-137 -54 -202 -103q-96 -73 -159.5 -189.5t-88 -236t-24.5 -248.5 q0 -40 12.5 -120t12.5 -121q0 -23 -11 -66.5t-11 -65.5t12 -36.5t34 -14.5q24 0 72.5 11t73.5 11q57 0 169.5 -15.5t169.5 -15.5q181 0 284 36q129 45 235.5 152.5t166 245.5t59.5 275zM1535 712q0 -165 -70 -327.5t-196 -288t-281 -180.5q-124 -44 -326 -44 q-57 0 -170 14.5t-169 14.5q-24 0 -72.5 -14.5t-73.5 -14.5q-73 0 -123.5 55.5t-50.5 128.5q0 24 11 68t11 67q0 40 -12.5 120.5t-12.5 121.5q0 111 18 217.5t54.5 209.5t100.5 194t150 156q78 59 232 120q194 78 316 78q60 0 175.5 -24t173.5 -24q19 0 57 5t58 5 q81 0 118 -50.5t37 -134.5q0 -23 -5 -68t-5 -68q0 -10 1 -18.5t3 -17t4 -13.5t6.5 -16t6.5 -17q16 -40 25 -118.5t9 -136.5z" /> +<glyph unicode="" horiz-adv-x="1408" d="M1408 296q0 -27 -10 -70.5t-21 -68.5q-21 -50 -122 -106q-94 -51 -186 -51q-27 0 -52.5 3.5t-57.5 12.5t-47.5 14.5t-55.5 20.5t-49 18q-98 35 -175 83q-128 79 -264.5 215.5t-215.5 264.5q-48 77 -83 175q-3 9 -18 49t-20.5 55.5t-14.5 47.5t-12.5 57.5t-3.5 52.5 q0 92 51 186q56 101 106 122q25 11 68.5 21t70.5 10q14 0 21 -3q18 -6 53 -76q11 -19 30 -54t35 -63.5t31 -53.5q3 -4 17.5 -25t21.5 -35.5t7 -28.5q0 -20 -28.5 -50t-62 -55t-62 -53t-28.5 -46q0 -9 5 -22.5t8.5 -20.5t14 -24t11.5 -19q76 -137 174 -235t235 -174 q2 -1 19 -11.5t24 -14t20.5 -8.5t22.5 -5q18 0 46 28.5t53 62t55 62t50 28.5q14 0 28.5 -7t35.5 -21.5t25 -17.5q25 -15 53.5 -31t63.5 -35t54 -30q70 -35 76 -53q3 -7 3 -21z" /> +<glyph unicode="" horiz-adv-x="1408" d="M1120 1280h-832q-66 0 -113 -47t-47 -113v-832q0 -66 47 -113t113 -47h832q66 0 113 47t47 113v832q0 66 -47 113t-113 47zM1408 1120v-832q0 -119 -84.5 -203.5t-203.5 -84.5h-832q-119 0 -203.5 84.5t-84.5 203.5v832q0 119 84.5 203.5t203.5 84.5h832 q119 0 203.5 -84.5t84.5 -203.5z" /> +<glyph unicode="" horiz-adv-x="1280" d="M1152 1280h-1024v-1242l423 406l89 85l89 -85l423 -406v1242zM1164 1408q23 0 44 -9q33 -13 52.5 -41t19.5 -62v-1289q0 -34 -19.5 -62t-52.5 -41q-19 -8 -44 -8q-48 0 -83 32l-441 424l-441 -424q-36 -33 -83 -33q-23 0 -44 9q-33 13 -52.5 41t-19.5 62v1289 q0 34 19.5 62t52.5 41q21 9 44 9h1048z" /> +<glyph unicode="" d="M1280 343q0 11 -2 16q-3 8 -38.5 29.5t-88.5 49.5l-53 29q-5 3 -19 13t-25 15t-21 5q-18 0 -47 -32.5t-57 -65.5t-44 -33q-7 0 -16.5 3.5t-15.5 6.5t-17 9.5t-14 8.5q-99 55 -170.5 126.5t-126.5 170.5q-2 3 -8.5 14t-9.5 17t-6.5 15.5t-3.5 16.5q0 13 20.5 33.5t45 38.5 t45 39.5t20.5 36.5q0 10 -5 21t-15 25t-13 19q-3 6 -15 28.5t-25 45.5t-26.5 47.5t-25 40.5t-16.5 18t-16 2q-48 0 -101 -22q-46 -21 -80 -94.5t-34 -130.5q0 -16 2.5 -34t5 -30.5t9 -33t10 -29.5t12.5 -33t11 -30q60 -164 216.5 -320.5t320.5 -216.5q6 -2 30 -11t33 -12.5 t29.5 -10t33 -9t30.5 -5t34 -2.5q57 0 130.5 34t94.5 80q22 53 22 101zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" /> +<glyph unicode="" horiz-adv-x="1664" d="M1620 1128q-67 -98 -162 -167q1 -14 1 -42q0 -130 -38 -259.5t-115.5 -248.5t-184.5 -210.5t-258 -146t-323 -54.5q-271 0 -496 145q35 -4 78 -4q225 0 401 138q-105 2 -188 64.5t-114 159.5q33 -5 61 -5q43 0 85 11q-112 23 -185.5 111.5t-73.5 205.5v4q68 -38 146 -41 q-66 44 -105 115t-39 154q0 88 44 163q121 -149 294.5 -238.5t371.5 -99.5q-8 38 -8 74q0 134 94.5 228.5t228.5 94.5q140 0 236 -102q109 21 205 78q-37 -115 -142 -178q93 10 186 50z" /> +<glyph unicode="" horiz-adv-x="1024" d="M959 1524v-264h-157q-86 0 -116 -36t-30 -108v-189h293l-39 -296h-254v-759h-306v759h-255v296h255v218q0 186 104 288.5t277 102.5q147 0 228 -12z" /> +<glyph unicode="" d="M1536 640q0 -251 -146.5 -451.5t-378.5 -277.5q-27 -5 -39.5 7t-12.5 30v211q0 97 -52 142q57 6 102.5 18t94 39t81 66.5t53 105t20.5 150.5q0 121 -79 206q37 91 -8 204q-28 9 -81 -11t-92 -44l-38 -24q-93 26 -192 26t-192 -26q-16 11 -42.5 27t-83.5 38.5t-86 13.5 q-44 -113 -7 -204q-79 -85 -79 -206q0 -85 20.5 -150t52.5 -105t80.5 -67t94 -39t102.5 -18q-40 -36 -49 -103q-21 -10 -45 -15t-57 -5t-65.5 21.5t-55.5 62.5q-19 32 -48.5 52t-49.5 24l-20 3q-21 0 -29 -4.5t-5 -11.5t9 -14t13 -12l7 -5q22 -10 43.5 -38t31.5 -51l10 -23 q13 -38 44 -61.5t67 -30t69.5 -7t55.5 3.5l23 4q0 -38 0.5 -89t0.5 -54q0 -18 -13 -30t-40 -7q-232 77 -378.5 277.5t-146.5 451.5q0 209 103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" /> +<glyph unicode="" horiz-adv-x="1664" d="M1664 960v-256q0 -26 -19 -45t-45 -19h-64q-26 0 -45 19t-19 45v256q0 106 -75 181t-181 75t-181 -75t-75 -181v-192h96q40 0 68 -28t28 -68v-576q0 -40 -28 -68t-68 -28h-960q-40 0 -68 28t-28 68v576q0 40 28 68t68 28h672v192q0 185 131.5 316.5t316.5 131.5 t316.5 -131.5t131.5 -316.5z" /> +<glyph unicode="" horiz-adv-x="1920" d="M1760 1408q66 0 113 -47t47 -113v-1216q0 -66 -47 -113t-113 -47h-1600q-66 0 -113 47t-47 113v1216q0 66 47 113t113 47h1600zM160 1280q-13 0 -22.5 -9.5t-9.5 -22.5v-224h1664v224q0 13 -9.5 22.5t-22.5 9.5h-1600zM1760 0q13 0 22.5 9.5t9.5 22.5v608h-1664v-608 q0 -13 9.5 -22.5t22.5 -9.5h1600zM256 128v128h256v-128h-256zM640 128v128h384v-128h-384z" /> +<glyph unicode="" horiz-adv-x="1408" d="M384 192q0 -80 -56 -136t-136 -56t-136 56t-56 136t56 136t136 56t136 -56t56 -136zM896 69q2 -28 -17 -48q-18 -21 -47 -21h-135q-25 0 -43 16.5t-20 41.5q-22 229 -184.5 391.5t-391.5 184.5q-25 2 -41.5 20t-16.5 43v135q0 29 21 47q17 17 43 17h5q160 -13 306 -80.5 t259 -181.5q114 -113 181.5 -259t80.5 -306zM1408 67q2 -27 -18 -47q-18 -20 -46 -20h-143q-26 0 -44.5 17.5t-19.5 42.5q-12 215 -101 408.5t-231.5 336t-336 231.5t-408.5 102q-25 1 -42.5 19.5t-17.5 43.5v143q0 28 20 46q18 18 44 18h3q262 -13 501.5 -120t425.5 -294 q187 -186 294 -425.5t120 -501.5z" /> +<glyph unicode="" d="M1040 320q0 -33 -23.5 -56.5t-56.5 -23.5t-56.5 23.5t-23.5 56.5t23.5 56.5t56.5 23.5t56.5 -23.5t23.5 -56.5zM1296 320q0 -33 -23.5 -56.5t-56.5 -23.5t-56.5 23.5t-23.5 56.5t23.5 56.5t56.5 23.5t56.5 -23.5t23.5 -56.5zM1408 160v320q0 13 -9.5 22.5t-22.5 9.5 h-1216q-13 0 -22.5 -9.5t-9.5 -22.5v-320q0 -13 9.5 -22.5t22.5 -9.5h1216q13 0 22.5 9.5t9.5 22.5zM178 640h1180l-157 482q-4 13 -16 21.5t-26 8.5h-782q-14 0 -26 -8.5t-16 -21.5zM1536 480v-320q0 -66 -47 -113t-113 -47h-1216q-66 0 -113 47t-47 113v320q0 25 16 75 l197 606q17 53 63 86t101 33h782q55 0 101 -33t63 -86l197 -606q16 -50 16 -75z" /> +<glyph unicode="" horiz-adv-x="1792" d="M1664 896q53 0 90.5 -37.5t37.5 -90.5t-37.5 -90.5t-90.5 -37.5v-384q0 -52 -38 -90t-90 -38q-417 347 -812 380q-58 -19 -91 -66t-31 -100.5t40 -92.5q-20 -33 -23 -65.5t6 -58t33.5 -55t48 -50t61.5 -50.5q-29 -58 -111.5 -83t-168.5 -11.5t-132 55.5q-7 23 -29.5 87.5 t-32 94.5t-23 89t-15 101t3.5 98.5t22 110.5h-122q-66 0 -113 47t-47 113v192q0 66 47 113t113 47h480q435 0 896 384q52 0 90 -38t38 -90v-384zM1536 292v954q-394 -302 -768 -343v-270q377 -42 768 -341z" /> +<glyph unicode="" horiz-adv-x="1792" d="M912 -160q0 16 -16 16q-59 0 -101.5 42.5t-42.5 101.5q0 16 -16 16t-16 -16q0 -73 51.5 -124.5t124.5 -51.5q16 0 16 16zM246 128h1300q-266 300 -266 832q0 51 -24 105t-69 103t-121.5 80.5t-169.5 31.5t-169.5 -31.5t-121.5 -80.5t-69 -103t-24 -105q0 -532 -266 -832z M1728 128q0 -52 -38 -90t-90 -38h-448q0 -106 -75 -181t-181 -75t-181 75t-75 181h-448q-52 0 -90 38t-38 90q50 42 91 88t85 119.5t74.5 158.5t50 206t19.5 260q0 152 117 282.5t307 158.5q-8 19 -8 39q0 40 28 68t68 28t68 -28t28 -68q0 -20 -8 -39q190 -28 307 -158.5 t117 -282.5q0 -139 19.5 -260t50 -206t74.5 -158.5t85 -119.5t91 -88z" /> +<glyph unicode="" d="M1376 640l138 -135q30 -28 20 -70q-12 -41 -52 -51l-188 -48l53 -186q12 -41 -19 -70q-29 -31 -70 -19l-186 53l-48 -188q-10 -40 -51 -52q-12 -2 -19 -2q-31 0 -51 22l-135 138l-135 -138q-28 -30 -70 -20q-41 11 -51 52l-48 188l-186 -53q-41 -12 -70 19q-31 29 -19 70 l53 186l-188 48q-40 10 -52 51q-10 42 20 70l138 135l-138 135q-30 28 -20 70q12 41 52 51l188 48l-53 186q-12 41 19 70q29 31 70 19l186 -53l48 188q10 41 51 51q41 12 70 -19l135 -139l135 139q29 30 70 19q41 -10 51 -51l48 -188l186 53q41 12 70 -19q31 -29 19 -70 l-53 -186l188 -48q40 -10 52 -51q10 -42 -20 -70z" /> +<glyph unicode="" horiz-adv-x="1792" d="M256 192q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1664 768q0 51 -39 89.5t-89 38.5h-576q0 20 15 48.5t33 55t33 68t15 84.5q0 67 -44.5 97.5t-115.5 30.5q-24 0 -90 -139q-24 -44 -37 -65q-40 -64 -112 -145q-71 -81 -101 -106 q-69 -57 -140 -57h-32v-640h32q72 0 167 -32t193.5 -64t179.5 -32q189 0 189 167q0 26 -5 56q30 16 47.5 52.5t17.5 73.5t-18 69q53 50 53 119q0 25 -10 55.5t-25 47.5h331q52 0 90 38t38 90zM1792 769q0 -105 -75.5 -181t-180.5 -76h-169q-4 -62 -37 -119q3 -21 3 -43 q0 -101 -60 -178q1 -139 -85 -219.5t-227 -80.5q-133 0 -322 69q-164 59 -223 59h-288q-53 0 -90.5 37.5t-37.5 90.5v640q0 53 37.5 90.5t90.5 37.5h288q10 0 21.5 4.5t23.5 14t22.5 18t24 22.5t20.5 21.5t19 21.5t14 17q65 74 100 129q13 21 33 62t37 72t40.5 63t55 49.5 t69.5 17.5q125 0 206.5 -67t81.5 -189q0 -68 -22 -128h374q104 0 180 -76t76 -179z" /> +<glyph unicode="" horiz-adv-x="1792" d="M1376 128h32v640h-32q-35 0 -67.5 12t-62.5 37t-50 46t-49 54q-2 3 -3.5 4.5t-4 4.5t-4.5 5q-72 81 -112 145q-14 22 -38 68q-1 3 -10.5 22.5t-18.5 36t-20 35.5t-21.5 30.5t-18.5 11.5q-71 0 -115.5 -30.5t-44.5 -97.5q0 -43 15 -84.5t33 -68t33 -55t15 -48.5h-576 q-50 0 -89 -38.5t-39 -89.5q0 -52 38 -90t90 -38h331q-15 -17 -25 -47.5t-10 -55.5q0 -69 53 -119q-18 -32 -18 -69t17.5 -73.5t47.5 -52.5q-4 -24 -4 -56q0 -85 48.5 -126t135.5 -41q84 0 183 32t194 64t167 32zM1664 192q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45 t45 -19t45 19t19 45zM1792 768v-640q0 -53 -37.5 -90.5t-90.5 -37.5h-288q-59 0 -223 -59q-190 -69 -317 -69q-142 0 -230 77.5t-87 217.5l1 5q-61 76 -61 178q0 22 3 43q-33 57 -37 119h-169q-105 0 -180.5 76t-75.5 181q0 103 76 179t180 76h374q-22 60 -22 128 q0 122 81.5 189t206.5 67q38 0 69.5 -17.5t55 -49.5t40.5 -63t37 -72t33 -62q35 -55 100 -129q2 -3 14 -17t19 -21.5t20.5 -21.5t24 -22.5t22.5 -18t23.5 -14t21.5 -4.5h288q53 0 90.5 -37.5t37.5 -90.5z" /> +<glyph unicode="" d="M1280 -64q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1408 700q0 189 -167 189q-26 0 -56 -5q-16 30 -52.5 47.5t-73.5 17.5t-69 -18q-50 53 -119 53q-25 0 -55.5 -10t-47.5 -25v331q0 52 -38 90t-90 38q-51 0 -89.5 -39t-38.5 -89v-576 q-20 0 -48.5 15t-55 33t-68 33t-84.5 15q-67 0 -97.5 -44.5t-30.5 -115.5q0 -24 139 -90q44 -24 65 -37q64 -40 145 -112q81 -71 106 -101q57 -69 57 -140v-32h640v32q0 72 32 167t64 193.5t32 179.5zM1536 705q0 -133 -69 -322q-59 -164 -59 -223v-288q0 -53 -37.5 -90.5 t-90.5 -37.5h-640q-53 0 -90.5 37.5t-37.5 90.5v288q0 10 -4.5 21.5t-14 23.5t-18 22.5t-22.5 24t-21.5 20.5t-21.5 19t-17 14q-74 65 -129 100q-21 13 -62 33t-72 37t-63 40.5t-49.5 55t-17.5 69.5q0 125 67 206.5t189 81.5q68 0 128 -22v374q0 104 76 180t179 76 q105 0 181 -75.5t76 -180.5v-169q62 -4 119 -37q21 3 43 3q101 0 178 -60q139 1 219.5 -85t80.5 -227z" /> +<glyph unicode="" d="M1408 576q0 84 -32 183t-64 194t-32 167v32h-640v-32q0 -35 -12 -67.5t-37 -62.5t-46 -50t-54 -49q-9 -8 -14 -12q-81 -72 -145 -112q-22 -14 -68 -38q-3 -1 -22.5 -10.5t-36 -18.5t-35.5 -20t-30.5 -21.5t-11.5 -18.5q0 -71 30.5 -115.5t97.5 -44.5q43 0 84.5 15t68 33 t55 33t48.5 15v-576q0 -50 38.5 -89t89.5 -39q52 0 90 38t38 90v331q46 -35 103 -35q69 0 119 53q32 -18 69 -18t73.5 17.5t52.5 47.5q24 -4 56 -4q85 0 126 48.5t41 135.5zM1280 1344q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1536 580 q0 -142 -77.5 -230t-217.5 -87l-5 1q-76 -61 -178 -61q-22 0 -43 3q-54 -30 -119 -37v-169q0 -105 -76 -180.5t-181 -75.5q-103 0 -179 76t-76 180v374q-54 -22 -128 -22q-121 0 -188.5 81.5t-67.5 206.5q0 38 17.5 69.5t49.5 55t63 40.5t72 37t62 33q55 35 129 100 q3 2 17 14t21.5 19t21.5 20.5t22.5 24t18 22.5t14 23.5t4.5 21.5v288q0 53 37.5 90.5t90.5 37.5h640q53 0 90.5 -37.5t37.5 -90.5v-288q0 -59 59 -223q69 -190 69 -317z" /> +<glyph unicode="" d="M1280 576v128q0 26 -19 45t-45 19h-502l189 189q19 19 19 45t-19 45l-91 91q-18 18 -45 18t-45 -18l-362 -362l-91 -91q-18 -18 -18 -45t18 -45l91 -91l362 -362q18 -18 45 -18t45 18l91 91q18 18 18 45t-18 45l-189 189h502q26 0 45 19t19 45zM1536 640 q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" /> +<glyph unicode="" d="M1285 640q0 27 -18 45l-91 91l-362 362q-18 18 -45 18t-45 -18l-91 -91q-18 -18 -18 -45t18 -45l189 -189h-502q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h502l-189 -189q-19 -19 -19 -45t19 -45l91 -91q18 -18 45 -18t45 18l362 362l91 91q18 18 18 45zM1536 640 q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" /> +<glyph unicode="" d="M1284 641q0 27 -18 45l-362 362l-91 91q-18 18 -45 18t-45 -18l-91 -91l-362 -362q-18 -18 -18 -45t18 -45l91 -91q18 -18 45 -18t45 18l189 189v-502q0 -26 19 -45t45 -19h128q26 0 45 19t19 45v502l189 -189q19 -19 45 -19t45 19l91 91q18 18 18 45zM1536 640 q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" /> +<glyph unicode="" d="M1284 639q0 27 -18 45l-91 91q-18 18 -45 18t-45 -18l-189 -189v502q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-502l-189 189q-19 19 -45 19t-45 -19l-91 -91q-18 -18 -18 -45t18 -45l362 -362l91 -91q18 -18 45 -18t45 18l91 91l362 362q18 18 18 45zM1536 640 q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" /> +<glyph unicode="" d="M768 1408q209 0 385.5 -103t279.5 -279.5t103 -385.5t-103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103zM1042 887q-2 -1 -9.5 -9.5t-13.5 -9.5q2 0 4.5 5t5 11t3.5 7q6 7 22 15q14 6 52 12q34 8 51 -11 q-2 2 9.5 13t14.5 12q3 2 15 4.5t15 7.5l2 22q-12 -1 -17.5 7t-6.5 21q0 -2 -6 -8q0 7 -4.5 8t-11.5 -1t-9 -1q-10 3 -15 7.5t-8 16.5t-4 15q-2 5 -9.5 10.5t-9.5 10.5q-1 2 -2.5 5.5t-3 6.5t-4 5.5t-5.5 2.5t-7 -5t-7.5 -10t-4.5 -5q-3 2 -6 1.5t-4.5 -1t-4.5 -3t-5 -3.5 q-3 -2 -8.5 -3t-8.5 -2q15 5 -1 11q-10 4 -16 3q9 4 7.5 12t-8.5 14h5q-1 4 -8.5 8.5t-17.5 8.5t-13 6q-8 5 -34 9.5t-33 0.5q-5 -6 -4.5 -10.5t4 -14t3.5 -12.5q1 -6 -5.5 -13t-6.5 -12q0 -7 14 -15.5t10 -21.5q-3 -8 -16 -16t-16 -12q-5 -8 -1.5 -18.5t10.5 -16.5 q2 -2 1.5 -4t-3.5 -4.5t-5.5 -4t-6.5 -3.5l-3 -2q-11 -5 -20.5 6t-13.5 26q-7 25 -16 30q-23 8 -29 -1q-5 13 -41 26q-25 9 -58 4q6 1 0 15q-7 15 -19 12q3 6 4 17.5t1 13.5q3 13 12 23q1 1 7 8.5t9.5 13.5t0.5 6q35 -4 50 11q5 5 11.5 17t10.5 17q9 6 14 5.5t14.5 -5.5 t14.5 -5q14 -1 15.5 11t-7.5 20q12 -1 3 17q-5 7 -8 9q-12 4 -27 -5q-8 -4 2 -8q-1 1 -9.5 -10.5t-16.5 -17.5t-16 5q-1 1 -5.5 13.5t-9.5 13.5q-8 0 -16 -15q3 8 -11 15t-24 8q19 12 -8 27q-7 4 -20.5 5t-19.5 -4q-5 -7 -5.5 -11.5t5 -8t10.5 -5.5t11.5 -4t8.5 -3 q14 -10 8 -14q-2 -1 -8.5 -3.5t-11.5 -4.5t-6 -4q-3 -4 0 -14t-2 -14q-5 5 -9 17.5t-7 16.5q7 -9 -25 -6l-10 1q-4 0 -16 -2t-20.5 -1t-13.5 8q-4 8 0 20q1 4 4 2q-4 3 -11 9.5t-10 8.5q-46 -15 -94 -41q6 -1 12 1q5 2 13 6.5t10 5.5q34 14 42 7l5 5q14 -16 20 -25 q-7 4 -30 1q-20 -6 -22 -12q7 -12 5 -18q-4 3 -11.5 10t-14.5 11t-15 5q-16 0 -22 -1q-146 -80 -235 -222q7 -7 12 -8q4 -1 5 -9t2.5 -11t11.5 3q9 -8 3 -19q1 1 44 -27q19 -17 21 -21q3 -11 -10 -18q-1 2 -9 9t-9 4q-3 -5 0.5 -18.5t10.5 -12.5q-7 0 -9.5 -16t-2.5 -35.5 t-1 -23.5l2 -1q-3 -12 5.5 -34.5t21.5 -19.5q-13 -3 20 -43q6 -8 8 -9q3 -2 12 -7.5t15 -10t10 -10.5q4 -5 10 -22.5t14 -23.5q-2 -6 9.5 -20t10.5 -23q-1 0 -2.5 -1t-2.5 -1q3 -7 15.5 -14t15.5 -13q1 -3 2 -10t3 -11t8 -2q2 20 -24 62q-15 25 -17 29q-3 5 -5.5 15.5 t-4.5 14.5q2 0 6 -1.5t8.5 -3.5t7.5 -4t2 -3q-3 -7 2 -17.5t12 -18.5t17 -19t12 -13q6 -6 14 -19.5t0 -13.5q9 0 20 -10t17 -20q5 -8 8 -26t5 -24q2 -7 8.5 -13.5t12.5 -9.5l16 -8t13 -7q5 -2 18.5 -10.5t21.5 -11.5q10 -4 16 -4t14.5 2.5t13.5 3.5q15 2 29 -15t21 -21 q36 -19 55 -11q-2 -1 0.5 -7.5t8 -15.5t9 -14.5t5.5 -8.5q5 -6 18 -15t18 -15q6 4 7 9q-3 -8 7 -20t18 -10q14 3 14 32q-31 -15 -49 18q0 1 -2.5 5.5t-4 8.5t-2.5 8.5t0 7.5t5 3q9 0 10 3.5t-2 12.5t-4 13q-1 8 -11 20t-12 15q-5 -9 -16 -8t-16 9q0 -1 -1.5 -5.5t-1.5 -6.5 q-13 0 -15 1q1 3 2.5 17.5t3.5 22.5q1 4 5.5 12t7.5 14.5t4 12.5t-4.5 9.5t-17.5 2.5q-19 -1 -26 -20q-1 -3 -3 -10.5t-5 -11.5t-9 -7q-7 -3 -24 -2t-24 5q-13 8 -22.5 29t-9.5 37q0 10 2.5 26.5t3 25t-5.5 24.5q3 2 9 9.5t10 10.5q2 1 4.5 1.5t4.5 0t4 1.5t3 6q-1 1 -4 3 q-3 3 -4 3q7 -3 28.5 1.5t27.5 -1.5q15 -11 22 2q0 1 -2.5 9.5t-0.5 13.5q5 -27 29 -9q3 -3 15.5 -5t17.5 -5q3 -2 7 -5.5t5.5 -4.5t5 0.5t8.5 6.5q10 -14 12 -24q11 -40 19 -44q7 -3 11 -2t4.5 9.5t0 14t-1.5 12.5l-1 8v18l-1 8q-15 3 -18.5 12t1.5 18.5t15 18.5q1 1 8 3.5 t15.5 6.5t12.5 8q21 19 15 35q7 0 11 9q-1 0 -5 3t-7.5 5t-4.5 2q9 5 2 16q5 3 7.5 11t7.5 10q9 -12 21 -2q7 8 1 16q5 7 20.5 10.5t18.5 9.5q7 -2 8 2t1 12t3 12q4 5 15 9t13 5l17 11q3 4 0 4q18 -2 31 11q10 11 -6 20q3 6 -3 9.5t-15 5.5q3 1 11.5 0.5t10.5 1.5 q15 10 -7 16q-17 5 -43 -12zM879 10q206 36 351 189q-3 3 -12.5 4.5t-12.5 3.5q-18 7 -24 8q1 7 -2.5 13t-8 9t-12.5 8t-11 7q-2 2 -7 6t-7 5.5t-7.5 4.5t-8.5 2t-10 -1l-3 -1q-3 -1 -5.5 -2.5t-5.5 -3t-4 -3t0 -2.5q-21 17 -36 22q-5 1 -11 5.5t-10.5 7t-10 1.5t-11.5 -7 q-5 -5 -6 -15t-2 -13q-7 5 0 17.5t2 18.5q-3 6 -10.5 4.5t-12 -4.5t-11.5 -8.5t-9 -6.5t-8.5 -5.5t-8.5 -7.5q-3 -4 -6 -12t-5 -11q-2 4 -11.5 6.5t-9.5 5.5q2 -10 4 -35t5 -38q7 -31 -12 -48q-27 -25 -29 -40q-4 -22 12 -26q0 -7 -8 -20.5t-7 -21.5q0 -6 2 -16z" /> +<glyph unicode="" horiz-adv-x="1664" d="M384 64q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1028 484l-682 -682q-37 -37 -90 -37q-52 0 -91 37l-106 108q-38 36 -38 90q0 53 38 91l681 681q39 -98 114.5 -173.5t173.5 -114.5zM1662 919q0 -39 -23 -106q-47 -134 -164.5 -217.5 t-258.5 -83.5q-185 0 -316.5 131.5t-131.5 316.5t131.5 316.5t316.5 131.5q58 0 121.5 -16.5t107.5 -46.5q16 -11 16 -28t-16 -28l-293 -169v-224l193 -107q5 3 79 48.5t135.5 81t70.5 35.5q15 0 23.5 -10t8.5 -25z" /> +<glyph unicode="" horiz-adv-x="1792" d="M1024 128h640v128h-640v-128zM640 640h1024v128h-1024v-128zM1280 1152h384v128h-384v-128zM1792 320v-256q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v256q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1792 832v-256q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19 t-19 45v256q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1792 1344v-256q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v256q0 26 19 45t45 19h1664q26 0 45 -19t19 -45z" /> +<glyph unicode="" horiz-adv-x="1408" d="M1403 1241q17 -41 -14 -70l-493 -493v-742q0 -42 -39 -59q-13 -5 -25 -5q-27 0 -45 19l-256 256q-19 19 -19 45v486l-493 493q-31 29 -14 70q17 39 59 39h1280q42 0 59 -39z" /> +<glyph unicode="" horiz-adv-x="1792" d="M640 1280h512v128h-512v-128zM1792 640v-480q0 -66 -47 -113t-113 -47h-1472q-66 0 -113 47t-47 113v480h672v-160q0 -26 19 -45t45 -19h320q26 0 45 19t19 45v160h672zM1024 640v-128h-256v128h256zM1792 1120v-384h-1792v384q0 66 47 113t113 47h352v160q0 40 28 68 t68 28h576q40 0 68 -28t28 -68v-160h352q66 0 113 -47t47 -113z" /> +<glyph unicode="" d="M1283 995l-355 -355l355 -355l144 144q29 31 70 14q39 -17 39 -59v-448q0 -26 -19 -45t-45 -19h-448q-42 0 -59 40q-17 39 14 69l144 144l-355 355l-355 -355l144 -144q31 -30 14 -69q-17 -40 -59 -40h-448q-26 0 -45 19t-19 45v448q0 42 40 59q39 17 69 -14l144 -144 l355 355l-355 355l-144 -144q-19 -19 -45 -19q-12 0 -24 5q-40 17 -40 59v448q0 26 19 45t45 19h448q42 0 59 -40q17 -39 -14 -69l-144 -144l355 -355l355 355l-144 144q-31 30 -14 69q17 40 59 40h448q26 0 45 -19t19 -45v-448q0 -42 -39 -59q-13 -5 -25 -5q-26 0 -45 19z " /> +<glyph unicode="" horiz-adv-x="1920" d="M593 640q-162 -5 -265 -128h-134q-82 0 -138 40.5t-56 118.5q0 353 124 353q6 0 43.5 -21t97.5 -42.5t119 -21.5q67 0 133 23q-5 -37 -5 -66q0 -139 81 -256zM1664 3q0 -120 -73 -189.5t-194 -69.5h-874q-121 0 -194 69.5t-73 189.5q0 53 3.5 103.5t14 109t26.5 108.5 t43 97.5t62 81t85.5 53.5t111.5 20q10 0 43 -21.5t73 -48t107 -48t135 -21.5t135 21.5t107 48t73 48t43 21.5q61 0 111.5 -20t85.5 -53.5t62 -81t43 -97.5t26.5 -108.5t14 -109t3.5 -103.5zM640 1280q0 -106 -75 -181t-181 -75t-181 75t-75 181t75 181t181 75t181 -75 t75 -181zM1344 896q0 -159 -112.5 -271.5t-271.5 -112.5t-271.5 112.5t-112.5 271.5t112.5 271.5t271.5 112.5t271.5 -112.5t112.5 -271.5zM1920 671q0 -78 -56 -118.5t-138 -40.5h-134q-103 123 -265 128q81 117 81 256q0 29 -5 66q66 -23 133 -23q59 0 119 21.5t97.5 42.5 t43.5 21q124 0 124 -353zM1792 1280q0 -106 -75 -181t-181 -75t-181 75t-75 181t75 181t181 75t181 -75t75 -181z" /> +<glyph unicode="" horiz-adv-x="1664" d="M1456 320q0 40 -28 68l-208 208q-28 28 -68 28q-42 0 -72 -32q3 -3 19 -18.5t21.5 -21.5t15 -19t13 -25.5t3.5 -27.5q0 -40 -28 -68t-68 -28q-15 0 -27.5 3.5t-25.5 13t-19 15t-21.5 21.5t-18.5 19q-33 -31 -33 -73q0 -40 28 -68l206 -207q27 -27 68 -27q40 0 68 26 l147 146q28 28 28 67zM753 1025q0 40 -28 68l-206 207q-28 28 -68 28q-39 0 -68 -27l-147 -146q-28 -28 -28 -67q0 -40 28 -68l208 -208q27 -27 68 -27q42 0 72 31q-3 3 -19 18.5t-21.5 21.5t-15 19t-13 25.5t-3.5 27.5q0 40 28 68t68 28q15 0 27.5 -3.5t25.5 -13t19 -15 t21.5 -21.5t18.5 -19q33 31 33 73zM1648 320q0 -120 -85 -203l-147 -146q-83 -83 -203 -83q-121 0 -204 85l-206 207q-83 83 -83 203q0 123 88 209l-88 88q-86 -88 -208 -88q-120 0 -204 84l-208 208q-84 84 -84 204t85 203l147 146q83 83 203 83q121 0 204 -85l206 -207 q83 -83 83 -203q0 -123 -88 -209l88 -88q86 88 208 88q120 0 204 -84l208 -208q84 -84 84 -204z" /> +<glyph unicode="" horiz-adv-x="1920" d="M1920 384q0 -159 -112.5 -271.5t-271.5 -112.5h-1088q-185 0 -316.5 131.5t-131.5 316.5q0 132 71 241.5t187 163.5q-2 28 -2 43q0 212 150 362t362 150q158 0 286.5 -88t187.5 -230q70 62 166 62q106 0 181 -75t75 -181q0 -75 -41 -138q129 -30 213 -134.5t84 -239.5z " /> +<glyph unicode="" horiz-adv-x="1664" d="M1527 88q56 -89 21.5 -152.5t-140.5 -63.5h-1152q-106 0 -140.5 63.5t21.5 152.5l503 793v399h-64q-26 0 -45 19t-19 45t19 45t45 19h512q26 0 45 -19t19 -45t-19 -45t-45 -19h-64v-399zM748 813l-272 -429h712l-272 429l-20 31v37v399h-128v-399v-37z" /> +<glyph unicode="" horiz-adv-x="1792" d="M960 640q26 0 45 -19t19 -45t-19 -45t-45 -19t-45 19t-19 45t19 45t45 19zM1260 576l507 -398q28 -20 25 -56q-5 -35 -35 -51l-128 -64q-13 -7 -29 -7q-17 0 -31 8l-690 387l-110 -66q-8 -4 -12 -5q14 -49 10 -97q-7 -77 -56 -147.5t-132 -123.5q-132 -84 -277 -84 q-136 0 -222 78q-90 84 -79 207q7 76 56 147t131 124q132 84 278 84q83 0 151 -31q9 13 22 22l122 73l-122 73q-13 9 -22 22q-68 -31 -151 -31q-146 0 -278 84q-82 53 -131 124t-56 147q-5 59 15.5 113t63.5 93q85 79 222 79q145 0 277 -84q83 -52 132 -123t56 -148 q4 -48 -10 -97q4 -1 12 -5l110 -66l690 387q14 8 31 8q16 0 29 -7l128 -64q30 -16 35 -51q3 -36 -25 -56zM579 836q46 42 21 108t-106 117q-92 59 -192 59q-74 0 -113 -36q-46 -42 -21 -108t106 -117q92 -59 192 -59q74 0 113 36zM494 91q81 51 106 117t-21 108 q-39 36 -113 36q-100 0 -192 -59q-81 -51 -106 -117t21 -108q39 -36 113 -36q100 0 192 59zM672 704l96 -58v11q0 36 33 56l14 8l-79 47l-26 -26q-3 -3 -10 -11t-12 -12q-2 -2 -4 -3.5t-3 -2.5zM896 480l96 -32l736 576l-128 64l-768 -431v-113l-160 -96l9 -8q2 -2 7 -6 q4 -4 11 -12t11 -12l26 -26zM1600 64l128 64l-520 408l-177 -138q-2 -3 -13 -7z" /> +<glyph unicode="" horiz-adv-x="1792" d="M1696 1152q40 0 68 -28t28 -68v-1216q0 -40 -28 -68t-68 -28h-960q-40 0 -68 28t-28 68v288h-544q-40 0 -68 28t-28 68v672q0 40 20 88t48 76l408 408q28 28 76 48t88 20h416q40 0 68 -28t28 -68v-328q68 40 128 40h416zM1152 939l-299 -299h299v299zM512 1323l-299 -299 h299v299zM708 676l316 316v416h-384v-416q0 -40 -28 -68t-68 -28h-416v-640h512v256q0 40 20 88t48 76zM1664 -128v1152h-384v-416q0 -40 -28 -68t-68 -28h-416v-640h896z" /> +<glyph unicode="" horiz-adv-x="1408" d="M1404 151q0 -117 -79 -196t-196 -79q-135 0 -235 100l-777 776q-113 115 -113 271q0 159 110 270t269 111q158 0 273 -113l605 -606q10 -10 10 -22q0 -16 -30.5 -46.5t-46.5 -30.5q-13 0 -23 10l-606 607q-79 77 -181 77q-106 0 -179 -75t-73 -181q0 -105 76 -181 l776 -777q63 -63 145 -63q64 0 106 42t42 106q0 82 -63 145l-581 581q-26 24 -60 24q-29 0 -48 -19t-19 -48q0 -32 25 -59l410 -410q10 -10 10 -22q0 -16 -31 -47t-47 -31q-12 0 -22 10l-410 410q-63 61 -63 149q0 82 57 139t139 57q88 0 149 -63l581 -581q100 -98 100 -235 z" /> +<glyph unicode="" d="M384 0h768v384h-768v-384zM1280 0h128v896q0 14 -10 38.5t-20 34.5l-281 281q-10 10 -34 20t-39 10v-416q0 -40 -28 -68t-68 -28h-576q-40 0 -68 28t-28 68v416h-128v-1280h128v416q0 40 28 68t68 28h832q40 0 68 -28t28 -68v-416zM896 928v320q0 13 -9.5 22.5t-22.5 9.5 h-192q-13 0 -22.5 -9.5t-9.5 -22.5v-320q0 -13 9.5 -22.5t22.5 -9.5h192q13 0 22.5 9.5t9.5 22.5zM1536 896v-928q0 -40 -28 -68t-68 -28h-1344q-40 0 -68 28t-28 68v1344q0 40 28 68t68 28h928q40 0 88 -20t76 -48l280 -280q28 -28 48 -76t20 -88z" /> +<glyph unicode="" d="M1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" /> +<glyph unicode="" d="M1536 192v-128q0 -26 -19 -45t-45 -19h-1408q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1408q26 0 45 -19t19 -45zM1536 704v-128q0 -26 -19 -45t-45 -19h-1408q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1408q26 0 45 -19t19 -45zM1536 1216v-128q0 -26 -19 -45 t-45 -19h-1408q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1408q26 0 45 -19t19 -45z" /> +<glyph unicode="" horiz-adv-x="1792" d="M384 128q0 -80 -56 -136t-136 -56t-136 56t-56 136t56 136t136 56t136 -56t56 -136zM384 640q0 -80 -56 -136t-136 -56t-136 56t-56 136t56 136t136 56t136 -56t56 -136zM1792 224v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1216q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5 t22.5 9.5h1216q13 0 22.5 -9.5t9.5 -22.5zM384 1152q0 -80 -56 -136t-136 -56t-136 56t-56 136t56 136t136 56t136 -56t56 -136zM1792 736v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1216q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1216q13 0 22.5 -9.5t9.5 -22.5z M1792 1248v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1216q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1216q13 0 22.5 -9.5t9.5 -22.5z" /> +<glyph unicode="" horiz-adv-x="1792" d="M381 -84q0 -80 -54.5 -126t-135.5 -46q-106 0 -172 66l57 88q49 -45 106 -45q29 0 50.5 14.5t21.5 42.5q0 64 -105 56l-26 56q8 10 32.5 43.5t42.5 54t37 38.5v1q-16 0 -48.5 -1t-48.5 -1v-53h-106v152h333v-88l-95 -115q51 -12 81 -49t30 -88zM383 543v-159h-362 q-6 36 -6 54q0 51 23.5 93t56.5 68t66 47.5t56.5 43.5t23.5 45q0 25 -14.5 38.5t-39.5 13.5q-46 0 -81 -58l-85 59q24 51 71.5 79.5t105.5 28.5q73 0 123 -41.5t50 -112.5q0 -50 -34 -91.5t-75 -64.5t-75.5 -50.5t-35.5 -52.5h127v60h105zM1792 224v-192q0 -13 -9.5 -22.5 t-22.5 -9.5h-1216q-13 0 -22.5 9.5t-9.5 22.5v192q0 14 9 23t23 9h1216q13 0 22.5 -9.5t9.5 -22.5zM384 1123v-99h-335v99h107q0 41 0.5 122t0.5 121v12h-2q-8 -17 -50 -54l-71 76l136 127h106v-404h108zM1792 736v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1216q-13 0 -22.5 9.5 t-9.5 22.5v192q0 14 9 23t23 9h1216q13 0 22.5 -9.5t9.5 -22.5zM1792 1248v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1216q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1216q13 0 22.5 -9.5t9.5 -22.5z" /> +<glyph unicode="" horiz-adv-x="1792" d="M1760 640q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-1728q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h1728zM483 704q-28 35 -51 80q-48 97 -48 188q0 181 134 309q133 127 393 127q50 0 167 -19q66 -12 177 -48q10 -38 21 -118q14 -123 14 -183q0 -18 -5 -45l-12 -3l-84 6 l-14 2q-50 149 -103 205q-88 91 -210 91q-114 0 -182 -59q-67 -58 -67 -146q0 -73 66 -140t279 -129q69 -20 173 -66q58 -28 95 -52h-743zM990 448h411q7 -39 7 -92q0 -111 -41 -212q-23 -55 -71 -104q-37 -35 -109 -81q-80 -48 -153 -66q-80 -21 -203 -21q-114 0 -195 23 l-140 40q-57 16 -72 28q-8 8 -8 22v13q0 108 -2 156q-1 30 0 68l2 37v44l102 2q15 -34 30 -71t22.5 -56t12.5 -27q35 -57 80 -94q43 -36 105 -57q59 -22 132 -22q64 0 139 27q77 26 122 86q47 61 47 129q0 84 -81 157q-34 29 -137 71z" /> +<glyph unicode="" d="M48 1313q-37 2 -45 4l-3 88q13 1 40 1q60 0 112 -4q132 -7 166 -7q86 0 168 3q116 4 146 5q56 0 86 2l-1 -14l2 -64v-9q-60 -9 -124 -9q-60 0 -79 -25q-13 -14 -13 -132q0 -13 0.5 -32.5t0.5 -25.5l1 -229l14 -280q6 -124 51 -202q35 -59 96 -92q88 -47 177 -47 q104 0 191 28q56 18 99 51q48 36 65 64q36 56 53 114q21 73 21 229q0 79 -3.5 128t-11 122.5t-13.5 159.5l-4 59q-5 67 -24 88q-34 35 -77 34l-100 -2l-14 3l2 86h84l205 -10q76 -3 196 10l18 -2q6 -38 6 -51q0 -7 -4 -31q-45 -12 -84 -13q-73 -11 -79 -17q-15 -15 -15 -41 q0 -7 1.5 -27t1.5 -31q8 -19 22 -396q6 -195 -15 -304q-15 -76 -41 -122q-38 -65 -112 -123q-75 -57 -182 -89q-109 -33 -255 -33q-167 0 -284 46q-119 47 -179 122q-61 76 -83 195q-16 80 -16 237v333q0 188 -17 213q-25 36 -147 39zM1536 -96v64q0 14 -9 23t-23 9h-1472 q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h1472q14 0 23 9t9 23z" /> +<glyph unicode="" horiz-adv-x="1664" d="M512 160v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM512 544v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM1024 160v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23 v-192q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM512 928v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM1024 544v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM1536 160v192 q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM1024 928v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM1536 544v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-192 q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM1536 928v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM1664 1248v-1088q0 -66 -47 -113t-113 -47h-1344q-66 0 -113 47t-47 113v1088q0 66 47 113t113 47h1344q66 0 113 -47t47 -113 z" /> +<glyph unicode="" horiz-adv-x="1664" d="M1190 955l293 293l-107 107l-293 -293zM1637 1248q0 -27 -18 -45l-1286 -1286q-18 -18 -45 -18t-45 18l-198 198q-18 18 -18 45t18 45l1286 1286q18 18 45 18t45 -18l198 -198q18 -18 18 -45zM286 1438l98 -30l-98 -30l-30 -98l-30 98l-98 30l98 30l30 98zM636 1276 l196 -60l-196 -60l-60 -196l-60 196l-196 60l196 60l60 196zM1566 798l98 -30l-98 -30l-30 -98l-30 98l-98 30l98 30l30 98zM926 1438l98 -30l-98 -30l-30 -98l-30 98l-98 30l98 30l30 98z" /> +<glyph unicode="" horiz-adv-x="1792" d="M640 128q0 52 -38 90t-90 38t-90 -38t-38 -90t38 -90t90 -38t90 38t38 90zM256 640h384v256h-158q-13 0 -22 -9l-195 -195q-9 -9 -9 -22v-30zM1536 128q0 52 -38 90t-90 38t-90 -38t-38 -90t38 -90t90 -38t90 38t38 90zM1792 1216v-1024q0 -15 -4 -26.5t-13.5 -18.5 t-16.5 -11.5t-23.5 -6t-22.5 -2t-25.5 0t-22.5 0.5q0 -106 -75 -181t-181 -75t-181 75t-75 181h-384q0 -106 -75 -181t-181 -75t-181 75t-75 181h-64q-3 0 -22.5 -0.5t-25.5 0t-22.5 2t-23.5 6t-16.5 11.5t-13.5 18.5t-4 26.5q0 26 19 45t45 19v320q0 8 -0.5 35t0 38 t2.5 34.5t6.5 37t14 30.5t22.5 30l198 198q19 19 50.5 32t58.5 13h160v192q0 26 19 45t45 19h1024q26 0 45 -19t19 -45z" /> +<glyph unicode="" d="M1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103q-111 0 -218 32q59 93 78 164q9 34 54 211q20 -39 73 -67.5t114 -28.5q121 0 216 68.5t147 188.5t52 270q0 114 -59.5 214t-172.5 163t-255 63q-105 0 -196 -29t-154.5 -77t-109 -110.5t-67 -129.5t-21.5 -134 q0 -104 40 -183t117 -111q30 -12 38 20q2 7 8 31t8 30q6 23 -11 43q-51 61 -51 151q0 151 104.5 259.5t273.5 108.5q151 0 235.5 -82t84.5 -213q0 -170 -68.5 -289t-175.5 -119q-61 0 -98 43.5t-23 104.5q8 35 26.5 93.5t30 103t11.5 75.5q0 50 -27 83t-77 33 q-62 0 -105 -57t-43 -142q0 -73 25 -122l-99 -418q-17 -70 -13 -177q-206 91 -333 281t-127 423q0 209 103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" /> +<glyph unicode="" d="M1248 1408q119 0 203.5 -84.5t84.5 -203.5v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-725q85 122 108 210q9 34 53 209q21 -39 73.5 -67t112.5 -28q181 0 295.5 147.5t114.5 373.5q0 84 -35 162.5t-96.5 139t-152.5 97t-197 36.5q-104 0 -194.5 -28.5t-153 -76.5 t-107.5 -109.5t-66.5 -128t-21.5 -132.5q0 -102 39.5 -180t116.5 -110q13 -5 23.5 0t14.5 19q10 44 15 61q6 23 -11 42q-50 62 -50 150q0 150 103.5 256.5t270.5 106.5q149 0 232.5 -81t83.5 -210q0 -168 -67.5 -286t-173.5 -118q-60 0 -97 43.5t-23 103.5q8 34 26.5 92.5 t29.5 102t11 74.5q0 49 -26.5 81.5t-75.5 32.5q-61 0 -103.5 -56.5t-42.5 -139.5q0 -72 24 -121l-98 -414q-24 -100 -7 -254h-183q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960z" /> +<glyph unicode="" d="M829 318q0 -76 -58.5 -112.5t-139.5 -36.5q-41 0 -80.5 9.5t-75.5 28.5t-58 53t-22 78q0 46 25 80t65.5 51.5t82 25t84.5 7.5q20 0 31 -2q2 -1 23 -16.5t26 -19t23 -18t24.5 -22t19 -22.5t17 -26t9 -26.5t4.5 -31.5zM755 863q0 -60 -33 -99.5t-92 -39.5q-53 0 -93 42.5 t-57.5 96.5t-17.5 106q0 61 32 104t92 43q53 0 93.5 -45t58 -101t17.5 -107zM861 1120l88 64h-265q-85 0 -161 -32t-127.5 -98t-51.5 -153q0 -93 64.5 -154.5t158.5 -61.5q22 0 43 3q-13 -29 -13 -54q0 -44 40 -94q-175 -12 -257 -63q-47 -29 -75.5 -73t-28.5 -95 q0 -43 18.5 -77.5t48.5 -56.5t69 -37t77.5 -21t76.5 -6q60 0 120.5 15.5t113.5 46t86 82.5t33 117q0 49 -20 89.5t-49 66.5t-58 47.5t-49 44t-20 44.5t15.5 42.5t37.5 39.5t44 42t37.5 59.5t15.5 82.5q0 60 -22.5 99.5t-72.5 90.5h83zM1152 672h128v64h-128v128h-64v-128 h-128v-64h128v-160h64v160zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" /> +<glyph unicode="" horiz-adv-x="1664" d="M735 740q0 -36 32 -70.5t77.5 -68t90.5 -73.5t77 -104t32 -142q0 -90 -48 -173q-72 -122 -211 -179.5t-298 -57.5q-132 0 -246.5 41.5t-171.5 137.5q-37 60 -37 131q0 81 44.5 150t118.5 115q131 82 404 100q-32 42 -47.5 74t-15.5 73q0 36 21 85q-46 -4 -68 -4 q-148 0 -249.5 96.5t-101.5 244.5q0 82 36 159t99 131q77 66 182.5 98t217.5 32h418l-138 -88h-131q74 -63 112 -133t38 -160q0 -72 -24.5 -129.5t-59 -93t-69.5 -65t-59.5 -61.5t-24.5 -66zM589 836q38 0 78 16.5t66 43.5q53 57 53 159q0 58 -17 125t-48.5 129.5 t-84.5 103.5t-117 41q-42 0 -82.5 -19.5t-65.5 -52.5q-47 -59 -47 -160q0 -46 10 -97.5t31.5 -103t52 -92.5t75 -67t96.5 -26zM591 -37q58 0 111.5 13t99 39t73 73t27.5 109q0 25 -7 49t-14.5 42t-27 41.5t-29.5 35t-38.5 34.5t-36.5 29t-41.5 30t-36.5 26q-16 2 -48 2 q-53 0 -105 -7t-107.5 -25t-97 -46t-68.5 -74.5t-27 -105.5q0 -70 35 -123.5t91.5 -83t119 -44t127.5 -14.5zM1401 839h213v-108h-213v-219h-105v219h-212v108h212v217h105v-217z" /> +<glyph unicode="" horiz-adv-x="1920" d="M768 384h384v96h-128v448h-114l-148 -137l77 -80q42 37 55 57h2v-288h-128v-96zM1280 640q0 -70 -21 -142t-59.5 -134t-101.5 -101t-138 -39t-138 39t-101.5 101t-59.5 134t-21 142t21 142t59.5 134t101.5 101t138 39t138 -39t101.5 -101t59.5 -134t21 -142zM1792 384 v512q-106 0 -181 75t-75 181h-1152q0 -106 -75 -181t-181 -75v-512q106 0 181 -75t75 -181h1152q0 106 75 181t181 75zM1920 1216v-1152q0 -26 -19 -45t-45 -19h-1792q-26 0 -45 19t-19 45v1152q0 26 19 45t45 19h1792q26 0 45 -19t19 -45z" /> +<glyph unicode="" horiz-adv-x="1024" d="M1024 832q0 -26 -19 -45l-448 -448q-19 -19 -45 -19t-45 19l-448 448q-19 19 -19 45t19 45t45 19h896q26 0 45 -19t19 -45z" /> +<glyph unicode="" horiz-adv-x="1024" d="M1024 320q0 -26 -19 -45t-45 -19h-896q-26 0 -45 19t-19 45t19 45l448 448q19 19 45 19t45 -19l448 -448q19 -19 19 -45z" /> +<glyph unicode="" horiz-adv-x="640" d="M640 1088v-896q0 -26 -19 -45t-45 -19t-45 19l-448 448q-19 19 -19 45t19 45l448 448q19 19 45 19t45 -19t19 -45z" /> +<glyph unicode="" horiz-adv-x="640" d="M576 640q0 -26 -19 -45l-448 -448q-19 -19 -45 -19t-45 19t-19 45v896q0 26 19 45t45 19t45 -19l448 -448q19 -19 19 -45z" /> +<glyph unicode="" horiz-adv-x="1664" d="M160 0h608v1152h-640v-1120q0 -13 9.5 -22.5t22.5 -9.5zM1536 32v1120h-640v-1152h608q13 0 22.5 9.5t9.5 22.5zM1664 1248v-1216q0 -66 -47 -113t-113 -47h-1344q-66 0 -113 47t-47 113v1216q0 66 47 113t113 47h1344q66 0 113 -47t47 -113z" /> +<glyph unicode="" horiz-adv-x="1024" d="M1024 448q0 -26 -19 -45l-448 -448q-19 -19 -45 -19t-45 19l-448 448q-19 19 -19 45t19 45t45 19h896q26 0 45 -19t19 -45zM1024 832q0 -26 -19 -45t-45 -19h-896q-26 0 -45 19t-19 45t19 45l448 448q19 19 45 19t45 -19l448 -448q19 -19 19 -45z" /> +<glyph unicode="" horiz-adv-x="1024" d="M1024 448q0 -26 -19 -45l-448 -448q-19 -19 -45 -19t-45 19l-448 448q-19 19 -19 45t19 45t45 19h896q26 0 45 -19t19 -45z" /> +<glyph unicode="" horiz-adv-x="1024" d="M1024 832q0 -26 -19 -45t-45 -19h-896q-26 0 -45 19t-19 45t19 45l448 448q19 19 45 19t45 -19l448 -448q19 -19 19 -45z" /> +<glyph unicode="" horiz-adv-x="1792" d="M1792 826v-794q0 -66 -47 -113t-113 -47h-1472q-66 0 -113 47t-47 113v794q44 -49 101 -87q362 -246 497 -345q57 -42 92.5 -65.5t94.5 -48t110 -24.5h1h1q51 0 110 24.5t94.5 48t92.5 65.5q170 123 498 345q57 39 100 87zM1792 1120q0 -79 -49 -151t-122 -123 q-376 -261 -468 -325q-10 -7 -42.5 -30.5t-54 -38t-52 -32.5t-57.5 -27t-50 -9h-1h-1q-23 0 -50 9t-57.5 27t-52 32.5t-54 38t-42.5 30.5q-91 64 -262 182.5t-205 142.5q-62 42 -117 115.5t-55 136.5q0 78 41.5 130t118.5 52h1472q65 0 112.5 -47t47.5 -113z" /> +<glyph unicode="" d="M349 911v-991h-330v991h330zM370 1217q1 -73 -50.5 -122t-135.5 -49h-2q-82 0 -132 49t-50 122q0 74 51.5 122.5t134.5 48.5t133 -48.5t51 -122.5zM1536 488v-568h-329v530q0 105 -40.5 164.5t-126.5 59.5q-63 0 -105.5 -34.5t-63.5 -85.5q-11 -30 -11 -81v-553h-329 q2 399 2 647t-1 296l-1 48h329v-144h-2q20 32 41 56t56.5 52t87 43.5t114.5 15.5q171 0 275 -113.5t104 -332.5z" /> +<glyph unicode="" d="M1536 640q0 -156 -61 -298t-164 -245t-245 -164t-298 -61q-172 0 -327 72.5t-264 204.5q-7 10 -6.5 22.5t8.5 20.5l137 138q10 9 25 9q16 -2 23 -12q73 -95 179 -147t225 -52q104 0 198.5 40.5t163.5 109.5t109.5 163.5t40.5 198.5t-40.5 198.5t-109.5 163.5 t-163.5 109.5t-198.5 40.5q-98 0 -188 -35.5t-160 -101.5l137 -138q31 -30 14 -69q-17 -40 -59 -40h-448q-26 0 -45 19t-19 45v448q0 42 40 59q39 17 69 -14l130 -129q107 101 244.5 156.5t284.5 55.5q156 0 298 -61t245 -164t164 -245t61 -298z" /> +<glyph unicode="" horiz-adv-x="1792" d="M1771 0q0 -53 -37 -90l-107 -108q-39 -37 -91 -37q-53 0 -90 37l-363 364q-38 36 -38 90q0 53 43 96l-256 256l-126 -126q-14 -14 -34 -14t-34 14q2 -2 12.5 -12t12.5 -13t10 -11.5t10 -13.5t6 -13.5t5.5 -16.5t1.5 -18q0 -38 -28 -68q-3 -3 -16.5 -18t-19 -20.5 t-18.5 -16.5t-22 -15.5t-22 -9t-26 -4.5q-40 0 -68 28l-408 408q-28 28 -28 68q0 13 4.5 26t9 22t15.5 22t16.5 18.5t20.5 19t18 16.5q30 28 68 28q10 0 18 -1.5t16.5 -5.5t13.5 -6t13.5 -10t11.5 -10t13 -12.5t12 -12.5q-14 14 -14 34t14 34l348 348q14 14 34 14t34 -14 q-2 2 -12.5 12t-12.5 13t-10 11.5t-10 13.5t-6 13.5t-5.5 16.5t-1.5 18q0 38 28 68q3 3 16.5 18t19 20.5t18.5 16.5t22 15.5t22 9t26 4.5q40 0 68 -28l408 -408q28 -28 28 -68q0 -13 -4.5 -26t-9 -22t-15.5 -22t-16.5 -18.5t-20.5 -19t-18 -16.5q-30 -28 -68 -28 q-10 0 -18 1.5t-16.5 5.5t-13.5 6t-13.5 10t-11.5 10t-13 12.5t-12 12.5q14 -14 14 -34t-14 -34l-126 -126l256 -256q43 43 96 43q52 0 91 -37l363 -363q37 -39 37 -91z" /> +<glyph unicode="" horiz-adv-x="1792" d="M384 384q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM576 832q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1004 351l101 382q6 26 -7.5 48.5t-38.5 29.5 t-48 -6.5t-30 -39.5l-101 -382q-60 -5 -107 -43.5t-63 -98.5q-20 -77 20 -146t117 -89t146 20t89 117q16 60 -6 117t-72 91zM1664 384q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1024 1024q0 53 -37.5 90.5 t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1472 832q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1792 384q0 -261 -141 -483q-19 -29 -54 -29h-1402q-35 0 -54 29 q-141 221 -141 483q0 182 71 348t191 286t286 191t348 71t348 -71t286 -191t191 -286t71 -348z" /> +<glyph unicode="" horiz-adv-x="1792" d="M896 1152q-204 0 -381.5 -69.5t-282 -187.5t-104.5 -255q0 -112 71.5 -213.5t201.5 -175.5l87 -50l-27 -96q-24 -91 -70 -172q152 63 275 171l43 38l57 -6q69 -8 130 -8q204 0 381.5 69.5t282 187.5t104.5 255t-104.5 255t-282 187.5t-381.5 69.5zM1792 640 q0 -174 -120 -321.5t-326 -233t-450 -85.5q-70 0 -145 8q-198 -175 -460 -242q-49 -14 -114 -22h-5q-15 0 -27 10.5t-16 27.5v1q-3 4 -0.5 12t2 10t4.5 9.5l6 9t7 8.5t8 9q7 8 31 34.5t34.5 38t31 39.5t32.5 51t27 59t26 76q-157 89 -247.5 220t-90.5 281q0 174 120 321.5 t326 233t450 85.5t450 -85.5t326 -233t120 -321.5z" /> +<glyph unicode="" horiz-adv-x="1792" d="M704 1152q-153 0 -286 -52t-211.5 -141t-78.5 -191q0 -82 53 -158t149 -132l97 -56l-35 -84q34 20 62 39l44 31l53 -10q78 -14 153 -14q153 0 286 52t211.5 141t78.5 191t-78.5 191t-211.5 141t-286 52zM704 1280q191 0 353.5 -68.5t256.5 -186.5t94 -257t-94 -257 t-256.5 -186.5t-353.5 -68.5q-86 0 -176 16q-124 -88 -278 -128q-36 -9 -86 -16h-3q-11 0 -20.5 8t-11.5 21q-1 3 -1 6.5t0.5 6.5t2 6l2.5 5t3.5 5.5t4 5t4.5 5t4 4.5q5 6 23 25t26 29.5t22.5 29t25 38.5t20.5 44q-124 72 -195 177t-71 224q0 139 94 257t256.5 186.5 t353.5 68.5zM1526 111q10 -24 20.5 -44t25 -38.5t22.5 -29t26 -29.5t23 -25q1 -1 4 -4.5t4.5 -5t4 -5t3.5 -5.5l2.5 -5t2 -6t0.5 -6.5t-1 -6.5q-3 -14 -13 -22t-22 -7q-50 7 -86 16q-154 40 -278 128q-90 -16 -176 -16q-271 0 -472 132q58 -4 88 -4q161 0 309 45t264 129 q125 92 192 212t67 254q0 77 -23 152q129 -71 204 -178t75 -230q0 -120 -71 -224.5t-195 -176.5z" /> +<glyph unicode="" horiz-adv-x="896" d="M885 970q18 -20 7 -44l-540 -1157q-13 -25 -42 -25q-4 0 -14 2q-17 5 -25.5 19t-4.5 30l197 808l-406 -101q-4 -1 -12 -1q-18 0 -31 11q-18 15 -13 39l201 825q4 14 16 23t28 9h328q19 0 32 -12.5t13 -29.5q0 -8 -5 -18l-171 -463l396 98q8 2 12 2q19 0 34 -15z" /> +<glyph unicode="" horiz-adv-x="1792" d="M1792 288v-320q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v320q0 40 28 68t68 28h96v192h-512v-192h96q40 0 68 -28t28 -68v-320q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v320q0 40 28 68t68 28h96v192h-512v-192h96q40 0 68 -28t28 -68v-320 q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v320q0 40 28 68t68 28h96v192q0 52 38 90t90 38h512v192h-96q-40 0 -68 28t-28 68v320q0 40 28 68t68 28h320q40 0 68 -28t28 -68v-320q0 -40 -28 -68t-68 -28h-96v-192h512q52 0 90 -38t38 -90v-192h96q40 0 68 -28t28 -68 z" /> +<glyph unicode="" horiz-adv-x="1664" d="M896 708v-580q0 -104 -76 -180t-180 -76t-180 76t-76 180q0 26 19 45t45 19t45 -19t19 -45q0 -50 39 -89t89 -39t89 39t39 89v580q33 11 64 11t64 -11zM1664 681q0 -13 -9.5 -22.5t-22.5 -9.5q-11 0 -23 10q-49 46 -93 69t-102 23q-68 0 -128 -37t-103 -97 q-7 -10 -17.5 -28t-14.5 -24q-11 -17 -28 -17q-18 0 -29 17q-4 6 -14.5 24t-17.5 28q-43 60 -102.5 97t-127.5 37t-127.5 -37t-102.5 -97q-7 -10 -17.5 -28t-14.5 -24q-11 -17 -29 -17q-17 0 -28 17q-4 6 -14.5 24t-17.5 28q-43 60 -103 97t-128 37q-58 0 -102 -23t-93 -69 q-12 -10 -23 -10q-13 0 -22.5 9.5t-9.5 22.5q0 5 1 7q45 183 172.5 319.5t298 204.5t360.5 68q140 0 274.5 -40t246.5 -113.5t194.5 -187t115.5 -251.5q1 -2 1 -7zM896 1408v-98q-42 2 -64 2t-64 -2v98q0 26 19 45t45 19t45 -19t19 -45z" /> +<glyph unicode="" horiz-adv-x="1792" d="M768 -128h896v640h-416q-40 0 -68 28t-28 68v416h-384v-1152zM1024 1312v64q0 13 -9.5 22.5t-22.5 9.5h-704q-13 0 -22.5 -9.5t-9.5 -22.5v-64q0 -13 9.5 -22.5t22.5 -9.5h704q13 0 22.5 9.5t9.5 22.5zM1280 640h299l-299 299v-299zM1792 512v-672q0 -40 -28 -68t-68 -28 h-960q-40 0 -68 28t-28 68v160h-544q-40 0 -68 28t-28 68v1344q0 40 28 68t68 28h1088q40 0 68 -28t28 -68v-328q21 -13 36 -28l408 -408q28 -28 48 -76t20 -88z" /> +<glyph unicode="" horiz-adv-x="1024" d="M736 960q0 -13 -9.5 -22.5t-22.5 -9.5t-22.5 9.5t-9.5 22.5q0 46 -54 71t-106 25q-13 0 -22.5 9.5t-9.5 22.5t9.5 22.5t22.5 9.5q50 0 99.5 -16t87 -54t37.5 -90zM896 960q0 72 -34.5 134t-90 101.5t-123 62t-136.5 22.5t-136.5 -22.5t-123 -62t-90 -101.5t-34.5 -134 q0 -101 68 -180q10 -11 30.5 -33t30.5 -33q128 -153 141 -298h228q13 145 141 298q10 11 30.5 33t30.5 33q68 79 68 180zM1024 960q0 -155 -103 -268q-45 -49 -74.5 -87t-59.5 -95.5t-34 -107.5q47 -28 47 -82q0 -37 -25 -64q25 -27 25 -64q0 -52 -45 -81q13 -23 13 -47 q0 -46 -31.5 -71t-77.5 -25q-20 -44 -60 -70t-87 -26t-87 26t-60 70q-46 0 -77.5 25t-31.5 71q0 24 13 47q-45 29 -45 81q0 37 25 64q-25 27 -25 64q0 54 47 82q-4 50 -34 107.5t-59.5 95.5t-74.5 87q-103 113 -103 268q0 99 44.5 184.5t117 142t164 89t186.5 32.5 t186.5 -32.5t164 -89t117 -142t44.5 -184.5z" /> +<glyph unicode="" horiz-adv-x="1792" d="M1792 352v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1376v-192q0 -13 -9.5 -22.5t-22.5 -9.5q-12 0 -24 10l-319 320q-9 9 -9 22q0 14 9 23l320 320q9 9 23 9q13 0 22.5 -9.5t9.5 -22.5v-192h1376q13 0 22.5 -9.5t9.5 -22.5zM1792 896q0 -14 -9 -23l-320 -320q-9 -9 -23 -9 q-13 0 -22.5 9.5t-9.5 22.5v192h-1376q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1376v192q0 14 9 23t23 9q12 0 24 -10l319 -319q9 -9 9 -23z" /> +<glyph unicode="" horiz-adv-x="1920" d="M1280 608q0 14 -9 23t-23 9h-224v352q0 13 -9.5 22.5t-22.5 9.5h-192q-13 0 -22.5 -9.5t-9.5 -22.5v-352h-224q-13 0 -22.5 -9.5t-9.5 -22.5q0 -14 9 -23l352 -352q9 -9 23 -9t23 9l351 351q10 12 10 24zM1920 384q0 -159 -112.5 -271.5t-271.5 -112.5h-1088 q-185 0 -316.5 131.5t-131.5 316.5q0 130 70 240t188 165q-2 30 -2 43q0 212 150 362t362 150q156 0 285.5 -87t188.5 -231q71 62 166 62q106 0 181 -75t75 -181q0 -76 -41 -138q130 -31 213.5 -135.5t83.5 -238.5z" /> +<glyph unicode="" horiz-adv-x="1920" d="M1280 672q0 14 -9 23l-352 352q-9 9 -23 9t-23 -9l-351 -351q-10 -12 -10 -24q0 -14 9 -23t23 -9h224v-352q0 -13 9.5 -22.5t22.5 -9.5h192q13 0 22.5 9.5t9.5 22.5v352h224q13 0 22.5 9.5t9.5 22.5zM1920 384q0 -159 -112.5 -271.5t-271.5 -112.5h-1088 q-185 0 -316.5 131.5t-131.5 316.5q0 130 70 240t188 165q-2 30 -2 43q0 212 150 362t362 150q156 0 285.5 -87t188.5 -231q71 62 166 62q106 0 181 -75t75 -181q0 -76 -41 -138q130 -31 213.5 -135.5t83.5 -238.5z" /> +<glyph unicode="" horiz-adv-x="1408" d="M384 192q0 -26 -19 -45t-45 -19t-45 19t-19 45t19 45t45 19t45 -19t19 -45zM1408 131q0 -121 -73 -190t-194 -69h-874q-121 0 -194 69t-73 190q0 68 5.5 131t24 138t47.5 132.5t81 103t120 60.5q-22 -52 -22 -120v-203q-58 -20 -93 -70t-35 -111q0 -80 56 -136t136 -56 t136 56t56 136q0 61 -35.5 111t-92.5 70v203q0 62 25 93q132 -104 295 -104t295 104q25 -31 25 -93v-64q-106 0 -181 -75t-75 -181v-89q-32 -29 -32 -71q0 -40 28 -68t68 -28t68 28t28 68q0 42 -32 71v89q0 52 38 90t90 38t90 -38t38 -90v-89q-32 -29 -32 -71q0 -40 28 -68 t68 -28t68 28t28 68q0 42 -32 71v89q0 68 -34.5 127.5t-93.5 93.5q0 10 0.5 42.5t0 48t-2.5 41.5t-7 47t-13 40q68 -15 120 -60.5t81 -103t47.5 -132.5t24 -138t5.5 -131zM1088 1024q0 -159 -112.5 -271.5t-271.5 -112.5t-271.5 112.5t-112.5 271.5t112.5 271.5t271.5 112.5 t271.5 -112.5t112.5 -271.5z" /> +<glyph unicode="" horiz-adv-x="1408" d="M1280 832q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1408 832q0 -62 -35.5 -111t-92.5 -70v-395q0 -159 -131.5 -271.5t-316.5 -112.5t-316.5 112.5t-131.5 271.5v132q-164 20 -274 128t-110 252v512q0 26 19 45t45 19q6 0 16 -2q17 30 47 48 t65 18q53 0 90.5 -37.5t37.5 -90.5t-37.5 -90.5t-90.5 -37.5q-33 0 -64 18v-402q0 -106 94 -181t226 -75t226 75t94 181v402q-31 -18 -64 -18q-53 0 -90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5q35 0 65 -18t47 -48q10 2 16 2q26 0 45 -19t19 -45v-512q0 -144 -110 -252 t-274 -128v-132q0 -106 94 -181t226 -75t226 75t94 181v395q-57 21 -92.5 70t-35.5 111q0 80 56 136t136 56t136 -56t56 -136z" /> +<glyph unicode="" horiz-adv-x="1792" d="M640 1152h512v128h-512v-128zM288 1152v-1280h-64q-92 0 -158 66t-66 158v832q0 92 66 158t158 66h64zM1408 1152v-1280h-1024v1280h128v160q0 40 28 68t68 28h576q40 0 68 -28t28 -68v-160h128zM1792 928v-832q0 -92 -66 -158t-158 -66h-64v1280h64q92 0 158 -66 t66 -158z" /> +<glyph unicode="" horiz-adv-x="1792" d="M912 -160q0 16 -16 16q-59 0 -101.5 42.5t-42.5 101.5q0 16 -16 16t-16 -16q0 -73 51.5 -124.5t124.5 -51.5q16 0 16 16zM1728 128q0 -52 -38 -90t-90 -38h-448q0 -106 -75 -181t-181 -75t-181 75t-75 181h-448q-52 0 -90 38t-38 90q50 42 91 88t85 119.5t74.5 158.5 t50 206t19.5 260q0 152 117 282.5t307 158.5q-8 19 -8 39q0 40 28 68t68 28t68 -28t28 -68q0 -20 -8 -39q190 -28 307 -158.5t117 -282.5q0 -139 19.5 -260t50 -206t74.5 -158.5t85 -119.5t91 -88z" /> +<glyph unicode="" horiz-adv-x="1920" d="M1664 896q0 80 -56 136t-136 56h-64v-384h64q80 0 136 56t56 136zM0 128h1792q0 -106 -75 -181t-181 -75h-1280q-106 0 -181 75t-75 181zM1856 896q0 -159 -112.5 -271.5t-271.5 -112.5h-64v-32q0 -92 -66 -158t-158 -66h-704q-92 0 -158 66t-66 158v736q0 26 19 45 t45 19h1152q159 0 271.5 -112.5t112.5 -271.5z" /> +<glyph unicode="" horiz-adv-x="1408" d="M640 1472v-640q0 -61 -35.5 -111t-92.5 -70v-779q0 -52 -38 -90t-90 -38h-128q-52 0 -90 38t-38 90v779q-57 20 -92.5 70t-35.5 111v640q0 26 19 45t45 19t45 -19t19 -45v-416q0 -26 19 -45t45 -19t45 19t19 45v416q0 26 19 45t45 19t45 -19t19 -45v-416q0 -26 19 -45 t45 -19t45 19t19 45v416q0 26 19 45t45 19t45 -19t19 -45zM1408 1472v-1600q0 -52 -38 -90t-90 -38h-128q-52 0 -90 38t-38 90v512h-224q-13 0 -22.5 9.5t-9.5 22.5v800q0 132 94 226t226 94h256q26 0 45 -19t19 -45z" /> +<glyph unicode="" d="M1468 1156q28 -28 48 -76t20 -88v-1152q0 -40 -28 -68t-68 -28h-1344q-40 0 -68 28t-28 68v1600q0 40 28 68t68 28h896q40 0 88 -20t76 -48zM1024 1400v-376h376q-10 29 -22 41l-313 313q-12 12 -41 22zM1408 -128v1024h-416q-40 0 -68 28t-28 68v416h-768v-1536h1280z M384 736q0 14 9 23t23 9h704q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-704q-14 0 -23 9t-9 23v64zM1120 512q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-704q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h704zM1120 256q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-704 q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h704z" /> +<glyph unicode="" horiz-adv-x="1408" d="M384 224v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM384 480v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M640 480v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM384 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M1152 224v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM896 480v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M640 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM384 992v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M1152 480v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM896 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M640 992v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM384 1248v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M1152 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM896 992v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M640 1248v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM1152 992v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M896 1248v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM1152 1248v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M896 -128h384v1536h-1152v-1536h384v224q0 13 9.5 22.5t22.5 9.5h320q13 0 22.5 -9.5t9.5 -22.5v-224zM1408 1472v-1664q0 -26 -19 -45t-45 -19h-1280q-26 0 -45 19t-19 45v1664q0 26 19 45t45 19h1280q26 0 45 -19t19 -45z" /> +<glyph unicode="" horiz-adv-x="1408" d="M384 224v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM384 480v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M640 480v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM384 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M1152 224v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM896 480v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M640 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM1152 480v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M896 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM1152 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M896 -128h384v1152h-256v-32q0 -40 -28 -68t-68 -28h-448q-40 0 -68 28t-28 68v32h-256v-1152h384v224q0 13 9.5 22.5t22.5 9.5h320q13 0 22.5 -9.5t9.5 -22.5v-224zM896 1056v320q0 13 -9.5 22.5t-22.5 9.5h-64q-13 0 -22.5 -9.5t-9.5 -22.5v-96h-128v96q0 13 -9.5 22.5 t-22.5 9.5h-64q-13 0 -22.5 -9.5t-9.5 -22.5v-320q0 -13 9.5 -22.5t22.5 -9.5h64q13 0 22.5 9.5t9.5 22.5v96h128v-96q0 -13 9.5 -22.5t22.5 -9.5h64q13 0 22.5 9.5t9.5 22.5zM1408 1088v-1280q0 -26 -19 -45t-45 -19h-1280q-26 0 -45 19t-19 45v1280q0 26 19 45t45 19h320 v288q0 40 28 68t68 28h448q40 0 68 -28t28 -68v-288h320q26 0 45 -19t19 -45z" /> +<glyph unicode="" horiz-adv-x="1920" d="M640 128q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM256 640h384v256h-158q-14 -2 -22 -9l-195 -195q-7 -12 -9 -22v-30zM1536 128q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5 t90.5 37.5t37.5 90.5zM1664 800v192q0 14 -9 23t-23 9h-224v224q0 14 -9 23t-23 9h-192q-14 0 -23 -9t-9 -23v-224h-224q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h224v-224q0 -14 9 -23t23 -9h192q14 0 23 9t9 23v224h224q14 0 23 9t9 23zM1920 1344v-1152 q0 -26 -19 -45t-45 -19h-192q0 -106 -75 -181t-181 -75t-181 75t-75 181h-384q0 -106 -75 -181t-181 -75t-181 75t-75 181h-128q-26 0 -45 19t-19 45t19 45t45 19v416q0 26 13 58t32 51l198 198q19 19 51 32t58 13h160v320q0 26 19 45t45 19h1152q26 0 45 -19t19 -45z" /> +<glyph unicode="" horiz-adv-x="1792" d="M1280 416v192q0 14 -9 23t-23 9h-224v224q0 14 -9 23t-23 9h-192q-14 0 -23 -9t-9 -23v-224h-224q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h224v-224q0 -14 9 -23t23 -9h192q14 0 23 9t9 23v224h224q14 0 23 9t9 23zM640 1152h512v128h-512v-128zM256 1152v-1280h-32 q-92 0 -158 66t-66 158v832q0 92 66 158t158 66h32zM1440 1152v-1280h-1088v1280h160v160q0 40 28 68t68 28h576q40 0 68 -28t28 -68v-160h160zM1792 928v-832q0 -92 -66 -158t-158 -66h-32v1280h32q92 0 158 -66t66 -158z" /> +<glyph unicode="" horiz-adv-x="1920" d="M1920 576q-1 -32 -288 -96l-352 -32l-224 -64h-64l-293 -352h69q26 0 45 -4.5t19 -11.5t-19 -11.5t-45 -4.5h-96h-160h-64v32h64v416h-160l-192 -224h-96l-32 32v192h32v32h128v8l-192 24v128l192 24v8h-128v32h-32v192l32 32h96l192 -224h160v416h-64v32h64h160h96 q26 0 45 -4.5t19 -11.5t-19 -11.5t-45 -4.5h-69l293 -352h64l224 -64l352 -32q261 -58 287 -93z" /> +<glyph unicode="" horiz-adv-x="1664" d="M640 640v384h-256v-256q0 -53 37.5 -90.5t90.5 -37.5h128zM1664 192v-192h-1152v192l128 192h-128q-159 0 -271.5 112.5t-112.5 271.5v320l-64 64l32 128h480l32 128h960l32 -192l-64 -32v-800z" /> +<glyph unicode="" d="M1280 192v896q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-320h-512v320q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-896q0 -26 19 -45t45 -19h128q26 0 45 19t19 45v320h512v-320q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM1536 1120v-960 q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" /> +<glyph unicode="" d="M1280 576v128q0 26 -19 45t-45 19h-320v320q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-320h-320q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h320v-320q0 -26 19 -45t45 -19h128q26 0 45 19t19 45v320h320q26 0 45 19t19 45zM1536 1120v-960 q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" /> +<glyph unicode="" horiz-adv-x="1024" d="M627 160q0 -13 -10 -23l-50 -50q-10 -10 -23 -10t-23 10l-466 466q-10 10 -10 23t10 23l466 466q10 10 23 10t23 -10l50 -50q10 -10 10 -23t-10 -23l-393 -393l393 -393q10 -10 10 -23zM1011 160q0 -13 -10 -23l-50 -50q-10 -10 -23 -10t-23 10l-466 466q-10 10 -10 23 t10 23l466 466q10 10 23 10t23 -10l50 -50q10 -10 10 -23t-10 -23l-393 -393l393 -393q10 -10 10 -23z" /> +<glyph unicode="" horiz-adv-x="1024" d="M595 576q0 -13 -10 -23l-466 -466q-10 -10 -23 -10t-23 10l-50 50q-10 10 -10 23t10 23l393 393l-393 393q-10 10 -10 23t10 23l50 50q10 10 23 10t23 -10l466 -466q10 -10 10 -23zM979 576q0 -13 -10 -23l-466 -466q-10 -10 -23 -10t-23 10l-50 50q-10 10 -10 23t10 23 l393 393l-393 393q-10 10 -10 23t10 23l50 50q10 10 23 10t23 -10l466 -466q10 -10 10 -23z" /> +<glyph unicode="" horiz-adv-x="1152" d="M1075 224q0 -13 -10 -23l-50 -50q-10 -10 -23 -10t-23 10l-393 393l-393 -393q-10 -10 -23 -10t-23 10l-50 50q-10 10 -10 23t10 23l466 466q10 10 23 10t23 -10l466 -466q10 -10 10 -23zM1075 608q0 -13 -10 -23l-50 -50q-10 -10 -23 -10t-23 10l-393 393l-393 -393 q-10 -10 -23 -10t-23 10l-50 50q-10 10 -10 23t10 23l466 466q10 10 23 10t23 -10l466 -466q10 -10 10 -23z" /> +<glyph unicode="" horiz-adv-x="1152" d="M1075 672q0 -13 -10 -23l-466 -466q-10 -10 -23 -10t-23 10l-466 466q-10 10 -10 23t10 23l50 50q10 10 23 10t23 -10l393 -393l393 393q10 10 23 10t23 -10l50 -50q10 -10 10 -23zM1075 1056q0 -13 -10 -23l-466 -466q-10 -10 -23 -10t-23 10l-466 466q-10 10 -10 23 t10 23l50 50q10 10 23 10t23 -10l393 -393l393 393q10 10 23 10t23 -10l50 -50q10 -10 10 -23z" /> +<glyph unicode="" horiz-adv-x="640" d="M627 992q0 -13 -10 -23l-393 -393l393 -393q10 -10 10 -23t-10 -23l-50 -50q-10 -10 -23 -10t-23 10l-466 466q-10 10 -10 23t10 23l466 466q10 10 23 10t23 -10l50 -50q10 -10 10 -23z" /> +<glyph unicode="" horiz-adv-x="640" d="M595 576q0 -13 -10 -23l-466 -466q-10 -10 -23 -10t-23 10l-50 50q-10 10 -10 23t10 23l393 393l-393 393q-10 10 -10 23t10 23l50 50q10 10 23 10t23 -10l466 -466q10 -10 10 -23z" /> +<glyph unicode="" horiz-adv-x="1152" d="M1075 352q0 -13 -10 -23l-50 -50q-10 -10 -23 -10t-23 10l-393 393l-393 -393q-10 -10 -23 -10t-23 10l-50 50q-10 10 -10 23t10 23l466 466q10 10 23 10t23 -10l466 -466q10 -10 10 -23z" /> +<glyph unicode="" horiz-adv-x="1152" d="M1075 800q0 -13 -10 -23l-466 -466q-10 -10 -23 -10t-23 10l-466 466q-10 10 -10 23t10 23l50 50q10 10 23 10t23 -10l393 -393l393 393q10 10 23 10t23 -10l50 -50q10 -10 10 -23z" /> +<glyph unicode="" horiz-adv-x="1920" d="M1792 544v832q0 13 -9.5 22.5t-22.5 9.5h-1600q-13 0 -22.5 -9.5t-9.5 -22.5v-832q0 -13 9.5 -22.5t22.5 -9.5h1600q13 0 22.5 9.5t9.5 22.5zM1920 1376v-1088q0 -66 -47 -113t-113 -47h-544q0 -37 16 -77.5t32 -71t16 -43.5q0 -26 -19 -45t-45 -19h-512q-26 0 -45 19 t-19 45q0 14 16 44t32 70t16 78h-544q-66 0 -113 47t-47 113v1088q0 66 47 113t113 47h1600q66 0 113 -47t47 -113z" /> +<glyph unicode="" horiz-adv-x="1920" d="M416 256q-66 0 -113 47t-47 113v704q0 66 47 113t113 47h1088q66 0 113 -47t47 -113v-704q0 -66 -47 -113t-113 -47h-1088zM384 1120v-704q0 -13 9.5 -22.5t22.5 -9.5h1088q13 0 22.5 9.5t9.5 22.5v704q0 13 -9.5 22.5t-22.5 9.5h-1088q-13 0 -22.5 -9.5t-9.5 -22.5z M1760 192h160v-96q0 -40 -47 -68t-113 -28h-1600q-66 0 -113 28t-47 68v96h160h1600zM1040 96q16 0 16 16t-16 16h-160q-16 0 -16 -16t16 -16h160z" /> +<glyph unicode="" horiz-adv-x="1152" d="M640 128q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1024 288v960q0 13 -9.5 22.5t-22.5 9.5h-832q-13 0 -22.5 -9.5t-9.5 -22.5v-960q0 -13 9.5 -22.5t22.5 -9.5h832q13 0 22.5 9.5t9.5 22.5zM1152 1248v-1088q0 -66 -47 -113t-113 -47h-832 q-66 0 -113 47t-47 113v1088q0 66 47 113t113 47h832q66 0 113 -47t47 -113z" /> +<glyph unicode="" horiz-adv-x="768" d="M464 128q0 33 -23.5 56.5t-56.5 23.5t-56.5 -23.5t-23.5 -56.5t23.5 -56.5t56.5 -23.5t56.5 23.5t23.5 56.5zM672 288v704q0 13 -9.5 22.5t-22.5 9.5h-512q-13 0 -22.5 -9.5t-9.5 -22.5v-704q0 -13 9.5 -22.5t22.5 -9.5h512q13 0 22.5 9.5t9.5 22.5zM480 1136 q0 16 -16 16h-160q-16 0 -16 -16t16 -16h160q16 0 16 16zM768 1152v-1024q0 -52 -38 -90t-90 -38h-512q-52 0 -90 38t-38 90v1024q0 52 38 90t90 38h512q52 0 90 -38t38 -90z" /> +<glyph unicode="" d="M768 1184q-148 0 -273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73t273 73t198 198t73 273t-73 273t-198 198t-273 73zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103 t279.5 -279.5t103 -385.5z" /> +<glyph unicode="" horiz-adv-x="1664" d="M768 576v-384q0 -80 -56 -136t-136 -56h-384q-80 0 -136 56t-56 136v704q0 104 40.5 198.5t109.5 163.5t163.5 109.5t198.5 40.5h64q26 0 45 -19t19 -45v-128q0 -26 -19 -45t-45 -19h-64q-106 0 -181 -75t-75 -181v-32q0 -40 28 -68t68 -28h224q80 0 136 -56t56 -136z M1664 576v-384q0 -80 -56 -136t-136 -56h-384q-80 0 -136 56t-56 136v704q0 104 40.5 198.5t109.5 163.5t163.5 109.5t198.5 40.5h64q26 0 45 -19t19 -45v-128q0 -26 -19 -45t-45 -19h-64q-106 0 -181 -75t-75 -181v-32q0 -40 28 -68t68 -28h224q80 0 136 -56t56 -136z" /> +<glyph unicode="" horiz-adv-x="1664" d="M768 1216v-704q0 -104 -40.5 -198.5t-109.5 -163.5t-163.5 -109.5t-198.5 -40.5h-64q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h64q106 0 181 75t75 181v32q0 40 -28 68t-68 28h-224q-80 0 -136 56t-56 136v384q0 80 56 136t136 56h384q80 0 136 -56t56 -136zM1664 1216 v-704q0 -104 -40.5 -198.5t-109.5 -163.5t-163.5 -109.5t-198.5 -40.5h-64q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h64q106 0 181 75t75 181v32q0 40 -28 68t-68 28h-224q-80 0 -136 56t-56 136v384q0 80 56 136t136 56h384q80 0 136 -56t56 -136z" /> +<glyph unicode="" horiz-adv-x="1568" d="M496 192q0 -60 -42.5 -102t-101.5 -42q-60 0 -102 42t-42 102t42 102t102 42q59 0 101.5 -42t42.5 -102zM928 0q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM320 640q0 -66 -47 -113t-113 -47t-113 47t-47 113 t47 113t113 47t113 -47t47 -113zM1360 192q0 -46 -33 -79t-79 -33t-79 33t-33 79t33 79t79 33t79 -33t33 -79zM528 1088q0 -73 -51.5 -124.5t-124.5 -51.5t-124.5 51.5t-51.5 124.5t51.5 124.5t124.5 51.5t124.5 -51.5t51.5 -124.5zM992 1280q0 -80 -56 -136t-136 -56 t-136 56t-56 136t56 136t136 56t136 -56t56 -136zM1536 640q0 -40 -28 -68t-68 -28t-68 28t-28 68t28 68t68 28t68 -28t28 -68zM1328 1088q0 -33 -23.5 -56.5t-56.5 -23.5t-56.5 23.5t-23.5 56.5t23.5 56.5t56.5 23.5t56.5 -23.5t23.5 -56.5z" /> +<glyph unicode="" d="M1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" /> +<glyph unicode="" horiz-adv-x="1792" d="M1792 416q0 -166 -127 -451q-3 -7 -10.5 -24t-13.5 -30t-13 -22q-12 -17 -28 -17q-15 0 -23.5 10t-8.5 25q0 9 2.5 26.5t2.5 23.5q5 68 5 123q0 101 -17.5 181t-48.5 138.5t-80 101t-105.5 69.5t-133 42.5t-154 21.5t-175.5 6h-224v-256q0 -26 -19 -45t-45 -19t-45 19 l-512 512q-19 19 -19 45t19 45l512 512q19 19 45 19t45 -19t19 -45v-256h224q713 0 875 -403q53 -134 53 -333z" /> +<glyph unicode="" horiz-adv-x="1664" d="M640 320q0 -40 -12.5 -82t-43 -76t-72.5 -34t-72.5 34t-43 76t-12.5 82t12.5 82t43 76t72.5 34t72.5 -34t43 -76t12.5 -82zM1280 320q0 -40 -12.5 -82t-43 -76t-72.5 -34t-72.5 34t-43 76t-12.5 82t12.5 82t43 76t72.5 34t72.5 -34t43 -76t12.5 -82zM1440 320 q0 120 -69 204t-187 84q-41 0 -195 -21q-71 -11 -157 -11t-157 11q-152 21 -195 21q-118 0 -187 -84t-69 -204q0 -88 32 -153.5t81 -103t122 -60t140 -29.5t149 -7h168q82 0 149 7t140 29.5t122 60t81 103t32 153.5zM1664 496q0 -207 -61 -331q-38 -77 -105.5 -133t-141 -86 t-170 -47.5t-171.5 -22t-167 -4.5q-78 0 -142 3t-147.5 12.5t-152.5 30t-137 51.5t-121 81t-86 115q-62 123 -62 331q0 237 136 396q-27 82 -27 170q0 116 51 218q108 0 190 -39.5t189 -123.5q147 35 309 35q148 0 280 -32q105 82 187 121t189 39q51 -102 51 -218 q0 -87 -27 -168q136 -160 136 -398z" /> +<glyph unicode="" horiz-adv-x="1664" d="M1536 224v704q0 40 -28 68t-68 28h-704q-40 0 -68 28t-28 68v64q0 40 -28 68t-68 28h-320q-40 0 -68 -28t-28 -68v-960q0 -40 28 -68t68 -28h1216q40 0 68 28t28 68zM1664 928v-704q0 -92 -66 -158t-158 -66h-1216q-92 0 -158 66t-66 158v960q0 92 66 158t158 66h320 q92 0 158 -66t66 -158v-32h672q92 0 158 -66t66 -158z" /> +<glyph unicode="" horiz-adv-x="1920" d="M1781 605q0 35 -53 35h-1088q-40 0 -85.5 -21.5t-71.5 -52.5l-294 -363q-18 -24 -18 -40q0 -35 53 -35h1088q40 0 86 22t71 53l294 363q18 22 18 39zM640 768h768v160q0 40 -28 68t-68 28h-576q-40 0 -68 28t-28 68v64q0 40 -28 68t-68 28h-320q-40 0 -68 -28t-28 -68 v-853l256 315q44 53 116 87.5t140 34.5zM1909 605q0 -62 -46 -120l-295 -363q-43 -53 -116 -87.5t-140 -34.5h-1088q-92 0 -158 66t-66 158v960q0 92 66 158t158 66h320q92 0 158 -66t66 -158v-32h544q92 0 158 -66t66 -158v-160h192q54 0 99 -24.5t67 -70.5q15 -32 15 -68z " /> +<glyph unicode="" horiz-adv-x="1792" /> +<glyph unicode="" horiz-adv-x="1792" /> +<glyph unicode="" d="M1134 461q-37 -121 -138 -195t-228 -74t-228 74t-138 195q-8 25 4 48.5t38 31.5q25 8 48.5 -4t31.5 -38q25 -80 92.5 -129.5t151.5 -49.5t151.5 49.5t92.5 129.5q8 26 32 38t49 4t37 -31.5t4 -48.5zM640 896q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5 t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1152 896q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1408 640q0 130 -51 248.5t-136.5 204t-204 136.5t-248.5 51t-248.5 -51t-204 -136.5t-136.5 -204t-51 -248.5 t51 -248.5t136.5 -204t204 -136.5t248.5 -51t248.5 51t204 136.5t136.5 204t51 248.5zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" /> +<glyph unicode="" d="M1134 307q8 -25 -4 -48.5t-37 -31.5t-49 4t-32 38q-25 80 -92.5 129.5t-151.5 49.5t-151.5 -49.5t-92.5 -129.5q-8 -26 -31.5 -38t-48.5 -4q-26 8 -38 31.5t-4 48.5q37 121 138 195t228 74t228 -74t138 -195zM640 896q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5 t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1152 896q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1408 640q0 130 -51 248.5t-136.5 204t-204 136.5t-248.5 51t-248.5 -51t-204 -136.5t-136.5 -204 t-51 -248.5t51 -248.5t136.5 -204t204 -136.5t248.5 -51t248.5 51t204 136.5t136.5 204t51 248.5zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" /> +<glyph unicode="" d="M1152 448q0 -26 -19 -45t-45 -19h-640q-26 0 -45 19t-19 45t19 45t45 19h640q26 0 45 -19t19 -45zM640 896q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1152 896q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5 t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1408 640q0 130 -51 248.5t-136.5 204t-204 136.5t-248.5 51t-248.5 -51t-204 -136.5t-136.5 -204t-51 -248.5t51 -248.5t136.5 -204t204 -136.5t248.5 -51t248.5 51t204 136.5t136.5 204t51 248.5zM1536 640 q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" /> +<glyph unicode="" horiz-adv-x="1920" d="M832 448v128q0 14 -9 23t-23 9h-192v192q0 14 -9 23t-23 9h-128q-14 0 -23 -9t-9 -23v-192h-192q-14 0 -23 -9t-9 -23v-128q0 -14 9 -23t23 -9h192v-192q0 -14 9 -23t23 -9h128q14 0 23 9t9 23v192h192q14 0 23 9t9 23zM1408 384q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5 t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1664 640q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1920 512q0 -212 -150 -362t-362 -150q-192 0 -338 128h-220q-146 -128 -338 -128q-212 0 -362 150 t-150 362t150 362t362 150h896q212 0 362 -150t150 -362z" /> +<glyph unicode="" horiz-adv-x="1920" d="M384 368v-96q0 -16 -16 -16h-96q-16 0 -16 16v96q0 16 16 16h96q16 0 16 -16zM512 624v-96q0 -16 -16 -16h-224q-16 0 -16 16v96q0 16 16 16h224q16 0 16 -16zM384 880v-96q0 -16 -16 -16h-96q-16 0 -16 16v96q0 16 16 16h96q16 0 16 -16zM1408 368v-96q0 -16 -16 -16 h-864q-16 0 -16 16v96q0 16 16 16h864q16 0 16 -16zM768 624v-96q0 -16 -16 -16h-96q-16 0 -16 16v96q0 16 16 16h96q16 0 16 -16zM640 880v-96q0 -16 -16 -16h-96q-16 0 -16 16v96q0 16 16 16h96q16 0 16 -16zM1024 624v-96q0 -16 -16 -16h-96q-16 0 -16 16v96q0 16 16 16 h96q16 0 16 -16zM896 880v-96q0 -16 -16 -16h-96q-16 0 -16 16v96q0 16 16 16h96q16 0 16 -16zM1280 624v-96q0 -16 -16 -16h-96q-16 0 -16 16v96q0 16 16 16h96q16 0 16 -16zM1664 368v-96q0 -16 -16 -16h-96q-16 0 -16 16v96q0 16 16 16h96q16 0 16 -16zM1152 880v-96 q0 -16 -16 -16h-96q-16 0 -16 16v96q0 16 16 16h96q16 0 16 -16zM1408 880v-96q0 -16 -16 -16h-96q-16 0 -16 16v96q0 16 16 16h96q16 0 16 -16zM1664 880v-352q0 -16 -16 -16h-224q-16 0 -16 16v96q0 16 16 16h112v240q0 16 16 16h96q16 0 16 -16zM1792 128v896h-1664v-896 h1664zM1920 1024v-896q0 -53 -37.5 -90.5t-90.5 -37.5h-1664q-53 0 -90.5 37.5t-37.5 90.5v896q0 53 37.5 90.5t90.5 37.5h1664q53 0 90.5 -37.5t37.5 -90.5z" /> +<glyph unicode="" horiz-adv-x="1792" d="M1664 491v616q-169 -91 -306 -91q-82 0 -145 32q-100 49 -184 76.5t-178 27.5q-173 0 -403 -127v-599q245 113 433 113q55 0 103.5 -7.5t98 -26t77 -31t82.5 -39.5l28 -14q44 -22 101 -22q120 0 293 92zM320 1280q0 -35 -17.5 -64t-46.5 -46v-1266q0 -14 -9 -23t-23 -9 h-64q-14 0 -23 9t-9 23v1266q-29 17 -46.5 46t-17.5 64q0 53 37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1792 1216v-763q0 -39 -35 -57q-10 -5 -17 -9q-218 -116 -369 -116q-88 0 -158 35l-28 14q-64 33 -99 48t-91 29t-114 14q-102 0 -235.5 -44t-228.5 -102 q-15 -9 -33 -9q-16 0 -32 8q-32 19 -32 56v742q0 35 31 55q35 21 78.5 42.5t114 52t152.5 49.5t155 19q112 0 209 -31t209 -86q38 -19 89 -19q122 0 310 112q22 12 31 17q31 16 62 -2q31 -20 31 -55z" /> +<glyph unicode="" horiz-adv-x="1792" d="M832 536v192q-181 -16 -384 -117v-185q205 96 384 110zM832 954v197q-172 -8 -384 -126v-189q215 111 384 118zM1664 491v184q-235 -116 -384 -71v224q-20 6 -39 15q-5 3 -33 17t-34.5 17t-31.5 15t-34.5 15.5t-32.5 13t-36 12.5t-35 8.5t-39.5 7.5t-39.5 4t-44 2 q-23 0 -49 -3v-222h19q102 0 192.5 -29t197.5 -82q19 -9 39 -15v-188q42 -17 91 -17q120 0 293 92zM1664 918v189q-169 -91 -306 -91q-45 0 -78 8v-196q148 -42 384 90zM320 1280q0 -35 -17.5 -64t-46.5 -46v-1266q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v1266 q-29 17 -46.5 46t-17.5 64q0 53 37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1792 1216v-763q0 -39 -35 -57q-10 -5 -17 -9q-218 -116 -369 -116q-88 0 -158 35l-28 14q-64 33 -99 48t-91 29t-114 14q-102 0 -235.5 -44t-228.5 -102q-15 -9 -33 -9q-16 0 -32 8 q-32 19 -32 56v742q0 35 31 55q35 21 78.5 42.5t114 52t152.5 49.5t155 19q112 0 209 -31t209 -86q38 -19 89 -19q122 0 310 112q22 12 31 17q31 16 62 -2q31 -20 31 -55z" /> +<glyph unicode="" horiz-adv-x="1664" d="M585 553l-466 -466q-10 -10 -23 -10t-23 10l-50 50q-10 10 -10 23t10 23l393 393l-393 393q-10 10 -10 23t10 23l50 50q10 10 23 10t23 -10l466 -466q10 -10 10 -23t-10 -23zM1664 96v-64q0 -14 -9 -23t-23 -9h-960q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h960q14 0 23 -9 t9 -23z" /> +<glyph unicode="" horiz-adv-x="1920" d="M617 137l-50 -50q-10 -10 -23 -10t-23 10l-466 466q-10 10 -10 23t10 23l466 466q10 10 23 10t23 -10l50 -50q10 -10 10 -23t-10 -23l-393 -393l393 -393q10 -10 10 -23t-10 -23zM1208 1204l-373 -1291q-4 -13 -15.5 -19.5t-23.5 -2.5l-62 17q-13 4 -19.5 15.5t-2.5 24.5 l373 1291q4 13 15.5 19.5t23.5 2.5l62 -17q13 -4 19.5 -15.5t2.5 -24.5zM1865 553l-466 -466q-10 -10 -23 -10t-23 10l-50 50q-10 10 -10 23t10 23l393 393l-393 393q-10 10 -10 23t10 23l50 50q10 10 23 10t23 -10l466 -466q10 -10 10 -23t-10 -23z" /> +<glyph unicode="" horiz-adv-x="1792" d="M640 454v-70q0 -42 -39 -59q-13 -5 -25 -5q-27 0 -45 19l-512 512q-19 19 -19 45t19 45l512 512q29 31 70 14q39 -17 39 -59v-69l-397 -398q-19 -19 -19 -45t19 -45zM1792 416q0 -58 -17 -133.5t-38.5 -138t-48 -125t-40.5 -90.5l-20 -40q-8 -17 -28 -17q-6 0 -9 1 q-25 8 -23 34q43 400 -106 565q-64 71 -170.5 110.5t-267.5 52.5v-251q0 -42 -39 -59q-13 -5 -25 -5q-27 0 -45 19l-512 512q-19 19 -19 45t19 45l512 512q29 31 70 14q39 -17 39 -59v-262q411 -28 599 -221q169 -173 169 -509z" /> +<glyph unicode="" horiz-adv-x="1664" d="M1186 579l257 250l-356 52l-66 10l-30 60l-159 322v-963l59 -31l318 -168l-60 355l-12 66zM1638 841l-363 -354l86 -500q5 -33 -6 -51.5t-34 -18.5q-17 0 -40 12l-449 236l-449 -236q-23 -12 -40 -12q-23 0 -34 18.5t-6 51.5l86 500l-364 354q-32 32 -23 59.5t54 34.5 l502 73l225 455q20 41 49 41q28 0 49 -41l225 -455l502 -73q45 -7 54 -34.5t-24 -59.5z" /> +<glyph unicode="" horiz-adv-x="1408" d="M1401 1187l-640 -1280q-17 -35 -57 -35q-5 0 -15 2q-22 5 -35.5 22.5t-13.5 39.5v576h-576q-22 0 -39.5 13.5t-22.5 35.5t4 42t29 30l1280 640q13 7 29 7q27 0 45 -19q15 -14 18.5 -34.5t-6.5 -39.5z" /> +<glyph unicode="" horiz-adv-x="1664" d="M557 256h595v595zM512 301l595 595h-595v-595zM1664 224v-192q0 -14 -9 -23t-23 -9h-224v-224q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v224h-864q-14 0 -23 9t-9 23v864h-224q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h224v224q0 14 9 23t23 9h192q14 0 23 -9t9 -23 v-224h851l246 247q10 9 23 9t23 -9q9 -10 9 -23t-9 -23l-247 -246v-851h224q14 0 23 -9t9 -23z" /> +<glyph unicode="" horiz-adv-x="1024" d="M288 64q0 40 -28 68t-68 28t-68 -28t-28 -68t28 -68t68 -28t68 28t28 68zM288 1216q0 40 -28 68t-68 28t-68 -28t-28 -68t28 -68t68 -28t68 28t28 68zM928 1088q0 40 -28 68t-68 28t-68 -28t-28 -68t28 -68t68 -28t68 28t28 68zM1024 1088q0 -52 -26 -96.5t-70 -69.5 q-2 -287 -226 -414q-68 -38 -203 -81q-128 -40 -169.5 -71t-41.5 -100v-26q44 -25 70 -69.5t26 -96.5q0 -80 -56 -136t-136 -56t-136 56t-56 136q0 52 26 96.5t70 69.5v820q-44 25 -70 69.5t-26 96.5q0 80 56 136t136 56t136 -56t56 -136q0 -52 -26 -96.5t-70 -69.5v-497 q54 26 154 57q55 17 87.5 29.5t70.5 31t59 39.5t40.5 51t28 69.5t8.5 91.5q-44 25 -70 69.5t-26 96.5q0 80 56 136t136 56t136 -56t56 -136z" /> +<glyph unicode="" horiz-adv-x="1664" d="M439 265l-256 -256q-10 -9 -23 -9q-12 0 -23 9q-9 10 -9 23t9 23l256 256q10 9 23 9t23 -9q9 -10 9 -23t-9 -23zM608 224v-320q0 -14 -9 -23t-23 -9t-23 9t-9 23v320q0 14 9 23t23 9t23 -9t9 -23zM384 448q0 -14 -9 -23t-23 -9h-320q-14 0 -23 9t-9 23t9 23t23 9h320 q14 0 23 -9t9 -23zM1648 320q0 -120 -85 -203l-147 -146q-83 -83 -203 -83q-121 0 -204 85l-334 335q-21 21 -42 56l239 18l273 -274q27 -27 68 -27.5t68 26.5l147 146q28 28 28 67q0 40 -28 68l-274 275l18 239q35 -21 56 -42l336 -336q84 -86 84 -204zM1031 1044l-239 -18 l-273 274q-28 28 -68 28q-39 0 -68 -27l-147 -146q-28 -28 -28 -67q0 -40 28 -68l274 -274l-18 -240q-35 21 -56 42l-336 336q-84 86 -84 204q0 120 85 203l147 146q83 83 203 83q121 0 204 -85l334 -335q21 -21 42 -56zM1664 960q0 -14 -9 -23t-23 -9h-320q-14 0 -23 9 t-9 23t9 23t23 9h320q14 0 23 -9t9 -23zM1120 1504v-320q0 -14 -9 -23t-23 -9t-23 9t-9 23v320q0 14 9 23t23 9t23 -9t9 -23zM1527 1353l-256 -256q-11 -9 -23 -9t-23 9q-9 10 -9 23t9 23l256 256q10 9 23 9t23 -9q9 -10 9 -23t-9 -23z" /> +<glyph unicode="" horiz-adv-x="1024" d="M704 280v-240q0 -16 -12 -28t-28 -12h-240q-16 0 -28 12t-12 28v240q0 16 12 28t28 12h240q16 0 28 -12t12 -28zM1020 880q0 -54 -15.5 -101t-35 -76.5t-55 -59.5t-57.5 -43.5t-61 -35.5q-41 -23 -68.5 -65t-27.5 -67q0 -17 -12 -32.5t-28 -15.5h-240q-15 0 -25.5 18.5 t-10.5 37.5v45q0 83 65 156.5t143 108.5q59 27 84 56t25 76q0 42 -46.5 74t-107.5 32q-65 0 -108 -29q-35 -25 -107 -115q-13 -16 -31 -16q-12 0 -25 8l-164 125q-13 10 -15.5 25t5.5 28q160 266 464 266q80 0 161 -31t146 -83t106 -127.5t41 -158.5z" /> +<glyph unicode="" horiz-adv-x="640" d="M640 192v-128q0 -26 -19 -45t-45 -19h-512q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h64v384h-64q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h384q26 0 45 -19t19 -45v-576h64q26 0 45 -19t19 -45zM512 1344v-192q0 -26 -19 -45t-45 -19h-256q-26 0 -45 19t-19 45v192 q0 26 19 45t45 19h256q26 0 45 -19t19 -45z" /> +<glyph unicode="" horiz-adv-x="640" d="M512 288v-224q0 -26 -19 -45t-45 -19h-256q-26 0 -45 19t-19 45v224q0 26 19 45t45 19h256q26 0 45 -19t19 -45zM542 1344l-28 -768q-1 -26 -20.5 -45t-45.5 -19h-256q-26 0 -45.5 19t-20.5 45l-28 768q-1 26 17.5 45t44.5 19h320q26 0 44.5 -19t17.5 -45z" /> +<glyph unicode="" d="M897 167v-167h-248l-159 252l-24 42q-8 9 -11 21h-3l-9 -21q-10 -20 -25 -44l-155 -250h-258v167h128l197 291l-185 272h-137v168h276l139 -228q2 -4 23 -42q8 -9 11 -21h3q3 9 11 21l25 42l140 228h257v-168h-125l-184 -267l204 -296h109zM1534 846v-206h-514l-3 27 q-4 28 -4 46q0 64 26 117t65 86.5t84 65t84 54.5t65 54t26 64q0 38 -29.5 62.5t-70.5 24.5q-51 0 -97 -39q-14 -11 -36 -38l-105 92q26 37 63 66q83 65 188 65q110 0 178 -59.5t68 -158.5q0 -56 -24.5 -103t-62 -76.5t-81.5 -58.5t-82 -50.5t-65.5 -51.5t-30.5 -63h232v80 h126z" /> +<glyph unicode="" d="M897 167v-167h-248l-159 252l-24 42q-8 9 -11 21h-3l-9 -21q-10 -20 -25 -44l-155 -250h-258v167h128l197 291l-185 272h-137v168h276l139 -228q2 -4 23 -42q8 -9 11 -21h3q3 9 11 21l25 42l140 228h257v-168h-125l-184 -267l204 -296h109zM1536 -50v-206h-514l-4 27 q-3 45 -3 46q0 64 26 117t65 86.5t84 65t84 54.5t65 54t26 64q0 38 -29.5 62.5t-70.5 24.5q-51 0 -97 -39q-14 -11 -36 -38l-105 92q26 37 63 66q80 65 188 65q110 0 178 -59.5t68 -158.5q0 -66 -34.5 -118.5t-84 -86t-99.5 -62.5t-87 -63t-41 -73h232v80h126z" /> +<glyph unicode="" horiz-adv-x="1920" d="M896 128l336 384h-768l-336 -384h768zM1909 1205q15 -34 9.5 -71.5t-30.5 -65.5l-896 -1024q-38 -44 -96 -44h-768q-38 0 -69.5 20.5t-47.5 54.5q-15 34 -9.5 71.5t30.5 65.5l896 1024q38 44 96 44h768q38 0 69.5 -20.5t47.5 -54.5z" /> +<glyph unicode="" horiz-adv-x="1664" d="M1664 438q0 -81 -44.5 -135t-123.5 -54q-41 0 -77.5 17.5t-59 38t-56.5 38t-71 17.5q-110 0 -110 -124q0 -39 16 -115t15 -115v-5q-22 0 -33 -1q-34 -3 -97.5 -11.5t-115.5 -13.5t-98 -5q-61 0 -103 26.5t-42 83.5q0 37 17.5 71t38 56.5t38 59t17.5 77.5q0 79 -54 123.5 t-135 44.5q-84 0 -143 -45.5t-59 -127.5q0 -43 15 -83t33.5 -64.5t33.5 -53t15 -50.5q0 -45 -46 -89q-37 -35 -117 -35q-95 0 -245 24q-9 2 -27.5 4t-27.5 4l-13 2q-1 0 -3 1q-2 0 -2 1v1024q2 -1 17.5 -3.5t34 -5t21.5 -3.5q150 -24 245 -24q80 0 117 35q46 44 46 89 q0 22 -15 50.5t-33.5 53t-33.5 64.5t-15 83q0 82 59 127.5t144 45.5q80 0 134 -44.5t54 -123.5q0 -41 -17.5 -77.5t-38 -59t-38 -56.5t-17.5 -71q0 -57 42 -83.5t103 -26.5q64 0 180 15t163 17v-2q-1 -2 -3.5 -17.5t-5 -34t-3.5 -21.5q-24 -150 -24 -245q0 -80 35 -117 q44 -46 89 -46q22 0 50.5 15t53 33.5t64.5 33.5t83 15q82 0 127.5 -59t45.5 -143z" /> +<glyph unicode="" horiz-adv-x="1152" d="M1152 832v-128q0 -221 -147.5 -384.5t-364.5 -187.5v-132h256q26 0 45 -19t19 -45t-19 -45t-45 -19h-640q-26 0 -45 19t-19 45t19 45t45 19h256v132q-217 24 -364.5 187.5t-147.5 384.5v128q0 26 19 45t45 19t45 -19t19 -45v-128q0 -185 131.5 -316.5t316.5 -131.5 t316.5 131.5t131.5 316.5v128q0 26 19 45t45 19t45 -19t19 -45zM896 1216v-512q0 -132 -94 -226t-226 -94t-226 94t-94 226v512q0 132 94 226t226 94t226 -94t94 -226z" /> +<glyph unicode="" horiz-adv-x="1408" d="M271 591l-101 -101q-42 103 -42 214v128q0 26 19 45t45 19t45 -19t19 -45v-128q0 -53 15 -113zM1385 1193l-361 -361v-128q0 -132 -94 -226t-226 -94q-55 0 -109 19l-96 -96q97 -51 205 -51q185 0 316.5 131.5t131.5 316.5v128q0 26 19 45t45 19t45 -19t19 -45v-128 q0 -221 -147.5 -384.5t-364.5 -187.5v-132h256q26 0 45 -19t19 -45t-19 -45t-45 -19h-640q-26 0 -45 19t-19 45t19 45t45 19h256v132q-125 13 -235 81l-254 -254q-10 -10 -23 -10t-23 10l-82 82q-10 10 -10 23t10 23l1234 1234q10 10 23 10t23 -10l82 -82q10 -10 10 -23 t-10 -23zM1005 1325l-621 -621v512q0 132 94 226t226 94q102 0 184.5 -59t116.5 -152z" /> +<glyph unicode="" horiz-adv-x="1280" d="M1088 576v640h-448v-1137q119 63 213 137q235 184 235 360zM1280 1344v-768q0 -86 -33.5 -170.5t-83 -150t-118 -127.5t-126.5 -103t-121 -77.5t-89.5 -49.5t-42.5 -20q-12 -6 -26 -6t-26 6q-16 7 -42.5 20t-89.5 49.5t-121 77.5t-126.5 103t-118 127.5t-83 150 t-33.5 170.5v768q0 26 19 45t45 19h1152q26 0 45 -19t19 -45z" /> +<glyph unicode="" horiz-adv-x="1664" d="M128 -128h1408v1024h-1408v-1024zM512 1088v288q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-288q0 -14 9 -23t23 -9h64q14 0 23 9t9 23zM1280 1088v288q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-288q0 -14 9 -23t23 -9h64q14 0 23 9t9 23zM1664 1152v-1280 q0 -52 -38 -90t-90 -38h-1408q-52 0 -90 38t-38 90v1280q0 52 38 90t90 38h128v96q0 66 47 113t113 47h64q66 0 113 -47t47 -113v-96h384v96q0 66 47 113t113 47h64q66 0 113 -47t47 -113v-96h128q52 0 90 -38t38 -90z" /> +<glyph unicode="" horiz-adv-x="1408" d="M512 1344q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1408 1376v-320q0 -16 -12 -25q-8 -7 -20 -7q-4 0 -7 1l-448 96q-11 2 -18 11t-7 20h-256v-102q111 -23 183.5 -111t72.5 -203v-800q0 -26 -19 -45t-45 -19h-512q-26 0 -45 19t-19 45v800 q0 106 62.5 190.5t161.5 114.5v111h-32q-59 0 -115 -23.5t-91.5 -53t-66 -66.5t-40.5 -53.5t-14 -24.5q-17 -35 -57 -35q-16 0 -29 7q-23 12 -31.5 37t3.5 49q5 10 14.5 26t37.5 53.5t60.5 70t85 67t108.5 52.5q-25 42 -25 86q0 66 47 113t113 47t113 -47t47 -113 q0 -33 -14 -64h302q0 11 7 20t18 11l448 96q3 1 7 1q12 0 20 -7q12 -9 12 -25z" /> +<glyph unicode="" horiz-adv-x="1664" d="M1440 1088q0 40 -28 68t-68 28t-68 -28t-28 -68t28 -68t68 -28t68 28t28 68zM1664 1376q0 -249 -75.5 -430.5t-253.5 -360.5q-81 -80 -195 -176l-20 -379q-2 -16 -16 -26l-384 -224q-7 -4 -16 -4q-12 0 -23 9l-64 64q-13 14 -8 32l85 276l-281 281l-276 -85q-3 -1 -9 -1 q-14 0 -23 9l-64 64q-17 19 -5 39l224 384q10 14 26 16l379 20q96 114 176 195q188 187 358 258t431 71q14 0 24 -9.5t10 -22.5z" /> +<glyph unicode="" horiz-adv-x="1792" d="M1745 763l-164 -763h-334l178 832q13 56 -15 88q-27 33 -83 33h-169l-204 -953h-334l204 953h-286l-204 -953h-334l204 953l-153 327h1276q101 0 189.5 -40.5t147.5 -113.5q60 -73 81 -168.5t0 -194.5z" /> +<glyph unicode="" d="M909 141l102 102q19 19 19 45t-19 45l-307 307l307 307q19 19 19 45t-19 45l-102 102q-19 19 -45 19t-45 -19l-454 -454q-19 -19 -19 -45t19 -45l454 -454q19 -19 45 -19t45 19zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5 t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" /> +<glyph unicode="" d="M717 141l454 454q19 19 19 45t-19 45l-454 454q-19 19 -45 19t-45 -19l-102 -102q-19 -19 -19 -45t19 -45l307 -307l-307 -307q-19 -19 -19 -45t19 -45l102 -102q19 -19 45 -19t45 19zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5 t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" /> +<glyph unicode="" d="M1165 397l102 102q19 19 19 45t-19 45l-454 454q-19 19 -45 19t-45 -19l-454 -454q-19 -19 -19 -45t19 -45l102 -102q19 -19 45 -19t45 19l307 307l307 -307q19 -19 45 -19t45 19zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5 t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" /> +<glyph unicode="" d="M813 237l454 454q19 19 19 45t-19 45l-102 102q-19 19 -45 19t-45 -19l-307 -307l-307 307q-19 19 -45 19t-45 -19l-102 -102q-19 -19 -19 -45t19 -45l454 -454q19 -19 45 -19t45 19zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5 t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" /> +<glyph unicode="" horiz-adv-x="1408" d="M1130 939l16 175h-884l47 -534h612l-22 -228l-197 -53l-196 53l-13 140h-175l22 -278l362 -100h4v1l359 99l50 544h-644l-15 181h674zM0 1408h1408l-128 -1438l-578 -162l-574 162z" /> +<glyph unicode="" horiz-adv-x="1792" d="M275 1408h1505l-266 -1333l-804 -267l-698 267l71 356h297l-29 -147l422 -161l486 161l68 339h-1208l58 297h1209l38 191h-1208z" /> +<glyph unicode="" horiz-adv-x="1792" d="M960 1280q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1792 352v-352q0 -22 -20 -30q-8 -2 -12 -2q-13 0 -23 9l-93 93q-119 -143 -318.5 -226.5t-429.5 -83.5t-429.5 83.5t-318.5 226.5l-93 -93q-9 -9 -23 -9q-4 0 -12 2q-20 8 -20 30v352 q0 14 9 23t23 9h352q22 0 30 -20q8 -19 -7 -35l-100 -100q67 -91 189.5 -153.5t271.5 -82.5v647h-192q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h192v163q-58 34 -93 92.5t-35 128.5q0 106 75 181t181 75t181 -75t75 -181q0 -70 -35 -128.5t-93 -92.5v-163h192q26 0 45 -19 t19 -45v-128q0 -26 -19 -45t-45 -19h-192v-647q149 20 271.5 82.5t189.5 153.5l-100 100q-15 16 -7 35q8 20 30 20h352q14 0 23 -9t9 -23z" /> +<glyph unicode="" horiz-adv-x="1152" d="M1056 768q40 0 68 -28t28 -68v-576q0 -40 -28 -68t-68 -28h-960q-40 0 -68 28t-28 68v576q0 40 28 68t68 28h32v320q0 185 131.5 316.5t316.5 131.5t316.5 -131.5t131.5 -316.5q0 -26 -19 -45t-45 -19h-64q-26 0 -45 19t-19 45q0 106 -75 181t-181 75t-181 -75t-75 -181 v-320h736z" /> +<glyph unicode="" d="M1024 640q0 -106 -75 -181t-181 -75t-181 75t-75 181t75 181t181 75t181 -75t75 -181zM1152 640q0 159 -112.5 271.5t-271.5 112.5t-271.5 -112.5t-112.5 -271.5t112.5 -271.5t271.5 -112.5t271.5 112.5t112.5 271.5zM1280 640q0 -212 -150 -362t-362 -150t-362 150 t-150 362t150 362t362 150t362 -150t150 -362zM1408 640q0 130 -51 248.5t-136.5 204t-204 136.5t-248.5 51t-248.5 -51t-204 -136.5t-136.5 -204t-51 -248.5t51 -248.5t136.5 -204t204 -136.5t248.5 -51t248.5 51t204 136.5t136.5 204t51 248.5zM1536 640 q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" /> +<glyph unicode="" horiz-adv-x="1408" d="M384 800v-192q0 -40 -28 -68t-68 -28h-192q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h192q40 0 68 -28t28 -68zM896 800v-192q0 -40 -28 -68t-68 -28h-192q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h192q40 0 68 -28t28 -68zM1408 800v-192q0 -40 -28 -68t-68 -28h-192 q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h192q40 0 68 -28t28 -68z" /> +<glyph unicode="" horiz-adv-x="384" d="M384 288v-192q0 -40 -28 -68t-68 -28h-192q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h192q40 0 68 -28t28 -68zM384 800v-192q0 -40 -28 -68t-68 -28h-192q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h192q40 0 68 -28t28 -68zM384 1312v-192q0 -40 -28 -68t-68 -28h-192 q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h192q40 0 68 -28t28 -68z" /> +<glyph unicode="" d="M512 256q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM863 162q-13 232 -177 396t-396 177q-14 1 -24 -9t-10 -23v-128q0 -13 8.5 -22t21.5 -10q154 -11 264 -121t121 -264q1 -13 10 -21.5t22 -8.5h128q13 0 23 10 t9 24zM1247 161q-5 154 -56 297.5t-139.5 260t-205 205t-260 139.5t-297.5 56q-14 1 -23 -9q-10 -10 -10 -23v-128q0 -13 9 -22t22 -10q204 -7 378 -111.5t278.5 -278.5t111.5 -378q1 -13 10 -22t22 -9h128q13 0 23 10q11 9 9 23zM1536 1120v-960q0 -119 -84.5 -203.5 t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" /> +<glyph unicode="" d="M768 1408q209 0 385.5 -103t279.5 -279.5t103 -385.5t-103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103zM1152 585q32 18 32 55t-32 55l-544 320q-31 19 -64 1q-32 -19 -32 -56v-640q0 -37 32 -56 q16 -8 32 -8q17 0 32 9z" /> +<glyph unicode="" horiz-adv-x="1792" d="M1024 1084l316 -316l-572 -572l-316 316zM813 105l618 618q19 19 19 45t-19 45l-362 362q-18 18 -45 18t-45 -18l-618 -618q-19 -19 -19 -45t19 -45l362 -362q18 -18 45 -18t45 18zM1702 742l-907 -908q-37 -37 -90.5 -37t-90.5 37l-126 126q56 56 56 136t-56 136 t-136 56t-136 -56l-125 126q-37 37 -37 90.5t37 90.5l907 906q37 37 90.5 37t90.5 -37l125 -125q-56 -56 -56 -136t56 -136t136 -56t136 56l126 -125q37 -37 37 -90.5t-37 -90.5z" /> +<glyph unicode="" d="M1280 576v128q0 26 -19 45t-45 19h-896q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h896q26 0 45 19t19 45zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5 t84.5 -203.5z" /> +<glyph unicode="" horiz-adv-x="1408" d="M1152 736v-64q0 -14 -9 -23t-23 -9h-832q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h832q14 0 23 -9t9 -23zM1280 288v832q0 66 -47 113t-113 47h-832q-66 0 -113 -47t-47 -113v-832q0 -66 47 -113t113 -47h832q66 0 113 47t47 113zM1408 1120v-832q0 -119 -84.5 -203.5 t-203.5 -84.5h-832q-119 0 -203.5 84.5t-84.5 203.5v832q0 119 84.5 203.5t203.5 84.5h832q119 0 203.5 -84.5t84.5 -203.5z" /> +<glyph unicode="" horiz-adv-x="1024" d="M1018 933q-18 -37 -58 -37h-192v-864q0 -14 -9 -23t-23 -9h-704q-21 0 -29 18q-8 20 4 35l160 192q9 11 25 11h320v640h-192q-40 0 -58 37q-17 37 9 68l320 384q18 22 49 22t49 -22l320 -384q27 -32 9 -68z" /> +<glyph unicode="" horiz-adv-x="1024" d="M32 1280h704q13 0 22.5 -9.5t9.5 -23.5v-863h192q40 0 58 -37t-9 -69l-320 -384q-18 -22 -49 -22t-49 22l-320 384q-26 31 -9 69q18 37 58 37h192v640h-320q-14 0 -25 11l-160 192q-13 14 -4 34q9 19 29 19z" /> +<glyph unicode="" d="M685 237l614 614q19 19 19 45t-19 45l-102 102q-19 19 -45 19t-45 -19l-467 -467l-211 211q-19 19 -45 19t-45 -19l-102 -102q-19 -19 -19 -45t19 -45l358 -358q19 -19 45 -19t45 19zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5 t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" /> +<glyph unicode="" d="M404 428l152 -152l-52 -52h-56v96h-96v56zM818 818q14 -13 -3 -30l-291 -291q-17 -17 -30 -3q-14 13 3 30l291 291q17 17 30 3zM544 128l544 544l-288 288l-544 -544v-288h288zM1152 736l92 92q28 28 28 68t-28 68l-152 152q-28 28 -68 28t-68 -28l-92 -92zM1536 1120 v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" /> +<glyph unicode="" d="M1280 608v480q0 26 -19 45t-45 19h-480q-42 0 -59 -39q-17 -41 14 -70l144 -144l-534 -534q-19 -19 -19 -45t19 -45l102 -102q19 -19 45 -19t45 19l534 534l144 -144q18 -19 45 -19q12 0 25 5q39 17 39 59zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960 q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" /> +<glyph unicode="" d="M1005 435l352 352q19 19 19 45t-19 45l-352 352q-30 31 -69 14q-40 -17 -40 -59v-160q-119 0 -216 -19.5t-162.5 -51t-114 -79t-76.5 -95.5t-44.5 -109t-21.5 -111.5t-5 -110.5q0 -181 167 -404q10 -12 25 -12q7 0 13 3q22 9 19 33q-44 354 62 473q46 52 130 75.5 t224 23.5v-160q0 -42 40 -59q12 -5 24 -5q26 0 45 19zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" /> +<glyph unicode="" d="M640 448l256 128l-256 128v-256zM1024 1039v-542l-512 -256v542zM1312 640q0 148 -73 273t-198 198t-273 73t-273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73t273 73t198 198t73 273zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103 t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" /> +<glyph unicode="" d="M1145 861q18 -35 -5 -66l-320 -448q-19 -27 -52 -27t-52 27l-320 448q-23 31 -5 66q17 35 57 35h640q40 0 57 -35zM1280 160v960q0 13 -9.5 22.5t-22.5 9.5h-960q-13 0 -22.5 -9.5t-9.5 -22.5v-960q0 -13 9.5 -22.5t22.5 -9.5h960q13 0 22.5 9.5t9.5 22.5zM1536 1120 v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" /> +<glyph unicode="" d="M1145 419q-17 -35 -57 -35h-640q-40 0 -57 35q-18 35 5 66l320 448q19 27 52 27t52 -27l320 -448q23 -31 5 -66zM1280 160v960q0 13 -9.5 22.5t-22.5 9.5h-960q-13 0 -22.5 -9.5t-9.5 -22.5v-960q0 -13 9.5 -22.5t22.5 -9.5h960q13 0 22.5 9.5t9.5 22.5zM1536 1120v-960 q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" /> +<glyph unicode="" d="M1088 640q0 -33 -27 -52l-448 -320q-31 -23 -66 -5q-35 17 -35 57v640q0 40 35 57q35 18 66 -5l448 -320q27 -19 27 -52zM1280 160v960q0 14 -9 23t-23 9h-960q-14 0 -23 -9t-9 -23v-960q0 -14 9 -23t23 -9h960q14 0 23 9t9 23zM1536 1120v-960q0 -119 -84.5 -203.5 t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" /> +<glyph unicode="" horiz-adv-x="1024" d="M976 229l35 -159q3 -12 -3 -22.5t-17 -14.5l-5 -1q-4 -2 -10.5 -3.5t-16 -4.5t-21.5 -5.5t-25.5 -5t-30 -5t-33.5 -4.5t-36.5 -3t-38.5 -1q-234 0 -409 130.5t-238 351.5h-95q-13 0 -22.5 9.5t-9.5 22.5v113q0 13 9.5 22.5t22.5 9.5h66q-2 57 1 105h-67q-14 0 -23 9 t-9 23v114q0 14 9 23t23 9h98q67 210 243.5 338t400.5 128q102 0 194 -23q11 -3 20 -15q6 -11 3 -24l-43 -159q-3 -13 -14 -19.5t-24 -2.5l-4 1q-4 1 -11.5 2.5l-17.5 3.5t-22.5 3.5t-26 3t-29 2.5t-29.5 1q-126 0 -226 -64t-150 -176h468q16 0 25 -12q10 -12 7 -26 l-24 -114q-5 -26 -32 -26h-488q-3 -37 0 -105h459q15 0 25 -12q9 -12 6 -27l-24 -112q-2 -11 -11 -18.5t-20 -7.5h-387q48 -117 149.5 -185.5t228.5 -68.5q18 0 36 1.5t33.5 3.5t29.5 4.5t24.5 5t18.5 4.5l12 3l5 2q13 5 26 -2q12 -7 15 -21z" /> +<glyph unicode="" horiz-adv-x="1024" d="M1020 399v-367q0 -14 -9 -23t-23 -9h-956q-14 0 -23 9t-9 23v150q0 13 9.5 22.5t22.5 9.5h97v383h-95q-14 0 -23 9.5t-9 22.5v131q0 14 9 23t23 9h95v223q0 171 123.5 282t314.5 111q185 0 335 -125q9 -8 10 -20.5t-7 -22.5l-103 -127q-9 -11 -22 -12q-13 -2 -23 7 q-5 5 -26 19t-69 32t-93 18q-85 0 -137 -47t-52 -123v-215h305q13 0 22.5 -9t9.5 -23v-131q0 -13 -9.5 -22.5t-22.5 -9.5h-305v-379h414v181q0 13 9 22.5t23 9.5h162q14 0 23 -9.5t9 -22.5z" /> +<glyph unicode="" horiz-adv-x="1024" d="M978 351q0 -153 -99.5 -263.5t-258.5 -136.5v-175q0 -14 -9 -23t-23 -9h-135q-13 0 -22.5 9.5t-9.5 22.5v175q-66 9 -127.5 31t-101.5 44.5t-74 48t-46.5 37.5t-17.5 18q-17 21 -2 41l103 135q7 10 23 12q15 2 24 -9l2 -2q113 -99 243 -125q37 -8 74 -8q81 0 142.5 43 t61.5 122q0 28 -15 53t-33.5 42t-58.5 37.5t-66 32t-80 32.5q-39 16 -61.5 25t-61.5 26.5t-62.5 31t-56.5 35.5t-53.5 42.5t-43.5 49t-35.5 58t-21 66.5t-8.5 78q0 138 98 242t255 134v180q0 13 9.5 22.5t22.5 9.5h135q14 0 23 -9t9 -23v-176q57 -6 110.5 -23t87 -33.5 t63.5 -37.5t39 -29t15 -14q17 -18 5 -38l-81 -146q-8 -15 -23 -16q-14 -3 -27 7q-3 3 -14.5 12t-39 26.5t-58.5 32t-74.5 26t-85.5 11.5q-95 0 -155 -43t-60 -111q0 -26 8.5 -48t29.5 -41.5t39.5 -33t56 -31t60.5 -27t70 -27.5q53 -20 81 -31.5t76 -35t75.5 -42.5t62 -50 t53 -63.5t31.5 -76.5t13 -94z" /> +<glyph unicode="" horiz-adv-x="898" d="M898 1066v-102q0 -14 -9 -23t-23 -9h-168q-23 -144 -129 -234t-276 -110q167 -178 459 -536q14 -16 4 -34q-8 -18 -29 -18h-195q-16 0 -25 12q-306 367 -498 571q-9 9 -9 22v127q0 13 9.5 22.5t22.5 9.5h112q132 0 212.5 43t102.5 125h-427q-14 0 -23 9t-9 23v102 q0 14 9 23t23 9h413q-57 113 -268 113h-145q-13 0 -22.5 9.5t-9.5 22.5v133q0 14 9 23t23 9h832q14 0 23 -9t9 -23v-102q0 -14 -9 -23t-23 -9h-233q47 -61 64 -144h171q14 0 23 -9t9 -23z" /> +<glyph unicode="" horiz-adv-x="1027" d="M603 0h-172q-13 0 -22.5 9t-9.5 23v330h-288q-13 0 -22.5 9t-9.5 23v103q0 13 9.5 22.5t22.5 9.5h288v85h-288q-13 0 -22.5 9t-9.5 23v104q0 13 9.5 22.5t22.5 9.5h214l-321 578q-8 16 0 32q10 16 28 16h194q19 0 29 -18l215 -425q19 -38 56 -125q10 24 30.5 68t27.5 61 l191 420q8 19 29 19h191q17 0 27 -16q9 -14 1 -31l-313 -579h215q13 0 22.5 -9.5t9.5 -22.5v-104q0 -14 -9.5 -23t-22.5 -9h-290v-85h290q13 0 22.5 -9.5t9.5 -22.5v-103q0 -14 -9.5 -23t-22.5 -9h-290v-330q0 -13 -9.5 -22.5t-22.5 -9.5z" /> +<glyph unicode="" horiz-adv-x="1280" d="M1043 971q0 100 -65 162t-171 62h-320v-448h320q106 0 171 62t65 162zM1280 971q0 -193 -126.5 -315t-326.5 -122h-340v-118h505q14 0 23 -9t9 -23v-128q0 -14 -9 -23t-23 -9h-505v-192q0 -14 -9.5 -23t-22.5 -9h-167q-14 0 -23 9t-9 23v192h-224q-14 0 -23 9t-9 23v128 q0 14 9 23t23 9h224v118h-224q-14 0 -23 9t-9 23v149q0 13 9 22.5t23 9.5h224v629q0 14 9 23t23 9h539q200 0 326.5 -122t126.5 -315z" /> +<glyph unicode="" horiz-adv-x="1792" d="M514 341l81 299h-159l75 -300q1 -1 1 -3t1 -3q0 1 0.5 3.5t0.5 3.5zM630 768l35 128h-292l32 -128h225zM822 768h139l-35 128h-70zM1271 340l78 300h-162l81 -299q0 -1 0.5 -3.5t1.5 -3.5q0 1 0.5 3t0.5 3zM1382 768l33 128h-297l34 -128h230zM1792 736v-64q0 -14 -9 -23 t-23 -9h-213l-164 -616q-7 -24 -31 -24h-159q-24 0 -31 24l-166 616h-209l-167 -616q-7 -24 -31 -24h-159q-11 0 -19.5 7t-10.5 17l-160 616h-208q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h175l-33 128h-142q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h109l-89 344q-5 15 5 28 q10 12 26 12h137q26 0 31 -24l90 -360h359l97 360q7 24 31 24h126q24 0 31 -24l98 -360h365l93 360q5 24 31 24h137q16 0 26 -12q10 -13 5 -28l-91 -344h111q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-145l-34 -128h179q14 0 23 -9t9 -23z" /> +<glyph unicode="" horiz-adv-x="1280" d="M1167 896q18 -182 -131 -258q117 -28 175 -103t45 -214q-7 -71 -32.5 -125t-64.5 -89t-97 -58.5t-121.5 -34.5t-145.5 -15v-255h-154v251q-80 0 -122 1v-252h-154v255q-18 0 -54 0.5t-55 0.5h-200l31 183h111q50 0 58 51v402h16q-6 1 -16 1v287q-13 68 -89 68h-111v164 l212 -1q64 0 97 1v252h154v-247q82 2 122 2v245h154v-252q79 -7 140 -22.5t113 -45t82.5 -78t36.5 -114.5zM952 351q0 36 -15 64t-37 46t-57.5 30.5t-65.5 18.5t-74 9t-69 3t-64.5 -1t-47.5 -1v-338q8 0 37 -0.5t48 -0.5t53 1.5t58.5 4t57 8.5t55.5 14t47.5 21t39.5 30 t24.5 40t9.5 51zM881 827q0 33 -12.5 58.5t-30.5 42t-48 28t-55 16.5t-61.5 8t-58 2.5t-54 -1t-39.5 -0.5v-307q5 0 34.5 -0.5t46.5 0t50 2t55 5.5t51.5 11t48.5 18.5t37 27t27 38.5t9 51z" /> +<glyph unicode="" d="M1024 1024v472q22 -14 36 -28l408 -408q14 -14 28 -36h-472zM896 992q0 -40 28 -68t68 -28h544v-1056q0 -40 -28 -68t-68 -28h-1344q-40 0 -68 28t-28 68v1600q0 40 28 68t68 28h800v-544z" /> +<glyph unicode="" d="M1468 1060q14 -14 28 -36h-472v472q22 -14 36 -28zM992 896h544v-1056q0 -40 -28 -68t-68 -28h-1344q-40 0 -68 28t-28 68v1600q0 40 28 68t68 28h800v-544q0 -40 28 -68t68 -28zM1152 160v64q0 14 -9 23t-23 9h-704q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h704 q14 0 23 9t9 23zM1152 416v64q0 14 -9 23t-23 9h-704q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h704q14 0 23 9t9 23zM1152 672v64q0 14 -9 23t-23 9h-704q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h704q14 0 23 9t9 23z" /> +<glyph unicode="" horiz-adv-x="1664" d="M1191 1128h177l-72 218l-12 47q-2 16 -2 20h-4l-3 -20q0 -1 -3.5 -18t-7.5 -29zM736 96q0 -12 -10 -24l-319 -319q-10 -9 -23 -9q-12 0 -23 9l-320 320q-15 16 -7 35q8 20 30 20h192v1376q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-1376h192q14 0 23 -9t9 -23zM1572 -23 v-233h-584v90l369 529q12 18 21 27l11 9v3q-2 0 -6.5 -0.5t-7.5 -0.5q-12 -3 -30 -3h-232v-115h-120v229h567v-89l-369 -530q-6 -8 -21 -26l-11 -11v-2l14 2q9 2 30 2h248v119h121zM1661 874v-106h-288v106h75l-47 144h-243l-47 -144h75v-106h-287v106h70l230 662h162 l230 -662h70z" /> +<glyph unicode="" horiz-adv-x="1664" d="M1191 104h177l-72 218l-12 47q-2 16 -2 20h-4l-3 -20q0 -1 -3.5 -18t-7.5 -29zM736 96q0 -12 -10 -24l-319 -319q-10 -9 -23 -9q-12 0 -23 9l-320 320q-15 16 -7 35q8 20 30 20h192v1376q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-1376h192q14 0 23 -9t9 -23zM1661 -150 v-106h-288v106h75l-47 144h-243l-47 -144h75v-106h-287v106h70l230 662h162l230 -662h70zM1572 1001v-233h-584v90l369 529q12 18 21 27l11 9v3q-2 0 -6.5 -0.5t-7.5 -0.5q-12 -3 -30 -3h-232v-115h-120v229h567v-89l-369 -530q-6 -8 -21 -26l-11 -10v-3l14 3q9 1 30 1h248 v119h121z" /> +<glyph unicode="" horiz-adv-x="1792" d="M736 96q0 -12 -10 -24l-319 -319q-10 -9 -23 -9q-12 0 -23 9l-320 320q-15 16 -7 35q8 20 30 20h192v1376q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-1376h192q14 0 23 -9t9 -23zM1792 -32v-192q0 -14 -9 -23t-23 -9h-832q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h832 q14 0 23 -9t9 -23zM1600 480v-192q0 -14 -9 -23t-23 -9h-640q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h640q14 0 23 -9t9 -23zM1408 992v-192q0 -14 -9 -23t-23 -9h-448q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h448q14 0 23 -9t9 -23zM1216 1504v-192q0 -14 -9 -23t-23 -9h-256 q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h256q14 0 23 -9t9 -23z" /> +<glyph unicode="" horiz-adv-x="1792" d="M1216 -32v-192q0 -14 -9 -23t-23 -9h-256q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h256q14 0 23 -9t9 -23zM736 96q0 -12 -10 -24l-319 -319q-10 -9 -23 -9q-12 0 -23 9l-320 320q-15 16 -7 35q8 20 30 20h192v1376q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-1376h192 q14 0 23 -9t9 -23zM1408 480v-192q0 -14 -9 -23t-23 -9h-448q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h448q14 0 23 -9t9 -23zM1600 992v-192q0 -14 -9 -23t-23 -9h-640q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h640q14 0 23 -9t9 -23zM1792 1504v-192q0 -14 -9 -23t-23 -9h-832 q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h832q14 0 23 -9t9 -23z" /> +<glyph unicode="" d="M1346 223q0 63 -44 116t-103 53q-52 0 -83 -37t-31 -94t36.5 -95t104.5 -38q50 0 85 27t35 68zM736 96q0 -12 -10 -24l-319 -319q-10 -9 -23 -9q-12 0 -23 9l-320 320q-15 16 -7 35q8 20 30 20h192v1376q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-1376h192q14 0 23 -9t9 -23 zM1486 165q0 -62 -13 -121.5t-41 -114t-68 -95.5t-98.5 -65.5t-127.5 -24.5q-62 0 -108 16q-24 8 -42 15l39 113q15 -7 31 -11q37 -13 75 -13q84 0 134.5 58.5t66.5 145.5h-2q-21 -23 -61.5 -37t-84.5 -14q-106 0 -173 71.5t-67 172.5q0 105 72 178t181 73q123 0 205 -94.5 t82 -252.5zM1456 882v-114h-469v114h167v432q0 7 0.5 19t0.5 17v16h-2l-7 -12q-8 -13 -26 -31l-62 -58l-82 86l192 185h123v-654h165z" /> +<glyph unicode="" d="M1346 1247q0 63 -44 116t-103 53q-52 0 -83 -37t-31 -94t36.5 -95t104.5 -38q50 0 85 27t35 68zM736 96q0 -12 -10 -24l-319 -319q-10 -9 -23 -9q-12 0 -23 9l-320 320q-15 16 -7 35q8 20 30 20h192v1376q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-1376h192q14 0 23 -9 t9 -23zM1456 -142v-114h-469v114h167v432q0 7 0.5 19t0.5 17v16h-2l-7 -12q-8 -13 -26 -31l-62 -58l-82 86l192 185h123v-654h165zM1486 1189q0 -62 -13 -121.5t-41 -114t-68 -95.5t-98.5 -65.5t-127.5 -24.5q-62 0 -108 16q-24 8 -42 15l39 113q15 -7 31 -11q37 -13 75 -13 q84 0 134.5 58.5t66.5 145.5h-2q-21 -23 -61.5 -37t-84.5 -14q-106 0 -173 71.5t-67 172.5q0 105 72 178t181 73q123 0 205 -94.5t82 -252.5z" /> +<glyph unicode="" horiz-adv-x="1664" d="M256 192q0 26 -19 45t-45 19q-27 0 -45.5 -19t-18.5 -45q0 -27 18.5 -45.5t45.5 -18.5q26 0 45 18.5t19 45.5zM416 704v-640q0 -26 -19 -45t-45 -19h-288q-26 0 -45 19t-19 45v640q0 26 19 45t45 19h288q26 0 45 -19t19 -45zM1600 704q0 -86 -55 -149q15 -44 15 -76 q3 -76 -43 -137q17 -56 0 -117q-15 -57 -54 -94q9 -112 -49 -181q-64 -76 -197 -78h-36h-76h-17q-66 0 -144 15.5t-121.5 29t-120.5 39.5q-123 43 -158 44q-26 1 -45 19.5t-19 44.5v641q0 25 18 43.5t43 20.5q24 2 76 59t101 121q68 87 101 120q18 18 31 48t17.5 48.5 t13.5 60.5q7 39 12.5 61t19.5 52t34 50q19 19 45 19q46 0 82.5 -10.5t60 -26t40 -40.5t24 -45t12 -50t5 -45t0.5 -39q0 -38 -9.5 -76t-19 -60t-27.5 -56q-3 -6 -10 -18t-11 -22t-8 -24h277q78 0 135 -57t57 -135z" /> +<glyph unicode="" horiz-adv-x="1664" d="M256 960q0 -26 -19 -45t-45 -19q-27 0 -45.5 19t-18.5 45q0 27 18.5 45.5t45.5 18.5q26 0 45 -18.5t19 -45.5zM416 448v640q0 26 -19 45t-45 19h-288q-26 0 -45 -19t-19 -45v-640q0 -26 19 -45t45 -19h288q26 0 45 19t19 45zM1545 597q55 -61 55 -149q-1 -78 -57.5 -135 t-134.5 -57h-277q4 -14 8 -24t11 -22t10 -18q18 -37 27 -57t19 -58.5t10 -76.5q0 -24 -0.5 -39t-5 -45t-12 -50t-24 -45t-40 -40.5t-60 -26t-82.5 -10.5q-26 0 -45 19q-20 20 -34 50t-19.5 52t-12.5 61q-9 42 -13.5 60.5t-17.5 48.5t-31 48q-33 33 -101 120q-49 64 -101 121 t-76 59q-25 2 -43 20.5t-18 43.5v641q0 26 19 44.5t45 19.5q35 1 158 44q77 26 120.5 39.5t121.5 29t144 15.5h17h76h36q133 -2 197 -78q58 -69 49 -181q39 -37 54 -94q17 -61 0 -117q46 -61 43 -137q0 -32 -15 -76z" /> +<glyph unicode="" d="M919 233v157q0 50 -29 50q-17 0 -33 -16v-224q16 -16 33 -16q29 0 29 49zM1103 355h66v34q0 51 -33 51t-33 -51v-34zM532 621v-70h-80v-423h-74v423h-78v70h232zM733 495v-367h-67v40q-39 -45 -76 -45q-33 0 -42 28q-6 16 -6 54v290h66v-270q0 -24 1 -26q1 -15 15 -15 q20 0 42 31v280h67zM985 384v-146q0 -52 -7 -73q-12 -42 -53 -42q-35 0 -68 41v-36h-67v493h67v-161q32 40 68 40q41 0 53 -42q7 -21 7 -74zM1236 255v-9q0 -29 -2 -43q-3 -22 -15 -40q-27 -40 -80 -40q-52 0 -81 38q-21 27 -21 86v129q0 59 20 86q29 38 80 38t78 -38 q21 -28 21 -86v-76h-133v-65q0 -51 34 -51q24 0 30 26q0 1 0.5 7t0.5 16.5v21.5h68zM785 1079v-156q0 -51 -32 -51t-32 51v156q0 52 32 52t32 -52zM1318 366q0 177 -19 260q-10 44 -43 73.5t-76 34.5q-136 15 -412 15q-275 0 -411 -15q-44 -5 -76.5 -34.5t-42.5 -73.5 q-20 -87 -20 -260q0 -176 20 -260q10 -43 42.5 -73t75.5 -35q137 -15 412 -15t412 15q43 5 75.5 35t42.5 73q20 84 20 260zM563 1017l90 296h-75l-51 -195l-53 195h-78l24 -69t23 -69q35 -103 46 -158v-201h74v201zM852 936v130q0 58 -21 87q-29 38 -78 38q-51 0 -78 -38 q-21 -29 -21 -87v-130q0 -58 21 -87q27 -38 78 -38q49 0 78 38q21 27 21 87zM1033 816h67v370h-67v-283q-22 -31 -42 -31q-15 0 -16 16q-1 2 -1 26v272h-67v-293q0 -37 6 -55q11 -27 43 -27q36 0 77 45v-40zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960 q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" /> +<glyph unicode="" d="M971 292v-211q0 -67 -39 -67q-23 0 -45 22v301q22 22 45 22q39 0 39 -67zM1309 291v-46h-90v46q0 68 45 68t45 -68zM343 509h107v94h-312v-94h105v-569h100v569zM631 -60h89v494h-89v-378q-30 -42 -57 -42q-18 0 -21 21q-1 3 -1 35v364h-89v-391q0 -49 8 -73 q12 -37 58 -37q48 0 102 61v-54zM1060 88v197q0 73 -9 99q-17 56 -71 56q-50 0 -93 -54v217h-89v-663h89v48q45 -55 93 -55q54 0 71 55q9 27 9 100zM1398 98v13h-91q0 -51 -2 -61q-7 -36 -40 -36q-46 0 -46 69v87h179v103q0 79 -27 116q-39 51 -106 51q-68 0 -107 -51 q-28 -37 -28 -116v-173q0 -79 29 -116q39 -51 108 -51q72 0 108 53q18 27 21 54q2 9 2 58zM790 1011v210q0 69 -43 69t-43 -69v-210q0 -70 43 -70t43 70zM1509 260q0 -234 -26 -350q-14 -59 -58 -99t-102 -46q-184 -21 -555 -21t-555 21q-58 6 -102.5 46t-57.5 99 q-26 112 -26 350q0 234 26 350q14 59 58 99t103 47q183 20 554 20t555 -20q58 -7 102.5 -47t57.5 -99q26 -112 26 -350zM511 1536h102l-121 -399v-271h-100v271q-14 74 -61 212q-37 103 -65 187h106l71 -263zM881 1203v-175q0 -81 -28 -118q-37 -51 -106 -51q-67 0 -105 51 q-28 38 -28 118v175q0 80 28 117q38 51 105 51q69 0 106 -51q28 -37 28 -117zM1216 1365v-499h-91v55q-53 -62 -103 -62q-46 0 -59 37q-8 24 -8 75v394h91v-367q0 -33 1 -35q3 -22 21 -22q27 0 57 43v381h91z" /> +<glyph unicode="" horiz-adv-x="1408" d="M597 869q-10 -18 -257 -456q-27 -46 -65 -46h-239q-21 0 -31 17t0 36l253 448q1 0 0 1l-161 279q-12 22 -1 37q9 15 32 15h239q40 0 66 -45zM1403 1511q11 -16 0 -37l-528 -934v-1l336 -615q11 -20 1 -37q-10 -15 -32 -15h-239q-42 0 -66 45l-339 622q18 32 531 942 q25 45 64 45h241q22 0 31 -15z" /> +<glyph unicode="" d="M685 771q0 1 -126 222q-21 34 -52 34h-184q-18 0 -26 -11q-7 -12 1 -29l125 -216v-1l-196 -346q-9 -14 0 -28q8 -13 24 -13h185q31 0 50 36zM1309 1268q-7 12 -24 12h-187q-30 0 -49 -35l-411 -729q1 -2 262 -481q20 -35 52 -35h184q18 0 25 12q8 13 -1 28l-260 476v1 l409 723q8 16 0 28zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" /> +<glyph unicode="" horiz-adv-x="1792" d="M1280 640q0 37 -30 54l-512 320q-31 20 -65 2q-33 -18 -33 -56v-640q0 -38 33 -56q16 -8 31 -8q20 0 34 10l512 320q30 17 30 54zM1792 640q0 -96 -1 -150t-8.5 -136.5t-22.5 -147.5q-16 -73 -69 -123t-124 -58q-222 -25 -671 -25t-671 25q-71 8 -124.5 58t-69.5 123 q-14 65 -21.5 147.5t-8.5 136.5t-1 150t1 150t8.5 136.5t22.5 147.5q16 73 69 123t124 58q222 25 671 25t671 -25q71 -8 124.5 -58t69.5 -123q14 -65 21.5 -147.5t8.5 -136.5t1 -150z" /> +<glyph unicode="" horiz-adv-x="1792" d="M402 829l494 -305l-342 -285l-490 319zM1388 274v-108l-490 -293v-1l-1 1l-1 -1v1l-489 293v108l147 -96l342 284v2l1 -1l1 1v-2l343 -284zM554 1418l342 -285l-494 -304l-338 270zM1390 829l338 -271l-489 -319l-343 285zM1239 1418l489 -319l-338 -270l-494 304z" /> +<glyph unicode="" horiz-adv-x="1408" d="M928 135v-151l-707 -1v151zM1169 481v-701l-1 -35v-1h-1132l-35 1h-1v736h121v-618h928v618h120zM241 393l704 -65l-13 -150l-705 65zM309 709l683 -183l-39 -146l-683 183zM472 1058l609 -360l-77 -130l-609 360zM832 1389l398 -585l-124 -85l-399 584zM1285 1536 l121 -697l-149 -26l-121 697z" /> +<glyph unicode="" d="M1362 110v648h-135q20 -63 20 -131q0 -126 -64 -232.5t-174 -168.5t-240 -62q-197 0 -337 135.5t-140 327.5q0 68 20 131h-141v-648q0 -26 17.5 -43.5t43.5 -17.5h1069q25 0 43 17.5t18 43.5zM1078 643q0 124 -90.5 211.5t-218.5 87.5q-127 0 -217.5 -87.5t-90.5 -211.5 t90.5 -211.5t217.5 -87.5q128 0 218.5 87.5t90.5 211.5zM1362 1003v165q0 28 -20 48.5t-49 20.5h-174q-29 0 -49 -20.5t-20 -48.5v-165q0 -29 20 -49t49 -20h174q29 0 49 20t20 49zM1536 1211v-1142q0 -81 -58 -139t-139 -58h-1142q-81 0 -139 58t-58 139v1142q0 81 58 139 t139 58h1142q81 0 139 -58t58 -139z" /> +<glyph unicode="" d="M1248 1408q119 0 203.5 -84.5t84.5 -203.5v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960zM698 640q0 88 -62 150t-150 62t-150 -62t-62 -150t62 -150t150 -62t150 62t62 150zM1262 640q0 88 -62 150 t-150 62t-150 -62t-62 -150t62 -150t150 -62t150 62t62 150z" /> +<glyph unicode="" d="M768 914l201 -306h-402zM1133 384h94l-459 691l-459 -691h94l104 160h522zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" /> +<glyph unicode="" horiz-adv-x="1408" d="M815 677q8 -63 -50.5 -101t-111.5 -6q-39 17 -53.5 58t-0.5 82t52 58q36 18 72.5 12t64 -35.5t27.5 -67.5zM926 698q-14 107 -113 164t-197 13q-63 -28 -100.5 -88.5t-34.5 -129.5q4 -91 77.5 -155t165.5 -56q91 8 152 84t50 168zM1165 1240q-20 27 -56 44.5t-58 22 t-71 12.5q-291 47 -566 -2q-43 -7 -66 -12t-55 -22t-50 -43q30 -28 76 -45.5t73.5 -22t87.5 -11.5q228 -29 448 -1q63 8 89.5 12t72.5 21.5t75 46.5zM1222 205q-8 -26 -15.5 -76.5t-14 -84t-28.5 -70t-58 -56.5q-86 -48 -189.5 -71.5t-202 -22t-201.5 18.5q-46 8 -81.5 18 t-76.5 27t-73 43.5t-52 61.5q-25 96 -57 292l6 16l18 9q223 -148 506.5 -148t507.5 148q21 -6 24 -23t-5 -45t-8 -37zM1403 1166q-26 -167 -111 -655q-5 -30 -27 -56t-43.5 -40t-54.5 -31q-252 -126 -610 -88q-248 27 -394 139q-15 12 -25.5 26.5t-17 35t-9 34t-6 39.5 t-5.5 35q-9 50 -26.5 150t-28 161.5t-23.5 147.5t-22 158q3 26 17.5 48.5t31.5 37.5t45 30t46 22.5t48 18.5q125 46 313 64q379 37 676 -50q155 -46 215 -122q16 -20 16.5 -51t-5.5 -54z" /> +<glyph unicode="" d="M848 666q0 43 -41 66t-77 1q-43 -20 -42.5 -72.5t43.5 -70.5q39 -23 81 4t36 72zM928 682q8 -66 -36 -121t-110 -61t-119 40t-56 113q-2 49 25.5 93t72.5 64q70 31 141.5 -10t81.5 -118zM1100 1073q-20 -21 -53.5 -34t-53 -16t-63.5 -8q-155 -20 -324 0q-44 6 -63 9.5 t-52.5 16t-54.5 32.5q13 19 36 31t40 15.5t47 8.5q198 35 408 1q33 -5 51 -8.5t43 -16t39 -31.5zM1142 327q0 7 5.5 26.5t3 32t-17.5 16.5q-161 -106 -365 -106t-366 106l-12 -6l-5 -12q26 -154 41 -210q47 -81 204 -108q249 -46 428 53q34 19 49 51.5t22.5 85.5t12.5 71z M1272 1020q9 53 -8 75q-43 55 -155 88q-216 63 -487 36q-132 -12 -226 -46q-38 -15 -59.5 -25t-47 -34t-29.5 -54q8 -68 19 -138t29 -171t24 -137q1 -5 5 -31t7 -36t12 -27t22 -28q105 -80 284 -100q259 -28 440 63q24 13 39.5 23t31 29t19.5 40q48 267 80 473zM1536 1120 v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" /> +<glyph unicode="" horiz-adv-x="1024" d="M944 207l80 -237q-23 -35 -111 -66t-177 -32q-104 -2 -190.5 26t-142.5 74t-95 106t-55.5 120t-16.5 118v544h-168v215q72 26 129 69.5t91 90t58 102t34 99t15 88.5q1 5 4.5 8.5t7.5 3.5h244v-424h333v-252h-334v-518q0 -30 6.5 -56t22.5 -52.5t49.5 -41.5t81.5 -14 q78 2 134 29z" /> +<glyph unicode="" d="M1136 75l-62 183q-44 -22 -103 -22q-36 -1 -62 10.5t-38.5 31.5t-17.5 40.5t-5 43.5v398h257v194h-256v326h-188q-8 0 -9 -10q-5 -44 -17.5 -87t-39 -95t-77 -95t-118.5 -68v-165h130v-418q0 -57 21.5 -115t65 -111t121 -85.5t176.5 -30.5q69 1 136.5 25t85.5 50z M1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" /> +<glyph unicode="" horiz-adv-x="768" d="M765 237q8 -19 -5 -35l-350 -384q-10 -10 -23 -10q-14 0 -24 10l-355 384q-13 16 -5 35q9 19 29 19h224v1248q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-1248h224q21 0 29 -19z" /> +<glyph unicode="" horiz-adv-x="768" d="M765 1043q-9 -19 -29 -19h-224v-1248q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v1248h-224q-21 0 -29 19t5 35l350 384q10 10 23 10q14 0 24 -10l355 -384q13 -16 5 -35z" /> +<glyph unicode="" horiz-adv-x="1792" d="M1792 736v-192q0 -14 -9 -23t-23 -9h-1248v-224q0 -21 -19 -29t-35 5l-384 350q-10 10 -10 23q0 14 10 24l384 354q16 14 35 6q19 -9 19 -29v-224h1248q14 0 23 -9t9 -23z" /> +<glyph unicode="" horiz-adv-x="1792" d="M1728 643q0 -14 -10 -24l-384 -354q-16 -14 -35 -6q-19 9 -19 29v224h-1248q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h1248v224q0 21 19 29t35 -5l384 -350q10 -10 10 -23z" /> +<glyph unicode="" horiz-adv-x="1408" d="M1393 321q-39 -125 -123 -250q-129 -196 -257 -196q-49 0 -140 32q-86 32 -151 32q-61 0 -142 -33q-81 -34 -132 -34q-152 0 -301 259q-147 261 -147 503q0 228 113 374q112 144 284 144q72 0 177 -30q104 -30 138 -30q45 0 143 34q102 34 173 34q119 0 213 -65 q52 -36 104 -100q-79 -67 -114 -118q-65 -94 -65 -207q0 -124 69 -223t158 -126zM1017 1494q0 -61 -29 -136q-30 -75 -93 -138q-54 -54 -108 -72q-37 -11 -104 -17q3 149 78 257q74 107 250 148q1 -3 2.5 -11t2.5 -11q0 -4 0.5 -10t0.5 -10z" /> +<glyph unicode="" horiz-adv-x="1664" d="M682 530v-651l-682 94v557h682zM682 1273v-659h-682v565zM1664 530v-786l-907 125v661h907zM1664 1408v-794h-907v669z" /> +<glyph unicode="" horiz-adv-x="1408" d="M493 1053q16 0 27.5 11.5t11.5 27.5t-11.5 27.5t-27.5 11.5t-27 -11.5t-11 -27.5t11 -27.5t27 -11.5zM915 1053q16 0 27 11.5t11 27.5t-11 27.5t-27 11.5t-27.5 -11.5t-11.5 -27.5t11.5 -27.5t27.5 -11.5zM103 869q42 0 72 -30t30 -72v-430q0 -43 -29.5 -73t-72.5 -30 t-73 30t-30 73v430q0 42 30 72t73 30zM1163 850v-666q0 -46 -32 -78t-77 -32h-75v-227q0 -43 -30 -73t-73 -30t-73 30t-30 73v227h-138v-227q0 -43 -30 -73t-73 -30q-42 0 -72 30t-30 73l-1 227h-74q-46 0 -78 32t-32 78v666h918zM931 1255q107 -55 171 -153.5t64 -215.5 h-925q0 117 64 215.5t172 153.5l-71 131q-7 13 5 20q13 6 20 -6l72 -132q95 42 201 42t201 -42l72 132q7 12 20 6q12 -7 5 -20zM1408 767v-430q0 -43 -30 -73t-73 -30q-42 0 -72 30t-30 73v430q0 43 30 72.5t72 29.5q43 0 73 -29.5t30 -72.5z" /> +<glyph unicode="" d="M663 1125q-11 -1 -15.5 -10.5t-8.5 -9.5q-5 -1 -5 5q0 12 19 15h10zM750 1111q-4 -1 -11.5 6.5t-17.5 4.5q24 11 32 -2q3 -6 -3 -9zM399 684q-4 1 -6 -3t-4.5 -12.5t-5.5 -13.5t-10 -13q-7 -10 -1 -12q4 -1 12.5 7t12.5 18q1 3 2 7t2 6t1.5 4.5t0.5 4v3t-1 2.5t-3 2z M1254 325q0 18 -55 42q4 15 7.5 27.5t5 26t3 21.5t0.5 22.5t-1 19.5t-3.5 22t-4 20.5t-5 25t-5.5 26.5q-10 48 -47 103t-72 75q24 -20 57 -83q87 -162 54 -278q-11 -40 -50 -42q-31 -4 -38.5 18.5t-8 83.5t-11.5 107q-9 39 -19.5 69t-19.5 45.5t-15.5 24.5t-13 15t-7.5 7 q-14 62 -31 103t-29.5 56t-23.5 33t-15 40q-4 21 6 53.5t4.5 49.5t-44.5 25q-15 3 -44.5 18t-35.5 16q-8 1 -11 26t8 51t36 27q37 3 51 -30t4 -58q-11 -19 -2 -26.5t30 -0.5q13 4 13 36v37q-5 30 -13.5 50t-21 30.5t-23.5 15t-27 7.5q-107 -8 -89 -134q0 -15 -1 -15 q-9 9 -29.5 10.5t-33 -0.5t-15.5 5q1 57 -16 90t-45 34q-27 1 -41.5 -27.5t-16.5 -59.5q-1 -15 3.5 -37t13 -37.5t15.5 -13.5q10 3 16 14q4 9 -7 8q-7 0 -15.5 14.5t-9.5 33.5q-1 22 9 37t34 14q17 0 27 -21t9.5 -39t-1.5 -22q-22 -15 -31 -29q-8 -12 -27.5 -23.5 t-20.5 -12.5q-13 -14 -15.5 -27t7.5 -18q14 -8 25 -19.5t16 -19t18.5 -13t35.5 -6.5q47 -2 102 15q2 1 23 7t34.5 10.5t29.5 13t21 17.5q9 14 20 8q5 -3 6.5 -8.5t-3 -12t-16.5 -9.5q-20 -6 -56.5 -21.5t-45.5 -19.5q-44 -19 -70 -23q-25 -5 -79 2q-10 2 -9 -2t17 -19 q25 -23 67 -22q17 1 36 7t36 14t33.5 17.5t30 17t24.5 12t17.5 2.5t8.5 -11q0 -2 -1 -4.5t-4 -5t-6 -4.5t-8.5 -5t-9 -4.5t-10 -5t-9.5 -4.5q-28 -14 -67.5 -44t-66.5 -43t-49 -1q-21 11 -63 73q-22 31 -25 22q-1 -3 -1 -10q0 -25 -15 -56.5t-29.5 -55.5t-21 -58t11.5 -63 q-23 -6 -62.5 -90t-47.5 -141q-2 -18 -1.5 -69t-5.5 -59q-8 -24 -29 -3q-32 31 -36 94q-2 28 4 56q4 19 -1 18l-4 -5q-36 -65 10 -166q5 -12 25 -28t24 -20q20 -23 104 -90.5t93 -76.5q16 -15 17.5 -38t-14 -43t-45.5 -23q8 -15 29 -44.5t28 -54t7 -70.5q46 24 7 92 q-4 8 -10.5 16t-9.5 12t-2 6q3 5 13 9.5t20 -2.5q46 -52 166 -36q133 15 177 87q23 38 34 30q12 -6 10 -52q-1 -25 -23 -92q-9 -23 -6 -37.5t24 -15.5q3 19 14.5 77t13.5 90q2 21 -6.5 73.5t-7.5 97t23 70.5q15 18 51 18q1 37 34.5 53t72.5 10.5t60 -22.5zM626 1152 q3 17 -2.5 30t-11.5 15q-9 2 -9 -7q2 -5 5 -6q10 0 7 -15q-3 -20 8 -20q3 0 3 3zM1045 955q-2 8 -6.5 11.5t-13 5t-14.5 5.5q-5 3 -9.5 8t-7 8t-5.5 6.5t-4 4t-4 -1.5q-14 -16 7 -43.5t39 -31.5q9 -1 14.5 8t3.5 20zM867 1168q0 11 -5 19.5t-11 12.5t-9 3q-14 -1 -7 -7l4 -2 q14 -4 18 -31q0 -3 8 2zM921 1401q0 2 -2.5 5t-9 7t-9.5 6q-15 15 -24 15q-9 -1 -11.5 -7.5t-1 -13t-0.5 -12.5q-1 -4 -6 -10.5t-6 -9t3 -8.5q4 -3 8 0t11 9t15 9q1 1 9 1t15 2t9 7zM1486 60q20 -12 31 -24.5t12 -24t-2.5 -22.5t-15.5 -22t-23.5 -19.5t-30 -18.5 t-31.5 -16.5t-32 -15.5t-27 -13q-38 -19 -85.5 -56t-75.5 -64q-17 -16 -68 -19.5t-89 14.5q-18 9 -29.5 23.5t-16.5 25.5t-22 19.5t-47 9.5q-44 1 -130 1q-19 0 -57 -1.5t-58 -2.5q-44 -1 -79.5 -15t-53.5 -30t-43.5 -28.5t-53.5 -11.5q-29 1 -111 31t-146 43q-19 4 -51 9.5 t-50 9t-39.5 9.5t-33.5 14.5t-17 19.5q-10 23 7 66.5t18 54.5q1 16 -4 40t-10 42.5t-4.5 36.5t10.5 27q14 12 57 14t60 12q30 18 42 35t12 51q21 -73 -32 -106q-32 -20 -83 -15q-34 3 -43 -10q-13 -15 5 -57q2 -6 8 -18t8.5 -18t4.5 -17t1 -22q0 -15 -17 -49t-14 -48 q3 -17 37 -26q20 -6 84.5 -18.5t99.5 -20.5q24 -6 74 -22t82.5 -23t55.5 -4q43 6 64.5 28t23 48t-7.5 58.5t-19 52t-20 36.5q-121 190 -169 242q-68 74 -113 40q-11 -9 -15 15q-3 16 -2 38q1 29 10 52t24 47t22 42q8 21 26.5 72t29.5 78t30 61t39 54q110 143 124 195 q-12 112 -16 310q-2 90 24 151.5t106 104.5q39 21 104 21q53 1 106 -13.5t89 -41.5q57 -42 91.5 -121.5t29.5 -147.5q-5 -95 30 -214q34 -113 133 -218q55 -59 99.5 -163t59.5 -191q8 -49 5 -84.5t-12 -55.5t-20 -22q-10 -2 -23.5 -19t-27 -35.5t-40.5 -33.5t-61 -14 q-18 1 -31.5 5t-22.5 13.5t-13.5 15.5t-11.5 20.5t-9 19.5q-22 37 -41 30t-28 -49t7 -97q20 -70 1 -195q-10 -65 18 -100.5t73 -33t85 35.5q59 49 89.5 66.5t103.5 42.5q53 18 77 36.5t18.5 34.5t-25 28.5t-51.5 23.5q-33 11 -49.5 48t-15 72.5t15.5 47.5q1 -31 8 -56.5 t14.5 -40.5t20.5 -28.5t21 -19t21.5 -13t16.5 -9.5z" /> +<glyph unicode="" d="M1024 36q-42 241 -140 498h-2l-2 -1q-16 -6 -43 -16.5t-101 -49t-137 -82t-131 -114.5t-103 -148l-15 11q184 -150 418 -150q132 0 256 52zM839 643q-21 49 -53 111q-311 -93 -673 -93q-1 -7 -1 -21q0 -124 44 -236.5t124 -201.5q50 89 123.5 166.5t142.5 124.5t130.5 81 t99.5 48l37 13q4 1 13 3.5t13 4.5zM732 855q-120 213 -244 378q-138 -65 -234 -186t-128 -272q302 0 606 80zM1416 536q-210 60 -409 29q87 -239 128 -469q111 75 185 189.5t96 250.5zM611 1277q-1 0 -2 -1q1 1 2 1zM1201 1132q-185 164 -433 164q-76 0 -155 -19 q131 -170 246 -382q69 26 130 60.5t96.5 61.5t65.5 57t37.5 40.5zM1424 647q-3 232 -149 410l-1 -1q-9 -12 -19 -24.5t-43.5 -44.5t-71 -60.5t-100 -65t-131.5 -64.5q25 -53 44 -95q2 -6 6.5 -17.5t7.5 -16.5q36 5 74.5 7t73.5 2t69 -1.5t64 -4t56.5 -5.5t48 -6.5t36.5 -6 t25 -4.5zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" /> +<glyph unicode="" d="M1173 473q0 50 -19.5 91.5t-48.5 68.5t-73 49t-82.5 34t-87.5 23l-104 24q-30 7 -44 10.5t-35 11.5t-30 16t-16.5 21t-7.5 30q0 77 144 77q43 0 77 -12t54 -28.5t38 -33.5t40 -29t48 -12q47 0 75.5 32t28.5 77q0 55 -56 99.5t-142 67.5t-182 23q-68 0 -132 -15.5 t-119.5 -47t-89 -87t-33.5 -128.5q0 -61 19 -106.5t56 -75.5t80 -48.5t103 -32.5l146 -36q90 -22 112 -36q32 -20 32 -60q0 -39 -40 -64.5t-105 -25.5q-51 0 -91.5 16t-65 38.5t-45.5 45t-46 38.5t-54 16q-50 0 -75.5 -30t-25.5 -75q0 -92 122 -157.5t291 -65.5 q73 0 140 18.5t122.5 53.5t88.5 93.5t33 131.5zM1536 256q0 -159 -112.5 -271.5t-271.5 -112.5q-130 0 -234 80q-77 -16 -150 -16q-143 0 -273.5 55.5t-225 150t-150 225t-55.5 273.5q0 73 16 150q-80 104 -80 234q0 159 112.5 271.5t271.5 112.5q130 0 234 -80 q77 16 150 16q143 0 273.5 -55.5t225 -150t150 -225t55.5 -273.5q0 -73 -16 -150q80 -104 80 -234z" /> +<glyph unicode="" horiz-adv-x="1280" d="M1000 1102l37 194q5 23 -9 40t-35 17h-712q-23 0 -38.5 -17t-15.5 -37v-1101q0 -7 6 -1l291 352q23 26 38 33.5t48 7.5h239q22 0 37 14.5t18 29.5q24 130 37 191q4 21 -11.5 40t-36.5 19h-294q-29 0 -48 19t-19 48v42q0 29 19 47.5t48 18.5h346q18 0 35 13.5t20 29.5z M1227 1324q-15 -73 -53.5 -266.5t-69.5 -350t-35 -173.5q-6 -22 -9 -32.5t-14 -32.5t-24.5 -33t-38.5 -21t-58 -10h-271q-13 0 -22 -10q-8 -9 -426 -494q-22 -25 -58.5 -28.5t-48.5 5.5q-55 22 -55 98v1410q0 55 38 102.5t120 47.5h888q95 0 127 -53t10 -159zM1227 1324 l-158 -790q4 17 35 173.5t69.5 350t53.5 266.5z" /> +<glyph unicode="" d="M704 192v1024q0 14 -9 23t-23 9h-480q-14 0 -23 -9t-9 -23v-1024q0 -14 9 -23t23 -9h480q14 0 23 9t9 23zM1376 576v640q0 14 -9 23t-23 9h-480q-14 0 -23 -9t-9 -23v-640q0 -14 9 -23t23 -9h480q14 0 23 9t9 23zM1536 1344v-1408q0 -26 -19 -45t-45 -19h-1408 q-26 0 -45 19t-19 45v1408q0 26 19 45t45 19h1408q26 0 45 -19t19 -45z" /> +<glyph unicode="" horiz-adv-x="1280" d="M1280 480q0 -40 -28 -68t-68 -28q-51 0 -80 43l-227 341h-45v-132l247 -411q9 -15 9 -33q0 -26 -19 -45t-45 -19h-192v-272q0 -46 -33 -79t-79 -33h-160q-46 0 -79 33t-33 79v272h-192q-26 0 -45 19t-19 45q0 18 9 33l247 411v132h-45l-227 -341q-29 -43 -80 -43 q-40 0 -68 28t-28 68q0 29 16 53l256 384q73 107 176 107h384q103 0 176 -107l256 -384q16 -24 16 -53zM864 1280q0 -93 -65.5 -158.5t-158.5 -65.5t-158.5 65.5t-65.5 158.5t65.5 158.5t158.5 65.5t158.5 -65.5t65.5 -158.5z" /> +<glyph unicode="" horiz-adv-x="1024" d="M1024 832v-416q0 -40 -28 -68t-68 -28t-68 28t-28 68v352h-64v-912q0 -46 -33 -79t-79 -33t-79 33t-33 79v464h-64v-464q0 -46 -33 -79t-79 -33t-79 33t-33 79v912h-64v-352q0 -40 -28 -68t-68 -28t-68 28t-28 68v416q0 80 56 136t136 56h640q80 0 136 -56t56 -136z M736 1280q0 -93 -65.5 -158.5t-158.5 -65.5t-158.5 65.5t-65.5 158.5t65.5 158.5t158.5 65.5t158.5 -65.5t65.5 -158.5z" /> +<glyph unicode="" d="M773 234l350 473q16 22 24.5 59t-6 85t-61.5 79q-40 26 -83 25.5t-73.5 -17.5t-54.5 -45q-36 -40 -96 -40q-59 0 -95 40q-24 28 -54.5 45t-73.5 17.5t-84 -25.5q-46 -31 -60.5 -79t-6 -85t24.5 -59zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103 t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" /> +<glyph unicode="" horiz-adv-x="1792" d="M1472 640q0 117 -45.5 223.5t-123 184t-184 123t-223.5 45.5t-223.5 -45.5t-184 -123t-123 -184t-45.5 -223.5t45.5 -223.5t123 -184t184 -123t223.5 -45.5t223.5 45.5t184 123t123 184t45.5 223.5zM1748 363q-4 -15 -20 -20l-292 -96v-306q0 -16 -13 -26q-15 -10 -29 -4 l-292 94l-180 -248q-10 -13 -26 -13t-26 13l-180 248l-292 -94q-14 -6 -29 4q-13 10 -13 26v306l-292 96q-16 5 -20 20q-5 17 4 29l180 248l-180 248q-9 13 -4 29q4 15 20 20l292 96v306q0 16 13 26q15 10 29 4l292 -94l180 248q9 12 26 12t26 -12l180 -248l292 94 q14 6 29 -4q13 -10 13 -26v-306l292 -96q16 -5 20 -20q5 -16 -4 -29l-180 -248l180 -248q9 -12 4 -29z" /> +<glyph unicode="" d="M1262 233q-54 -9 -110 -9q-182 0 -337 90t-245 245t-90 337q0 192 104 357q-201 -60 -328.5 -229t-127.5 -384q0 -130 51 -248.5t136.5 -204t204 -136.5t248.5 -51q144 0 273.5 61.5t220.5 171.5zM1465 318q-94 -203 -283.5 -324.5t-413.5 -121.5q-156 0 -298 61 t-245 164t-164 245t-61 298q0 153 57.5 292.5t156 241.5t235.5 164.5t290 68.5q44 2 61 -39q18 -41 -15 -72q-86 -78 -131.5 -181.5t-45.5 -218.5q0 -148 73 -273t198 -198t273 -73q118 0 228 51q41 18 72 -13q14 -14 17.5 -34t-4.5 -38z" /> +<glyph unicode="" horiz-adv-x="1792" d="M1088 704q0 26 -19 45t-45 19h-256q-26 0 -45 -19t-19 -45t19 -45t45 -19h256q26 0 45 19t19 45zM1664 896v-960q0 -26 -19 -45t-45 -19h-1408q-26 0 -45 19t-19 45v960q0 26 19 45t45 19h1408q26 0 45 -19t19 -45zM1728 1344v-256q0 -26 -19 -45t-45 -19h-1536 q-26 0 -45 19t-19 45v256q0 26 19 45t45 19h1536q26 0 45 -19t19 -45z" /> +<glyph unicode="" horiz-adv-x="1664" d="M1632 576q0 -26 -19 -45t-45 -19h-224q0 -171 -67 -290l208 -209q19 -19 19 -45t-19 -45q-18 -19 -45 -19t-45 19l-198 197q-5 -5 -15 -13t-42 -28.5t-65 -36.5t-82 -29t-97 -13v896h-128v-896q-51 0 -101.5 13.5t-87 33t-66 39t-43.5 32.5l-15 14l-183 -207 q-20 -21 -48 -21q-24 0 -43 16q-19 18 -20.5 44.5t15.5 46.5l202 227q-58 114 -58 274h-224q-26 0 -45 19t-19 45t19 45t45 19h224v294l-173 173q-19 19 -19 45t19 45t45 19t45 -19l173 -173h844l173 173q19 19 45 19t45 -19t19 -45t-19 -45l-173 -173v-294h224q26 0 45 -19 t19 -45zM1152 1152h-640q0 133 93.5 226.5t226.5 93.5t226.5 -93.5t93.5 -226.5z" /> +<glyph unicode="" horiz-adv-x="1920" d="M1917 1016q23 -64 -150 -294q-24 -32 -65 -85q-78 -100 -90 -131q-17 -41 14 -81q17 -21 81 -82h1l1 -1l1 -1l2 -2q141 -131 191 -221q3 -5 6.5 -12.5t7 -26.5t-0.5 -34t-25 -27.5t-59 -12.5l-256 -4q-24 -5 -56 5t-52 22l-20 12q-30 21 -70 64t-68.5 77.5t-61 58 t-56.5 15.5q-3 -1 -8 -3.5t-17 -14.5t-21.5 -29.5t-17 -52t-6.5 -77.5q0 -15 -3.5 -27.5t-7.5 -18.5l-4 -5q-18 -19 -53 -22h-115q-71 -4 -146 16.5t-131.5 53t-103 66t-70.5 57.5l-25 24q-10 10 -27.5 30t-71.5 91t-106 151t-122.5 211t-130.5 272q-6 16 -6 27t3 16l4 6 q15 19 57 19l274 2q12 -2 23 -6.5t16 -8.5l5 -3q16 -11 24 -32q20 -50 46 -103.5t41 -81.5l16 -29q29 -60 56 -104t48.5 -68.5t41.5 -38.5t34 -14t27 5q2 1 5 5t12 22t13.5 47t9.5 81t0 125q-2 40 -9 73t-14 46l-6 12q-25 34 -85 43q-13 2 5 24q17 19 38 30q53 26 239 24 q82 -1 135 -13q20 -5 33.5 -13.5t20.5 -24t10.5 -32t3.5 -45.5t-1 -55t-2.5 -70.5t-1.5 -82.5q0 -11 -1 -42t-0.5 -48t3.5 -40.5t11.5 -39t22.5 -24.5q8 -2 17 -4t26 11t38 34.5t52 67t68 107.5q60 104 107 225q4 10 10 17.5t11 10.5l4 3l5 2.5t13 3t20 0.5l288 2 q39 5 64 -2.5t31 -16.5z" /> +<glyph unicode="" horiz-adv-x="1792" d="M675 252q21 34 11 69t-45 50q-34 14 -73 1t-60 -46q-22 -34 -13 -68.5t43 -50.5t74.5 -2.5t62.5 47.5zM769 373q8 13 3.5 26.5t-17.5 18.5q-14 5 -28.5 -0.5t-21.5 -18.5q-17 -31 13 -45q14 -5 29 0.5t22 18.5zM943 266q-45 -102 -158 -150t-224 -12 q-107 34 -147.5 126.5t6.5 187.5q47 93 151.5 139t210.5 19q111 -29 158.5 -119.5t2.5 -190.5zM1255 426q-9 96 -89 170t-208.5 109t-274.5 21q-223 -23 -369.5 -141.5t-132.5 -264.5q9 -96 89 -170t208.5 -109t274.5 -21q223 23 369.5 141.5t132.5 264.5zM1563 422 q0 -68 -37 -139.5t-109 -137t-168.5 -117.5t-226 -83t-270.5 -31t-275 33.5t-240.5 93t-171.5 151t-65 199.5q0 115 69.5 245t197.5 258q169 169 341.5 236t246.5 -7q65 -64 20 -209q-4 -14 -1 -20t10 -7t14.5 0.5t13.5 3.5l6 2q139 59 246 59t153 -61q45 -63 0 -178 q-2 -13 -4.5 -20t4.5 -12.5t12 -7.5t17 -6q57 -18 103 -47t80 -81.5t34 -116.5zM1489 1046q42 -47 54.5 -108.5t-6.5 -117.5q-8 -23 -29.5 -34t-44.5 -4q-23 8 -34 29.5t-4 44.5q20 63 -24 111t-107 35q-24 -5 -45 8t-25 37q-5 24 8 44.5t37 25.5q60 13 119 -5.5t101 -65.5z M1670 1209q87 -96 112.5 -222.5t-13.5 -241.5q-9 -27 -34 -40t-52 -4t-40 34t-5 52q28 82 10 172t-80 158q-62 69 -148 95.5t-173 8.5q-28 -6 -52 9.5t-30 43.5t9.5 51.5t43.5 29.5q123 26 244 -11.5t208 -134.5z" /> +<glyph unicode="" d="M1133 -34q-171 -94 -368 -94q-196 0 -367 94q138 87 235.5 211t131.5 268q35 -144 132.5 -268t235.5 -211zM638 1394v-485q0 -252 -126.5 -459.5t-330.5 -306.5q-181 215 -181 495q0 187 83.5 349.5t229.5 269.5t325 137zM1536 638q0 -280 -181 -495 q-204 99 -330.5 306.5t-126.5 459.5v485q179 -30 325 -137t229.5 -269.5t83.5 -349.5z" /> +<glyph unicode="" horiz-adv-x="1408" d="M1402 433q-32 -80 -76 -138t-91 -88.5t-99 -46.5t-101.5 -14.5t-96.5 8.5t-86.5 22t-69.5 27.5t-46 22.5l-17 10q-113 -228 -289.5 -359.5t-384.5 -132.5q-19 0 -32 13t-13 32t13 31.5t32 12.5q173 1 322.5 107.5t251.5 294.5q-36 -14 -72 -23t-83 -13t-91 2.5t-93 28.5 t-92 59t-84.5 100t-74.5 146q114 47 214 57t167.5 -7.5t124.5 -56.5t88.5 -77t56.5 -82q53 131 79 291q-7 -1 -18 -2.5t-46.5 -2.5t-69.5 0.5t-81.5 10t-88.5 23t-84 42.5t-75 65t-54.5 94.5t-28.5 127.5q70 28 133.5 36.5t112.5 -1t92 -30t73.5 -50t56 -61t42 -63t27.5 -56 t16 -39.5l4 -16q12 122 12 195q-8 6 -21.5 16t-49 44.5t-63.5 71.5t-54 93t-33 112.5t12 127t70 138.5q73 -25 127.5 -61.5t84.5 -76.5t48 -85t20.5 -89t-0.5 -85.5t-13 -76.5t-19 -62t-17 -42l-7 -15q1 -5 1 -50.5t-1 -71.5q3 7 10 18.5t30.5 43t50.5 58t71 55.5t91.5 44.5 t112 14.5t132.5 -24q-2 -78 -21.5 -141.5t-50 -104.5t-69.5 -71.5t-81.5 -45.5t-84.5 -24t-80 -9.5t-67.5 1t-46.5 4.5l-17 3q-23 -147 -73 -283q6 7 18 18.5t49.5 41t77.5 52.5t99.5 42t117.5 20t129 -23.5t137 -77.5z" /> +<glyph unicode="" horiz-adv-x="1280" d="M1259 283v-66q0 -85 -57.5 -144.5t-138.5 -59.5h-57l-260 -269v269h-529q-81 0 -138.5 59.5t-57.5 144.5v66h1238zM1259 609v-255h-1238v255h1238zM1259 937v-255h-1238v255h1238zM1259 1077v-67h-1238v67q0 84 57.5 143.5t138.5 59.5h846q81 0 138.5 -59.5t57.5 -143.5z " /> +<glyph unicode="" d="M1152 640q0 -14 -9 -23l-320 -320q-9 -9 -23 -9q-13 0 -22.5 9.5t-9.5 22.5v192h-352q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h352v192q0 14 9 23t23 9q12 0 24 -10l319 -319q9 -9 9 -23zM1312 640q0 148 -73 273t-198 198t-273 73t-273 -73t-198 -198 t-73 -273t73 -273t198 -198t273 -73t273 73t198 198t73 273zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" /> +<glyph unicode="" d="M1152 736v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-352v-192q0 -14 -9 -23t-23 -9q-12 0 -24 10l-319 319q-9 9 -9 23t9 23l320 320q9 9 23 9q13 0 22.5 -9.5t9.5 -22.5v-192h352q13 0 22.5 -9.5t9.5 -22.5zM1312 640q0 148 -73 273t-198 198t-273 73t-273 -73t-198 -198 t-73 -273t73 -273t198 -198t273 -73t273 73t198 198t73 273zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" /> +<glyph unicode="" d="M1024 960v-640q0 -26 -19 -45t-45 -19q-20 0 -37 12l-448 320q-27 19 -27 52t27 52l448 320q17 12 37 12q26 0 45 -19t19 -45zM1280 160v960q0 13 -9.5 22.5t-22.5 9.5h-960q-13 0 -22.5 -9.5t-9.5 -22.5v-960q0 -13 9.5 -22.5t22.5 -9.5h960q13 0 22.5 9.5t9.5 22.5z M1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" /> +<glyph unicode="" d="M1024 640q0 -106 -75 -181t-181 -75t-181 75t-75 181t75 181t181 75t181 -75t75 -181zM768 1184q-148 0 -273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73t273 73t198 198t73 273t-73 273t-198 198t-273 73zM1536 640q0 -209 -103 -385.5t-279.5 -279.5 t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" /> +<glyph unicode="" horiz-adv-x="1664" d="M1023 349l102 -204q-58 -179 -210 -290t-339 -111q-156 0 -288.5 77.5t-210 210t-77.5 288.5q0 181 104.5 330t274.5 211l17 -131q-122 -54 -195 -165.5t-73 -244.5q0 -185 131.5 -316.5t316.5 -131.5q126 0 232.5 65t165 175.5t49.5 236.5zM1571 249l58 -114l-256 -128 q-13 -7 -29 -7q-40 0 -57 35l-239 477h-472q-24 0 -42.5 16.5t-21.5 40.5l-96 779q-2 16 6 42q14 51 57 82.5t97 31.5q66 0 113 -47t47 -113q0 -69 -52 -117.5t-120 -41.5l37 -289h423v-128h-407l16 -128h455q40 0 57 -35l228 -455z" /> +<glyph unicode="" d="M1254 899q16 85 -21 132q-52 65 -187 45q-17 -3 -41 -12.5t-57.5 -30.5t-64.5 -48.5t-59.5 -70t-44.5 -91.5q80 7 113.5 -16t26.5 -99q-5 -52 -52 -143q-43 -78 -71 -99q-44 -32 -87 14q-23 24 -37.5 64.5t-19 73t-10 84t-8.5 71.5q-23 129 -34 164q-12 37 -35.5 69 t-50.5 40q-57 16 -127 -25q-54 -32 -136.5 -106t-122.5 -102v-7q16 -8 25.5 -26t21.5 -20q21 -3 54.5 8.5t58 10.5t41.5 -30q11 -18 18.5 -38.5t15 -48t12.5 -40.5q17 -46 53 -187q36 -146 57 -197q42 -99 103 -125q43 -12 85 -1.5t76 31.5q131 77 250 237 q104 139 172.5 292.5t82.5 226.5zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" /> +<glyph unicode="" horiz-adv-x="1152" d="M1152 704q0 -191 -94.5 -353t-256.5 -256.5t-353 -94.5h-160q-14 0 -23 9t-9 23v611l-215 -66q-3 -1 -9 -1q-10 0 -19 6q-13 10 -13 26v128q0 23 23 31l233 71v93l-215 -66q-3 -1 -9 -1q-10 0 -19 6q-13 10 -13 26v128q0 23 23 31l233 71v250q0 14 9 23t23 9h160 q14 0 23 -9t9 -23v-181l375 116q15 5 28 -5t13 -26v-128q0 -23 -23 -31l-393 -121v-93l375 116q15 5 28 -5t13 -26v-128q0 -23 -23 -31l-393 -121v-487q188 13 318 151t130 328q0 14 9 23t23 9h160q14 0 23 -9t9 -23z" /> +<glyph unicode="" horiz-adv-x="1408" d="M1152 736v-64q0 -14 -9 -23t-23 -9h-352v-352q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v352h-352q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h352v352q0 14 9 23t23 9h64q14 0 23 -9t9 -23v-352h352q14 0 23 -9t9 -23zM1280 288v832q0 66 -47 113t-113 47h-832 q-66 0 -113 -47t-47 -113v-832q0 -66 47 -113t113 -47h832q66 0 113 47t47 113zM1408 1120v-832q0 -119 -84.5 -203.5t-203.5 -84.5h-832q-119 0 -203.5 84.5t-84.5 203.5v832q0 119 84.5 203.5t203.5 84.5h832q119 0 203.5 -84.5t84.5 -203.5z" /> +<glyph unicode="" horiz-adv-x="2176" d="M620 416q-110 -64 -268 -64h-128v64h-64q-13 0 -22.5 23.5t-9.5 56.5q0 24 7 49q-58 2 -96.5 10.5t-38.5 20.5t38.5 20.5t96.5 10.5q-7 25 -7 49q0 33 9.5 56.5t22.5 23.5h64v64h128q158 0 268 -64h1113q42 -7 106.5 -18t80.5 -14q89 -15 150 -40.5t83.5 -47.5t22.5 -40 t-22.5 -40t-83.5 -47.5t-150 -40.5q-16 -3 -80.5 -14t-106.5 -18h-1113zM1739 668q53 -36 53 -92t-53 -92l81 -30q68 48 68 122t-68 122zM625 400h1015q-217 -38 -456 -80q-57 0 -113 -24t-83 -48l-28 -24l-288 -288q-26 -26 -70.5 -45t-89.5 -19h-96l-93 464h29 q157 0 273 64zM352 816h-29l93 464h96q46 0 90 -19t70 -45l288 -288q4 -4 11 -10.5t30.5 -23t48.5 -29t61.5 -23t72.5 -10.5l456 -80h-1015q-116 64 -273 64z" /> +<glyph unicode="" horiz-adv-x="1664" d="M1519 760q62 0 103.5 -40.5t41.5 -101.5q0 -97 -93 -130l-172 -59l56 -167q7 -21 7 -47q0 -59 -42 -102t-101 -43q-47 0 -85.5 27t-53.5 72l-55 165l-310 -106l55 -164q8 -24 8 -47q0 -59 -42 -102t-102 -43q-47 0 -85 27t-53 72l-55 163l-153 -53q-29 -9 -50 -9 q-61 0 -101.5 40t-40.5 101q0 47 27.5 85t71.5 53l156 53l-105 313l-156 -54q-26 -8 -48 -8q-60 0 -101 40.5t-41 100.5q0 47 27.5 85t71.5 53l157 53l-53 159q-8 24 -8 47q0 60 42 102.5t102 42.5q47 0 85 -27t53 -72l54 -160l310 105l-54 160q-8 24 -8 47q0 59 42.5 102 t101.5 43q47 0 85.5 -27.5t53.5 -71.5l53 -161l162 55q21 6 43 6q60 0 102.5 -39.5t42.5 -98.5q0 -45 -30 -81.5t-74 -51.5l-157 -54l105 -316l164 56q24 8 46 8zM725 498l310 105l-105 315l-310 -107z" /> +<glyph unicode="" d="M1248 1408q119 0 203.5 -84.5t84.5 -203.5v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960zM1280 352v436q-31 -35 -64 -55q-34 -22 -132.5 -85t-151.5 -99q-98 -69 -164 -69v0v0q-66 0 -164 69 q-46 32 -141.5 92.5t-142.5 92.5q-12 8 -33 27t-31 27v-436q0 -40 28 -68t68 -28h832q40 0 68 28t28 68zM1280 925q0 41 -27.5 70t-68.5 29h-832q-40 0 -68 -28t-28 -68q0 -37 30.5 -76.5t67.5 -64.5q47 -32 137.5 -89t129.5 -83q3 -2 17 -11.5t21 -14t21 -13t23.5 -13 t21.5 -9.5t22.5 -7.5t20.5 -2.5t20.5 2.5t22.5 7.5t21.5 9.5t23.5 13t21 13t21 14t17 11.5l267 174q35 23 66.5 62.5t31.5 73.5z" /> +<glyph unicode="" horiz-adv-x="1792" d="M127 640q0 163 67 313l367 -1005q-196 95 -315 281t-119 411zM1415 679q0 -19 -2.5 -38.5t-10 -49.5t-11.5 -44t-17.5 -59t-17.5 -58l-76 -256l-278 826q46 3 88 8q19 2 26 18.5t-2.5 31t-28.5 13.5l-205 -10q-75 1 -202 10q-12 1 -20.5 -5t-11.5 -15t-1.5 -18.5t9 -16.5 t19.5 -8l80 -8l120 -328l-168 -504l-280 832q46 3 88 8q19 2 26 18.5t-2.5 31t-28.5 13.5l-205 -10q-7 0 -23 0.5t-26 0.5q105 160 274.5 253.5t367.5 93.5q147 0 280.5 -53t238.5 -149h-10q-55 0 -92 -40.5t-37 -95.5q0 -12 2 -24t4 -21.5t8 -23t9 -21t12 -22.5t12.5 -21 t14.5 -24t14 -23q63 -107 63 -212zM909 573l237 -647q1 -6 5 -11q-126 -44 -255 -44q-112 0 -217 32zM1570 1009q95 -174 95 -369q0 -209 -104 -385.5t-279 -278.5l235 678q59 169 59 276q0 42 -6 79zM896 1536q182 0 348 -71t286 -191t191 -286t71 -348t-71 -348t-191 -286 t-286 -191t-348 -71t-348 71t-286 191t-191 286t-71 348t71 348t191 286t286 191t348 71zM896 -215q173 0 331.5 68t273 182.5t182.5 273t68 331.5t-68 331.5t-182.5 273t-273 182.5t-331.5 68t-331.5 -68t-273 -182.5t-182.5 -273t-68 -331.5t68 -331.5t182.5 -273 t273 -182.5t331.5 -68z" /> +<glyph unicode="" horiz-adv-x="1792" d="M1086 1536v-1536l-272 -128q-228 20 -414 102t-293 208.5t-107 272.5q0 140 100.5 263.5t275 205.5t391.5 108v-172q-217 -38 -356.5 -150t-139.5 -255q0 -152 154.5 -267t388.5 -145v1360zM1755 954l37 -390l-525 114l147 83q-119 70 -280 99v172q277 -33 481 -157z" /> +<glyph unicode="" horiz-adv-x="2048" d="M960 1536l960 -384v-128h-128q0 -26 -20.5 -45t-48.5 -19h-1526q-28 0 -48.5 19t-20.5 45h-128v128zM256 896h256v-768h128v768h256v-768h128v768h256v-768h128v768h256v-768h59q28 0 48.5 -19t20.5 -45v-64h-1664v64q0 26 20.5 45t48.5 19h59v768zM1851 -64 q28 0 48.5 -19t20.5 -45v-128h-1920v128q0 26 20.5 45t48.5 19h1782z" /> +<glyph unicode="" horiz-adv-x="2304" d="M1774 700l18 -316q4 -69 -82 -128t-235 -93.5t-323 -34.5t-323 34.5t-235 93.5t-82 128l18 316l574 -181q22 -7 48 -7t48 7zM2304 1024q0 -23 -22 -31l-1120 -352q-4 -1 -10 -1t-10 1l-652 206q-43 -34 -71 -111.5t-34 -178.5q63 -36 63 -109q0 -69 -58 -107l58 -433 q2 -14 -8 -25q-9 -11 -24 -11h-192q-15 0 -24 11q-10 11 -8 25l58 433q-58 38 -58 107q0 73 65 111q11 207 98 330l-333 104q-22 8 -22 31t22 31l1120 352q4 1 10 1t10 -1l1120 -352q22 -8 22 -31z" /> +<glyph unicode="" d="M859 579l13 -707q-62 11 -105 11q-41 0 -105 -11l13 707q-40 69 -168.5 295.5t-216.5 374.5t-181 287q58 -15 108 -15q43 0 111 15q63 -111 133.5 -229.5t167 -276.5t138.5 -227q37 61 109.5 177.5t117.5 190t105 176t107 189.5q54 -14 107 -14q56 0 114 14v0 q-28 -39 -60 -88.5t-49.5 -78.5t-56.5 -96t-49 -84q-146 -248 -353 -610z" /> +<glyph unicode="" horiz-adv-x="1280" d="M981 197q0 25 -7 49t-14.5 42t-27 41.5t-29.5 35t-38.5 34.5t-36.5 29t-41.5 30t-36.5 26q-16 2 -49 2q-53 0 -104.5 -7t-107 -25t-97 -46t-68.5 -74.5t-27 -105.5q0 -56 23.5 -102t61 -75.5t87 -50t100 -29t101.5 -8.5q58 0 111.5 13t99 39t73 73t27.5 109zM864 1055 q0 59 -17 125.5t-48 129t-84 103.5t-117 41q-42 0 -82.5 -19.5t-66.5 -52.5q-46 -59 -46 -160q0 -46 10 -97.5t31.5 -103t52 -92.5t75 -67t96.5 -26q37 0 77.5 16.5t65.5 43.5q53 56 53 159zM752 1536h417l-137 -88h-132q75 -63 113 -133t38 -160q0 -72 -24.5 -129.5 t-59.5 -93t-69.5 -65t-59 -61.5t-24.5 -66q0 -36 32 -70.5t77 -68t90.5 -73.5t77.5 -104t32 -142q0 -91 -49 -173q-71 -122 -209.5 -179.5t-298.5 -57.5q-132 0 -246.5 41.5t-172.5 137.5q-36 59 -36 131q0 81 44.5 150t118.5 115q131 82 404 100q-32 41 -47.5 73.5 t-15.5 73.5q0 40 21 85q-46 -4 -68 -4q-148 0 -249.5 96.5t-101.5 244.5q0 82 36 159t99 131q76 66 182 98t218 32z" /> +<glyph unicode="" horiz-adv-x="1984" d="M831 572q0 -56 -40.5 -96t-96.5 -40q-57 0 -98 40t-41 96q0 57 41.5 98t97.5 41t96.5 -41t40.5 -98zM1292 711q56 0 96.5 -41t40.5 -98q0 -56 -40.5 -96t-96.5 -40q-57 0 -98 40t-41 96q0 57 41.5 98t97.5 41zM1984 722q0 -62 -31 -114t-83 -82q5 -33 5 -61 q0 -121 -68.5 -230.5t-197.5 -193.5q-125 -82 -285.5 -125.5t-335.5 -43.5q-176 0 -336.5 43.5t-284.5 125.5q-129 84 -197.5 193t-68.5 231q0 29 5 66q-48 31 -77 81.5t-29 109.5q0 94 66 160t160 66q83 0 148 -55q248 158 592 164l134 423q4 14 17.5 21.5t28.5 4.5 l347 -82q22 50 68.5 81t102.5 31q77 0 131.5 -54.5t54.5 -131.5t-54.5 -132t-131.5 -55q-76 0 -130.5 54t-55.5 131l-315 74l-116 -366q327 -14 560 -166q64 58 151 58q94 0 160 -66t66 -160zM1664 1459q-45 0 -77 -32t-32 -77t32 -77t77 -32t77 32t32 77t-32 77t-77 32z M77 722q0 -67 51 -111q49 131 180 235q-36 25 -82 25q-62 0 -105.5 -43.5t-43.5 -105.5zM1567 105q112 73 171.5 166t59.5 194t-59.5 193.5t-171.5 165.5q-116 75 -265.5 115.5t-313.5 40.5t-313.5 -40.5t-265.5 -115.5q-112 -73 -171.5 -165.5t-59.5 -193.5t59.5 -194 t171.5 -166q116 -75 265.5 -115.5t313.5 -40.5t313.5 40.5t265.5 115.5zM1850 605q57 46 57 117q0 62 -43.5 105.5t-105.5 43.5q-49 0 -86 -28q131 -105 178 -238zM1258 237q11 11 27 11t27 -11t11 -27.5t-11 -27.5q-99 -99 -319 -99h-2q-220 0 -319 99q-11 11 -11 27.5 t11 27.5t27 11t27 -11q77 -77 265 -77h2q188 0 265 77z" /> +<glyph unicode="" d="M950 393q7 7 17.5 7t17.5 -7t7 -18t-7 -18q-65 -64 -208 -64h-1h-1q-143 0 -207 64q-8 7 -8 18t8 18q7 7 17.5 7t17.5 -7q49 -51 172 -51h1h1q122 0 173 51zM671 613q0 -37 -26 -64t-63 -27t-63 27t-26 64t26 63t63 26t63 -26t26 -63zM1214 1049q-29 0 -50 21t-21 50 q0 30 21 51t50 21q30 0 51 -21t21 -51q0 -29 -21 -50t-51 -21zM1216 1408q132 0 226 -94t94 -227v-894q0 -133 -94 -227t-226 -94h-896q-132 0 -226 94t-94 227v894q0 133 94 227t226 94h896zM1321 596q35 14 57 45.5t22 70.5q0 51 -36 87.5t-87 36.5q-60 0 -98 -48 q-151 107 -375 115l83 265l206 -49q1 -50 36.5 -85t84.5 -35q50 0 86 35.5t36 85.5t-36 86t-86 36q-36 0 -66 -20.5t-45 -53.5l-227 54q-9 2 -17.5 -2.5t-11.5 -14.5l-95 -302q-224 -4 -381 -113q-36 43 -93 43q-51 0 -87 -36.5t-36 -87.5q0 -37 19.5 -67.5t52.5 -45.5 q-7 -25 -7 -54q0 -98 74 -181.5t201.5 -132t278.5 -48.5q150 0 277.5 48.5t201.5 132t74 181.5q0 27 -6 54zM971 702q37 0 63 -26t26 -63t-26 -64t-63 -27t-63 27t-26 64t26 63t63 26z" /> +<glyph unicode="" d="M866 697l90 27v62q0 79 -58 135t-138 56t-138 -55.5t-58 -134.5v-283q0 -20 -14 -33.5t-33 -13.5t-32.5 13.5t-13.5 33.5v120h-151v-122q0 -82 57.5 -139t139.5 -57q81 0 138.5 56.5t57.5 136.5v280q0 19 13.5 33t33.5 14q19 0 32.5 -14t13.5 -33v-54zM1199 502v122h-150 v-126q0 -20 -13.5 -33.5t-33.5 -13.5q-19 0 -32.5 14t-13.5 33v123l-90 -26l-60 28v-123q0 -80 58 -137t139 -57t138.5 57t57.5 139zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103 t385.5 -103t279.5 -279.5t103 -385.5z" /> +<glyph unicode="" horiz-adv-x="1920" d="M1062 824v118q0 42 -30 72t-72 30t-72 -30t-30 -72v-612q0 -175 -126 -299t-303 -124q-178 0 -303.5 125.5t-125.5 303.5v266h328v-262q0 -43 30 -72.5t72 -29.5t72 29.5t30 72.5v620q0 171 126.5 292t301.5 121q176 0 302 -122t126 -294v-136l-195 -58zM1592 602h328 v-266q0 -178 -125.5 -303.5t-303.5 -125.5q-177 0 -303 124.5t-126 300.5v268l131 -61l195 58v-270q0 -42 30 -71.5t72 -29.5t72 29.5t30 71.5v275z" /> +<glyph unicode="" d="M1472 160v480h-704v704h-480q-93 0 -158.5 -65.5t-65.5 -158.5v-480h704v-704h480q93 0 158.5 65.5t65.5 158.5zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5 t84.5 -203.5z" /> +<glyph unicode="" horiz-adv-x="2048" d="M328 1254h204v-983h-532v697h328v286zM328 435v369h-123v-369h123zM614 968v-697h205v697h-205zM614 1254v-204h205v204h-205zM901 968h533v-942h-533v163h328v82h-328v697zM1229 435v369h-123v-369h123zM1516 968h532v-942h-532v163h327v82h-327v697zM1843 435v369h-123 v-369h123z" /> +<glyph unicode="" d="M1046 516q0 -64 -38 -109t-91 -45q-43 0 -70 15v277q28 17 70 17q53 0 91 -45.5t38 -109.5zM703 944q0 -64 -38 -109.5t-91 -45.5q-43 0 -70 15v277q28 17 70 17q53 0 91 -45t38 -109zM1265 513q0 134 -88 229t-213 95q-20 0 -39 -3q-23 -78 -78 -136q-87 -95 -211 -101 v-636l211 41v206q51 -19 117 -19q125 0 213 95t88 229zM922 940q0 134 -88.5 229t-213.5 95q-74 0 -141 -36h-186v-840l211 41v206q55 -19 116 -19q125 0 213.5 95t88.5 229zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960 q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" /> +<glyph unicode="" horiz-adv-x="2038" d="M1222 607q75 3 143.5 -20.5t118 -58.5t101 -94.5t84 -108t75.5 -120.5q33 -56 78.5 -109t75.5 -80.5t99 -88.5q-48 -30 -108.5 -57.5t-138.5 -59t-114 -47.5q-44 37 -74 115t-43.5 164.5t-33 180.5t-42.5 168.5t-72.5 123t-122.5 48.5l-10 -2l-6 -4q4 -5 13 -14 q6 -5 28 -23.5t25.5 -22t19 -18t18 -20.5t11.5 -21t10.5 -27.5t4.5 -31t4 -40.5l1 -33q1 -26 -2.5 -57.5t-7.5 -52t-12.5 -58.5t-11.5 -53q-35 1 -101 -9.5t-98 -10.5q-39 0 -72 10q-2 16 -2 47q0 74 3 96q2 13 31.5 41.5t57 59t26.5 51.5q-24 2 -43 -24 q-36 -53 -111.5 -99.5t-136.5 -46.5q-25 0 -75.5 63t-106.5 139.5t-84 96.5q-6 4 -27 30q-482 -112 -513 -112q-16 0 -28 11t-12 27q0 15 8.5 26.5t22.5 14.5l486 106q-8 14 -8 25t5.5 17.5t16 11.5t20 7t23 4.5t18.5 4.5q4 1 15.5 7.5t17.5 6.5q15 0 28 -16t20 -33 q163 37 172 37q17 0 29.5 -11t12.5 -28q0 -15 -8.5 -26t-23.5 -14l-182 -40l-1 -16q-1 -26 81.5 -117.5t104.5 -91.5q47 0 119 80t72 129q0 36 -23.5 53t-51 18.5t-51 11.5t-23.5 34q0 16 10 34l-68 19q43 44 43 117q0 26 -5 58q82 16 144 16q44 0 71.5 -1.5t48.5 -8.5 t31 -13.5t20.5 -24.5t15.5 -33.5t17 -47.5t24 -60l50 25q-3 -40 -23 -60t-42.5 -21t-40 -6.5t-16.5 -20.5zM1282 842q-5 5 -13.5 15.5t-12 14.5t-10.5 11.5t-10 10.5l-8 8t-8.5 7.5t-8 5t-8.5 4.5q-7 3 -14.5 5t-20.5 2.5t-22 0.5h-32.5h-37.5q-126 0 -217 -43 q16 30 36 46.5t54 29.5t65.5 36t46 36.5t50 55t43.5 50.5q12 -9 28 -31.5t32 -36.5t38 -13l12 1v-76l22 -1q247 95 371 190q28 21 50 39t42.5 37.5t33 31t29.5 34t24 31t24.5 37t23 38t27 47.5t29.5 53l7 9q-2 -53 -43 -139q-79 -165 -205 -264t-306 -142q-14 -3 -42 -7.5 t-50 -9.5t-39 -14q3 -19 24.5 -46t21.5 -34q0 -11 -26 -30zM1061 -79q39 26 131.5 47.5t146.5 21.5q9 0 22.5 -15.5t28 -42.5t26 -50t24 -51t14.5 -33q-121 -45 -244 -45q-61 0 -125 11zM822 568l48 12l109 -177l-73 -48zM1323 51q3 -15 3 -16q0 -7 -17.5 -14.5t-46 -13 t-54 -9.5t-53.5 -7.5t-32 -4.5l-7 43q21 2 60.5 8.5t72 10t60.5 3.5h14zM866 679l-96 -20l-6 17q10 1 32.5 7t34.5 6q19 0 35 -10zM1061 45h31l10 -83l-41 -12v95zM1950 1535v1v-1zM1950 1535l-1 -5l-2 -2l1 3zM1950 1535l1 1z" /> +<glyph unicode="" d="M1167 -50q-5 19 -24 5q-30 -22 -87 -39t-131 -17q-129 0 -193 49q-5 4 -13 4q-11 0 -26 -12q-7 -6 -7.5 -16t7.5 -20q34 -32 87.5 -46t102.5 -12.5t99 4.5q41 4 84.5 20.5t65 30t28.5 20.5q12 12 7 29zM1128 65q-19 47 -39 61q-23 15 -76 15q-47 0 -71 -10 q-29 -12 -78 -56q-26 -24 -12 -44q9 -8 17.5 -4.5t31.5 23.5q3 2 10.5 8.5t10.5 8.5t10 7t11.5 7t12.5 5t15 4.5t16.5 2.5t20.5 1q27 0 44.5 -7.5t23 -14.5t13.5 -22q10 -17 12.5 -20t12.5 1q23 12 14 34zM1483 346q0 22 -5 44.5t-16.5 45t-34 36.5t-52.5 14 q-33 0 -97 -41.5t-129 -83.5t-101 -42q-27 -1 -63.5 19t-76 49t-83.5 58t-100 49t-111 19q-115 -1 -197 -78.5t-84 -178.5q-2 -112 74 -164q29 -20 62.5 -28.5t103.5 -8.5q57 0 132 32.5t134 71t120 70.5t93 31q26 -1 65 -31.5t71.5 -67t68 -67.5t55.5 -32q35 -3 58.5 14 t55.5 63q28 41 42.5 101t14.5 106zM1536 506q0 -164 -62 -304.5t-166 -236t-242.5 -149.5t-290.5 -54t-293 57.5t-247.5 157t-170.5 241.5t-64 302q0 89 19.5 172.5t49 145.5t70.5 118.5t78.5 94t78.5 69.5t64.5 46.5t42.5 24.5q14 8 51 26.5t54.5 28.5t48 30t60.5 44 q36 28 58 72.5t30 125.5q129 -155 186 -193q44 -29 130 -68t129 -66q21 -13 39 -25t60.5 -46.5t76 -70.5t75 -95t69 -122t47 -148.5t19.5 -177.5z" /> +<glyph unicode="" d="M1070 463l-160 -160l-151 -152l-30 -30q-65 -64 -151.5 -87t-171.5 -2q-16 -70 -72 -115t-129 -45q-85 0 -145 60.5t-60 145.5q0 72 44.5 128t113.5 72q-22 86 1 173t88 152l12 12l151 -152l-11 -11q-37 -37 -37 -89t37 -90q37 -37 89 -37t89 37l30 30l151 152l161 160z M729 1145l12 -12l-152 -152l-12 12q-37 37 -89 37t-89 -37t-37 -89.5t37 -89.5l29 -29l152 -152l160 -160l-151 -152l-161 160l-151 152l-30 30q-68 67 -90 159.5t5 179.5q-70 15 -115 71t-45 129q0 85 60 145.5t145 60.5q76 0 133.5 -49t69.5 -123q84 20 169.5 -3.5 t149.5 -87.5zM1536 78q0 -85 -60 -145.5t-145 -60.5q-74 0 -131 47t-71 118q-86 -28 -179.5 -6t-161.5 90l-11 12l151 152l12 -12q37 -37 89 -37t89 37t37 89t-37 89l-30 30l-152 152l-160 160l152 152l160 -160l152 -152l29 -30q64 -64 87.5 -150.5t2.5 -171.5 q76 -11 126.5 -68.5t50.5 -134.5zM1534 1202q0 -77 -51 -135t-127 -69q26 -85 3 -176.5t-90 -158.5l-12 -12l-151 152l12 12q37 37 37 89t-37 89t-89 37t-89 -37l-30 -30l-152 -152l-160 -160l-152 152l161 160l152 152l29 30q67 67 159 89.5t178 -3.5q11 75 68.5 126 t135.5 51q85 0 145 -60.5t60 -145.5z" /> +<glyph unicode="" d="M654 458q-1 -3 -12.5 0.5t-31.5 11.5l-20 9q-44 20 -87 49q-7 5 -41 31.5t-38 28.5q-67 -103 -134 -181q-81 -95 -105 -110q-4 -2 -19.5 -4t-18.5 0q6 4 82 92q21 24 85.5 115t78.5 118q17 30 51 98.5t36 77.5q-8 1 -110 -33q-8 -2 -27.5 -7.5t-34.5 -9.5t-17 -5 q-2 -2 -2 -10.5t-1 -9.5q-5 -10 -31 -15q-23 -7 -47 0q-18 4 -28 21q-4 6 -5 23q6 2 24.5 5t29.5 6q58 16 105 32q100 35 102 35q10 2 43 19.5t44 21.5q9 3 21.5 8t14.5 5.5t6 -0.5q2 -12 -1 -33q0 -2 -12.5 -27t-26.5 -53.5t-17 -33.5q-25 -50 -77 -131l64 -28 q12 -6 74.5 -32t67.5 -28q4 -1 10.5 -25.5t4.5 -30.5zM449 944q3 -15 -4 -28q-12 -23 -50 -38q-30 -12 -60 -12q-26 3 -49 26q-14 15 -18 41l1 3q3 -3 19.5 -5t26.5 0t58 16q36 12 55 14q17 0 21 -17zM1147 815l63 -227l-139 42zM39 15l694 232v1032l-694 -233v-1031z M1280 332l102 -31l-181 657l-100 31l-216 -536l102 -31l45 110l211 -65zM777 1294l573 -184v380zM1088 -29l158 -13l-54 -160l-40 66q-130 -83 -276 -108q-58 -12 -91 -12h-84q-79 0 -199.5 39t-183.5 85q-8 7 -8 16q0 8 5 13.5t13 5.5q4 0 18 -7.5t30.5 -16.5t20.5 -11 q73 -37 159.5 -61.5t157.5 -24.5q95 0 167 14.5t157 50.5q15 7 30.5 15.5t34 19t28.5 16.5zM1536 1050v-1079l-774 246q-14 -6 -375 -127.5t-368 -121.5q-13 0 -18 13q0 1 -1 3v1078q3 9 4 10q5 6 20 11q106 35 149 50v384l558 -198q2 0 160.5 55t316 108.5t161.5 53.5 q20 0 20 -21v-418z" /> +<glyph unicode="" horiz-adv-x="1792" d="M288 1152q66 0 113 -47t47 -113v-1088q0 -66 -47 -113t-113 -47h-128q-66 0 -113 47t-47 113v1088q0 66 47 113t113 47h128zM1664 989q58 -34 93 -93t35 -128v-768q0 -106 -75 -181t-181 -75h-864q-66 0 -113 47t-47 113v1536q0 40 28 68t68 28h672q40 0 88 -20t76 -48 l152 -152q28 -28 48 -76t20 -88v-163zM928 0v128q0 14 -9 23t-23 9h-128q-14 0 -23 -9t-9 -23v-128q0 -14 9 -23t23 -9h128q14 0 23 9t9 23zM928 256v128q0 14 -9 23t-23 9h-128q-14 0 -23 -9t-9 -23v-128q0 -14 9 -23t23 -9h128q14 0 23 9t9 23zM928 512v128q0 14 -9 23 t-23 9h-128q-14 0 -23 -9t-9 -23v-128q0 -14 9 -23t23 -9h128q14 0 23 9t9 23zM1184 0v128q0 14 -9 23t-23 9h-128q-14 0 -23 -9t-9 -23v-128q0 -14 9 -23t23 -9h128q14 0 23 9t9 23zM1184 256v128q0 14 -9 23t-23 9h-128q-14 0 -23 -9t-9 -23v-128q0 -14 9 -23t23 -9h128 q14 0 23 9t9 23zM1184 512v128q0 14 -9 23t-23 9h-128q-14 0 -23 -9t-9 -23v-128q0 -14 9 -23t23 -9h128q14 0 23 9t9 23zM1440 0v128q0 14 -9 23t-23 9h-128q-14 0 -23 -9t-9 -23v-128q0 -14 9 -23t23 -9h128q14 0 23 9t9 23zM1440 256v128q0 14 -9 23t-23 9h-128 q-14 0 -23 -9t-9 -23v-128q0 -14 9 -23t23 -9h128q14 0 23 9t9 23zM1440 512v128q0 14 -9 23t-23 9h-128q-14 0 -23 -9t-9 -23v-128q0 -14 9 -23t23 -9h128q14 0 23 9t9 23zM1536 896v256h-160q-40 0 -68 28t-28 68v160h-640v-512h896z" /> +<glyph unicode="" d="M1344 1536q26 0 45 -19t19 -45v-1664q0 -26 -19 -45t-45 -19h-1280q-26 0 -45 19t-19 45v1664q0 26 19 45t45 19h1280zM512 1248v-64q0 -14 9 -23t23 -9h64q14 0 23 9t9 23v64q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23zM512 992v-64q0 -14 9 -23t23 -9h64q14 0 23 9 t9 23v64q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23zM512 736v-64q0 -14 9 -23t23 -9h64q14 0 23 9t9 23v64q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23zM512 480v-64q0 -14 9 -23t23 -9h64q14 0 23 9t9 23v64q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23zM384 160v64 q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h64q14 0 23 9t9 23zM384 416v64q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h64q14 0 23 9t9 23zM384 672v64q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h64 q14 0 23 9t9 23zM384 928v64q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h64q14 0 23 9t9 23zM384 1184v64q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h64q14 0 23 9t9 23zM896 -96v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9 t-9 -23v-192q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM896 416v64q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h64q14 0 23 9t9 23zM896 672v64q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h64q14 0 23 9t9 23zM896 928v64 q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h64q14 0 23 9t9 23zM896 1184v64q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h64q14 0 23 9t9 23zM1152 160v64q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h64 q14 0 23 9t9 23zM1152 416v64q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h64q14 0 23 9t9 23zM1152 672v64q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h64q14 0 23 9t9 23zM1152 928v64q0 14 -9 23t-23 9h-64q-14 0 -23 -9 t-9 -23v-64q0 -14 9 -23t23 -9h64q14 0 23 9t9 23zM1152 1184v64q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h64q14 0 23 9t9 23z" /> +<glyph unicode="" horiz-adv-x="1280" d="M1188 988l-292 -292v-824q0 -46 -33 -79t-79 -33t-79 33t-33 79v384h-64v-384q0 -46 -33 -79t-79 -33t-79 33t-33 79v824l-292 292q-28 28 -28 68t28 68t68 28t68 -28l228 -228h368l228 228q28 28 68 28t68 -28t28 -68t-28 -68zM864 1152q0 -93 -65.5 -158.5 t-158.5 -65.5t-158.5 65.5t-65.5 158.5t65.5 158.5t158.5 65.5t158.5 -65.5t65.5 -158.5z" /> +<glyph unicode="" horiz-adv-x="1664" d="M780 1064q0 -60 -19 -113.5t-63 -92.5t-105 -39q-76 0 -138 57.5t-92 135.5t-30 151q0 60 19 113.5t63 92.5t105 39q77 0 138.5 -57.5t91.5 -135t30 -151.5zM438 581q0 -80 -42 -139t-119 -59q-76 0 -141.5 55.5t-100.5 133.5t-35 152q0 80 42 139.5t119 59.5 q76 0 141.5 -55.5t100.5 -134t35 -152.5zM832 608q118 0 255 -97.5t229 -237t92 -254.5q0 -46 -17 -76.5t-48.5 -45t-64.5 -20t-76 -5.5q-68 0 -187.5 45t-182.5 45q-66 0 -192.5 -44.5t-200.5 -44.5q-183 0 -183 146q0 86 56 191.5t139.5 192.5t187.5 146t193 59zM1071 819 q-61 0 -105 39t-63 92.5t-19 113.5q0 74 30 151.5t91.5 135t138.5 57.5q61 0 105 -39t63 -92.5t19 -113.5q0 -73 -30 -151t-92 -135.5t-138 -57.5zM1503 923q77 0 119 -59.5t42 -139.5q0 -74 -35 -152t-100.5 -133.5t-141.5 -55.5q-77 0 -119 59t-42 139q0 74 35 152.5 t100.5 134t141.5 55.5z" /> +<glyph unicode="" horiz-adv-x="768" d="M704 1008q0 -145 -57 -243.5t-152 -135.5l45 -821q2 -26 -16 -45t-44 -19h-192q-26 0 -44 19t-16 45l45 821q-95 37 -152 135.5t-57 243.5q0 128 42.5 249.5t117.5 200t160 78.5t160 -78.5t117.5 -200t42.5 -249.5z" /> +<glyph unicode="" horiz-adv-x="1792" d="M896 -93l640 349v636l-640 -233v-752zM832 772l698 254l-698 254l-698 -254zM1664 1024v-768q0 -35 -18 -65t-49 -47l-704 -384q-28 -16 -61 -16t-61 16l-704 384q-31 17 -49 47t-18 65v768q0 40 23 73t61 47l704 256q22 8 44 8t44 -8l704 -256q38 -14 61 -47t23 -73z " /> +<glyph unicode="" horiz-adv-x="2304" d="M640 -96l384 192v314l-384 -164v-342zM576 358l404 173l-404 173l-404 -173zM1664 -96l384 192v314l-384 -164v-342zM1600 358l404 173l-404 173l-404 -173zM1152 651l384 165v266l-384 -164v-267zM1088 1030l441 189l-441 189l-441 -189zM2176 512v-416q0 -36 -19 -67 t-52 -47l-448 -224q-25 -14 -57 -14t-57 14l-448 224q-5 2 -7 4q-2 -2 -7 -4l-448 -224q-25 -14 -57 -14t-57 14l-448 224q-33 16 -52 47t-19 67v416q0 38 21.5 70t56.5 48l434 186v400q0 38 21.5 70t56.5 48l448 192q23 10 50 10t50 -10l448 -192q35 -16 56.5 -48t21.5 -70 v-400l434 -186q36 -16 57 -48t21 -70z" /> +<glyph unicode="" horiz-adv-x="2048" d="M1848 1197h-511v-124h511v124zM1596 771q-90 0 -146 -52.5t-62 -142.5h408q-18 195 -200 195zM1612 186q63 0 122 32t76 87h221q-100 -307 -427 -307q-214 0 -340.5 132t-126.5 347q0 208 130.5 345.5t336.5 137.5q138 0 240.5 -68t153 -179t50.5 -248q0 -17 -2 -47h-658 q0 -111 57.5 -171.5t166.5 -60.5zM277 236h296q205 0 205 167q0 180 -199 180h-302v-347zM277 773h281q78 0 123.5 36.5t45.5 113.5q0 144 -190 144h-260v-294zM0 1282h594q87 0 155 -14t126.5 -47.5t90 -96.5t31.5 -154q0 -181 -172 -263q114 -32 172 -115t58 -204 q0 -75 -24.5 -136.5t-66 -103.5t-98.5 -71t-121 -42t-134 -13h-611v1260z" /> +<glyph unicode="" d="M1248 1408q119 0 203.5 -84.5t84.5 -203.5v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960zM499 1041h-371v-787h382q117 0 197 57.5t80 170.5q0 158 -143 200q107 52 107 164q0 57 -19.5 96.5 t-56.5 60.5t-79 29.5t-97 8.5zM477 723h-176v184h163q119 0 119 -90q0 -94 -106 -94zM486 388h-185v217h189q124 0 124 -113q0 -104 -128 -104zM1136 356q-68 0 -104 38t-36 107h411q1 10 1 30q0 132 -74.5 220.5t-203.5 88.5q-128 0 -210 -86t-82 -216q0 -135 79 -217 t213 -82q205 0 267 191h-138q-11 -34 -47.5 -54t-75.5 -20zM1126 722q113 0 124 -122h-254q4 56 39 89t91 33zM964 988h319v-77h-319v77z" /> +<glyph unicode="" horiz-adv-x="1792" d="M1582 954q0 -101 -71.5 -172.5t-172.5 -71.5t-172.5 71.5t-71.5 172.5t71.5 172.5t172.5 71.5t172.5 -71.5t71.5 -172.5zM812 212q0 104 -73 177t-177 73q-27 0 -54 -6l104 -42q77 -31 109.5 -106.5t1.5 -151.5q-31 -77 -107 -109t-152 -1q-21 8 -62 24.5t-61 24.5 q32 -60 91 -96.5t130 -36.5q104 0 177 73t73 177zM1642 953q0 126 -89.5 215.5t-215.5 89.5q-127 0 -216.5 -89.5t-89.5 -215.5q0 -127 89.5 -216t216.5 -89q126 0 215.5 89t89.5 216zM1792 953q0 -189 -133.5 -322t-321.5 -133l-437 -319q-12 -129 -109 -218t-229 -89 q-121 0 -214 76t-118 192l-230 92v429l389 -157q79 48 173 48q13 0 35 -2l284 407q2 187 135.5 319t320.5 132q188 0 321.5 -133.5t133.5 -321.5z" /> +<glyph unicode="" d="M1242 889q0 80 -57 136.5t-137 56.5t-136.5 -57t-56.5 -136q0 -80 56.5 -136.5t136.5 -56.5t137 56.5t57 136.5zM632 301q0 -83 -58 -140.5t-140 -57.5q-56 0 -103 29t-72 77q52 -20 98 -40q60 -24 120 1.5t85 86.5q24 60 -1.5 120t-86.5 84l-82 33q22 5 42 5 q82 0 140 -57.5t58 -140.5zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v153l172 -69q20 -92 93.5 -152t168.5 -60q104 0 181 70t87 173l345 252q150 0 255.5 105.5t105.5 254.5q0 150 -105.5 255.5t-255.5 105.5 q-148 0 -253 -104.5t-107 -252.5l-225 -322q-9 1 -28 1q-75 0 -137 -37l-297 119v468q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5zM1289 887q0 -100 -71 -170.5t-171 -70.5t-170.5 70.5t-70.5 170.5t70.5 171t170.5 71q101 0 171.5 -70.5t70.5 -171.5z " /> +<glyph unicode="" horiz-adv-x="1792" d="M836 367l-15 -368l-2 -22l-420 29q-36 3 -67 31.5t-47 65.5q-11 27 -14.5 55t4 65t12 55t21.5 64t19 53q78 -12 509 -28zM449 953l180 -379l-147 92q-63 -72 -111.5 -144.5t-72.5 -125t-39.5 -94.5t-18.5 -63l-4 -21l-190 357q-17 26 -18 56t6 47l8 18q35 63 114 188 l-140 86zM1680 436l-188 -359q-12 -29 -36.5 -46.5t-43.5 -20.5l-18 -4q-71 -7 -219 -12l8 -164l-230 367l211 362l7 -173q170 -16 283 -5t170 33zM895 1360q-47 -63 -265 -435l-317 187l-19 12l225 356q20 31 60 45t80 10q24 -2 48.5 -12t42 -21t41.5 -33t36 -34.5 t36 -39.5t32 -35zM1550 1053l212 -363q18 -37 12.5 -76t-27.5 -74q-13 -20 -33 -37t-38 -28t-48.5 -22t-47 -16t-51.5 -14t-46 -12q-34 72 -265 436l313 195zM1407 1279l142 83l-220 -373l-419 20l151 86q-34 89 -75 166t-75.5 123.5t-64.5 80t-47 46.5l-17 13l405 -1 q31 3 58 -10.5t39 -28.5l11 -15q39 -61 112 -190z" /> +<glyph unicode="" horiz-adv-x="2048" d="M480 448q0 66 -47 113t-113 47t-113 -47t-47 -113t47 -113t113 -47t113 47t47 113zM516 768h1016l-89 357q-2 8 -14 17.5t-21 9.5h-768q-9 0 -21 -9.5t-14 -17.5zM1888 448q0 66 -47 113t-113 47t-113 -47t-47 -113t47 -113t113 -47t113 47t47 113zM2048 544v-384 q0 -14 -9 -23t-23 -9h-96v-128q0 -80 -56 -136t-136 -56t-136 56t-56 136v128h-1024v-128q0 -80 -56 -136t-136 -56t-136 56t-56 136v128h-96q-14 0 -23 9t-9 23v384q0 93 65.5 158.5t158.5 65.5h28l105 419q23 94 104 157.5t179 63.5h768q98 0 179 -63.5t104 -157.5 l105 -419h28q93 0 158.5 -65.5t65.5 -158.5z" /> +<glyph unicode="" horiz-adv-x="2048" d="M1824 640q93 0 158.5 -65.5t65.5 -158.5v-384q0 -14 -9 -23t-23 -9h-96v-64q0 -80 -56 -136t-136 -56t-136 56t-56 136v64h-1024v-64q0 -80 -56 -136t-136 -56t-136 56t-56 136v64h-96q-14 0 -23 9t-9 23v384q0 93 65.5 158.5t158.5 65.5h28l105 419q23 94 104 157.5 t179 63.5h128v224q0 14 9 23t23 9h448q14 0 23 -9t9 -23v-224h128q98 0 179 -63.5t104 -157.5l105 -419h28zM320 160q66 0 113 47t47 113t-47 113t-113 47t-113 -47t-47 -113t47 -113t113 -47zM516 640h1016l-89 357q-2 8 -14 17.5t-21 9.5h-768q-9 0 -21 -9.5t-14 -17.5z M1728 160q66 0 113 47t47 113t-47 113t-113 47t-113 -47t-47 -113t47 -113t113 -47z" /> +<glyph unicode="" d="M1504 64q0 -26 -19 -45t-45 -19h-462q1 -17 6 -87.5t5 -108.5q0 -25 -18 -42.5t-43 -17.5h-320q-25 0 -43 17.5t-18 42.5q0 38 5 108.5t6 87.5h-462q-26 0 -45 19t-19 45t19 45l402 403h-229q-26 0 -45 19t-19 45t19 45l402 403h-197q-26 0 -45 19t-19 45t19 45l384 384 q19 19 45 19t45 -19l384 -384q19 -19 19 -45t-19 -45t-45 -19h-197l402 -403q19 -19 19 -45t-19 -45t-45 -19h-229l402 -403q19 -19 19 -45z" /> +<glyph unicode="" d="M1127 326q0 32 -30 51q-193 115 -447 115q-133 0 -287 -34q-42 -9 -42 -52q0 -20 13.5 -34.5t35.5 -14.5q5 0 37 8q132 27 243 27q226 0 397 -103q19 -11 33 -11q19 0 33 13.5t14 34.5zM1223 541q0 40 -35 61q-237 141 -548 141q-153 0 -303 -42q-48 -13 -48 -64 q0 -25 17.5 -42.5t42.5 -17.5q7 0 37 8q122 33 251 33q279 0 488 -124q24 -13 38 -13q25 0 42.5 17.5t17.5 42.5zM1331 789q0 47 -40 70q-126 73 -293 110.5t-343 37.5q-204 0 -364 -47q-23 -7 -38.5 -25.5t-15.5 -48.5q0 -31 20.5 -52t51.5 -21q11 0 40 8q133 37 307 37 q159 0 309.5 -34t253.5 -95q21 -12 40 -12q29 0 50.5 20.5t21.5 51.5zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" /> +<glyph unicode="" d="M1397 1408q58 0 98.5 -40.5t40.5 -98.5v-1258q0 -58 -40.5 -98.5t-98.5 -40.5h-1258q-58 0 -98.5 40.5t-40.5 98.5v1258q0 58 40.5 98.5t98.5 40.5h1258zM1465 11v1258q0 28 -20 48t-48 20h-1258q-28 0 -48 -20t-20 -48v-1258q0 -28 20 -48t48 -20h1258q28 0 48 20t20 48 zM694 749l188 -387l533 145v-496q0 -7 -5.5 -12.5t-12.5 -5.5h-1258q-7 0 -12.5 5.5t-5.5 12.5v141l711 195l-212 439q4 1 12 2.5t12 1.5q170 32 303.5 21.5t221 -46t143.5 -94.5q27 -28 -25 -42q-64 -16 -256 -62l-97 198q-111 7 -240 -16zM1397 1287q7 0 12.5 -5.5 t5.5 -12.5v-428q-85 30 -188 52q-294 64 -645 12l-18 -3l-65 134h-233l85 -190q-132 -51 -230 -137v560q0 7 5.5 12.5t12.5 5.5h1258zM286 387q-14 -3 -26 4.5t-14 21.5q-24 203 166 305l129 -270z" /> +<glyph unicode="" horiz-adv-x="2304" d="M784 164l16 241l-16 523q-1 10 -7.5 17t-16.5 7q-9 0 -16 -7t-7 -17l-14 -523l14 -241q1 -10 7.5 -16.5t15.5 -6.5q22 0 24 23zM1080 193l11 211l-12 586q0 16 -13 24q-8 5 -16 5t-16 -5q-13 -8 -13 -24l-1 -6l-10 -579q0 -1 11 -236v-1q0 -10 6 -17q9 -11 23 -11 q11 0 20 9q9 7 9 20zM35 533l20 -128l-20 -126q-2 -9 -9 -9t-9 9l-17 126l17 128q2 9 9 9t9 -9zM121 612l26 -207l-26 -203q-2 -9 -10 -9q-9 0 -9 10l-23 202l23 207q0 9 9 9q8 0 10 -9zM401 159zM213 650l25 -245l-25 -237q0 -11 -11 -11q-10 0 -12 11l-21 237l21 245 q2 12 12 12q11 0 11 -12zM307 657l23 -252l-23 -244q-2 -13 -14 -13q-13 0 -13 13l-21 244l21 252q0 13 13 13q12 0 14 -13zM401 639l21 -234l-21 -246q-2 -16 -16 -16q-6 0 -10.5 4.5t-4.5 11.5l-20 246l20 234q0 6 4.5 10.5t10.5 4.5q14 0 16 -15zM784 164zM495 785 l21 -380l-21 -246q0 -7 -5 -12.5t-12 -5.5q-16 0 -18 18l-18 246l18 380q2 18 18 18q7 0 12 -5.5t5 -12.5zM589 871l19 -468l-19 -244q0 -8 -5.5 -13.5t-13.5 -5.5q-18 0 -20 19l-16 244l16 468q2 19 20 19q8 0 13.5 -5.5t5.5 -13.5zM687 911l18 -506l-18 -242 q-2 -21 -22 -21q-19 0 -21 21l-16 242l16 506q0 9 6.5 15.5t14.5 6.5q9 0 15 -6.5t7 -15.5zM1079 169v0v0zM881 915l15 -510l-15 -239q0 -10 -7.5 -17.5t-17.5 -7.5t-17 7t-8 18l-14 239l14 510q0 11 7.5 18t17.5 7t17.5 -7t7.5 -18zM980 896l14 -492l-14 -236q0 -11 -8 -19 t-19 -8t-19 8t-9 19l-12 236l12 492q1 12 9 20t19 8t18.5 -8t8.5 -20zM1192 404l-14 -231v0q0 -13 -9 -22t-22 -9t-22 9t-10 22l-6 114l-6 117l12 636v3q2 15 12 24q9 7 20 7q8 0 15 -5q14 -8 16 -26zM2304 423q0 -117 -83 -199.5t-200 -82.5h-786q-13 2 -22 11t-9 22v899 q0 23 28 33q85 34 181 34q195 0 338 -131.5t160 -323.5q53 22 110 22q117 0 200 -83t83 -201z" /> +<glyph unicode="" d="M768 768q237 0 443 43t325 127v-170q0 -69 -103 -128t-280 -93.5t-385 -34.5t-385 34.5t-280 93.5t-103 128v170q119 -84 325 -127t443 -43zM768 0q237 0 443 43t325 127v-170q0 -69 -103 -128t-280 -93.5t-385 -34.5t-385 34.5t-280 93.5t-103 128v170q119 -84 325 -127 t443 -43zM768 384q237 0 443 43t325 127v-170q0 -69 -103 -128t-280 -93.5t-385 -34.5t-385 34.5t-280 93.5t-103 128v170q119 -84 325 -127t443 -43zM768 1536q208 0 385 -34.5t280 -93.5t103 -128v-128q0 -69 -103 -128t-280 -93.5t-385 -34.5t-385 34.5t-280 93.5 t-103 128v128q0 69 103 128t280 93.5t385 34.5z" /> +<glyph unicode="" d="M1468 1156q28 -28 48 -76t20 -88v-1152q0 -40 -28 -68t-68 -28h-1344q-40 0 -68 28t-28 68v1600q0 40 28 68t68 28h896q40 0 88 -20t76 -48zM1024 1400v-376h376q-10 29 -22 41l-313 313q-12 12 -41 22zM1408 -128v1024h-416q-40 0 -68 28t-28 68v416h-768v-1536h1280z M894 465q33 -26 84 -56q59 7 117 7q147 0 177 -49q16 -22 2 -52q0 -1 -1 -2l-2 -2v-1q-6 -38 -71 -38q-48 0 -115 20t-130 53q-221 -24 -392 -83q-153 -262 -242 -262q-15 0 -28 7l-24 12q-1 1 -6 5q-10 10 -6 36q9 40 56 91.5t132 96.5q14 9 23 -6q2 -2 2 -4q52 85 107 197 q68 136 104 262q-24 82 -30.5 159.5t6.5 127.5q11 40 42 40h21h1q23 0 35 -15q18 -21 9 -68q-2 -6 -4 -8q1 -3 1 -8v-30q-2 -123 -14 -192q55 -164 146 -238zM318 54q52 24 137 158q-51 -40 -87.5 -84t-49.5 -74zM716 974q-15 -42 -2 -132q1 7 7 44q0 3 7 43q1 4 4 8 q-1 1 -1 2t-0.5 1.5t-0.5 1.5q-1 22 -13 36q0 -1 -1 -2v-2zM592 313q135 54 284 81q-2 1 -13 9.5t-16 13.5q-76 67 -127 176q-27 -86 -83 -197q-30 -56 -45 -83zM1238 329q-24 24 -140 24q76 -28 124 -28q14 0 18 1q0 1 -2 3z" /> +<glyph unicode="" d="M1468 1156q28 -28 48 -76t20 -88v-1152q0 -40 -28 -68t-68 -28h-1344q-40 0 -68 28t-28 68v1600q0 40 28 68t68 28h896q40 0 88 -20t76 -48zM1024 1400v-376h376q-10 29 -22 41l-313 313q-12 12 -41 22zM1408 -128v1024h-416q-40 0 -68 28t-28 68v416h-768v-1536h1280z M233 768v-107h70l164 -661h159l128 485q7 20 10 46q2 16 2 24h4l3 -24q1 -3 3.5 -20t5.5 -26l128 -485h159l164 661h70v107h-300v-107h90l-99 -438q-5 -20 -7 -46l-2 -21h-4l-3 21q-1 5 -4 21t-5 25l-144 545h-114l-144 -545q-2 -9 -4.5 -24.5t-3.5 -21.5l-4 -21h-4l-2 21 q-2 26 -7 46l-99 438h90v107h-300z" /> +<glyph unicode="" d="M1468 1156q28 -28 48 -76t20 -88v-1152q0 -40 -28 -68t-68 -28h-1344q-40 0 -68 28t-28 68v1600q0 40 28 68t68 28h896q40 0 88 -20t76 -48zM1024 1400v-376h376q-10 29 -22 41l-313 313q-12 12 -41 22zM1408 -128v1024h-416q-40 0 -68 28t-28 68v416h-768v-1536h1280z M429 106v-106h281v106h-75l103 161q5 7 10 16.5t7.5 13.5t3.5 4h2q1 -4 5 -10q2 -4 4.5 -7.5t6 -8t6.5 -8.5l107 -161h-76v-106h291v106h-68l-192 273l195 282h67v107h-279v-107h74l-103 -159q-4 -7 -10 -16.5t-9 -13.5l-2 -3h-2q-1 4 -5 10q-6 11 -17 23l-106 159h76v107 h-290v-107h68l189 -272l-194 -283h-68z" /> +<glyph unicode="" d="M1468 1156q28 -28 48 -76t20 -88v-1152q0 -40 -28 -68t-68 -28h-1344q-40 0 -68 28t-28 68v1600q0 40 28 68t68 28h896q40 0 88 -20t76 -48zM1024 1400v-376h376q-10 29 -22 41l-313 313q-12 12 -41 22zM1408 -128v1024h-416q-40 0 -68 28t-28 68v416h-768v-1536h1280z M416 106v-106h327v106h-93v167h137q76 0 118 15q67 23 106.5 87t39.5 146q0 81 -37 141t-100 87q-48 19 -130 19h-368v-107h92v-555h-92zM769 386h-119v268h120q52 0 83 -18q56 -33 56 -115q0 -89 -62 -120q-31 -15 -78 -15z" /> +<glyph unicode="" d="M1468 1156q28 -28 48 -76t20 -88v-1152q0 -40 -28 -68t-68 -28h-1344q-40 0 -68 28t-28 68v1600q0 40 28 68t68 28h896q40 0 88 -20t76 -48zM1024 1400v-376h376q-10 29 -22 41l-313 313q-12 12 -41 22zM1408 -128v1024h-416q-40 0 -68 28t-28 68v416h-768v-1536h1280z M1280 320v-320h-1024v192l192 192l128 -128l384 384zM448 512q-80 0 -136 56t-56 136t56 136t136 56t136 -56t56 -136t-56 -136t-136 -56z" /> +<glyph unicode="" d="M640 1152v128h-128v-128h128zM768 1024v128h-128v-128h128zM640 896v128h-128v-128h128zM768 768v128h-128v-128h128zM1468 1156q28 -28 48 -76t20 -88v-1152q0 -40 -28 -68t-68 -28h-1344q-40 0 -68 28t-28 68v1600q0 40 28 68t68 28h896q40 0 88 -20t76 -48zM1024 1400 v-376h376q-10 29 -22 41l-313 313q-12 12 -41 22zM1408 -128v1024h-416q-40 0 -68 28t-28 68v416h-128v-128h-128v128h-512v-1536h1280zM781 593l107 -349q8 -27 8 -52q0 -83 -72.5 -137.5t-183.5 -54.5t-183.5 54.5t-72.5 137.5q0 25 8 52q21 63 120 396v128h128v-128h79 q22 0 39 -13t23 -34zM640 128q53 0 90.5 19t37.5 45t-37.5 45t-90.5 19t-90.5 -19t-37.5 -45t37.5 -45t90.5 -19z" /> +<glyph unicode="" d="M1468 1156q28 -28 48 -76t20 -88v-1152q0 -40 -28 -68t-68 -28h-1344q-40 0 -68 28t-28 68v1600q0 40 28 68t68 28h896q40 0 88 -20t76 -48zM1024 1400v-376h376q-10 29 -22 41l-313 313q-12 12 -41 22zM1408 -128v1024h-416q-40 0 -68 28t-28 68v416h-768v-1536h1280z M620 686q20 -8 20 -30v-544q0 -22 -20 -30q-8 -2 -12 -2q-12 0 -23 9l-166 167h-131q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h131l166 167q16 15 35 7zM1037 -3q31 0 50 24q129 159 129 363t-129 363q-16 21 -43 24t-47 -14q-21 -17 -23.5 -43.5t14.5 -47.5 q100 -123 100 -282t-100 -282q-17 -21 -14.5 -47.5t23.5 -42.5q18 -15 40 -15zM826 145q27 0 47 20q87 93 87 219t-87 219q-18 19 -45 20t-46 -17t-20 -44.5t18 -46.5q52 -57 52 -131t-52 -131q-19 -20 -18 -46.5t20 -44.5q20 -17 44 -17z" /> +<glyph unicode="" d="M1468 1156q28 -28 48 -76t20 -88v-1152q0 -40 -28 -68t-68 -28h-1344q-40 0 -68 28t-28 68v1600q0 40 28 68t68 28h896q40 0 88 -20t76 -48zM1024 1400v-376h376q-10 29 -22 41l-313 313q-12 12 -41 22zM1408 -128v1024h-416q-40 0 -68 28t-28 68v416h-768v-1536h1280z M768 768q52 0 90 -38t38 -90v-384q0 -52 -38 -90t-90 -38h-384q-52 0 -90 38t-38 90v384q0 52 38 90t90 38h384zM1260 766q20 -8 20 -30v-576q0 -22 -20 -30q-8 -2 -12 -2q-14 0 -23 9l-265 266v90l265 266q9 9 23 9q4 0 12 -2z" /> +<glyph unicode="" d="M1468 1156q28 -28 48 -76t20 -88v-1152q0 -40 -28 -68t-68 -28h-1344q-40 0 -68 28t-28 68v1600q0 40 28 68t68 28h896q40 0 88 -20t76 -48zM1024 1400v-376h376q-10 29 -22 41l-313 313q-12 12 -41 22zM1408 -128v1024h-416q-40 0 -68 28t-28 68v416h-768v-1536h1280z M480 768q8 11 21 12.5t24 -6.5l51 -38q11 -8 12.5 -21t-6.5 -24l-182 -243l182 -243q8 -11 6.5 -24t-12.5 -21l-51 -38q-11 -8 -24 -6.5t-21 12.5l-226 301q-14 19 0 38zM1282 467q14 -19 0 -38l-226 -301q-8 -11 -21 -12.5t-24 6.5l-51 38q-11 8 -12.5 21t6.5 24l182 243 l-182 243q-8 11 -6.5 24t12.5 21l51 38q11 8 24 6.5t21 -12.5zM662 6q-13 2 -20.5 13t-5.5 24l138 831q2 13 13 20.5t24 5.5l63 -10q13 -2 20.5 -13t5.5 -24l-138 -831q-2 -13 -13 -20.5t-24 -5.5z" /> +<glyph unicode="" d="M1497 709v-198q-101 -23 -198 -23q-65 -136 -165.5 -271t-181.5 -215.5t-128 -106.5q-80 -45 -162 3q-28 17 -60.5 43.5t-85 83.5t-102.5 128.5t-107.5 184t-105.5 244t-91.5 314.5t-70.5 390h283q26 -218 70 -398.5t104.5 -317t121.5 -235.5t140 -195q169 169 287 406 q-142 72 -223 220t-81 333q0 192 104 314.5t284 122.5q178 0 273 -105.5t95 -297.5q0 -159 -58 -286q-7 -1 -19.5 -3t-46 -2t-63 6t-62 25.5t-50.5 51.5q31 103 31 184q0 87 -29 132t-79 45q-53 0 -85 -49.5t-32 -140.5q0 -186 105 -293.5t267 -107.5q62 0 121 14z" /> +<glyph unicode="" horiz-adv-x="1792" d="M216 367l603 -402v359l-334 223zM154 511l193 129l-193 129v-258zM973 -35l603 402l-269 180l-334 -223v-359zM896 458l272 182l-272 182l-272 -182zM485 733l334 223v359l-603 -402zM1445 640l193 -129v258zM1307 733l269 180l-603 402v-359zM1792 913v-546 q0 -41 -34 -64l-819 -546q-21 -13 -43 -13t-43 13l-819 546q-34 23 -34 64v546q0 41 34 64l819 546q21 13 43 13t43 -13l819 -546q34 -23 34 -64z" /> +<glyph unicode="" horiz-adv-x="2048" d="M1800 764q111 -46 179.5 -145.5t68.5 -221.5q0 -164 -118 -280.5t-285 -116.5q-4 0 -11.5 0.5t-10.5 0.5h-1209h-1h-2h-5q-170 10 -288 125.5t-118 280.5q0 110 55 203t147 147q-12 39 -12 82q0 115 82 196t199 81q95 0 172 -58q75 154 222.5 248t326.5 94 q166 0 306 -80.5t221.5 -218.5t81.5 -301q0 -6 -0.5 -18t-0.5 -18zM468 498q0 -122 84 -193t208 -71q137 0 240 99q-16 20 -47.5 56.5t-43.5 50.5q-67 -65 -144 -65q-55 0 -93.5 33.5t-38.5 87.5q0 53 38.5 87t91.5 34q44 0 84.5 -21t73 -55t65 -75t69 -82t77 -75t97 -55 t121.5 -21q121 0 204.5 71.5t83.5 190.5q0 121 -84 192t-207 71q-143 0 -241 -97q14 -16 29.5 -34t34.5 -40t29 -34q66 64 142 64q52 0 92 -33t40 -84q0 -57 -37 -91.5t-94 -34.5q-43 0 -82.5 21t-72 55t-65.5 75t-69.5 82t-77.5 75t-96.5 55t-118.5 21q-122 0 -207 -70.5 t-85 -189.5z" /> +<glyph unicode="" horiz-adv-x="1792" d="M896 1536q182 0 348 -71t286 -191t191 -286t71 -348t-71 -348t-191 -286t-286 -191t-348 -71t-348 71t-286 191t-191 286t-71 348t71 348t191 286t286 191t348 71zM896 1408q-190 0 -361 -90l194 -194q82 28 167 28t167 -28l194 194q-171 90 -361 90zM218 279l194 194 q-28 82 -28 167t28 167l-194 194q-90 -171 -90 -361t90 -361zM896 -128q190 0 361 90l-194 194q-82 -28 -167 -28t-167 28l-194 -194q171 -90 361 -90zM896 256q159 0 271.5 112.5t112.5 271.5t-112.5 271.5t-271.5 112.5t-271.5 -112.5t-112.5 -271.5t112.5 -271.5 t271.5 -112.5zM1380 473l194 -194q90 171 90 361t-90 361l-194 -194q28 -82 28 -167t-28 -167z" /> +<glyph unicode="" horiz-adv-x="1792" d="M1792 640q0 -182 -71 -348t-191 -286t-286 -191t-348 -71t-348 71t-286 191t-191 286t-71 348q0 222 101 414.5t276.5 317t390.5 155.5v-260q-221 -45 -366.5 -221t-145.5 -406q0 -130 51 -248.5t136.5 -204t204 -136.5t248.5 -51t248.5 51t204 136.5t136.5 204t51 248.5 q0 230 -145.5 406t-366.5 221v260q215 -31 390.5 -155.5t276.5 -317t101 -414.5z" /> +<glyph unicode="" horiz-adv-x="1792" d="M19 662q8 217 116 406t305 318h5q0 -1 -1 -3q-8 -8 -28 -33.5t-52 -76.5t-60 -110.5t-44.5 -135.5t-14 -150.5t39 -157.5t108.5 -154q50 -50 102 -69.5t90.5 -11.5t69.5 23.5t47 32.5l16 16q39 51 53 116.5t6.5 122.5t-21 107t-26.5 80l-14 29q-10 25 -30.5 49.5t-43 41 t-43.5 29.5t-35 19l-13 6l104 115q39 -17 78 -52t59 -61l19 -27q1 48 -18.5 103.5t-40.5 87.5l-20 31l161 183l160 -181q-33 -46 -52.5 -102.5t-22.5 -90.5l-4 -33q22 37 61.5 72.5t67.5 52.5l28 17l103 -115q-44 -14 -85 -50t-60 -65l-19 -29q-31 -56 -48 -133.5t-7 -170 t57 -156.5q33 -45 77.5 -60.5t85 -5.5t76 26.5t57.5 33.5l21 16q60 53 96.5 115t48.5 121.5t10 121.5t-18 118t-37 107.5t-45.5 93t-45 72t-34.5 47.5l-13 17q-14 13 -7 13l10 -3q40 -29 62.5 -46t62 -50t64 -58t58.5 -65t55.5 -77t45.5 -88t38 -103t23.5 -117t10.5 -136 q3 -259 -108 -465t-312 -321t-456 -115q-185 0 -351 74t-283.5 198t-184 293t-60.5 353z" /> +<glyph unicode="" horiz-adv-x="1792" d="M874 -102v-66q-208 6 -385 109.5t-283 275.5l58 34q29 -49 73 -99l65 57q148 -168 368 -212l-17 -86q65 -12 121 -13zM276 428l-83 -28q22 -60 49 -112l-57 -33q-98 180 -98 385t98 385l57 -33q-30 -56 -49 -112l82 -28q-35 -100 -35 -212q0 -109 36 -212zM1528 251 l58 -34q-106 -172 -283 -275.5t-385 -109.5v66q56 1 121 13l-17 86q220 44 368 212l65 -57q44 50 73 99zM1377 805l-233 -80q14 -42 14 -85t-14 -85l232 -80q-31 -92 -98 -169l-185 162q-57 -67 -147 -85l48 -241q-52 -10 -98 -10t-98 10l48 241q-90 18 -147 85l-185 -162 q-67 77 -98 169l232 80q-14 42 -14 85t14 85l-233 80q33 93 99 169l185 -162q59 68 147 86l-48 240q44 10 98 10t98 -10l-48 -240q88 -18 147 -86l185 162q66 -76 99 -169zM874 1448v-66q-65 -2 -121 -13l17 -86q-220 -42 -368 -211l-65 56q-38 -42 -73 -98l-57 33 q106 172 282 275.5t385 109.5zM1705 640q0 -205 -98 -385l-57 33q27 52 49 112l-83 28q36 103 36 212q0 112 -35 212l82 28q-19 56 -49 112l57 33q98 -180 98 -385zM1585 1063l-57 -33q-35 56 -73 98l-65 -56q-148 169 -368 211l17 86q-56 11 -121 13v66q209 -6 385 -109.5 t282 -275.5zM1748 640q0 173 -67.5 331t-181.5 272t-272 181.5t-331 67.5t-331 -67.5t-272 -181.5t-181.5 -272t-67.5 -331t67.5 -331t181.5 -272t272 -181.5t331 -67.5t331 67.5t272 181.5t181.5 272t67.5 331zM1792 640q0 -182 -71 -348t-191 -286t-286 -191t-348 -71 t-348 71t-286 191t-191 286t-71 348t71 348t191 286t286 191t348 71t348 -71t286 -191t191 -286t71 -348z" /> +<glyph unicode="" d="M582 228q0 -66 -93 -66q-107 0 -107 63q0 64 98 64q102 0 102 -61zM546 694q0 -85 -74 -85q-77 0 -77 84q0 90 77 90q36 0 55 -25.5t19 -63.5zM712 769v125q-78 -29 -135 -29q-50 29 -110 29q-86 0 -145 -57t-59 -143q0 -50 29.5 -102t73.5 -67v-3q-38 -17 -38 -85 q0 -53 41 -77v-3q-113 -37 -113 -139q0 -45 20 -78.5t54 -51t72 -25.5t81 -8q224 0 224 188q0 67 -48 99t-126 46q-27 5 -51.5 20.5t-24.5 39.5q0 44 49 52q77 15 122 70t45 134q0 24 -10 52q37 9 49 13zM771 350h137q-2 27 -2 82v387q0 46 2 69h-137q3 -23 3 -71v-392 q0 -50 -3 -75zM1280 366v121q-30 -21 -68 -21q-53 0 -53 82v225h52q9 0 26.5 -1t26.5 -1v117h-105q0 82 3 102h-140q4 -24 4 -55v-47h-60v-117q36 3 37 3q3 0 11 -0.5t12 -0.5v-2h-2v-217q0 -37 2.5 -64t11.5 -56.5t24.5 -48.5t43.5 -31t66 -12q64 0 108 24zM924 1072 q0 36 -24 63.5t-60 27.5t-60.5 -27t-24.5 -64q0 -36 25 -62.5t60 -26.5t59.5 27t24.5 62zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" /> +<glyph unicode="" horiz-adv-x="1792" d="M595 22q0 100 -165 100q-158 0 -158 -104q0 -101 172 -101q151 0 151 105zM536 777q0 61 -30 102t-89 41q-124 0 -124 -145q0 -135 124 -135q119 0 119 137zM805 1101v-202q-36 -12 -79 -22q16 -43 16 -84q0 -127 -73 -216.5t-197 -112.5q-40 -8 -59.5 -27t-19.5 -58 q0 -31 22.5 -51.5t58 -32t78.5 -22t86 -25.5t78.5 -37.5t58 -64t22.5 -98.5q0 -304 -363 -304q-69 0 -130 12.5t-116 41t-87.5 82t-32.5 127.5q0 165 182 225v4q-67 41 -67 126q0 109 63 137v4q-72 24 -119.5 108.5t-47.5 165.5q0 139 95 231.5t235 92.5q96 0 178 -47 q98 0 218 47zM1123 220h-222q4 45 4 134v609q0 94 -4 128h222q-4 -33 -4 -124v-613q0 -89 4 -134zM1724 442v-196q-71 -39 -174 -39q-62 0 -107 20t-70 50t-39.5 78t-18.5 92t-4 103v351h2v4q-7 0 -19 1t-18 1q-21 0 -59 -6v190h96v76q0 54 -6 89h227q-6 -41 -6 -165h171 v-190q-15 0 -43.5 2t-42.5 2h-85v-365q0 -131 87 -131q61 0 109 33zM1148 1389q0 -58 -39 -101.5t-96 -43.5q-58 0 -98 43.5t-40 101.5q0 59 39.5 103t98.5 44q58 0 96.5 -44.5t38.5 -102.5z" /> +<glyph unicode="" d="M825 547l343 588h-150q-21 -39 -63.5 -118.5t-68 -128.5t-59.5 -118.5t-60 -128.5h-3q-21 48 -44.5 97t-52 105.5t-46.5 92t-54 104.5t-49 95h-150l323 -589v-435h134v436zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960 q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" /> +<glyph unicode="" horiz-adv-x="1280" d="M842 964q0 -80 -57 -136.5t-136 -56.5q-60 0 -111 35q-62 -67 -115 -146q-247 -371 -202 -859q1 -22 -12.5 -38.5t-34.5 -18.5h-5q-20 0 -35 13.5t-17 33.5q-14 126 -3.5 247.5t29.5 217t54 186t69 155.5t74 125q61 90 132 165q-16 35 -16 77q0 80 56.5 136.5t136.5 56.5 t136.5 -56.5t56.5 -136.5zM1223 953q0 -158 -78 -292t-212.5 -212t-292.5 -78q-64 0 -131 14q-21 5 -32.5 23.5t-6.5 39.5q5 20 23 31.5t39 7.5q51 -13 108 -13q97 0 186 38t153 102t102 153t38 186t-38 186t-102 153t-153 102t-186 38t-186 -38t-153 -102t-102 -153 t-38 -186q0 -114 52 -218q10 -20 3.5 -40t-25.5 -30t-39.5 -3t-30.5 26q-64 123 -64 265q0 119 46.5 227t124.5 186t186 124t226 46q158 0 292.5 -78t212.5 -212.5t78 -292.5z" /> +<glyph unicode="" horiz-adv-x="1792" d="M270 730q-8 19 -8 52q0 20 11 49t24 45q-1 22 7.5 53t22.5 43q0 139 92.5 288.5t217.5 209.5q139 66 324 66q133 0 266 -55q49 -21 90 -48t71 -56t55 -68t42 -74t32.5 -84.5t25.5 -89.5t22 -98l1 -5q55 -83 55 -150q0 -14 -9 -40t-9 -38q0 -1 1.5 -3.5t3.5 -5t2 -3.5 q77 -114 120.5 -214.5t43.5 -208.5q0 -43 -19.5 -100t-55.5 -57q-9 0 -19.5 7.5t-19 17.5t-19 26t-16 26.5t-13.5 26t-9 17.5q-1 1 -3 1l-5 -4q-59 -154 -132 -223q20 -20 61.5 -38.5t69 -41.5t35.5 -65q-2 -4 -4 -16t-7 -18q-64 -97 -302 -97q-53 0 -110.5 9t-98 20 t-104.5 30q-15 5 -23 7q-14 4 -46 4.5t-40 1.5q-41 -45 -127.5 -65t-168.5 -20q-35 0 -69 1.5t-93 9t-101 20.5t-74.5 40t-32.5 64q0 40 10 59.5t41 48.5q11 2 40.5 13t49.5 12q4 0 14 2q2 2 2 4l-2 3q-48 11 -108 105.5t-73 156.5l-5 3q-4 0 -12 -20q-18 -41 -54.5 -74.5 t-77.5 -37.5h-1q-4 0 -6 4.5t-5 5.5q-23 54 -23 100q0 275 252 466z" /> +<glyph unicode="" horiz-adv-x="2048" d="M580 1075q0 41 -25 66t-66 25q-43 0 -76 -25.5t-33 -65.5q0 -39 33 -64.5t76 -25.5q41 0 66 24.5t25 65.5zM1323 568q0 28 -25.5 50t-65.5 22q-27 0 -49.5 -22.5t-22.5 -49.5q0 -28 22.5 -50.5t49.5 -22.5q40 0 65.5 22t25.5 51zM1087 1075q0 41 -24.5 66t-65.5 25 q-43 0 -76 -25.5t-33 -65.5q0 -39 33 -64.5t76 -25.5q41 0 65.5 24.5t24.5 65.5zM1722 568q0 28 -26 50t-65 22q-27 0 -49.5 -22.5t-22.5 -49.5q0 -28 22.5 -50.5t49.5 -22.5q39 0 65 22t26 51zM1456 965q-31 4 -70 4q-169 0 -311 -77t-223.5 -208.5t-81.5 -287.5 q0 -78 23 -152q-35 -3 -68 -3q-26 0 -50 1.5t-55 6.5t-44.5 7t-54.5 10.5t-50 10.5l-253 -127l72 218q-290 203 -290 490q0 169 97.5 311t264 223.5t363.5 81.5q176 0 332.5 -66t262 -182.5t136.5 -260.5zM2048 404q0 -117 -68.5 -223.5t-185.5 -193.5l55 -181l-199 109 q-150 -37 -218 -37q-169 0 -311 70.5t-223.5 191.5t-81.5 264t81.5 264t223.5 191.5t311 70.5q161 0 303 -70.5t227.5 -192t85.5 -263.5z" /> +<glyph unicode="" horiz-adv-x="1792" d="M1764 1525q33 -24 27 -64l-256 -1536q-5 -29 -32 -45q-14 -8 -31 -8q-11 0 -24 5l-453 185l-242 -295q-18 -23 -49 -23q-13 0 -22 4q-19 7 -30.5 23.5t-11.5 36.5v349l864 1059l-1069 -925l-395 162q-37 14 -40 55q-2 40 32 59l1664 960q15 9 32 9q20 0 36 -11z" /> +<glyph unicode="" horiz-adv-x="1792" d="M1764 1525q33 -24 27 -64l-256 -1536q-5 -29 -32 -45q-14 -8 -31 -8q-11 0 -24 5l-527 215l-298 -327q-18 -21 -47 -21q-14 0 -23 4q-19 7 -30 23.5t-11 36.5v452l-472 193q-37 14 -40 55q-3 39 32 59l1664 960q35 21 68 -2zM1422 26l221 1323l-1434 -827l336 -137 l863 639l-478 -797z" /> +<glyph unicode="" d="M1536 640q0 -156 -61 -298t-164 -245t-245 -164t-298 -61q-172 0 -327 72.5t-264 204.5q-7 10 -6.5 22.5t8.5 20.5l137 138q10 9 25 9q16 -2 23 -12q73 -95 179 -147t225 -52q104 0 198.5 40.5t163.5 109.5t109.5 163.5t40.5 198.5t-40.5 198.5t-109.5 163.5 t-163.5 109.5t-198.5 40.5q-98 0 -188 -35.5t-160 -101.5l137 -138q31 -30 14 -69q-17 -40 -59 -40h-448q-26 0 -45 19t-19 45v448q0 42 40 59q39 17 69 -14l130 -129q107 101 244.5 156.5t284.5 55.5q156 0 298 -61t245 -164t164 -245t61 -298zM896 928v-448q0 -14 -9 -23 t-23 -9h-320q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h224v352q0 14 9 23t23 9h64q14 0 23 -9t9 -23z" /> +<glyph unicode="" d="M768 1280q-130 0 -248.5 -51t-204 -136.5t-136.5 -204t-51 -248.5t51 -248.5t136.5 -204t204 -136.5t248.5 -51t248.5 51t204 136.5t136.5 204t51 248.5t-51 248.5t-136.5 204t-204 136.5t-248.5 51zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103 t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" /> +<glyph unicode="" horiz-adv-x="1792" d="M1682 -128q-44 0 -132.5 3.5t-133.5 3.5q-44 0 -132 -3.5t-132 -3.5q-24 0 -37 20.5t-13 45.5q0 31 17 46t39 17t51 7t45 15q33 21 33 140l-1 391q0 21 -1 31q-13 4 -50 4h-675q-38 0 -51 -4q-1 -10 -1 -31l-1 -371q0 -142 37 -164q16 -10 48 -13t57 -3.5t45 -15 t20 -45.5q0 -26 -12.5 -48t-36.5 -22q-47 0 -139.5 3.5t-138.5 3.5q-43 0 -128 -3.5t-127 -3.5q-23 0 -35.5 21t-12.5 45q0 30 15.5 45t36 17.5t47.5 7.5t42 15q33 23 33 143l-1 57v813q0 3 0.5 26t0 36.5t-1.5 38.5t-3.5 42t-6.5 36.5t-11 31.5t-16 18q-15 10 -45 12t-53 2 t-41 14t-18 45q0 26 12 48t36 22q46 0 138.5 -3.5t138.5 -3.5q42 0 126.5 3.5t126.5 3.5q25 0 37.5 -22t12.5 -48q0 -30 -17 -43.5t-38.5 -14.5t-49.5 -4t-43 -13q-35 -21 -35 -160l1 -320q0 -21 1 -32q13 -3 39 -3h699q25 0 38 3q1 11 1 32l1 320q0 139 -35 160 q-18 11 -58.5 12.5t-66 13t-25.5 49.5q0 26 12.5 48t37.5 22q44 0 132 -3.5t132 -3.5q43 0 129 3.5t129 3.5q25 0 37.5 -22t12.5 -48q0 -30 -17.5 -44t-40 -14.5t-51.5 -3t-44 -12.5q-35 -23 -35 -161l1 -943q0 -119 34 -140q16 -10 46 -13.5t53.5 -4.5t41.5 -15.5t18 -44.5 q0 -26 -12 -48t-36 -22z" /> +<glyph unicode="" horiz-adv-x="1280" d="M1278 1347v-73q0 -29 -18.5 -61t-42.5 -32q-50 0 -54 -1q-26 -6 -32 -31q-3 -11 -3 -64v-1152q0 -25 -18 -43t-43 -18h-108q-25 0 -43 18t-18 43v1218h-143v-1218q0 -25 -17.5 -43t-43.5 -18h-108q-26 0 -43.5 18t-17.5 43v496q-147 12 -245 59q-126 58 -192 179 q-64 117 -64 259q0 166 88 286q88 118 209 159q111 37 417 37h479q25 0 43 -18t18 -43z" /> +<glyph unicode="" d="M352 128v-128h-352v128h352zM704 256q26 0 45 -19t19 -45v-256q0 -26 -19 -45t-45 -19h-256q-26 0 -45 19t-19 45v256q0 26 19 45t45 19h256zM864 640v-128h-864v128h864zM224 1152v-128h-224v128h224zM1536 128v-128h-736v128h736zM576 1280q26 0 45 -19t19 -45v-256 q0 -26 -19 -45t-45 -19h-256q-26 0 -45 19t-19 45v256q0 26 19 45t45 19h256zM1216 768q26 0 45 -19t19 -45v-256q0 -26 -19 -45t-45 -19h-256q-26 0 -45 19t-19 45v256q0 26 19 45t45 19h256zM1536 640v-128h-224v128h224zM1536 1152v-128h-864v128h864z" /> +<glyph unicode="" d="M1216 512q133 0 226.5 -93.5t93.5 -226.5t-93.5 -226.5t-226.5 -93.5t-226.5 93.5t-93.5 226.5q0 12 2 34l-360 180q-92 -86 -218 -86q-133 0 -226.5 93.5t-93.5 226.5t93.5 226.5t226.5 93.5q126 0 218 -86l360 180q-2 22 -2 34q0 133 93.5 226.5t226.5 93.5 t226.5 -93.5t93.5 -226.5t-93.5 -226.5t-226.5 -93.5q-126 0 -218 86l-360 -180q2 -22 2 -34t-2 -34l360 -180q92 86 218 86z" /> +<glyph unicode="" d="M1280 341q0 88 -62.5 151t-150.5 63q-84 0 -145 -58l-241 120q2 16 2 23t-2 23l241 120q61 -58 145 -58q88 0 150.5 63t62.5 151t-62.5 150.5t-150.5 62.5t-151 -62.5t-63 -150.5q0 -7 2 -23l-241 -120q-62 57 -145 57q-88 0 -150.5 -62.5t-62.5 -150.5t62.5 -150.5 t150.5 -62.5q83 0 145 57l241 -120q-2 -16 -2 -23q0 -88 63 -150.5t151 -62.5t150.5 62.5t62.5 150.5zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" /> +<glyph unicode="" horiz-adv-x="1792" d="M571 947q-10 25 -34 35t-49 0q-108 -44 -191 -127t-127 -191q-10 -25 0 -49t35 -34q13 -5 24 -5q42 0 60 40q34 84 98.5 148.5t148.5 98.5q25 11 35 35t0 49zM1513 1303l46 -46l-244 -243l68 -68q19 -19 19 -45.5t-19 -45.5l-64 -64q89 -161 89 -343q0 -143 -55.5 -273.5 t-150 -225t-225 -150t-273.5 -55.5t-273.5 55.5t-225 150t-150 225t-55.5 273.5t55.5 273.5t150 225t225 150t273.5 55.5q182 0 343 -89l64 64q19 19 45.5 19t45.5 -19l68 -68zM1521 1359q-10 -10 -22 -10q-13 0 -23 10l-91 90q-9 10 -9 23t9 23q10 9 23 9t23 -9l90 -91 q10 -9 10 -22.5t-10 -22.5zM1751 1129q-11 -9 -23 -9t-23 9l-90 91q-10 9 -10 22.5t10 22.5q9 10 22.5 10t22.5 -10l91 -90q9 -10 9 -23t-9 -23zM1792 1312q0 -14 -9 -23t-23 -9h-96q-14 0 -23 9t-9 23t9 23t23 9h96q14 0 23 -9t9 -23zM1600 1504v-96q0 -14 -9 -23t-23 -9 t-23 9t-9 23v96q0 14 9 23t23 9t23 -9t9 -23zM1751 1449l-91 -90q-10 -10 -22 -10q-13 0 -23 10q-10 9 -10 22.5t10 22.5l90 91q10 9 23 9t23 -9q9 -10 9 -23t-9 -23z" /> +<glyph unicode="" horiz-adv-x="1792" d="M609 720l287 208l287 -208l-109 -336h-355zM896 1536q182 0 348 -71t286 -191t191 -286t71 -348t-71 -348t-191 -286t-286 -191t-348 -71t-348 71t-286 191t-191 286t-71 348t71 348t191 286t286 191t348 71zM1515 186q149 203 149 454v3l-102 -89l-240 224l63 323 l134 -12q-150 206 -389 282l53 -124l-287 -159l-287 159l53 124q-239 -76 -389 -282l135 12l62 -323l-240 -224l-102 89v-3q0 -251 149 -454l30 132l326 -40l139 -298l-116 -69q117 -39 240 -39t240 39l-116 69l139 298l326 40z" /> +<glyph unicode="" horiz-adv-x="1792" d="M448 224v-192q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM256 608v-192q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM832 224v-192q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23 v192q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM640 608v-192q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM66 768q-28 0 -47 19t-19 46v129h514v-129q0 -27 -19 -46t-46 -19h-383zM1216 224v-192q0 -14 -9 -23t-23 -9h-192 q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM1024 608v-192q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM1600 224v-192q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h192q14 0 23 -9t9 -23 zM1408 608v-192q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM1792 1016v-13h-514v10q0 104 -382 102q-382 -1 -382 -102v-10h-514v13q0 17 8.5 43t34 64t65.5 75.5t110.5 76t160 67.5t224 47.5t293.5 18.5t293 -18.5t224 -47.5 t160.5 -67.5t110.5 -76t65.5 -75.5t34 -64t8.5 -43zM1792 608v-192q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM1792 962v-129q0 -27 -19 -46t-46 -19h-384q-27 0 -46 19t-19 46v129h514z" /> +<glyph unicode="" horiz-adv-x="1792" d="M704 1216v-768q0 -26 -19 -45t-45 -19v-576q0 -26 -19 -45t-45 -19h-512q-26 0 -45 19t-19 45v512l249 873q7 23 31 23h424zM1024 1216v-704h-256v704h256zM1792 320v-512q0 -26 -19 -45t-45 -19h-512q-26 0 -45 19t-19 45v576q-26 0 -45 19t-19 45v768h424q24 0 31 -23z M736 1504v-224h-352v224q0 14 9 23t23 9h288q14 0 23 -9t9 -23zM1408 1504v-224h-352v224q0 14 9 23t23 9h288q14 0 23 -9t9 -23z" /> +<glyph unicode="" horiz-adv-x="1792" d="M1755 1083q37 -37 37 -90t-37 -91l-401 -400l150 -150l-160 -160q-163 -163 -389.5 -186.5t-411.5 100.5l-362 -362h-181v181l362 362q-124 185 -100.5 411.5t186.5 389.5l160 160l150 -150l400 401q38 37 91 37t90 -37t37 -90.5t-37 -90.5l-400 -401l234 -234l401 400 q38 37 91 37t90 -37z" /> +<glyph unicode="" horiz-adv-x="1792" d="M873 796q0 -83 -63.5 -142.5t-152.5 -59.5t-152.5 59.5t-63.5 142.5q0 84 63.5 143t152.5 59t152.5 -59t63.5 -143zM1375 796q0 -83 -63 -142.5t-153 -59.5q-89 0 -152.5 59.5t-63.5 142.5q0 84 63.5 143t152.5 59q90 0 153 -59t63 -143zM1600 616v667q0 87 -32 123.5 t-111 36.5h-1112q-83 0 -112.5 -34t-29.5 -126v-673q43 -23 88.5 -40t81 -28t81 -18.5t71 -11t70 -4t58.5 -0.5t56.5 2t44.5 2q68 1 95 -27q6 -6 10 -9q26 -25 61 -51q7 91 118 87q5 0 36.5 -1.5t43 -2t45.5 -1t53 1t54.5 4.5t61 8.5t62 13.5t67 19.5t67.5 27t72 34.5z M1763 621q-121 -149 -372 -252q84 -285 -23 -465q-66 -113 -183 -148q-104 -32 -182 15q-86 51 -82 164l-1 326v1q-8 2 -24.5 6t-23.5 5l-1 -338q4 -114 -83 -164q-79 -47 -183 -15q-117 36 -182 150q-105 180 -22 463q-251 103 -372 252q-25 37 -4 63t60 -1q3 -2 11 -7 t11 -8v694q0 72 47 123t114 51h1257q67 0 114 -51t47 -123v-694l21 15q39 27 60 1t-4 -63z" /> +<glyph unicode="" horiz-adv-x="1792" d="M896 1102v-434h-145v434h145zM1294 1102v-434h-145v434h145zM1294 342l253 254v795h-1194v-1049h326v-217l217 217h398zM1692 1536v-1013l-434 -434h-326l-217 -217h-217v217h-398v1158l109 289h1483z" /> +<glyph unicode="" d="M773 217v-127q-1 -292 -6 -305q-12 -32 -51 -40q-54 -9 -181.5 38t-162.5 89q-13 15 -17 36q-1 12 4 26q4 10 34 47t181 216q1 0 60 70q15 19 39.5 24.5t49.5 -3.5q24 -10 37.5 -29t12.5 -42zM624 468q-3 -55 -52 -70l-120 -39q-275 -88 -292 -88q-35 2 -54 36 q-12 25 -17 75q-8 76 1 166.5t30 124.5t56 32q13 0 202 -77q70 -29 115 -47l84 -34q23 -9 35.5 -30.5t11.5 -48.5zM1450 171q-7 -54 -91.5 -161t-135.5 -127q-37 -14 -63 7q-14 10 -184 287l-47 77q-14 21 -11.5 46t19.5 46q35 43 83 26q1 -1 119 -40q203 -66 242 -79.5 t47 -20.5q28 -22 22 -61zM778 803q5 -102 -54 -122q-58 -17 -114 71l-378 598q-8 35 19 62q41 43 207.5 89.5t224.5 31.5q40 -10 49 -45q3 -18 22 -305.5t24 -379.5zM1440 695q3 -39 -26 -59q-15 -10 -329 -86q-67 -15 -91 -23l1 2q-23 -6 -46 4t-37 32q-30 47 0 87 q1 1 75 102q125 171 150 204t34 39q28 19 65 2q48 -23 123 -133.5t81 -167.5v-3z" /> +<glyph unicode="" horiz-adv-x="2048" d="M1024 1024h-384v-384h384v384zM1152 384v-128h-640v128h640zM1152 1152v-640h-640v640h640zM1792 384v-128h-512v128h512zM1792 640v-128h-512v128h512zM1792 896v-128h-512v128h512zM1792 1152v-128h-512v128h512zM256 192v960h-128v-960q0 -26 19 -45t45 -19t45 19 t19 45zM1920 192v1088h-1536v-1088q0 -33 -11 -64h1483q26 0 45 19t19 45zM2048 1408v-1216q0 -80 -56 -136t-136 -56h-1664q-80 0 -136 56t-56 136v1088h256v128h1792z" /> +<glyph unicode="" horiz-adv-x="2048" d="M1024 13q-20 0 -93 73.5t-73 93.5q0 32 62.5 54t103.5 22t103.5 -22t62.5 -54q0 -20 -73 -93.5t-93 -73.5zM1294 284q-2 0 -40 25t-101.5 50t-128.5 25t-128.5 -25t-101 -50t-40.5 -25q-18 0 -93.5 75t-75.5 93q0 13 10 23q78 77 196 121t233 44t233 -44t196 -121 q10 -10 10 -23q0 -18 -75.5 -93t-93.5 -75zM1567 556q-11 0 -23 8q-136 105 -252 154.5t-268 49.5q-85 0 -170.5 -22t-149 -53t-113.5 -62t-79 -53t-31 -22q-17 0 -92 75t-75 93q0 12 10 22q132 132 320 205t380 73t380 -73t320 -205q10 -10 10 -22q0 -18 -75 -93t-92 -75z M1838 827q-11 0 -22 9q-179 157 -371.5 236.5t-420.5 79.5t-420.5 -79.5t-371.5 -236.5q-11 -9 -22 -9q-17 0 -92.5 75t-75.5 93q0 13 10 23q187 186 445 288t527 102t527 -102t445 -288q10 -10 10 -23q0 -18 -75.5 -93t-92.5 -75z" /> +<glyph unicode="" horiz-adv-x="1792" d="M384 0q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM768 0q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM384 384q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5 t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1152 0q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM768 384q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5 t37.5 90.5zM384 768q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1152 384q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM768 768q0 53 -37.5 90.5t-90.5 37.5 t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1536 0v384q0 52 -38 90t-90 38t-90 -38t-38 -90v-384q0 -52 38 -90t90 -38t90 38t38 90zM1152 768q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5z M1536 1088v256q0 26 -19 45t-45 19h-1280q-26 0 -45 -19t-19 -45v-256q0 -26 19 -45t45 -19h1280q26 0 45 19t19 45zM1536 768q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1664 1408v-1536q0 -52 -38 -90t-90 -38 h-1408q-52 0 -90 38t-38 90v1536q0 52 38 90t90 38h1408q52 0 90 -38t38 -90z" /> +<glyph unicode="" horiz-adv-x="1792" d="M1112 1090q0 159 -237 159h-70q-32 0 -59.5 -21.5t-34.5 -52.5l-63 -276q-2 -5 -2 -16q0 -24 17 -39.5t41 -15.5h53q69 0 128.5 13t112.5 41t83.5 81.5t30.5 126.5zM1716 938q0 -265 -220 -428q-219 -161 -612 -161h-61q-32 0 -59 -21.5t-34 -52.5l-73 -316 q-8 -36 -40.5 -61.5t-69.5 -25.5h-213q-31 0 -53 20t-22 51q0 10 13 65h151q34 0 64 23.5t38 56.5l73 316q8 33 37.5 57t63.5 24h61q390 0 607 160t217 421q0 129 -51 207q183 -92 183 -335zM1533 1123q0 -264 -221 -428q-218 -161 -612 -161h-60q-32 0 -59.5 -22t-34.5 -53 l-73 -315q-8 -36 -40 -61.5t-69 -25.5h-214q-31 0 -52.5 19.5t-21.5 51.5q0 8 2 20l300 1301q8 36 40.5 61.5t69.5 25.5h444q68 0 125 -4t120.5 -15t113.5 -30t96.5 -50.5t77.5 -74t49.5 -103.5t18.5 -136z" /> +<glyph unicode="" horiz-adv-x="1792" d="M602 949q19 -61 31 -123.5t17 -141.5t-14 -159t-62 -145q-21 81 -67 157t-95.5 127t-99 90.5t-78.5 57.5t-33 19q-62 34 -81.5 100t14.5 128t101 81.5t129 -14.5q138 -83 238 -177zM927 1236q11 -25 20.5 -46t36.5 -100.5t42.5 -150.5t25.5 -179.5t0 -205.5t-47.5 -209.5 t-105.5 -208.5q-51 -72 -138 -72q-54 0 -98 31q-57 40 -69 109t28 127q60 85 81 195t13 199.5t-32 180.5t-39 128t-22 52q-31 63 -8.5 129.5t85.5 97.5q34 17 75 17q47 0 88.5 -25t63.5 -69zM1248 567q-17 -160 -72 -311q-17 131 -63 246q25 174 -5 361q-27 178 -94 342 q114 -90 212 -211q9 -37 15 -80q26 -179 7 -347zM1520 1440q9 -17 23.5 -49.5t43.5 -117.5t50.5 -178t34 -227.5t5 -269t-47 -300t-112.5 -323.5q-22 -48 -66 -75.5t-95 -27.5q-39 0 -74 16q-67 31 -92.5 100t4.5 136q58 126 90 257.5t37.5 239.5t-3.5 213.5t-26.5 180.5 t-38.5 138.5t-32.5 90t-15.5 32.5q-34 65 -11.5 135.5t87.5 104.5q37 20 81 20q49 0 91.5 -25.5t66.5 -70.5z" /> +<glyph unicode="" horiz-adv-x="2304" d="M1975 546h-138q14 37 66 179l3 9q4 10 10 26t9 26l12 -55zM531 611l-58 295q-11 54 -75 54h-268l-2 -13q311 -79 403 -336zM710 960l-162 -438l-17 89q-26 70 -85 129.5t-131 88.5l135 -510h175l261 641h-176zM849 318h166l104 642h-166zM1617 944q-69 27 -149 27 q-123 0 -201 -59t-79 -153q-1 -102 145 -174q48 -23 67 -41t19 -39q0 -30 -30 -46t-69 -16q-86 0 -156 33l-22 11l-23 -144q74 -34 185 -34q130 -1 208.5 59t80.5 160q0 106 -140 174q-49 25 -71 42t-22 38q0 22 24.5 38.5t70.5 16.5q70 1 124 -24l15 -8zM2042 960h-128 q-65 0 -87 -54l-246 -588h174l35 96h212q5 -22 20 -96h154zM2304 1280v-1280q0 -52 -38 -90t-90 -38h-2048q-52 0 -90 38t-38 90v1280q0 52 38 90t90 38h2048q52 0 90 -38t38 -90z" /> +<glyph unicode="" horiz-adv-x="2304" d="M671 603h-13q-47 0 -47 -32q0 -22 20 -22q17 0 28 15t12 39zM1066 639h62v3q1 4 0.5 6.5t-1 7t-2 8t-4.5 6.5t-7.5 5t-11.5 2q-28 0 -36 -38zM1606 603h-12q-48 0 -48 -32q0 -22 20 -22q17 0 28 15t12 39zM1925 629q0 41 -30 41q-19 0 -31 -20t-12 -51q0 -42 28 -42 q20 0 32.5 20t12.5 52zM480 770h87l-44 -262h-56l32 201l-71 -201h-39l-4 200l-34 -200h-53l44 262h81l2 -163zM733 663q0 -6 -4 -42q-16 -101 -17 -113h-47l1 22q-20 -26 -58 -26q-23 0 -37.5 16t-14.5 42q0 39 26 60.5t73 21.5q14 0 23 -1q0 3 0.5 5.5t1 4.5t0.5 3 q0 20 -36 20q-29 0 -59 -10q0 4 7 48q38 11 67 11q74 0 74 -62zM889 721l-8 -49q-22 3 -41 3q-27 0 -27 -17q0 -8 4.5 -12t21.5 -11q40 -19 40 -60q0 -72 -87 -71q-34 0 -58 6q0 2 7 49q29 -8 51 -8q32 0 32 19q0 7 -4.5 11.5t-21.5 12.5q-43 20 -43 59q0 72 84 72 q30 0 50 -4zM977 721h28l-7 -52h-29q-2 -17 -6.5 -40.5t-7 -38.5t-2.5 -18q0 -16 19 -16q8 0 16 2l-8 -47q-21 -7 -40 -7q-43 0 -45 47q0 12 8 56q3 20 25 146h55zM1180 648q0 -23 -7 -52h-111q-3 -22 10 -33t38 -11q30 0 58 14l-9 -54q-30 -8 -57 -8q-95 0 -95 95 q0 55 27.5 90.5t69.5 35.5q35 0 55.5 -21t20.5 -56zM1319 722q-13 -23 -22 -62q-22 2 -31 -24t-25 -128h-56l3 14q22 130 29 199h51l-3 -33q14 21 25.5 29.5t28.5 4.5zM1506 763l-9 -57q-28 14 -50 14q-31 0 -51 -27.5t-20 -70.5q0 -30 13.5 -47t38.5 -17q21 0 48 13 l-10 -59q-28 -8 -50 -8q-45 0 -71.5 30.5t-26.5 82.5q0 70 35.5 114.5t91.5 44.5q26 0 61 -13zM1668 663q0 -18 -4 -42q-13 -79 -17 -113h-46l1 22q-20 -26 -59 -26q-23 0 -37 16t-14 42q0 39 25.5 60.5t72.5 21.5q15 0 23 -1q2 7 2 13q0 20 -36 20q-29 0 -59 -10q0 4 8 48 q38 11 67 11q73 0 73 -62zM1809 722q-14 -24 -21 -62q-23 2 -31.5 -23t-25.5 -129h-56l3 14q19 104 29 199h52q0 -11 -4 -33q15 21 26.5 29.5t27.5 4.5zM1950 770h56l-43 -262h-53l3 19q-23 -23 -52 -23q-31 0 -49.5 24t-18.5 64q0 53 27.5 92t64.5 39q31 0 53 -29z M2061 640q0 148 -72.5 273t-198 198t-273.5 73q-181 0 -328 -110q127 -116 171 -284h-50q-44 150 -158 253q-114 -103 -158 -253h-50q44 168 171 284q-147 110 -328 110q-148 0 -273.5 -73t-198 -198t-72.5 -273t72.5 -273t198 -198t273.5 -73q181 0 328 110 q-120 111 -165 264h50q46 -138 152 -233q106 95 152 233h50q-45 -153 -165 -264q147 -110 328 -110q148 0 273.5 73t198 198t72.5 273zM2304 1280v-1280q0 -52 -38 -90t-90 -38h-2048q-52 0 -90 38t-38 90v1280q0 52 38 90t90 38h2048q52 0 90 -38t38 -90z" /> +<glyph unicode="" horiz-adv-x="2304" d="M313 759q0 -51 -36 -84q-29 -26 -89 -26h-17v220h17q61 0 89 -27q36 -31 36 -83zM2089 824q0 -52 -64 -52h-19v101h20q63 0 63 -49zM380 759q0 74 -50 120.5t-129 46.5h-95v-333h95q74 0 119 38q60 51 60 128zM410 593h65v333h-65v-333zM730 694q0 40 -20.5 62t-75.5 42 q-29 10 -39.5 19t-10.5 23q0 16 13.5 26.5t34.5 10.5q29 0 53 -27l34 44q-41 37 -98 37q-44 0 -74 -27.5t-30 -67.5q0 -35 18 -55.5t64 -36.5q37 -13 45 -19q19 -12 19 -34q0 -20 -14 -33.5t-36 -13.5q-48 0 -71 44l-42 -40q44 -64 115 -64q51 0 83 30.5t32 79.5zM1008 604 v77q-37 -37 -78 -37q-49 0 -80.5 32.5t-31.5 82.5q0 48 31.5 81.5t77.5 33.5q43 0 81 -38v77q-40 20 -80 20q-74 0 -125.5 -50.5t-51.5 -123.5t51 -123.5t125 -50.5q42 0 81 19zM2240 0v527q-65 -40 -144.5 -84t-237.5 -117t-329.5 -137.5t-417.5 -134.5t-504 -118h1569 q26 0 45 19t19 45zM1389 757q0 75 -53 128t-128 53t-128 -53t-53 -128t53 -128t128 -53t128 53t53 128zM1541 584l144 342h-71l-90 -224l-89 224h-71l142 -342h35zM1714 593h184v56h-119v90h115v56h-115v74h119v57h-184v-333zM2105 593h80l-105 140q76 16 76 94q0 47 -31 73 t-87 26h-97v-333h65v133h9zM2304 1274v-1268q0 -56 -38.5 -95t-93.5 -39h-2040q-55 0 -93.5 39t-38.5 95v1268q0 56 38.5 95t93.5 39h2040q55 0 93.5 -39t38.5 -95z" /> +<glyph unicode="" horiz-adv-x="2304" d="M119 854h89l-45 108zM740 328l74 79l-70 79h-163v-49h142v-55h-142v-54h159zM898 406l99 -110v217zM1186 453q0 33 -40 33h-84v-69h83q41 0 41 36zM1475 457q0 29 -42 29h-82v-61h81q43 0 43 32zM1197 923q0 29 -42 29h-82v-60h81q43 0 43 31zM1656 854h89l-44 108z M699 1009v-271h-66v212l-94 -212h-57l-94 212v-212h-132l-25 60h-135l-25 -60h-70l116 271h96l110 -257v257h106l85 -184l77 184h108zM1255 453q0 -20 -5.5 -35t-14 -25t-22.5 -16.5t-26 -10t-31.5 -4.5t-31.5 -1t-32.5 0.5t-29.5 0.5v-91h-126l-80 90l-83 -90h-256v271h260 l80 -89l82 89h207q109 0 109 -89zM964 794v-56h-217v271h217v-57h-152v-49h148v-55h-148v-54h152zM2304 235v-229q0 -55 -38.5 -94.5t-93.5 -39.5h-2040q-55 0 -93.5 39.5t-38.5 94.5v678h111l25 61h55l25 -61h218v46l19 -46h113l20 47v-47h541v99l10 1q10 0 10 -14v-86h279 v23q23 -12 55 -18t52.5 -6.5t63 0.5t51.5 1l25 61h56l25 -61h227v58l34 -58h182v378h-180v-44l-25 44h-185v-44l-23 44h-249q-69 0 -109 -22v22h-172v-22q-24 22 -73 22h-628l-43 -97l-43 97h-198v-44l-22 44h-169l-78 -179v391q0 55 38.5 94.5t93.5 39.5h2040 q55 0 93.5 -39.5t38.5 -94.5v-678h-120q-51 0 -81 -22v22h-177q-55 0 -78 -22v22h-316v-22q-31 22 -87 22h-209v-22q-23 22 -91 22h-234l-54 -58l-50 58h-349v-378h343l55 59l52 -59h211v89h21q59 0 90 13v-102h174v99h8q8 0 10 -2t2 -10v-87h529q57 0 88 24v-24h168 q60 0 95 17zM1546 469q0 -23 -12 -43t-34 -29q25 -9 34 -26t9 -46v-54h-65v45q0 33 -12 43.5t-46 10.5h-69v-99h-65v271h154q48 0 77 -15t29 -58zM1269 936q0 -24 -12.5 -44t-33.5 -29q26 -9 34.5 -25.5t8.5 -46.5v-53h-65q0 9 0.5 26.5t0 25t-3 18.5t-8.5 16t-17.5 8.5 t-29.5 3.5h-70v-98h-64v271l153 -1q49 0 78 -14.5t29 -57.5zM1798 327v-56h-216v271h216v-56h-151v-49h148v-55h-148v-54zM1372 1009v-271h-66v271h66zM2065 357q0 -86 -102 -86h-126v58h126q34 0 34 25q0 16 -17 21t-41.5 5t-49.5 3.5t-42 22.5t-17 55q0 39 26 60t66 21 h130v-57h-119q-36 0 -36 -25q0 -16 17.5 -20.5t42 -4t49 -2.5t42 -21.5t17.5 -54.5zM2304 407v-101q-24 -35 -88 -35h-125v58h125q33 0 33 25q0 13 -12.5 19t-31 5.5t-40 2t-40 8t-31 24t-12.5 48.5q0 39 26.5 60t66.5 21h129v-57h-118q-36 0 -36 -25q0 -20 29 -22t68.5 -5 t56.5 -26zM2139 1008v-270h-92l-122 203v-203h-132l-26 60h-134l-25 -60h-75q-129 0 -129 133q0 138 133 138h63v-59q-7 0 -28 1t-28.5 0.5t-23 -2t-21.5 -6.5t-14.5 -13.5t-11.5 -23t-3 -33.5q0 -38 13.5 -58t49.5 -20h29l92 213h97l109 -256v256h99l114 -188v188h66z" /> +<glyph unicode="" horiz-adv-x="2304" d="M322 689h-15q-19 0 -19 18q0 28 19 85q5 15 15 19.5t28 4.5q77 0 77 -49q0 -41 -30.5 -59.5t-74.5 -18.5zM664 528q-47 0 -47 29q0 62 123 62l3 -3q-5 -88 -79 -88zM1438 687h-15q-19 0 -19 19q0 28 19 85q5 15 14.5 19t28.5 4q77 0 77 -49q0 -41 -30.5 -59.5 t-74.5 -18.5zM1780 527q-47 0 -47 30q0 62 123 62l3 -3q-5 -89 -79 -89zM373 894h-128q-8 0 -14.5 -4t-8.5 -7.5t-7 -12.5q-3 -7 -45 -190t-42 -192q0 -7 5.5 -12.5t13.5 -5.5h62q25 0 32.5 34.5l15 69t32.5 34.5q47 0 87.5 7.5t80.5 24.5t63.5 52.5t23.5 84.5 q0 36 -14.5 61t-41 36.5t-53.5 15.5t-62 4zM719 798q-38 0 -74 -6q-2 0 -8.5 -1t-9 -1.5l-7.5 -1.5t-7.5 -2t-6.5 -3t-6.5 -4t-5 -5t-4.5 -7t-4 -9q-9 -29 -9 -39t9 -10q5 0 21.5 5t19.5 6q30 8 58 8q74 0 74 -36q0 -11 -10 -14q-8 -2 -18 -3t-21.5 -1.5t-17.5 -1.5 q-38 -4 -64.5 -10t-56.5 -19.5t-45.5 -39t-15.5 -62.5q0 -38 26 -59.5t64 -21.5q24 0 45.5 6.5t33 13t38.5 23.5q-3 -7 -3 -15t5.5 -13.5t12.5 -5.5h56q1 1 7 3.5t7.5 3.5t5 3.5t5 5.5t2.5 8l45 194q4 13 4 30q0 81 -145 81zM1247 793h-74q-22 0 -39 -23q-5 -7 -29.5 -51 t-46.5 -81.5t-26 -38.5l-5 4q0 77 -27 166q-1 5 -3.5 8.5t-6 6.5t-6.5 5t-8.5 3t-8.5 1.5t-9.5 1t-9 0.5h-10h-8.5q-38 0 -38 -21l1 -5q5 -53 25 -151t25 -143q2 -16 2 -24q0 -19 -30.5 -61.5t-30.5 -58.5q0 -13 40 -13q61 0 76 25l245 415q10 20 10 26q0 9 -8 9zM1489 892 h-129q-18 0 -29 -23q-6 -13 -46.5 -191.5t-40.5 -190.5q0 -20 43 -20h7.5h9h9t9.5 1t8.5 2t8.5 3t6.5 4.5t5.5 6t3 8.5l21 91q2 10 10.5 17t19.5 7q47 0 87.5 7t80.5 24.5t63.5 52.5t23.5 84q0 36 -14.5 61t-41 36.5t-53.5 15.5t-62 4zM1835 798q-26 0 -74 -6 q-38 -6 -48 -16q-7 -8 -11 -19q-8 -24 -8 -39q0 -10 8 -10q1 0 41 12q30 8 58 8q74 0 74 -36q0 -12 -10 -14q-4 -1 -57 -7q-38 -4 -64.5 -10t-56.5 -19.5t-45.5 -39t-15.5 -62.5t26 -58.5t64 -21.5q24 0 45 6t34 13t38 24q-3 -15 -3 -16q0 -5 2 -8.5t6.5 -5.5t8 -3.5 t10.5 -2t9.5 -0.5h9.5h8q42 0 48 25l45 194q3 15 3 31q0 81 -145 81zM2157 889h-55q-25 0 -33 -40q-10 -44 -36.5 -167t-42.5 -190v-5q0 -16 16 -18h1h57q10 0 18.5 6.5t10.5 16.5l83 374h-1l1 5q0 7 -5.5 12.5t-13.5 5.5zM2304 1280v-1280q0 -52 -38 -90t-90 -38h-2048 q-52 0 -90 38t-38 90v1280q0 52 38 90t90 38h2048q52 0 90 -38t38 -90z" /> +<glyph unicode="" horiz-adv-x="2304" d="M1597 633q0 -69 -21 -106q-19 -35 -52 -35q-23 0 -41 9v224q29 30 57 30q57 0 57 -122zM2035 669h-110q6 98 56 98q51 0 54 -98zM476 534q0 59 -33 91.5t-101 57.5q-36 13 -52 24t-16 25q0 26 38 26q58 0 124 -33l18 112q-67 32 -149 32q-77 0 -123 -38q-48 -39 -48 -109 q0 -58 32.5 -90.5t99.5 -56.5q39 -14 54.5 -25.5t15.5 -27.5q0 -31 -48 -31q-29 0 -70 12.5t-72 30.5l-18 -113q72 -41 168 -41q81 0 129 37q51 41 51 117zM771 749l19 111h-96v135l-129 -21l-18 -114l-46 -8l-17 -103h62v-219q0 -84 44 -120q38 -30 111 -30q32 0 79 11v118 q-32 -7 -44 -7q-42 0 -42 50v197h77zM1087 724v139q-15 3 -28 3q-32 0 -55.5 -16t-33.5 -46l-10 56h-131v-471h150v306q26 31 82 31q16 0 26 -2zM1124 389h150v471h-150v-471zM1746 638q0 122 -45 179q-40 52 -111 52q-64 0 -117 -56l-8 47h-132v-645l150 25v151 q36 -11 68 -11q83 0 134 56q61 65 61 202zM1278 986q0 33 -23 56t-56 23t-56 -23t-23 -56t23 -56.5t56 -23.5t56 23.5t23 56.5zM2176 629q0 113 -48 176q-50 64 -144 64q-96 0 -151.5 -66t-55.5 -180q0 -128 63 -188q55 -55 161 -55q101 0 160 40l-16 103q-57 -31 -128 -31 q-43 0 -63 19q-23 19 -28 66h248q2 14 2 52zM2304 1280v-1280q0 -52 -38 -90t-90 -38h-2048q-52 0 -90 38t-38 90v1280q0 52 38 90t90 38h2048q52 0 90 -38t38 -90z" /> +<glyph unicode="" horiz-adv-x="2048" d="M1558 684q61 -356 298 -556q0 -52 -38 -90t-90 -38h-448q0 -106 -75 -181t-181 -75t-180.5 74.5t-75.5 180.5zM1024 -176q16 0 16 16t-16 16q-59 0 -101.5 42.5t-42.5 101.5q0 16 -16 16t-16 -16q0 -73 51.5 -124.5t124.5 -51.5zM2026 1424q8 -10 7.5 -23.5t-10.5 -22.5 l-1872 -1622q-10 -8 -23.5 -7t-21.5 11l-84 96q-8 10 -7.5 23.5t10.5 21.5l186 161q-19 32 -19 66q50 42 91 88t85 119.5t74.5 158.5t50 206t19.5 260q0 152 117 282.5t307 158.5q-8 19 -8 39q0 40 28 68t68 28t68 -28t28 -68q0 -20 -8 -39q124 -18 219 -82.5t148 -157.5 l418 363q10 8 23.5 7t21.5 -11z" /> +<glyph unicode="" horiz-adv-x="2048" d="M1040 -160q0 16 -16 16q-59 0 -101.5 42.5t-42.5 101.5q0 16 -16 16t-16 -16q0 -73 51.5 -124.5t124.5 -51.5q16 0 16 16zM503 315l877 760q-42 88 -132.5 146.5t-223.5 58.5q-93 0 -169.5 -31.5t-121.5 -80.5t-69 -103t-24 -105q0 -384 -137 -645zM1856 128 q0 -52 -38 -90t-90 -38h-448q0 -106 -75 -181t-181 -75t-180.5 74.5t-75.5 180.5l149 129h757q-166 187 -227 459l111 97q61 -356 298 -556zM1942 1520l84 -96q8 -10 7.5 -23.5t-10.5 -22.5l-1872 -1622q-10 -8 -23.5 -7t-21.5 11l-84 96q-8 10 -7.5 23.5t10.5 21.5l186 161 q-19 32 -19 66q50 42 91 88t85 119.5t74.5 158.5t50 206t19.5 260q0 152 117 282.5t307 158.5q-8 19 -8 39q0 40 28 68t68 28t68 -28t28 -68q0 -20 -8 -39q124 -18 219 -82.5t148 -157.5l418 363q10 8 23.5 7t21.5 -11z" /> +<glyph unicode="" horiz-adv-x="1408" d="M512 160v704q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-704q0 -14 9 -23t23 -9h64q14 0 23 9t9 23zM768 160v704q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-704q0 -14 9 -23t23 -9h64q14 0 23 9t9 23zM1024 160v704q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-704 q0 -14 9 -23t23 -9h64q14 0 23 9t9 23zM480 1152h448l-48 117q-7 9 -17 11h-317q-10 -2 -17 -11zM1408 1120v-64q0 -14 -9 -23t-23 -9h-96v-948q0 -83 -47 -143.5t-113 -60.5h-832q-66 0 -113 58.5t-47 141.5v952h-96q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h309l70 167 q15 37 54 63t79 26h320q40 0 79 -26t54 -63l70 -167h309q14 0 23 -9t9 -23z" /> +<glyph unicode="" d="M1150 462v-109q0 -50 -36.5 -89t-94 -60.5t-118 -32.5t-117.5 -11q-205 0 -342.5 139t-137.5 346q0 203 136 339t339 136q34 0 75.5 -4.5t93 -18t92.5 -34t69 -56.5t28 -81v-109q0 -16 -16 -16h-118q-16 0 -16 16v70q0 43 -65.5 67.5t-137.5 24.5q-140 0 -228.5 -91.5 t-88.5 -237.5q0 -151 91.5 -249.5t233.5 -98.5q68 0 138 24t70 66v70q0 7 4.5 11.5t10.5 4.5h119q6 0 11 -4.5t5 -11.5zM768 1280q-130 0 -248.5 -51t-204 -136.5t-136.5 -204t-51 -248.5t51 -248.5t136.5 -204t204 -136.5t248.5 -51t248.5 51t204 136.5t136.5 204t51 248.5 t-51 248.5t-136.5 204t-204 136.5t-248.5 51zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" /> +<glyph unicode="" d="M972 761q0 108 -53.5 169t-147.5 61q-63 0 -124 -30.5t-110 -84.5t-79.5 -137t-30.5 -180q0 -112 53.5 -173t150.5 -61q96 0 176 66.5t122.5 166t42.5 203.5zM1536 640q0 -111 -37 -197t-98.5 -135t-131.5 -74.5t-145 -27.5q-6 0 -15.5 -0.5t-16.5 -0.5q-95 0 -142 53 q-28 33 -33 83q-52 -66 -131.5 -110t-173.5 -44q-161 0 -249.5 95.5t-88.5 269.5q0 157 66 290t179 210.5t246 77.5q87 0 155 -35.5t106 -99.5l2 19l11 56q1 6 5.5 12t9.5 6h118q5 0 13 -11q5 -5 3 -16l-120 -614q-5 -24 -5 -48q0 -39 12.5 -52t44.5 -13q28 1 57 5.5t73 24 t77 50t57 89.5t24 137q0 292 -174 466t-466 174q-130 0 -248.5 -51t-204 -136.5t-136.5 -204t-51 -248.5t51 -248.5t136.5 -204t204 -136.5t248.5 -51q228 0 405 144q11 9 24 8t21 -12l41 -49q8 -12 7 -24q-2 -13 -12 -22q-102 -83 -227.5 -128t-258.5 -45q-156 0 -298 61 t-245 164t-164 245t-61 298t61 298t164 245t245 164t298 61q344 0 556 -212t212 -556z" /> +<glyph unicode="" horiz-adv-x="1792" d="M1698 1442q94 -94 94 -226.5t-94 -225.5l-225 -223l104 -104q10 -10 10 -23t-10 -23l-210 -210q-10 -10 -23 -10t-23 10l-105 105l-603 -603q-37 -37 -90 -37h-203l-256 -128l-64 64l128 256v203q0 53 37 90l603 603l-105 105q-10 10 -10 23t10 23l210 210q10 10 23 10 t23 -10l104 -104l223 225q93 94 225.5 94t226.5 -94zM512 64l576 576l-192 192l-576 -576v-192h192z" /> +<glyph unicode="" horiz-adv-x="1792" d="M1615 1536q70 0 122.5 -46.5t52.5 -116.5q0 -63 -45 -151q-332 -629 -465 -752q-97 -91 -218 -91q-126 0 -216.5 92.5t-90.5 219.5q0 128 92 212l638 579q59 54 130 54zM706 502q39 -76 106.5 -130t150.5 -76l1 -71q4 -213 -129.5 -347t-348.5 -134q-123 0 -218 46.5 t-152.5 127.5t-86.5 183t-29 220q7 -5 41 -30t62 -44.5t59 -36.5t46 -17q41 0 55 37q25 66 57.5 112.5t69.5 76t88 47.5t103 25.5t125 10.5z" /> +<glyph unicode="" horiz-adv-x="1792" d="M1792 128v-384h-1792v384q45 0 85 14t59 27.5t47 37.5q30 27 51.5 38t56.5 11t55.5 -11t52.5 -38q29 -25 47 -38t58 -27t86 -14q45 0 85 14.5t58 27t48 37.5q21 19 32.5 27t31 15t43.5 7q35 0 56.5 -11t51.5 -38q28 -24 47 -37.5t59 -27.5t85 -14t85 14t59 27.5t47 37.5 q30 27 51.5 38t56.5 11q34 0 55.5 -11t51.5 -38q28 -24 47 -37.5t59 -27.5t85 -14zM1792 448v-192q-35 0 -55.5 11t-52.5 38q-29 25 -47 38t-58 27t-85 14q-46 0 -86 -14t-58 -27t-47 -38q-22 -19 -33 -27t-31 -15t-44 -7q-35 0 -56.5 11t-51.5 38q-29 25 -47 38t-58 27 t-86 14q-45 0 -85 -14.5t-58 -27t-48 -37.5q-21 -19 -32.5 -27t-31 -15t-43.5 -7q-35 0 -56.5 11t-51.5 38q-28 24 -47 37.5t-59 27.5t-85 14q-46 0 -86 -14t-58 -27t-47 -38q-30 -27 -51.5 -38t-56.5 -11v192q0 80 56 136t136 56h64v448h256v-448h256v448h256v-448h256v448 h256v-448h64q80 0 136 -56t56 -136zM512 1312q0 -77 -36 -118.5t-92 -41.5q-53 0 -90.5 37.5t-37.5 90.5q0 29 9.5 51t23.5 34t31 28t31 31.5t23.5 44.5t9.5 67q38 0 83 -74t45 -150zM1024 1312q0 -77 -36 -118.5t-92 -41.5q-53 0 -90.5 37.5t-37.5 90.5q0 29 9.5 51 t23.5 34t31 28t31 31.5t23.5 44.5t9.5 67q38 0 83 -74t45 -150zM1536 1312q0 -77 -36 -118.5t-92 -41.5q-53 0 -90.5 37.5t-37.5 90.5q0 29 9.5 51t23.5 34t31 28t31 31.5t23.5 44.5t9.5 67q38 0 83 -74t45 -150z" /> +<glyph unicode="" horiz-adv-x="2048" d="M2048 0v-128h-2048v1536h128v-1408h1920zM1664 1024l256 -896h-1664v576l448 576l576 -576z" /> +<glyph unicode="" horiz-adv-x="1792" d="M768 646l546 -546q-106 -108 -247.5 -168t-298.5 -60q-209 0 -385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103v-762zM955 640h773q0 -157 -60 -298.5t-168 -247.5zM1664 768h-768v768q209 0 385.5 -103t279.5 -279.5t103 -385.5z" /> +<glyph unicode="" horiz-adv-x="2048" d="M2048 0v-128h-2048v1536h128v-1408h1920zM1920 1248v-435q0 -21 -19.5 -29.5t-35.5 7.5l-121 121l-633 -633q-10 -10 -23 -10t-23 10l-233 233l-416 -416l-192 192l585 585q10 10 23 10t23 -10l233 -233l464 464l-121 121q-16 16 -7.5 35.5t29.5 19.5h435q14 0 23 -9 t9 -23z" /> +<glyph unicode="" horiz-adv-x="1792" d="M1292 832q0 -6 10 -41q10 -29 25 -49.5t41 -34t44 -20t55 -16.5q325 -91 325 -332q0 -146 -105.5 -242.5t-254.5 -96.5q-59 0 -111.5 18.5t-91.5 45.5t-77 74.5t-63 87.5t-53.5 103.5t-43.5 103t-39.5 106.5t-35.5 95q-32 81 -61.5 133.5t-73.5 96.5t-104 64t-142 20 q-96 0 -183 -55.5t-138 -144.5t-51 -185q0 -160 106.5 -279.5t263.5 -119.5q177 0 258 95q56 63 83 116l84 -152q-15 -34 -44 -70l1 -1q-131 -152 -388 -152q-147 0 -269.5 79t-190.5 207.5t-68 274.5q0 105 43.5 206t116 176.5t172 121.5t204.5 46q87 0 159 -19t123.5 -50 t95 -80t72.5 -99t58.5 -117t50.5 -124.5t50 -130.5t55 -127q96 -200 233 -200q81 0 138.5 48.5t57.5 128.5q0 42 -19 72t-50.5 46t-72.5 31.5t-84.5 27t-87.5 34t-81 52t-65 82t-39 122.5q-3 16 -3 33q0 110 87.5 192t198.5 78q78 -3 120.5 -14.5t90.5 -53.5h-1 q12 -11 23 -24.5t26 -36t19 -27.5l-129 -99q-26 49 -54 70v1q-23 21 -97 21q-49 0 -84 -33t-35 -83z" /> +<glyph unicode="" d="M1432 484q0 173 -234 239q-35 10 -53 16.5t-38 25t-29 46.5q0 2 -2 8.5t-3 12t-1 7.5q0 36 24.5 59.5t60.5 23.5q54 0 71 -15h-1q20 -15 39 -51l93 71q-39 54 -49 64q-33 29 -67.5 39t-85.5 10q-80 0 -142 -57.5t-62 -137.5q0 -7 2 -23q16 -96 64.5 -140t148.5 -73 q29 -8 49 -15.5t45 -21.5t38.5 -34.5t13.5 -46.5v-5q1 -58 -40.5 -93t-100.5 -35q-97 0 -167 144q-23 47 -51.5 121.5t-48 125.5t-54 110.5t-74 95.5t-103.5 60.5t-147 24.5q-101 0 -192 -56t-144 -148t-50 -192v-1q4 -108 50.5 -199t133.5 -147.5t196 -56.5q186 0 279 110 q20 27 31 51l-60 109q-42 -80 -99 -116t-146 -36q-115 0 -191 87t-76 204q0 105 82 189t186 84q112 0 170 -53.5t104 -172.5q8 -21 25.5 -68.5t28.5 -76.5t31.5 -74.5t38.5 -74t45.5 -62.5t55.5 -53.5t66 -33t80 -13.5q107 0 183 69.5t76 174.5zM1536 1120v-960 q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" /> +<glyph unicode="" horiz-adv-x="2048" d="M1152 640q0 104 -40.5 198.5t-109.5 163.5t-163.5 109.5t-198.5 40.5t-198.5 -40.5t-163.5 -109.5t-109.5 -163.5t-40.5 -198.5t40.5 -198.5t109.5 -163.5t163.5 -109.5t198.5 -40.5t198.5 40.5t163.5 109.5t109.5 163.5t40.5 198.5zM1920 640q0 104 -40.5 198.5 t-109.5 163.5t-163.5 109.5t-198.5 40.5h-386q119 -90 188.5 -224t69.5 -288t-69.5 -288t-188.5 -224h386q104 0 198.5 40.5t163.5 109.5t109.5 163.5t40.5 198.5zM2048 640q0 -130 -51 -248.5t-136.5 -204t-204 -136.5t-248.5 -51h-768q-130 0 -248.5 51t-204 136.5 t-136.5 204t-51 248.5t51 248.5t136.5 204t204 136.5t248.5 51h768q130 0 248.5 -51t204 -136.5t136.5 -204t51 -248.5z" /> +<glyph unicode="" horiz-adv-x="2048" d="M0 640q0 130 51 248.5t136.5 204t204 136.5t248.5 51h768q130 0 248.5 -51t204 -136.5t136.5 -204t51 -248.5t-51 -248.5t-136.5 -204t-204 -136.5t-248.5 -51h-768q-130 0 -248.5 51t-204 136.5t-136.5 204t-51 248.5zM1408 128q104 0 198.5 40.5t163.5 109.5 t109.5 163.5t40.5 198.5t-40.5 198.5t-109.5 163.5t-163.5 109.5t-198.5 40.5t-198.5 -40.5t-163.5 -109.5t-109.5 -163.5t-40.5 -198.5t40.5 -198.5t109.5 -163.5t163.5 -109.5t198.5 -40.5z" /> +<glyph unicode="" horiz-adv-x="2304" d="M762 384h-314q-40 0 -57.5 35t6.5 67l188 251q-65 31 -137 31q-132 0 -226 -94t-94 -226t94 -226t226 -94q115 0 203 72.5t111 183.5zM576 512h186q-18 85 -75 148zM1056 512l288 384h-480l-99 -132q105 -103 126 -252h165zM2176 448q0 132 -94 226t-226 94 q-60 0 -121 -24l174 -260q15 -23 10 -49t-27 -40q-15 -11 -36 -11q-35 0 -53 29l-174 260q-93 -95 -93 -225q0 -132 94 -226t226 -94t226 94t94 226zM2304 448q0 -185 -131.5 -316.5t-316.5 -131.5t-316.5 131.5t-131.5 316.5q0 97 39.5 183.5t109.5 149.5l-65 98l-353 -469 q-18 -26 -51 -26h-197q-23 -164 -149 -274t-294 -110q-185 0 -316.5 131.5t-131.5 316.5t131.5 316.5t316.5 131.5q114 0 215 -55l137 183h-224q-26 0 -45 19t-19 45t19 45t45 19h384v-128h435l-85 128h-222q-26 0 -45 19t-19 45t19 45t45 19h256q33 0 53 -28l267 -400 q91 44 192 44q185 0 316.5 -131.5t131.5 -316.5z" /> +<glyph unicode="" d="M384 320q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1408 320q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1362 716l-72 384q-5 23 -22.5 37.5t-40.5 14.5 h-918q-23 0 -40.5 -14.5t-22.5 -37.5l-72 -384q-5 -30 14 -53t49 -23h1062q30 0 49 23t14 53zM1136 1328q0 20 -14 34t-34 14h-640q-20 0 -34 -14t-14 -34t14 -34t34 -14h640q20 0 34 14t14 34zM1536 603v-603h-128v-128q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5 t-37.5 90.5v128h-768v-128q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5v128h-128v603q0 112 25 223l103 454q9 78 97.5 137t230 89t312.5 30t312.5 -30t230 -89t97.5 -137l105 -454q23 -102 23 -223z" /> +<glyph unicode="" horiz-adv-x="2048" d="M1463 704q0 -35 -25 -60.5t-61 -25.5h-702q-36 0 -61 25.5t-25 60.5t25 60.5t61 25.5h702q36 0 61 -25.5t25 -60.5zM1677 704q0 86 -23 170h-982q-36 0 -61 25t-25 60q0 36 25 61t61 25h908q-88 143 -235 227t-320 84q-177 0 -327.5 -87.5t-238 -237.5t-87.5 -327 q0 -86 23 -170h982q36 0 61 -25t25 -60q0 -36 -25 -61t-61 -25h-908q88 -143 235.5 -227t320.5 -84q132 0 253 51.5t208 139t139 208t52 253.5zM2048 959q0 -35 -25 -60t-61 -25h-131q17 -85 17 -170q0 -167 -65.5 -319.5t-175.5 -263t-262.5 -176t-319.5 -65.5 q-246 0 -448.5 133t-301.5 350h-189q-36 0 -61 25t-25 61q0 35 25 60t61 25h132q-17 85 -17 170q0 167 65.5 319.5t175.5 263t262.5 176t320.5 65.5q245 0 447.5 -133t301.5 -350h188q36 0 61 -25t25 -61z" /> +<glyph unicode="" horiz-adv-x="1280" d="M953 1158l-114 -328l117 -21q165 451 165 518q0 56 -38 56q-57 0 -130 -225zM654 471l33 -88q37 42 71 67l-33 5.5t-38.5 7t-32.5 8.5zM362 1367q0 -98 159 -521q18 10 49 10q15 0 75 -5l-121 351q-75 220 -123 220q-19 0 -29 -17.5t-10 -37.5zM283 608q0 -36 51.5 -119 t117.5 -153t100 -70q14 0 25.5 13t11.5 27q0 24 -32 102q-13 32 -32 72t-47.5 89t-61.5 81t-62 32q-20 0 -45.5 -27t-25.5 -47zM125 273q0 -41 25 -104q59 -145 183.5 -227t281.5 -82q227 0 382 170q152 169 152 427q0 43 -1 67t-11.5 62t-30.5 56q-56 49 -211.5 75.5 t-270.5 26.5q-37 0 -49 -11q-12 -5 -12 -35q0 -34 21.5 -60t55.5 -40t77.5 -23.5t87.5 -11.5t85 -4t70 0h23q24 0 40 -19q15 -19 19 -55q-28 -28 -96 -54q-61 -22 -93 -46q-64 -46 -108.5 -114t-44.5 -137q0 -31 18.5 -88.5t18.5 -87.5l-3 -12q-4 -12 -4 -14 q-137 10 -146 216q-8 -2 -41 -2q2 -7 2 -21q0 -53 -40.5 -89.5t-94.5 -36.5q-82 0 -166.5 78t-84.5 159q0 34 33 67q52 -64 60 -76q77 -104 133 -104q12 0 26.5 8.5t14.5 20.5q0 34 -87.5 145t-116.5 111q-43 0 -70 -44.5t-27 -90.5zM11 264q0 101 42.5 163t136.5 88 q-28 74 -28 104q0 62 61 123t122 61q29 0 70 -15q-163 462 -163 567q0 80 41 130.5t119 50.5q131 0 325 -581q6 -17 8 -23q6 16 29 79.5t43.5 118.5t54 127.5t64.5 123t70.5 86.5t76.5 36q71 0 112 -49t41 -122q0 -108 -159 -550q61 -15 100.5 -46t58.5 -78t26 -93.5 t7 -110.5q0 -150 -47 -280t-132 -225t-211 -150t-278 -55q-111 0 -223 42q-149 57 -258 191.5t-109 286.5z" /> +<glyph unicode="" horiz-adv-x="2048" d="M785 528h207q-14 -158 -98.5 -248.5t-214.5 -90.5q-162 0 -254.5 116t-92.5 316q0 194 93 311.5t233 117.5q148 0 232 -87t97 -247h-203q-5 64 -35.5 99t-81.5 35q-57 0 -88.5 -60.5t-31.5 -177.5q0 -48 5 -84t18 -69.5t40 -51.5t66 -18q95 0 109 139zM1497 528h206 q-14 -158 -98 -248.5t-214 -90.5q-162 0 -254.5 116t-92.5 316q0 194 93 311.5t233 117.5q148 0 232 -87t97 -247h-204q-4 64 -35 99t-81 35q-57 0 -88.5 -60.5t-31.5 -177.5q0 -48 5 -84t18 -69.5t39.5 -51.5t65.5 -18q49 0 76.5 38t33.5 101zM1856 647q0 207 -15.5 307 t-60.5 161q-6 8 -13.5 14t-21.5 15t-16 11q-86 63 -697 63q-625 0 -710 -63q-5 -4 -17.5 -11.5t-21 -14t-14.5 -14.5q-45 -60 -60 -159.5t-15 -308.5q0 -208 15 -307.5t60 -160.5q6 -8 15 -15t20.5 -14t17.5 -12q44 -33 239.5 -49t470.5 -16q610 0 697 65q5 4 17 11t20.5 14 t13.5 16q46 60 61 159t15 309zM2048 1408v-1536h-2048v1536h2048z" /> +<glyph unicode="" d="M992 912v-496q0 -14 -9 -23t-23 -9h-160q-14 0 -23 9t-9 23v496q0 112 -80 192t-192 80h-272v-1152q0 -14 -9 -23t-23 -9h-160q-14 0 -23 9t-9 23v1344q0 14 9 23t23 9h464q135 0 249 -66.5t180.5 -180.5t66.5 -249zM1376 1376v-880q0 -135 -66.5 -249t-180.5 -180.5 t-249 -66.5h-464q-14 0 -23 9t-9 23v960q0 14 9 23t23 9h160q14 0 23 -9t9 -23v-768h272q112 0 192 80t80 192v880q0 14 9 23t23 9h160q14 0 23 -9t9 -23z" /> +<glyph unicode="" d="M1311 694v-114q0 -24 -13.5 -38t-37.5 -14h-202q-24 0 -38 14t-14 38v114q0 24 14 38t38 14h202q24 0 37.5 -14t13.5 -38zM821 464v250q0 53 -32.5 85.5t-85.5 32.5h-133q-68 0 -96 -52q-28 52 -96 52h-130q-53 0 -85.5 -32.5t-32.5 -85.5v-250q0 -22 21 -22h55 q22 0 22 22v230q0 24 13.5 38t38.5 14h94q24 0 38 -14t14 -38v-230q0 -22 21 -22h54q22 0 22 22v230q0 24 14 38t38 14h97q24 0 37.5 -14t13.5 -38v-230q0 -22 22 -22h55q21 0 21 22zM1410 560v154q0 53 -33 85.5t-86 32.5h-264q-53 0 -86 -32.5t-33 -85.5v-410 q0 -21 22 -21h55q21 0 21 21v180q31 -42 94 -42h191q53 0 86 32.5t33 85.5zM1536 1176v-1072q0 -96 -68 -164t-164 -68h-1072q-96 0 -164 68t-68 164v1072q0 96 68 164t164 68h1072q96 0 164 -68t68 -164z" /> +<glyph unicode="" horiz-adv-x="1792" /> +<glyph unicode="" horiz-adv-x="1792" /> +<glyph unicode="" horiz-adv-x="1792" /> +</font> +</defs></svg> \ No newline at end of file diff --git a/latest/_static/fonts/fontawesome-webfont.ttf b/latest/_static/fonts/fontawesome-webfont.ttf new file mode 100644 index 000000000000..96a3639cdde5 Binary files /dev/null and b/latest/_static/fonts/fontawesome-webfont.ttf differ diff --git a/latest/_static/fonts/fontawesome-webfont.woff b/latest/_static/fonts/fontawesome-webfont.woff new file mode 100644 index 000000000000..628b6a52a87e Binary files /dev/null and b/latest/_static/fonts/fontawesome-webfont.woff differ diff --git a/latest/_static/images/datastore-logo.png b/latest/_static/images/datastore-logo.png deleted file mode 100644 index a0fc0a0a0e9a..000000000000 Binary files a/latest/_static/images/datastore-logo.png and /dev/null differ diff --git a/latest/_static/images/icon-arrow-bullet.svg b/latest/_static/images/icon-arrow-bullet.svg deleted file mode 100644 index dd9acb566eb8..000000000000 --- a/latest/_static/images/icon-arrow-bullet.svg +++ /dev/null @@ -1,7 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Generator: Adobe Illustrator 15.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> -<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> -<svg version="1.1" id="Camada_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" - width="10px" height="10px" viewBox="1 -0.5 10 10" enable-background="new 1 -0.5 10 10" xml:space="preserve"> -<polygon fill="#020202" points="5.745,4.594 2.708,7.632 4.576,9.5 9.48,4.594 4.387,-0.5 2.52,1.369 "/> -</svg> diff --git a/latest/_static/images/icon-dropdown-faq.svg b/latest/_static/images/icon-dropdown-faq.svg deleted file mode 100644 index 786bcdc7d131..000000000000 --- a/latest/_static/images/icon-dropdown-faq.svg +++ /dev/null @@ -1,7 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Generator: Adobe Illustrator 15.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> -<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> -<svg version="1.1" id="Camada_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" - width="12px" height="9px" viewBox="0 0 12 9" enable-background="new 0 0 12 9" xml:space="preserve"> -<polygon fill="#4285F4" points="5.887,4.194 2.242,0.549 0,2.791 5.887,8.677 12,2.564 9.758,0.323 "/> -</svg> diff --git a/latest/_static/images/icon-dropdown.svg b/latest/_static/images/icon-dropdown.svg deleted file mode 100644 index 3642565ff6b5..000000000000 --- a/latest/_static/images/icon-dropdown.svg +++ /dev/null @@ -1,7 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Generator: Adobe Illustrator 15.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> -<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> -<svg version="1.1" id="Camada_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" - width="12px" height="9px" viewBox="0 0 12 9" enable-background="new 0 0 12 9" xml:space="preserve"> -<polygon fill="#FFFFFF" points="5.887,4.194 2.242,0.549 0,2.791 5.887,8.677 12,2.564 9.758,0.323 "/> -</svg> diff --git a/latest/_static/images/icon-lang-dotnet.svg b/latest/_static/images/icon-lang-dotnet.svg deleted file mode 100644 index 490a7f7101c1..000000000000 --- a/latest/_static/images/icon-lang-dotnet.svg +++ /dev/null @@ -1,18 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<svg version="1.1" id="_x2E_NET_logo" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" - y="0px" width="24px" height="24px" viewBox="0 0 24 24" style="enable-background:new 0 0 24 24;" xml:space="preserve"> -<style type="text/css"> - .st0{fill:#FFFFFF;} -</style> -<g> - <path class="st0" d="M3.8,15.1c-0.2,0-0.3-0.1-0.4-0.2c-0.1-0.1-0.2-0.3-0.2-0.4c0-0.2,0.1-0.3,0.2-0.4s0.3-0.2,0.4-0.2 - c0.2,0,0.3,0.1,0.5,0.2c0.1,0.1,0.2,0.3,0.2,0.4c0,0.2-0.1,0.3-0.2,0.4C4.1,15.1,4,15.1,3.8,15.1z"/> - <path class="st0" d="M10.9,15H9.8l-3-4.6c-0.1-0.1-0.1-0.2-0.2-0.4h0c0,0.1,0,0.4,0,0.9V15h-1V8.7h1.2l2.9,4.5 - c0.1,0.2,0.2,0.3,0.2,0.4h0c0-0.2,0-0.5,0-0.8V8.7h1V15z"/> - <path class="st0" d="M16,15h-3.5V8.7h3.4v0.9h-2.4v1.8h2.2v0.9h-2.2v1.9H16V15z"/> - <path class="st0" d="M21.2,9.6h-1.8V15h-1V9.6h-1.8V8.7h4.7V9.6z"/> -</g> -<g> - <path class="st0" d="M23,1v22H1V1H23 M24,0H0v24h24V0L24,0z"/> -</g> -</svg> diff --git a/latest/_static/images/icon-lang-java-duke.svg b/latest/_static/images/icon-lang-java-duke.svg deleted file mode 100644 index e91633e9cc08..000000000000 --- a/latest/_static/images/icon-lang-java-duke.svg +++ /dev/null @@ -1,49 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Generator: Adobe Illustrator 19.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> -<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> -<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" - width="24px" height="24px" viewBox="0 0 24 24" enable-background="new 0 0 24 24;" xml:space="preserve"> -<style type="text/css"> - .st0{fill:#FFFFFF;} - .st1{fill:none;} -</style> -<g> - <g> - <path class="st0" d="M15,0c0.2,0,0.4,0,0.5,0C15.8,0.1,16,0.3,16,0.5c0.1,0.4,0.2,0.8,0.3,1.2c0.1,0.3,0.1,0.6,0.4,0.9 - c0.1-0.4,0.2-0.8,0.4-1.2c0.2-0.4,0.4-0.7,0.9-0.8c0.4-0.1,0.7,0.1,0.7,0.6c0,0.2-0.1,0.5-0.2,0.7c-0.3,0.6-0.4,1.3-0.2,2 - c0.1,0.5,0.2,1,0.2,1.6c-0.1,0.4-0.3,0.7-0.6,1c-0.1,0.1-0.3,0.2-0.4,0.4c-0.2,0.3-0.3,0.6-0.3,0.9c0,0.6,0,1.1,0,1.7 - c0,0.3-0.1,0.6-0.3,0.9c-0.3,0.4-0.4,0.9-0.5,1.4c0,0.5,0.1,1.1,0.3,1.6c0.3,0.6,0.5,1.3,0.7,1.9c0.4,1.1,0.6,2.3,0.7,3.5 - c0.1,0.6,0.1,1.2,0.1,1.8c0,0.4,0,0.8-0.1,1.2c0,0.5-0.1,1-0.3,1.4c-0.1,0.3-0.2,0.5-0.5,0.7c-0.2,0.1-0.4,0.2-0.7,0.3 - c-0.3,0-0.6,0-0.9-0.3c-0.2-0.3-0.4-0.5-0.6-0.8c-0.4-0.5-0.7-1.1-1.2-1.5c-0.5-0.5-1.1-0.7-1.8-0.6c-0.5,0.1-1,0.3-1.4,0.6 - c-0.7,0.5-1.3,1-1.9,1.5c-0.4,0.3-0.8,0.6-1.2,0.7c-0.4,0.1-0.8,0-0.9-0.5c-0.1-0.4-0.1-0.7-0.1-1.1c0-0.3,0-0.7,0-1 - c-0.1,0-0.2,0.1-0.3,0.1c-0.4,0-0.7-0.1-0.9-0.5c0-0.1,0-0.3,0-0.4c0-0.1,0.1-0.1,0.1-0.2c0.2-0.3,0.4-0.6,0.6-0.9 - c0.4-0.5,0.5-1.1,0.4-1.7c-0.1-0.3-0.2-0.7-0.3-1c-0.1-0.4-0.1-0.8,0-1.2s0.3-0.7,0.6-1c0.5-0.6,0.8-1.2,1.1-1.9 - c0.3-0.8,0.3-1.6,0.4-2.5c0-0.4,0.1-0.9,0.1-1.3c0-0.5,0.1-1.1,0.1-1.6c0-1.1,0-2.2,0-3.3c0-0.2,0-0.3-0.1-0.5 - c0-0.2-0.1-0.4-0.1-0.6c0.1,0,0.1,0,0.1,0.1C8.9,3.1,9.5,3.5,10,3.9c0.5,0.4,0.9,0.9,1.4,1.4c0.4,0.4,0.7,0.8,1.1,1.2 - c0.4,0.5,0.8,0.9,1.1,1.4c0.5,0.6,0.9,1.3,1.3,2c0.2,0.3,0.4,0.4,0.7,0.3c0.4-0.1,0.8-0.3,0.9-0.8c0.2-0.7,0.1-1.3-0.1-2 - c-0.1-0.2-0.2-0.3-0.4-0.3c-0.4,0-0.7-0.2-1-0.4c-0.3-0.2-0.6-0.3-1-0.2c-0.1,0-0.3,0.1-0.5,0.1c-0.1,0-0.3,0-0.4,0 - c-0.3-0.2-0.4-0.7-0.1-1c0.2-0.2,0.4-0.3,0.6-0.4c0.2-0.1,0.4-0.1,0.6-0.2c-0.2-0.2-0.3-0.4-0.5-0.6c-0.5-0.6-0.8-1.3-1-2.1 - c-0.1-0.5-0.1-0.9,0.3-1.1C13.5,1,13.8,1,14,1.4c0.2,0.3,0.3,0.7,0.5,1.1c0.1,0.2,0.3,0.4,0.4,0.5c0,0,0,0,0.1,0 - c0-0.2-0.1-0.4-0.1-0.5c-0.1-0.5-0.2-0.9-0.2-1.4c0-0.1,0-0.3,0-0.4C14.7,0.3,14.8,0.1,15,0z M13.6,9.6c0,0.2,0.1,0.5,0.1,0.7 - c0,0.4-0.1,0.9-0.3,1.3c-0.4,0.7-1,1.1-1.7,1.3c-0.4,0.1-0.7,0.1-1.1,0.1c-0.6-0.1-1-0.3-1.4-0.8C9.1,12.1,9,12,8.9,12 - c-0.1,0.1-0.1,0.1-0.2,0.2c-0.2,0.7-0.3,1.4-0.5,2.2c-0.1,0.7-0.3,1.4-0.4,2.2c-0.1,0.5-0.2,1.1-0.3,1.6c-0.1,0.5-0.2,0.9-0.2,1.4 - c-0.1,0.4-0.1,0.8-0.1,1.3c-0.1,0.5-0.1,1.1,0,1.6c0.1,0.4,0.2,0.5,0.6,0.3c0.3-0.2,0.6-0.4,0.9-0.6c0.4-0.3,0.8-0.7,1.1-1 - c0.7-0.5,1.4-1,2.3-1.1c0.4,0,0.8,0,1.2,0.1c0.7,0.3,1.3,0.8,1.7,1.4c0.4,0.5,0.7,1,1,1.5c0.1,0.1,0.2,0.2,0.3,0.2 - c0.4,0.1,0.6,0,0.8-0.4c0.1-0.2,0.1-0.3,0.1-0.5c0.1-0.7,0.1-1.4,0.2-2c0-0.7,0-1.3-0.1-2c-0.1-0.5-0.2-1.1-0.3-1.6 - c-0.2-0.7-0.4-1.3-0.6-2c-0.3-0.9-0.7-1.8-1.1-2.7c-0.4-0.8-0.9-1.6-1.3-2.4c-0.1-0.2-0.2-0.2-0.4-0.1C13.7,9.5,13.6,9.6,13.6,9.6 - z M11.4,8.8c-0.1,0-0.2,0-0.4,0c-0.5,0.1-0.9,0.3-1.3,0.6C9.3,9.8,9,10.3,9.1,10.9c0.1,0.5,0.3,0.9,0.7,1.1c0.5,0.3,1,0.4,1.5,0.3 - c0.4-0.1,0.8-0.2,1.2-0.5c0.5-0.5,0.7-1,0.6-1.7c0-0.4-0.2-0.7-0.4-0.9C12.3,8.9,11.9,8.7,11.4,8.8z M7,17.1c0-0.1,0-0.2,0-0.2 - c0.1-0.6,0.2-1.2,0.3-1.8c0-0.1,0.1-0.3,0-0.4C6.8,15.2,6.4,16,7,17.1z"/> - <path class="st1" d="M13.6,9.6c0.1,0,0.1,0,0.2,0c0.1,0,0.3,0,0.4,0.1c0.4,0.8,0.9,1.6,1.3,2.4c0.4,0.9,0.8,1.8,1.1,2.7 - c0.2,0.6,0.4,1.3,0.6,2c0.1,0.5,0.2,1.1,0.3,1.6c0.1,0.7,0.1,1.3,0.1,2c0,0.7-0.1,1.4-0.2,2c0,0.2-0.1,0.4-0.1,0.5 - c-0.1,0.3-0.4,0.5-0.8,0.4c-0.1,0-0.2-0.1-0.3-0.2c-0.4-0.5-0.7-1-1-1.5c-0.5-0.6-1-1.1-1.7-1.4c-0.4-0.1-0.8-0.2-1.2-0.1 - c-0.9,0.1-1.6,0.5-2.3,1.1c-0.4,0.3-0.8,0.7-1.1,1c-0.3,0.2-0.6,0.4-0.9,0.6c-0.4,0.2-0.5,0.1-0.6-0.3c-0.1-0.5,0-1.1,0-1.6 - c0.1-0.4,0.1-0.8,0.1-1.3c0.1-0.5,0.1-0.9,0.2-1.4c0.1-0.5,0.2-1.1,0.3-1.6c0.1-0.7,0.3-1.4,0.4-2.2s0.3-1.4,0.5-2.2 - c0-0.1,0.1-0.1,0.2-0.2c0.1,0,0.1,0.1,0.2,0.1c0.4,0.4,0.9,0.7,1.4,0.8c0.4,0.1,0.8,0,1.1-0.1c0.7-0.2,1.3-0.6,1.7-1.3 - c0.2-0.4,0.3-0.8,0.3-1.3C13.7,10,13.6,9.8,13.6,9.6z"/> - <path class="st1" d="M9.9,10c0.2,0,0.5-0.2,0.6-0.4c0-0.1,0-0.2-0.1-0.2c-0.2,0-0.5,0.2-0.5,0.4C9.7,9.9,9.7,10,9.9,10z"/> - <path class="st1" d="M7,17.1c-0.6-1.2-0.3-1.9,0.3-2.5c0.1,0.1,0.1,0.3,0,0.4c-0.1,0.6-0.2,1.2-0.3,1.8C7.1,17,7.1,17,7,17.1z"/> - <path class="st0" d="M9.9,10c-0.2,0-0.2-0.1-0.1-0.2c0.1-0.2,0.4-0.4,0.5-0.4c0.1,0,0.2,0.1,0.1,0.2C10.4,9.8,10,10,9.9,10z"/> - </g> -</g> -</svg> diff --git a/latest/_static/images/icon-lang-nodejs.svg b/latest/_static/images/icon-lang-nodejs.svg deleted file mode 100644 index 24a4addc3c57..000000000000 --- a/latest/_static/images/icon-lang-nodejs.svg +++ /dev/null @@ -1,16 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Generator: Adobe Illustrator 15.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> -<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> -<svg version="1.1" id="Camada_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" - width="24px" height="24px" viewBox="0 0 24 24" enable-background="new 0 0 24 24" xml:space="preserve"> -<g> - <polygon fill="#FFFFFF" points="12.518,17.611 17.118,14.957 17.121,9.467 12.425,12.176 "/> - <polygon fill="#FFFFFF" points="12.105,11.517 16.755,8.835 12.004,6.091 7.261,8.828 "/> - <polygon fill="#FFFFFF" points="6.986,14.945 11.785,17.609 11.695,12.245 6.895,9.472 "/> - <polygon fill="#FFFFFF" points="6.895,9.46 6.895,9.472 11.695,12.245 11.693,12.124 "/> - <path fill="#FFFFFF" d="M22.393,6.001L22.393,6.001L12.007,0h-0.001l0,0L1.611,5.996V6L1.604,6.005l0.008,0.439L1.607,17.996 - L11.998,24l0.303-0.175l0.021,0.011l0.139-0.104l9.932-5.729l0.004-12L22.393,6.001z M21.662,17.582l-9.014,5.199l-0.067-4.014 - H11.85l0.067,4.01l-9.388-5.211L2.349,6.847l3.535,2.042l0.497-0.65L2.715,6.203l9.291-5.359l9.293,5.369l-3.592,2.072l0.41,0.607 - l3.549-2.047L21.662,17.582z"/> -</g> -</svg> diff --git a/latest/_static/images/icon-lang-python.svg b/latest/_static/images/icon-lang-python.svg deleted file mode 100644 index bc4737703c35..000000000000 --- a/latest/_static/images/icon-lang-python.svg +++ /dev/null @@ -1,21 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Generator: Adobe Illustrator 15.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> -<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> -<svg version="1.1" id="Camada_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" - width="24px" height="24px" viewBox="0 0 24 24" enable-background="new 0 0 24 24" xml:space="preserve"> -<g id="Layer_7"> - <g> - <path id="path1948_1_" fill="#FFFFFF" d="M11.859,0C10.88,0.005,9.945,0.089,9.123,0.234C6.7,0.662,6.26,1.558,6.26,3.21v2.182 - h5.726V6.12H6.26H4.111c-1.664,0-3.121,1-3.576,2.903c-0.526,2.181-0.549,3.542,0,5.819c0.407,1.695,1.378,2.902,3.043,2.902 - h1.968v-2.616c0-1.89,1.635-3.557,3.577-3.557h5.719c1.592,0,2.862-1.31,2.862-2.909V3.21c0-1.551-1.31-2.717-2.862-2.977 - C13.857,0.07,12.837-0.004,11.859,0z M8.762,1.756c0.591,0,1.075,0.491,1.075,1.094c0,0.601-0.483,1.087-1.075,1.087 - c-0.594,0-1.074-0.486-1.074-1.087C7.688,2.247,8.168,1.756,8.762,1.756z"/> - <path id="path1950_1_" fill="#FFFFFF" d="M18.418,6.12v2.543c0,1.971-1.671,3.629-3.576,3.629H9.123 - c-1.566,0-2.863,1.341-2.863,2.91v5.452c0,1.551,1.349,2.463,2.863,2.908c1.812,0.533,3.55,0.631,5.719,0 - c1.441-0.416,2.862-1.256,2.862-2.908v-2.184h-5.718v-0.728h5.718h2.862c1.664,0,2.285-1.16,2.863-2.902 - c0.598-1.794,0.571-3.519,0-5.819c-0.412-1.657-1.197-2.903-2.863-2.903L18.418,6.12L18.418,6.12z M15.201,19.926 - c0.595,0,1.074,0.486,1.074,1.088c0,0.604-0.479,1.096-1.074,1.096c-0.59,0-1.073-0.491-1.073-1.096 - C14.128,20.412,14.611,19.926,15.201,19.926z"/> - </g> -</g> -</svg> diff --git a/latest/_static/images/icon-lang-ruby.svg b/latest/_static/images/icon-lang-ruby.svg deleted file mode 100644 index 5f4e5a25d893..000000000000 --- a/latest/_static/images/icon-lang-ruby.svg +++ /dev/null @@ -1,15 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Generator: Adobe Illustrator 14.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 43363) --> -<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> -<svg version="1.1" id="Ruby" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" - width="24px" height="24px" viewBox="0 0 24 24" enable-background="new 0 0 24 24" xml:space="preserve"> -<path fill="#FFFFFF" d="M23.512,7.685l-3.188-3.967C20.324,3.718,17.938,0,12,0C6.062,0,3.676,3.718,3.676,3.718L0.488,7.685 - L0,9.503l0.492,1.834L12,24l11.508-12.663L24,9.503L23.512,7.685z M12,1.25c4.479,0,7.229,2.087,7.229,3.373 - c0,1.287-2.75,3.083-7.229,3.083c-4.479,0-7.229-1.796-7.229-3.083C4.771,3.337,7.521,1.25,12,1.25z M1.576,10.8L1.263,9.633 - L1.602,8.37L3.22,6.355l-1.23,4.901L1.576,10.8z M4.086,6.354c0.647,0.942,1.816,1.664,3.226,2.151l-4.464,2.776L4.086,6.354z - M2.978,12.35L7.6,9.475l-1.57,6.25L2.978,12.35z M8.403,9.753l2.878,6.263H6.83L8.403,9.753z M11.453,21.72L7,16.797h4.453V21.72z - M8.977,8.952C9.954,9.146,10.984,9.246,12,9.246c1.016,0,2.046-0.1,3.023-0.294L12,15.53L8.977,8.952z M12.547,21.72v-4.923H17 - L12.547,21.72z M12.719,16.016l2.878-6.263l1.573,6.263H12.719z M17.971,15.725l-1.57-6.25l4.621,2.875L17.971,15.725z - M16.688,8.505c1.41-0.487,2.58-1.209,3.227-2.151l1.238,4.927L16.688,8.505z M22.424,10.8l-0.414,0.456l-1.23-4.901l1.619,2.015 - l0.338,1.263L22.424,10.8z"/> -</svg> diff --git a/latest/_static/images/icon-link-github.svg b/latest/_static/images/icon-link-github.svg deleted file mode 100644 index 2404f8b0be06..000000000000 --- a/latest/_static/images/icon-link-github.svg +++ /dev/null @@ -1,19 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Generator: Adobe Illustrator 15.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> -<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> -<svg version="1.1" id="Camada_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" - width="16px" height="16px" viewBox="0 0 16 16" enable-background="new 0 0 16 16" xml:space="preserve"> -<path fill="#010101" d="M2.231,7.326c-0.025,0,0.279,0.644,0.287,0.644c0.664,1.185,1.942,1.921,4.101,2.124 - c-0.308,0.23-0.679,0.666-0.729,1.17c-0.387,0.246-1.166,0.326-1.771,0.139C3.271,11.14,2.945,9.489,1.675,9.725 - C1.4,9.775,1.455,9.953,1.692,10.105c0.388,0.246,0.752,0.554,1.033,1.209c0.215,0.504,0.67,1.404,2.104,1.404 - c0.569,0,0.969-0.068,0.969-0.068s0.011,1.285,0.011,1.785c0,0.576-0.791,0.739-0.791,1.016c0,0.109,0.262,0.121,0.472,0.121 - c0.416,0,1.282-0.342,1.282-0.941c0-0.475,0.008-2.074,0.008-2.355c0-0.611,0.334-0.805,0.334-0.805s0.041,3.266-0.08,3.704 - c-0.143,0.515-0.398,0.441-0.398,0.671c0,0.342,1.041,0.085,1.387-0.666c0.268-0.582,0.15-3.788,0.15-3.788l0.285-0.007 - c0,0,0.016,1.468,0.006,2.139c-0.01,0.694-0.059,1.572,0.361,1.986c0.275,0.273,1.17,0.75,1.17,0.314c0-0.254-0.49-0.463-0.49-1.148 - v-3.161c0.391,0,0.332,1.039,0.332,1.039l0.029,1.931c0,0-0.087,0.703,0.773,0.998c0.305,0.104,0.953,0.133,0.984-0.043 - s-0.782-0.437-0.789-0.98c-0.006-0.332,0.015-0.527,0.015-1.971s-0.198-1.978-0.886-2.402c2.121-0.215,3.436-0.73,4.074-2.111 - c0.051,0.002,0.262-0.646,0.234-0.646c0.143-0.521,0.221-1.138,0.236-1.868c-0.004-1.982-0.969-2.683-1.154-3.012 - c0.273-1.5-0.045-2.182-0.193-2.416c-0.547-0.191-1.902,0.492-2.643,0.973c-1.207-0.348-3.758-0.313-4.715,0.09 - C4.038-0.146,3.104,0.043,3.104,0.043s-0.604,1.063-0.16,2.619C2.364,3.39,1.931,3.904,1.931,5.269 - C1.932,6.038,2.024,6.727,2.231,7.326z"/> -</svg> diff --git a/latest/_static/images/icon-link-package-manager.svg b/latest/_static/images/icon-link-package-manager.svg deleted file mode 100644 index 3a12655fe6f9..000000000000 --- a/latest/_static/images/icon-link-package-manager.svg +++ /dev/null @@ -1,19 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Generator: Adobe Illustrator 15.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> -<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> -<svg version="1.1" id="Camada_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" - width="16px" height="16px" viewBox="0 0 16 16" enable-background="new 0 0 16 16" xml:space="preserve"> -<g> - <g> - <path d="M8,1.759l7,2v8.618l-7,1.869l-7-1.869V3.759L8,1.759 M8,0.719L0,3.005v10.14l8,2.137l8-2.137V3.005L8,0.719L8,0.719z"/> - </g> - <g> - <path d="M9,2.022l6,1.737v8.618l-6,1.603V2 M8,0.719v14.562l8-2.137V3.005L8,0.719L8,0.719z"/> - </g> - <g> - <g> - <path d="M8,1.759l6.051,1.729L8,5.102L1.949,3.488L8,1.759 M8,0.719L0,3.005v0.998l8,2.134l8-2.134V3.005L8,0.719L8,0.719z"/> - </g> - </g> -</g> -</svg> diff --git a/latest/_static/images/icon-link-stackoverflow.svg b/latest/_static/images/icon-link-stackoverflow.svg deleted file mode 100644 index e1a1f789a897..000000000000 --- a/latest/_static/images/icon-link-stackoverflow.svg +++ /dev/null @@ -1,16 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Generator: Adobe Illustrator 15.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> -<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> -<svg version="1.1" id="Camada_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" - width="16px" height="16px" viewBox="0 0 16 16" enable-background="new 0 0 16 16" xml:space="preserve"> -<g> - <rect x="3.699" y="12.517" width="6.317" height="1.349"/> - <rect x="9.919" y="2.553" transform="matrix(-0.171 -0.9853 0.9853 -0.171 12.134 16.6649)" width="6.318" height="1.35"/> - <polygon points="10.045,12.128 3.754,11.549 3.878,10.205 10.168,10.785 "/> - <rect x="4.199" y="8.182" transform="matrix(-0.9657 -0.2596 0.2596 -0.9657 12.1634 19.3181)" width="6.317" height="1.349"/> - <polygon points="10.693,8.644 5.252,5.434 5.938,4.272 11.379,7.48 "/> - <polygon points="11.598,7.296 8.039,2.077 9.154,1.317 12.713,6.536 "/> - <polygon points="11.076,9.403 11.076,14.967 2.792,14.967 2.792,9.403 1.717,9.403 1.717,15.979 1.735,15.979 2.05,15.979 - 12.15,15.979 12.15,16 12.15,15.685 12.15,9.403 "/> -</g> -</svg> diff --git a/latest/_static/images/icon-menu.svg b/latest/_static/images/icon-menu.svg deleted file mode 100644 index 98d3e7073cde..000000000000 --- a/latest/_static/images/icon-menu.svg +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Generator: Adobe Illustrator 15.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> -<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> -<svg version="1.1" id="Camada_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" - width="24px" height="19.524px" viewBox="0 0 24 19.524" enable-background="new 0 0 24 19.524" xml:space="preserve"> -<g> - <rect y="15.438" fill="#FFFFFF" width="24" height="4.063"/> - <rect fill="#FFFFFF" width="24" height="4.063"/> - <rect y="7.313" fill="#FFFFFF" width="24" height="4.063"/> -</g> -</svg> diff --git a/latest/_static/images/icon-table-check.svg b/latest/_static/images/icon-table-check.svg deleted file mode 100644 index 7934bef97f06..000000000000 --- a/latest/_static/images/icon-table-check.svg +++ /dev/null @@ -1,7 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Generator: Adobe Illustrator 15.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> -<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> -<svg version="1.1" id="Camada_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" - width="16px" height="16px" viewBox="0 0 16 16" enable-background="new 0 0 16 16" xml:space="preserve"> -<polygon fill="#24B25D" points="5.969,10.247 1.846,6.126 0,7.972 5.969,13.938 16,3.907 14.154,2.062 "/> -</svg> diff --git a/latest/_static/images/lang-bg.png b/latest/_static/images/lang-bg.png deleted file mode 100644 index 654e12af3418..000000000000 Binary files a/latest/_static/images/lang-bg.png and /dev/null differ diff --git a/latest/_static/images/logo-full.svg b/latest/_static/images/logo-full.svg deleted file mode 100644 index 3b84037fccc6..000000000000 --- a/latest/_static/images/logo-full.svg +++ /dev/null @@ -1,112 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Generator: Adobe Illustrator 15.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> -<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> -<svg version="1.1" id="Camada_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" - width="300px" height="40px" viewBox="0 0 300 40" enable-background="new 0 0 300 40" xml:space="preserve"> -<g> - <path fill="#FFFFFF" d="M26.963,19.866c0-3.138-2.543-5.681-5.681-5.681c-3.138,0-5.681,2.543-5.681,5.681 - c0,3.136,2.543,5.681,5.681,5.681C24.419,25.547,26.963,23.002,26.963,19.866"/> - <path fill="#FFFFFF" d="M42.057,17.958l-4.921-8.522c-0.018-0.031-0.04-0.059-0.06-0.088L33.31,2.822 - c-0.701-1.214-1.972-1.893-3.28-1.895H12.535c-1.402,0-2.625,0.762-3.28,1.894l-4.919,8.523l0,0l4.372,7.572L14.722,8.5 - l20.773,0.001c0.654,0,1.289,0.339,1.64,0.946h-8.738l6.007,10.404l-6.57,11.377h-0.001l-3.818,6.614 - c-0.328,0.564-0.938,0.945-1.639,0.945l4.365-7.562H14.722l-6.05-10.479l0,0L8.16,19.864l0.001-0.001l-3.826-6.626 - c-0.325-0.564-0.35-1.28-0.004-1.884l-3.824,6.619c-0.701,1.214-0.653,2.654,0,3.789l8.747,15.15 - c0.701,1.213,1.972,1.894,3.28,1.894h9.841c0.072,0,0.142-0.007,0.211-0.015h7.441c1.402,0,2.626-0.763,3.281-1.894l8.747-15.149 - C42.757,20.532,42.709,19.091,42.057,17.958 M12.535,6.043c-0.628,0-1.137-0.509-1.137-1.138c0-0.628,0.509-1.137,1.137-1.137 - s1.138,0.509,1.138,1.137C13.673,5.534,13.164,6.043,12.535,6.043 M30.598,5.891c-0.544,0.314-1.24,0.127-1.553-0.416 - c-0.314-0.544-0.128-1.24,0.416-1.554s1.239-0.128,1.554,0.416C31.329,4.881,31.143,5.577,30.598,5.891 M4.772,20.625 - c-0.313,0.543-1.009,0.73-1.553,0.417c-0.544-0.313-0.729-1.01-0.417-1.554c0.314-0.544,1.009-0.73,1.554-0.417 - C4.9,19.385,5.087,20.081,4.772,20.625 M13.103,36.191c-0.544,0.313-1.24,0.127-1.554-0.416c-0.314-0.545-0.127-1.24,0.417-1.555 - c0.544-0.316,1.239-0.128,1.554,0.418C13.833,35.182,13.647,35.877,13.103,36.191 M30.028,36.344c-0.628,0-1.137-0.508-1.137-1.137 - c0-0.627,0.509-1.137,1.137-1.137c0.628,0,1.138,0.51,1.138,1.137C31.166,35.836,30.656,36.344,30.028,36.344 M39.761,20.625 - c-0.314,0.544-1.01,0.73-1.554,0.416s-0.73-1.009-0.416-1.553c0.313-0.544,1.009-0.73,1.553-0.417 - C39.889,19.386,40.075,20.082,39.761,20.625"/> - <path fill="#FFFFFF" d="M159.484,13.827c-2.064,0-3.689,0.661-4.877,1.982c-1.187,1.322-1.778,3.131-1.778,5.427 - c0,2.351,0.56,4.175,1.678,5.474c1.119,1.299,2.718,1.949,4.798,1.949c1.381,0,2.65-0.179,3.807-0.529v1.015 - c-1.088,0.383-2.447,0.573-4.076,0.573c-2.313,0-4.133-0.747-5.463-2.241c-1.327-1.494-1.992-3.58-1.992-6.261 - c0-1.675,0.316-3.15,0.952-4.426c0.634-1.276,1.546-2.262,2.735-2.956s2.573-1.042,4.149-1.042c1.606,0,3.044,0.301,4.313,0.901 - l-0.463,1.036C162.066,14.127,160.807,13.827,159.484,13.827"/> - <rect x="166.27" y="11.968" fill="#FFFFFF" width="1.115" height="17.524"/> - <path fill="#FFFFFF" d="M171.715,23.354c0,1.683,0.37,2.994,1.109,3.937c0.738,0.942,1.785,1.414,3.137,1.414 - s2.396-0.472,3.137-1.414c0.738-0.94,1.108-2.254,1.108-3.937c0-1.688-0.374-2.999-1.121-3.93 - c-0.747-0.931-1.796-1.396-3.147-1.396c-1.351,0-2.393,0.463-3.125,1.391C172.081,20.346,171.715,21.656,171.715,23.354 - M181.377,23.354c0,1.998-0.484,3.558-1.453,4.681c-0.968,1.123-2.304,1.684-4.009,1.684c-1.074,0-2.021-0.26-2.838-0.776 - c-0.818-0.518-1.444-1.262-1.88-2.23c-0.437-0.967-0.653-2.086-0.653-3.355c0-1.998,0.483-3.551,1.452-4.667 - c0.969-1.115,2.298-1.672,3.986-1.672c1.683,0,3.002,0.565,3.959,1.695S181.377,21.387,181.377,23.354"/> - <path fill="#FFFFFF" d="M185.505,17.25v7.928c0,1.232,0.259,2.127,0.776,2.688c0.518,0.559,1.32,0.838,2.41,0.838 - c1.455,0,2.527-0.367,3.215-1.104c0.688-0.735,1.029-1.934,1.029-3.592V17.25h1.104v12.24h-0.944l-0.203-1.688h-0.067 - c-0.796,1.275-2.212,1.914-4.245,1.914c-2.786,0-4.178-1.489-4.178-4.471V17.25H185.505z"/> - <path fill="#FFFFFF" d="M202.393,18.027c-1.338,0-2.342,0.47-3.014,1.408s-1.009,2.301-1.009,4.088 - c0,3.467,1.348,5.201,4.043,5.201c1.382,0,2.396-0.4,3.041-1.203c0.646-0.806,0.969-2.129,0.969-3.978v-0.19 - c0-1.894-0.317-3.252-0.952-4.083C204.836,18.442,203.811,18.027,202.393,18.027 M202.393,17.014c0.885,0,1.65,0.162,2.297,0.484 - c0.646,0.323,1.223,0.875,1.733,1.656h0.067c-0.045-0.946-0.067-1.874-0.067-2.782v-4.403h1.103v17.523h-0.73l-0.281-1.871h-0.09 - c-0.932,1.396-2.268,2.096-4.01,2.096c-1.688,0-2.98-0.525-3.873-1.576c-0.895-1.053-1.341-2.584-1.341-4.596 - c0-2.117,0.442-3.735,1.329-4.853C199.414,17.573,200.702,17.014,202.393,17.014"/> - <path fill="#FFFFFF" d="M218.598,21.697h2.262c1.854,0,3.195-0.305,4.021-0.918c0.825-0.611,1.238-1.604,1.238-2.979 - c0-1.269-0.391-2.209-1.171-2.821s-1.989-0.917-3.626-0.917h-2.725V21.697L218.598,21.697z M227.357,17.757 - c0,1.592-0.541,2.812-1.623,3.659c-1.08,0.85-2.611,1.273-4.594,1.273h-2.545v6.803h-1.147V13.027h4.03 - C225.396,13.027,227.357,14.604,227.357,17.757"/> - <rect x="230.426" y="11.968" fill="#FFFFFF" width="1.115" height="17.524"/> - <path fill="#FFFFFF" d="M238.338,28.703c1.307,0,2.337-0.373,3.092-1.121c0.754-0.746,1.131-1.785,1.131-3.113v-1.205l-2.14,0.09 - c-1.72,0.082-2.944,0.353-3.677,0.806c-0.732,0.455-1.098,1.161-1.098,2.123c0,0.766,0.233,1.36,0.703,1.784 - C236.818,28.49,237.48,28.703,238.338,28.703 M242.842,29.49l-0.281-1.936h-0.09c-0.615,0.788-1.248,1.346-1.896,1.672 - c-0.649,0.325-1.417,0.489-2.303,0.489c-1.203,0-2.138-0.309-2.806-0.924s-1.002-1.467-1.002-2.558c0-1.192,0.497-2.12,1.492-2.78 - c0.994-0.66,2.435-1.011,4.317-1.047l2.332-0.068v-0.812c0-1.163-0.236-2.042-0.709-2.634c-0.475-0.593-1.235-0.889-2.287-0.889 - c-1.133,0-2.309,0.315-3.524,0.946l-0.416-0.968c1.345-0.63,2.672-0.947,3.985-0.947c1.345,0,2.349,0.35,3.014,1.048 - c0.664,0.698,0.996,1.787,0.996,3.267v8.141H242.842z"/> - <path fill="#FFFFFF" d="M250.63,28.725c0.705,0,1.321-0.059,1.847-0.18v0.9c-0.541,0.182-1.164,0.271-1.869,0.271 - c-1.082,0-1.879-0.289-2.394-0.866c-0.515-0.578-0.771-1.486-0.771-2.728v-7.904h-1.813v-0.653l1.813-0.507l0.563-2.77h0.574v2.962 - h3.593v0.968h-3.593v7.748c0,0.938,0.165,1.634,0.495,2.082C249.404,28.5,249.924,28.725,250.63,28.725"/> - <path fill="#FFFFFF" d="M259.441,18.219h-2.883V29.49h-1.115V18.219h-2.274v-0.653l2.274-0.417v-0.946 - c0-1.501,0.275-2.603,0.828-3.305c0.552-0.702,1.453-1.053,2.709-1.053c0.675,0,1.351,0.102,2.025,0.304l-0.259,0.968 - c-0.601-0.188-1.198-0.281-1.791-0.281c-0.87,0-1.487,0.257-1.853,0.771c-0.364,0.515-0.547,1.35-0.547,2.506v1.138h2.883v0.968 - H259.441z"/> - <path fill="#FFFFFF" d="M262.037,23.354c0,1.683,0.37,2.994,1.109,3.937c0.738,0.942,1.785,1.414,3.137,1.414 - c1.351,0,2.396-0.472,3.136-1.414c0.739-0.94,1.108-2.254,1.108-3.937c0-1.688-0.373-2.999-1.119-3.93 - c-0.747-0.931-1.797-1.396-3.147-1.396c-1.352,0-2.394,0.463-3.125,1.391C262.402,20.346,262.037,21.656,262.037,23.354 - M271.699,23.354c0,1.998-0.483,3.558-1.452,4.681c-0.97,1.123-2.306,1.684-4.009,1.684c-1.074,0-2.021-0.26-2.838-0.776 - c-0.818-0.518-1.445-1.262-1.881-2.23c-0.437-0.967-0.653-2.086-0.653-3.355c0-1.998,0.483-3.551,1.452-4.667 - c0.97-1.115,2.298-1.672,3.986-1.672c1.682,0,3.002,0.565,3.959,1.695C271.22,19.842,271.699,21.387,271.699,23.354"/> - <path fill="#FFFFFF" d="M279.68,17.014c0.518,0,1.072,0.053,1.665,0.158l-0.214,1.07c-0.511-0.127-1.039-0.192-1.587-0.192 - c-1.044,0-1.899,0.443-2.567,1.329c-0.668,0.886-1.002,2.004-1.002,3.355v6.759h-1.115V17.25h0.945l0.113,2.207h0.078 - c0.503-0.901,1.04-1.534,1.609-1.897C278.177,17.196,278.868,17.014,279.68,17.014"/> - <path fill="#FFFFFF" d="M298.896,29.49v-8.029c0-1.192-0.232-2.063-0.697-2.612c-0.467-0.548-1.18-0.822-2.141-0.822 - c-1.254,0-2.182,0.345-2.781,1.036c-0.602,0.69-0.9,1.775-0.9,3.253v7.174h-1.138v-8.367c0-2.063-0.945-3.096-2.839-3.096 - c-1.282,0-2.219,0.374-2.803,1.121c-0.586,0.747-0.88,1.942-0.88,3.586v6.756h-1.114V17.25h0.924l0.236,1.678h0.067 - c0.338-0.608,0.817-1.079,1.44-1.414c0.623-0.333,1.311-0.501,2.062-0.501c1.929,0,3.168,0.725,3.716,2.174h0.047 - c0.396-0.698,0.932-1.235,1.604-1.61c0.671-0.375,1.436-0.563,2.292-0.563c1.336,0,2.338,0.357,3.006,1.07s1.003,1.847,1.003,3.4 - v8.007L298.896,29.49L298.896,29.49z"/> - <path fill="#FFFFFF" d="M117.465,24.746c0.694-0.701,0.757-1.672,0.757-2.219c0-2.181-1.305-5.579-3.809-5.579 - c-0.79,0-1.634,0.391-2.119,0.999c-0.514,0.638-0.667,1.453-0.667,2.246c0,2.032,1.181,5.407,3.784,5.407 - C116.16,25.6,116.979,25.234,117.465,24.746 M116.585,30.512c-0.239-0.027-0.392-0.027-0.69-0.027c-0.275,0-1.91,0.056-3.178,0.48 - c-0.666,0.246-2.602,0.979-2.602,3.129c0,2.152,2.093,3.707,5.327,3.707c2.895,0,4.44-1.402,4.44-3.281 - C119.882,32.971,118.886,32.158,116.585,30.512 M118.735,17.034c0.692,0.582,2.146,1.792,2.146,4.099 - c0,2.248-1.276,3.309-2.544,4.314c-0.388,0.396-0.843,0.816-0.843,1.488c0,0.666,0.455,1.026,0.786,1.301l1.089,0.85 - c1.329,1.123,2.541,2.15,2.541,4.252c0,2.848-2.754,5.734-7.955,5.734c-4.381,0-6.497-2.094-6.497-4.344 - c0-1.088,0.54-2.633,2.33-3.701c1.87-1.15,4.412-1.305,5.771-1.396c-0.419-0.545-0.911-1.123-0.911-2.063 - c0-0.514,0.156-0.82,0.307-1.182c-0.336,0.03-0.666,0.059-0.97,0.059c-3.205,0-5.016-2.4-5.016-4.766 - c0-1.401,0.639-2.943,1.935-4.064c1.72-1.432,3.777-1.674,5.411-1.674h6.228l-1.937,1.092L118.735,17.034L118.735,17.034z"/> - <path fill="#FFFFFF" d="M103.471,27.572c0.726-0.971,0.912-2.176,0.912-3.367c0-2.666-1.27-7.753-5.011-7.753 - c-1,0-1.996,0.39-2.722,1.029c-1.175,1.058-1.391,2.39-1.391,3.697c0,3.002,1.484,7.939,5.137,7.939 - C101.568,29.117,102.779,28.545,103.471,27.572 M99.699,30.025c-4.799,0-7.364-3.76-7.364-7.15c0-3.971,3.227-7.365,7.818-7.365 - c4.435,0,7.212,3.486,7.212,7.15C107.365,26.236,104.621,30.025,99.699,30.025"/> - <path fill="#FFFFFF" d="M87.112,27.572c0.729-0.971,0.904-2.176,0.904-3.367c0-2.666-1.264-7.753-5.011-7.753 - c-0.996,0-1.987,0.39-2.714,1.029c-1.177,1.058-1.389,2.39-1.389,3.697c0,3.002,1.478,7.939,5.128,7.939 - C85.21,29.117,86.419,28.545,87.112,27.572 M83.338,30.025c-4.802,0-7.364-3.76-7.364-7.15c0-3.971,3.227-7.365,7.817-7.365 - c4.438,0,7.217,3.486,7.217,7.15C91.009,26.236,88.26,30.025,83.338,30.025"/> - <path fill="#FFFFFF" d="M128.327,28.68c-1.004-0.098-1.214-0.281-1.214-1.465v-0.34V9.969c0.009-0.068,0.012-0.131,0.02-0.197 - c0.122-1.071,0.428-1.248,1.365-1.802h-4.34l-2.279,1.097h2.324v0.016L124.2,9.078v17.797v1.01c0,0.609-0.122,0.697-0.822,1.607 - h5.372l1.131-0.67C129.361,28.77,128.843,28.732,128.327,28.68"/> - <path fill="#FFFFFF" d="M137.846,19.938c0.573-0.213,0.874-0.392,0.874-0.813c0-1.216-1.356-2.61-2.985-2.61 - c-1.207,0-3.469,0.945-3.469,4.211c0,0.515,0.066,1.058,0.091,1.597L137.846,19.938z M140.677,28.955 - c-0.332,0.184-0.666,0.398-0.997,0.545c-0.991,0.459-2.016,0.574-2.921,0.574c-0.964,0-2.468-0.057-4.015-1.186 - c-2.129-1.503-3.074-4.111-3.074-6.382c0-4.689,3.804-6.987,6.907-6.987c1.086,0,2.208,0.276,3.103,0.845 - c1.507,0.996,1.904,2.297,2.109,2.995l-7.076,2.875l-2.327,0.184c0.752,3.846,3.348,6.084,6.214,6.084 - c1.533,0,2.646-0.545,3.673-1.055L140.677,28.955z"/> - <path fill="#FFFFFF" d="M73.664,29.551l-4.337,1.006c-1.762,0.273-3.337,0.523-5.006,0.523c-8.376,0-11.56-6.191-11.56-11.035 - c0-5.911,4.521-11.392,12.254-11.392c1.64,0,3.223,0.242,4.647,0.637c2.271,0.641,3.339,1.439,4.002,1.888l-2.513,2.405 - l-1.063,0.245l0.756-1.218c-1.035-1.004-2.913-2.856-6.492-2.856c-4.796,0-8.406,3.653-8.406,8.984 - c0,5.728,4.128,11.118,10.741,11.118c1.945,0,2.945-0.397,3.856-0.764v-4.902l-4.583,0.238l2.423-1.305h6.433l-0.785,0.764 - c-0.213,0.178-0.246,0.238-0.304,0.48c-0.031,0.279-0.062,1.166-0.062,1.471L73.664,29.551L73.664,29.551z"/> -</g> -</svg> diff --git a/latest/_static/images/logo.svg b/latest/_static/images/logo.svg deleted file mode 100644 index 6c515095c5ad..000000000000 --- a/latest/_static/images/logo.svg +++ /dev/null @@ -1,25 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Generator: Adobe Illustrator 15.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> -<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> -<svg version="1.1" id="Camada_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" - width="43.176px" height="40px" viewBox="0 0 43.176 40" enable-background="new 0 0 43.176 40" xml:space="preserve"> -<g> - <path fill="#FFFFFF" d="M27.27,20.001c0-3.138-2.543-5.682-5.682-5.682c-3.138,0-5.681,2.544-5.681,5.682 - c0,3.136,2.543,5.681,5.681,5.681C24.727,25.682,27.27,23.137,27.27,20.001"/> - <path fill="#FFFFFF" d="M42.363,18.093l-4.922-8.521c-0.018-0.031-0.039-0.059-0.06-0.089l-3.766-6.525 - c-0.701-1.214-1.972-1.894-3.28-1.895H12.841c-1.402,0-2.625,0.762-3.28,1.894L4.642,11.48l0,0l4.372,7.572l6.015-10.417 - l20.773,0.001c0.654,0.001,1.289,0.34,1.64,0.946h-8.737l6.007,10.404l-6.57,11.377l0,0l-3.818,6.615 - c-0.328,0.563-0.938,0.944-1.639,0.944l4.364-7.562h-12.02l-6.05-10.479l0,0l-0.511-0.885l0.001-0.001l-3.826-6.626 - c-0.325-0.564-0.35-1.28-0.004-1.885l-3.824,6.619c-0.701,1.214-0.653,2.654,0,3.788l8.747,15.15 - c0.701,1.213,1.972,1.893,3.28,1.893h9.841c0.072,0,0.143-0.006,0.211-0.014h7.441c1.402,0,2.626-0.762,3.281-1.893l8.746-15.15 - C43.063,20.667,43.016,19.227,42.363,18.093 M12.841,6.178c-0.628,0-1.137-0.509-1.137-1.138c0-0.628,0.509-1.137,1.137-1.137 - s1.138,0.509,1.138,1.137C13.979,5.669,13.47,6.178,12.841,6.178 M30.904,6.026c-0.545,0.313-1.24,0.127-1.553-0.416 - c-0.314-0.545-0.129-1.24,0.416-1.554c0.543-0.314,1.238-0.128,1.553,0.416C31.635,5.017,31.449,5.712,30.904,6.026 M5.079,20.76 - c-0.313,0.543-1.009,0.73-1.553,0.416c-0.544-0.313-0.73-1.01-0.417-1.554s1.009-0.73,1.554-0.416 - C5.207,19.52,5.393,20.216,5.079,20.76 M13.409,36.326c-0.544,0.314-1.24,0.127-1.554-0.416c-0.314-0.545-0.127-1.24,0.417-1.555 - c0.544-0.315,1.239-0.127,1.554,0.418C14.139,35.316,13.953,36.012,13.409,36.326 M30.334,36.479c-0.628,0-1.137-0.508-1.137-1.137 - c0-0.627,0.509-1.137,1.137-1.137s1.139,0.51,1.139,1.137C31.473,35.971,30.962,36.479,30.334,36.479 M40.066,20.761 - c-0.313,0.544-1.01,0.729-1.553,0.415c-0.545-0.313-0.73-1.009-0.416-1.553c0.313-0.544,1.008-0.73,1.553-0.416 - S40.381,20.217,40.066,20.761"/> -</g> -</svg> diff --git a/latest/_static/images/storage-logo.png b/latest/_static/images/storage-logo.png deleted file mode 100644 index f5c80042dee4..000000000000 Binary files a/latest/_static/images/storage-logo.png and /dev/null differ diff --git a/latest/_static/js/main.js b/latest/_static/js/main.js deleted file mode 100644 index dcd61f346e86..000000000000 --- a/latest/_static/js/main.js +++ /dev/null @@ -1,59 +0,0 @@ -$('.nav-current').click(function(){ - $('.main-nav').toggleClass('open'); -}); - -$('.faq-btn').click(function(){ - $(this).toggleClass('open'); -}); - -$('.headerlink').parent().each(function() { - $(this).hover( - function() { $(this).children('.headerlink').show(); }, - function() { $(this).children('.headerlink').hide(); } - ); -}); - -var apiQsSection; -// don't even ask me why -if ($('#cloud-datastore-in-10-seconds').length) - apiQsSection = $('#cloud-datastore-in-10-seconds'); -else if ($('#cloud-storage-in-10-seconds').length) - apiQsSection = $('#cloud-storage-in-10-seconds'); -else if ($('#cloud-pubsub-in-10-seconds').length) - apiQsSection = $('#cloud-pubsub-in-10-seconds'); -else if ($('#cloud-bigquery-in-10-seconds').length) - apiQsSection = $('#cloud-bigquery-in-10-seconds'); - -if(apiQsSection) { - var apiQsSubSections = apiQsSection.children('div'); - var showToggle = $('<span></span>') - .text('▹') - .addClass('toggle'); - var hideToggle = $('<span></span>') - .text('▿') - .addClass('toggle') - .hide(); - showToggle.click(function() { - showToggle.hide(); - hideToggle.show(); - apiQsSubSections.each(function() { - $(this).show(); - }) - }); - hideToggle.click(function() { - hideToggle.hide(); - showToggle.show(); - apiQsSubSections.each(function() { - $(this).hide(); - }) - }); - var toggler = $('<div></div>') - .addClass('toggler') - .append(showToggle) - .append(hideToggle); - - apiQsSubSections.each(function() { - $(this).hide(); - }); - $(apiQsSection).children('h2').first().prepend(toggler); -} diff --git a/latest/_static/js/vendor/modernizr-2.6.2.min.js b/latest/_static/js/modernizr.min.js similarity index 100% rename from latest/_static/js/vendor/modernizr-2.6.2.min.js rename to latest/_static/js/modernizr.min.js diff --git a/latest/_static/js/plugins.js b/latest/_static/js/plugins.js deleted file mode 100644 index 728680b08d18..000000000000 --- a/latest/_static/js/plugins.js +++ /dev/null @@ -1,24 +0,0 @@ -// Avoid `console` errors in browsers that lack a console. -(function() { - var method; - var noop = function () {}; - var methods = [ - 'assert', 'clear', 'count', 'debug', 'dir', 'dirxml', 'error', - 'exception', 'group', 'groupCollapsed', 'groupEnd', 'info', 'log', - 'markTimeline', 'profile', 'profileEnd', 'table', 'time', 'timeEnd', - 'timeStamp', 'trace', 'warn' - ]; - var length = methods.length; - var console = (window.console = window.console || {}); - - while (length--) { - method = methods[length]; - - // Only stub undefined methods. - if (!console[method]) { - console[method] = noop; - } - } -}()); - -// Place any jQuery/helper plugins in here. diff --git a/latest/_static/js/theme.js b/latest/_static/js/theme.js new file mode 100644 index 000000000000..48a9f06b5b89 --- /dev/null +++ b/latest/_static/js/theme.js @@ -0,0 +1,153 @@ +require=(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({"sphinx-rtd-theme":[function(require,module,exports){ +var jQuery = (typeof(window) != 'undefined') ? window.jQuery : require('jquery'); + +// Sphinx theme nav state +function ThemeNav () { + + var nav = { + navBar: null, + win: null, + winScroll: false, + winResize: false, + linkScroll: false, + winPosition: 0, + winHeight: null, + docHeight: null, + isRunning: null + }; + + nav.enable = function () { + var self = this; + + jQuery(function ($) { + self.init($); + + self.reset(); + self.win.on('hashchange', self.reset); + + // Set scroll monitor + self.win.on('scroll', function () { + if (!self.linkScroll) { + self.winScroll = true; + } + }); + setInterval(function () { if (self.winScroll) self.onScroll(); }, 25); + + // Set resize monitor + self.win.on('resize', function () { + self.winResize = true; + }); + setInterval(function () { if (self.winResize) self.onResize(); }, 25); + self.onResize(); + }); + }; + + nav.init = function ($) { + var doc = $(document), + self = this; + + this.navBar = $('div.wy-side-scroll:first'); + this.win = $(window); + + // Set up javascript UX bits + $(document) + // Shift nav in mobile when clicking the menu. + .on('click', "[data-toggle='wy-nav-top']", function() { + $("[data-toggle='wy-nav-shift']").toggleClass("shift"); + $("[data-toggle='rst-versions']").toggleClass("shift"); + }) + + // Nav menu link click operations + .on('click', ".wy-menu-vertical .current ul li a", function() { + var target = $(this); + // Close menu when you click a link. + $("[data-toggle='wy-nav-shift']").removeClass("shift"); + $("[data-toggle='rst-versions']").toggleClass("shift"); + // Handle dynamic display of l3 and l4 nav lists + self.toggleCurrent(target); + self.hashChange(); + }) + .on('click', "[data-toggle='rst-current-version']", function() { + $("[data-toggle='rst-versions']").toggleClass("shift-up"); + }) + + // Make tables responsive + $("table.docutils:not(.field-list)") + .wrap("<div class='wy-table-responsive'></div>"); + + // Add expand links to all parents of nested ul + $('.wy-menu-vertical ul').not('.simple').siblings('a').each(function () { + var link = $(this); + expand = $('<span class="toctree-expand"></span>'); + expand.on('click', function (ev) { + self.toggleCurrent(link); + ev.stopPropagation(); + return false; + }); + link.prepend(expand); + }); + }; + + nav.reset = function () { + // Get anchor from URL and open up nested nav + var anchor = encodeURI(window.location.hash); + if (anchor) { + try { + var link = $('.wy-menu-vertical') + .find('[href="' + anchor + '"]'); + $('.wy-menu-vertical li.toctree-l1 li.current') + .removeClass('current'); + link.closest('li.toctree-l2').addClass('current'); + link.closest('li.toctree-l3').addClass('current'); + link.closest('li.toctree-l4').addClass('current'); + } + catch (err) { + console.log("Error expanding nav for anchor", err); + } + } + }; + + nav.onScroll = function () { + this.winScroll = false; + var newWinPosition = this.win.scrollTop(), + winBottom = newWinPosition + this.winHeight, + navPosition = this.navBar.scrollTop(), + newNavPosition = navPosition + (newWinPosition - this.winPosition); + if (newWinPosition < 0 || winBottom > this.docHeight) { + return; + } + this.navBar.scrollTop(newNavPosition); + this.winPosition = newWinPosition; + }; + + nav.onResize = function () { + this.winResize = false; + this.winHeight = this.win.height(); + this.docHeight = $(document).height(); + }; + + nav.hashChange = function () { + this.linkScroll = true; + this.win.one('hashchange', function () { + this.linkScroll = false; + }); + }; + + nav.toggleCurrent = function (elem) { + var parent_li = elem.closest('li'); + parent_li.siblings('li.current').removeClass('current'); + parent_li.siblings().find('li.current').removeClass('current'); + parent_li.find('> ul li.current').removeClass('current'); + parent_li.toggleClass('current'); + } + + return nav; +}; + +module.exports.ThemeNav = ThemeNav(); + +if (typeof(window) != 'undefined') { + window.SphinxRtdTheme = { StickyNav: module.exports.ThemeNav }; +} + +},{"jquery":"jquery"}]},{},["sphinx-rtd-theme"]); diff --git a/latest/_static/js/vendor/jquery-1.10.2.min.js b/latest/_static/js/vendor/jquery-1.10.2.min.js deleted file mode 100644 index da4170647dd1..000000000000 --- a/latest/_static/js/vendor/jquery-1.10.2.min.js +++ /dev/null @@ -1,6 +0,0 @@ -/*! jQuery v1.10.2 | (c) 2005, 2013 jQuery Foundation, Inc. | jquery.org/license -//@ sourceMappingURL=jquery-1.10.2.min.map -*/ -(function(e,t){var n,r,i=typeof t,o=e.location,a=e.document,s=a.documentElement,l=e.jQuery,u=e.$,c={},p=[],f="1.10.2",d=p.concat,h=p.push,g=p.slice,m=p.indexOf,y=c.toString,v=c.hasOwnProperty,b=f.trim,x=function(e,t){return new x.fn.init(e,t,r)},w=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,T=/\S+/g,C=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,N=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,k=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,E=/^[\],:{}\s]*$/,S=/(?:^|:|,)(?:\s*\[)+/g,A=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,j=/"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g,D=/^-ms-/,L=/-([\da-z])/gi,H=function(e,t){return t.toUpperCase()},q=function(e){(a.addEventListener||"load"===e.type||"complete"===a.readyState)&&(_(),x.ready())},_=function(){a.addEventListener?(a.removeEventListener("DOMContentLoaded",q,!1),e.removeEventListener("load",q,!1)):(a.detachEvent("onreadystatechange",q),e.detachEvent("onload",q))};x.fn=x.prototype={jquery:f,constructor:x,init:function(e,n,r){var i,o;if(!e)return this;if("string"==typeof e){if(i="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&e.length>=3?[null,e,null]:N.exec(e),!i||!i[1]&&n)return!n||n.jquery?(n||r).find(e):this.constructor(n).find(e);if(i[1]){if(n=n instanceof x?n[0]:n,x.merge(this,x.parseHTML(i[1],n&&n.nodeType?n.ownerDocument||n:a,!0)),k.test(i[1])&&x.isPlainObject(n))for(i in n)x.isFunction(this[i])?this[i](n[i]):this.attr(i,n[i]);return this}if(o=a.getElementById(i[2]),o&&o.parentNode){if(o.id!==i[2])return r.find(e);this.length=1,this[0]=o}return this.context=a,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):x.isFunction(e)?r.ready(e):(e.selector!==t&&(this.selector=e.selector,this.context=e.context),x.makeArray(e,this))},selector:"",length:0,toArray:function(){return g.call(this)},get:function(e){return null==e?this.toArray():0>e?this[this.length+e]:this[e]},pushStack:function(e){var t=x.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e,t){return x.each(this,e,t)},ready:function(e){return x.ready.promise().done(e),this},slice:function(){return this.pushStack(g.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(0>e?t:0);return this.pushStack(n>=0&&t>n?[this[n]]:[])},map:function(e){return this.pushStack(x.map(this,function(t,n){return e.call(t,n,t)}))},end:function(){return this.prevObject||this.constructor(null)},push:h,sort:[].sort,splice:[].splice},x.fn.init.prototype=x.fn,x.extend=x.fn.extend=function(){var e,n,r,i,o,a,s=arguments[0]||{},l=1,u=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[1]||{},l=2),"object"==typeof s||x.isFunction(s)||(s={}),u===l&&(s=this,--l);u>l;l++)if(null!=(o=arguments[l]))for(i in o)e=s[i],r=o[i],s!==r&&(c&&r&&(x.isPlainObject(r)||(n=x.isArray(r)))?(n?(n=!1,a=e&&x.isArray(e)?e:[]):a=e&&x.isPlainObject(e)?e:{},s[i]=x.extend(c,a,r)):r!==t&&(s[i]=r));return s},x.extend({expando:"jQuery"+(f+Math.random()).replace(/\D/g,""),noConflict:function(t){return e.$===x&&(e.$=u),t&&e.jQuery===x&&(e.jQuery=l),x},isReady:!1,readyWait:1,holdReady:function(e){e?x.readyWait++:x.ready(!0)},ready:function(e){if(e===!0?!--x.readyWait:!x.isReady){if(!a.body)return setTimeout(x.ready);x.isReady=!0,e!==!0&&--x.readyWait>0||(n.resolveWith(a,[x]),x.fn.trigger&&x(a).trigger("ready").off("ready"))}},isFunction:function(e){return"function"===x.type(e)},isArray:Array.isArray||function(e){return"array"===x.type(e)},isWindow:function(e){return null!=e&&e==e.window},isNumeric:function(e){return!isNaN(parseFloat(e))&&isFinite(e)},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?c[y.call(e)]||"object":typeof e},isPlainObject:function(e){var n;if(!e||"object"!==x.type(e)||e.nodeType||x.isWindow(e))return!1;try{if(e.constructor&&!v.call(e,"constructor")&&!v.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(r){return!1}if(x.support.ownLast)for(n in e)return v.call(e,n);for(n in e);return n===t||v.call(e,n)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},error:function(e){throw Error(e)},parseHTML:function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||a;var r=k.exec(e),i=!n&&[];return r?[t.createElement(r[1])]:(r=x.buildFragment([e],t,i),i&&x(i).remove(),x.merge([],r.childNodes))},parseJSON:function(n){return e.JSON&&e.JSON.parse?e.JSON.parse(n):null===n?n:"string"==typeof n&&(n=x.trim(n),n&&E.test(n.replace(A,"@").replace(j,"]").replace(S,"")))?Function("return "+n)():(x.error("Invalid JSON: "+n),t)},parseXML:function(n){var r,i;if(!n||"string"!=typeof n)return null;try{e.DOMParser?(i=new DOMParser,r=i.parseFromString(n,"text/xml")):(r=new ActiveXObject("Microsoft.XMLDOM"),r.async="false",r.loadXML(n))}catch(o){r=t}return r&&r.documentElement&&!r.getElementsByTagName("parsererror").length||x.error("Invalid XML: "+n),r},noop:function(){},globalEval:function(t){t&&x.trim(t)&&(e.execScript||function(t){e.eval.call(e,t)})(t)},camelCase:function(e){return e.replace(D,"ms-").replace(L,H)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t,n){var r,i=0,o=e.length,a=M(e);if(n){if(a){for(;o>i;i++)if(r=t.apply(e[i],n),r===!1)break}else for(i in e)if(r=t.apply(e[i],n),r===!1)break}else if(a){for(;o>i;i++)if(r=t.call(e[i],i,e[i]),r===!1)break}else for(i in e)if(r=t.call(e[i],i,e[i]),r===!1)break;return e},trim:b&&!b.call("\ufeff\u00a0")?function(e){return null==e?"":b.call(e)}:function(e){return null==e?"":(e+"").replace(C,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(M(Object(e))?x.merge(n,"string"==typeof e?[e]:e):h.call(n,e)),n},inArray:function(e,t,n){var r;if(t){if(m)return m.call(t,e,n);for(r=t.length,n=n?0>n?Math.max(0,r+n):n:0;r>n;n++)if(n in t&&t[n]===e)return n}return-1},merge:function(e,n){var r=n.length,i=e.length,o=0;if("number"==typeof r)for(;r>o;o++)e[i++]=n[o];else while(n[o]!==t)e[i++]=n[o++];return e.length=i,e},grep:function(e,t,n){var r,i=[],o=0,a=e.length;for(n=!!n;a>o;o++)r=!!t(e[o],o),n!==r&&i.push(e[o]);return i},map:function(e,t,n){var r,i=0,o=e.length,a=M(e),s=[];if(a)for(;o>i;i++)r=t(e[i],i,n),null!=r&&(s[s.length]=r);else for(i in e)r=t(e[i],i,n),null!=r&&(s[s.length]=r);return d.apply([],s)},guid:1,proxy:function(e,n){var r,i,o;return"string"==typeof n&&(o=e[n],n=e,e=o),x.isFunction(e)?(r=g.call(arguments,2),i=function(){return e.apply(n||this,r.concat(g.call(arguments)))},i.guid=e.guid=e.guid||x.guid++,i):t},access:function(e,n,r,i,o,a,s){var l=0,u=e.length,c=null==r;if("object"===x.type(r)){o=!0;for(l in r)x.access(e,n,l,r[l],!0,a,s)}else if(i!==t&&(o=!0,x.isFunction(i)||(s=!0),c&&(s?(n.call(e,i),n=null):(c=n,n=function(e,t,n){return c.call(x(e),n)})),n))for(;u>l;l++)n(e[l],r,s?i:i.call(e[l],l,n(e[l],r)));return o?e:c?n.call(e):u?n(e[0],r):a},now:function(){return(new Date).getTime()},swap:function(e,t,n,r){var i,o,a={};for(o in t)a[o]=e.style[o],e.style[o]=t[o];i=n.apply(e,r||[]);for(o in t)e.style[o]=a[o];return i}}),x.ready.promise=function(t){if(!n)if(n=x.Deferred(),"complete"===a.readyState)setTimeout(x.ready);else if(a.addEventListener)a.addEventListener("DOMContentLoaded",q,!1),e.addEventListener("load",q,!1);else{a.attachEvent("onreadystatechange",q),e.attachEvent("onload",q);var r=!1;try{r=null==e.frameElement&&a.documentElement}catch(i){}r&&r.doScroll&&function o(){if(!x.isReady){try{r.doScroll("left")}catch(e){return setTimeout(o,50)}_(),x.ready()}}()}return n.promise(t)},x.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(e,t){c["[object "+t+"]"]=t.toLowerCase()});function M(e){var t=e.length,n=x.type(e);return x.isWindow(e)?!1:1===e.nodeType&&t?!0:"array"===n||"function"!==n&&(0===t||"number"==typeof t&&t>0&&t-1 in e)}r=x(a),function(e,t){var n,r,i,o,a,s,l,u,c,p,f,d,h,g,m,y,v,b="sizzle"+-new Date,w=e.document,T=0,C=0,N=st(),k=st(),E=st(),S=!1,A=function(e,t){return e===t?(S=!0,0):0},j=typeof t,D=1<<31,L={}.hasOwnProperty,H=[],q=H.pop,_=H.push,M=H.push,O=H.slice,F=H.indexOf||function(e){var t=0,n=this.length;for(;n>t;t++)if(this[t]===e)return t;return-1},B="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",P="[\\x20\\t\\r\\n\\f]",R="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",W=R.replace("w","w#"),$="\\["+P+"*("+R+")"+P+"*(?:([*^$|!~]?=)"+P+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+W+")|)|)"+P+"*\\]",I=":("+R+")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|"+$.replace(3,8)+")*)|.*)\\)|)",z=RegExp("^"+P+"+|((?:^|[^\\\\])(?:\\\\.)*)"+P+"+$","g"),X=RegExp("^"+P+"*,"+P+"*"),U=RegExp("^"+P+"*([>+~]|"+P+")"+P+"*"),V=RegExp(P+"*[+~]"),Y=RegExp("="+P+"*([^\\]'\"]*)"+P+"*\\]","g"),J=RegExp(I),G=RegExp("^"+W+"$"),Q={ID:RegExp("^#("+R+")"),CLASS:RegExp("^\\.("+R+")"),TAG:RegExp("^("+R.replace("w","w*")+")"),ATTR:RegExp("^"+$),PSEUDO:RegExp("^"+I),CHILD:RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+P+"*(even|odd|(([+-]|)(\\d*)n|)"+P+"*(?:([+-]|)"+P+"*(\\d+)|))"+P+"*\\)|)","i"),bool:RegExp("^(?:"+B+")$","i"),needsContext:RegExp("^"+P+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+P+"*((?:-\\d)?\\d*)"+P+"*\\)|)(?=[^-]|$)","i")},K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,et=/^(?:input|select|textarea|button)$/i,tt=/^h\d$/i,nt=/'|\\/g,rt=RegExp("\\\\([\\da-f]{1,6}"+P+"?|("+P+")|.)","ig"),it=function(e,t,n){var r="0x"+t-65536;return r!==r||n?t:0>r?String.fromCharCode(r+65536):String.fromCharCode(55296|r>>10,56320|1023&r)};try{M.apply(H=O.call(w.childNodes),w.childNodes),H[w.childNodes.length].nodeType}catch(ot){M={apply:H.length?function(e,t){_.apply(e,O.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function at(e,t,n,i){var o,a,s,l,u,c,d,m,y,x;if((t?t.ownerDocument||t:w)!==f&&p(t),t=t||f,n=n||[],!e||"string"!=typeof e)return n;if(1!==(l=t.nodeType)&&9!==l)return[];if(h&&!i){if(o=Z.exec(e))if(s=o[1]){if(9===l){if(a=t.getElementById(s),!a||!a.parentNode)return n;if(a.id===s)return n.push(a),n}else if(t.ownerDocument&&(a=t.ownerDocument.getElementById(s))&&v(t,a)&&a.id===s)return n.push(a),n}else{if(o[2])return M.apply(n,t.getElementsByTagName(e)),n;if((s=o[3])&&r.getElementsByClassName&&t.getElementsByClassName)return M.apply(n,t.getElementsByClassName(s)),n}if(r.qsa&&(!g||!g.test(e))){if(m=d=b,y=t,x=9===l&&e,1===l&&"object"!==t.nodeName.toLowerCase()){c=mt(e),(d=t.getAttribute("id"))?m=d.replace(nt,"\\$&"):t.setAttribute("id",m),m="[id='"+m+"'] ",u=c.length;while(u--)c[u]=m+yt(c[u]);y=V.test(e)&&t.parentNode||t,x=c.join(",")}if(x)try{return M.apply(n,y.querySelectorAll(x)),n}catch(T){}finally{d||t.removeAttribute("id")}}}return kt(e.replace(z,"$1"),t,n,i)}function st(){var e=[];function t(n,r){return e.push(n+=" ")>o.cacheLength&&delete t[e.shift()],t[n]=r}return t}function lt(e){return e[b]=!0,e}function ut(e){var t=f.createElement("div");try{return!!e(t)}catch(n){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function ct(e,t){var n=e.split("|"),r=e.length;while(r--)o.attrHandle[n[r]]=t}function pt(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||D)-(~e.sourceIndex||D);if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function ft(e){return function(t){var n=t.nodeName.toLowerCase();return"input"===n&&t.type===e}}function dt(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function ht(e){return lt(function(t){return t=+t,lt(function(n,r){var i,o=e([],n.length,t),a=o.length;while(a--)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))})})}s=at.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return t?"HTML"!==t.nodeName:!1},r=at.support={},p=at.setDocument=function(e){var n=e?e.ownerDocument||e:w,i=n.defaultView;return n!==f&&9===n.nodeType&&n.documentElement?(f=n,d=n.documentElement,h=!s(n),i&&i.attachEvent&&i!==i.top&&i.attachEvent("onbeforeunload",function(){p()}),r.attributes=ut(function(e){return e.className="i",!e.getAttribute("className")}),r.getElementsByTagName=ut(function(e){return e.appendChild(n.createComment("")),!e.getElementsByTagName("*").length}),r.getElementsByClassName=ut(function(e){return e.innerHTML="<div class='a'></div><div class='a i'></div>",e.firstChild.className="i",2===e.getElementsByClassName("i").length}),r.getById=ut(function(e){return d.appendChild(e).id=b,!n.getElementsByName||!n.getElementsByName(b).length}),r.getById?(o.find.ID=function(e,t){if(typeof t.getElementById!==j&&h){var n=t.getElementById(e);return n&&n.parentNode?[n]:[]}},o.filter.ID=function(e){var t=e.replace(rt,it);return function(e){return e.getAttribute("id")===t}}):(delete o.find.ID,o.filter.ID=function(e){var t=e.replace(rt,it);return function(e){var n=typeof e.getAttributeNode!==j&&e.getAttributeNode("id");return n&&n.value===t}}),o.find.TAG=r.getElementsByTagName?function(e,n){return typeof n.getElementsByTagName!==j?n.getElementsByTagName(e):t}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},o.find.CLASS=r.getElementsByClassName&&function(e,n){return typeof n.getElementsByClassName!==j&&h?n.getElementsByClassName(e):t},m=[],g=[],(r.qsa=K.test(n.querySelectorAll))&&(ut(function(e){e.innerHTML="<select><option selected=''></option></select>",e.querySelectorAll("[selected]").length||g.push("\\["+P+"*(?:value|"+B+")"),e.querySelectorAll(":checked").length||g.push(":checked")}),ut(function(e){var t=n.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("t",""),e.querySelectorAll("[t^='']").length&&g.push("[*^$]="+P+"*(?:''|\"\")"),e.querySelectorAll(":enabled").length||g.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),g.push(",.*:")})),(r.matchesSelector=K.test(y=d.webkitMatchesSelector||d.mozMatchesSelector||d.oMatchesSelector||d.msMatchesSelector))&&ut(function(e){r.disconnectedMatch=y.call(e,"div"),y.call(e,"[s!='']:x"),m.push("!=",I)}),g=g.length&&RegExp(g.join("|")),m=m.length&&RegExp(m.join("|")),v=K.test(d.contains)||d.compareDocumentPosition?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},A=d.compareDocumentPosition?function(e,t){if(e===t)return S=!0,0;var i=t.compareDocumentPosition&&e.compareDocumentPosition&&e.compareDocumentPosition(t);return i?1&i||!r.sortDetached&&t.compareDocumentPosition(e)===i?e===n||v(w,e)?-1:t===n||v(w,t)?1:c?F.call(c,e)-F.call(c,t):0:4&i?-1:1:e.compareDocumentPosition?-1:1}:function(e,t){var r,i=0,o=e.parentNode,a=t.parentNode,s=[e],l=[t];if(e===t)return S=!0,0;if(!o||!a)return e===n?-1:t===n?1:o?-1:a?1:c?F.call(c,e)-F.call(c,t):0;if(o===a)return pt(e,t);r=e;while(r=r.parentNode)s.unshift(r);r=t;while(r=r.parentNode)l.unshift(r);while(s[i]===l[i])i++;return i?pt(s[i],l[i]):s[i]===w?-1:l[i]===w?1:0},n):f},at.matches=function(e,t){return at(e,null,null,t)},at.matchesSelector=function(e,t){if((e.ownerDocument||e)!==f&&p(e),t=t.replace(Y,"='$1']"),!(!r.matchesSelector||!h||m&&m.test(t)||g&&g.test(t)))try{var n=y.call(e,t);if(n||r.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(i){}return at(t,f,null,[e]).length>0},at.contains=function(e,t){return(e.ownerDocument||e)!==f&&p(e),v(e,t)},at.attr=function(e,n){(e.ownerDocument||e)!==f&&p(e);var i=o.attrHandle[n.toLowerCase()],a=i&&L.call(o.attrHandle,n.toLowerCase())?i(e,n,!h):t;return a===t?r.attributes||!h?e.getAttribute(n):(a=e.getAttributeNode(n))&&a.specified?a.value:null:a},at.error=function(e){throw Error("Syntax error, unrecognized expression: "+e)},at.uniqueSort=function(e){var t,n=[],i=0,o=0;if(S=!r.detectDuplicates,c=!r.sortStable&&e.slice(0),e.sort(A),S){while(t=e[o++])t===e[o]&&(i=n.push(o));while(i--)e.splice(n[i],1)}return e},a=at.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=a(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r];r++)n+=a(t);return n},o=at.selectors={cacheLength:50,createPseudo:lt,match:Q,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(rt,it),e[3]=(e[4]||e[5]||"").replace(rt,it),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||at.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&at.error(e[0]),e},PSEUDO:function(e){var n,r=!e[5]&&e[2];return Q.CHILD.test(e[0])?null:(e[3]&&e[4]!==t?e[2]=e[4]:r&&J.test(r)&&(n=mt(r,!0))&&(n=r.indexOf(")",r.length-n)-r.length)&&(e[0]=e[0].slice(0,n),e[2]=r.slice(0,n)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(rt,it).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=N[e+" "];return t||(t=RegExp("(^|"+P+")"+e+"("+P+"|$)"))&&N(e,function(e){return t.test("string"==typeof e.className&&e.className||typeof e.getAttribute!==j&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(r){var i=at.attr(r,e);return null==i?"!="===t:t?(i+="","="===t?i===n:"!="===t?i!==n:"^="===t?n&&0===i.indexOf(n):"*="===t?n&&i.indexOf(n)>-1:"$="===t?n&&i.slice(-n.length)===n:"~="===t?(" "+i+" ").indexOf(n)>-1:"|="===t?i===n||i.slice(0,n.length+1)===n+"-":!1):!0}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,l){var u,c,p,f,d,h,g=o!==a?"nextSibling":"previousSibling",m=t.parentNode,y=s&&t.nodeName.toLowerCase(),v=!l&&!s;if(m){if(o){while(g){p=t;while(p=p[g])if(s?p.nodeName.toLowerCase()===y:1===p.nodeType)return!1;h=g="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?m.firstChild:m.lastChild],a&&v){c=m[b]||(m[b]={}),u=c[e]||[],d=u[0]===T&&u[1],f=u[0]===T&&u[2],p=d&&m.childNodes[d];while(p=++d&&p&&p[g]||(f=d=0)||h.pop())if(1===p.nodeType&&++f&&p===t){c[e]=[T,d,f];break}}else if(v&&(u=(t[b]||(t[b]={}))[e])&&u[0]===T)f=u[1];else while(p=++d&&p&&p[g]||(f=d=0)||h.pop())if((s?p.nodeName.toLowerCase()===y:1===p.nodeType)&&++f&&(v&&((p[b]||(p[b]={}))[e]=[T,f]),p===t))break;return f-=i,f===r||0===f%r&&f/r>=0}}},PSEUDO:function(e,t){var n,r=o.pseudos[e]||o.setFilters[e.toLowerCase()]||at.error("unsupported pseudo: "+e);return r[b]?r(t):r.length>1?(n=[e,e,"",t],o.setFilters.hasOwnProperty(e.toLowerCase())?lt(function(e,n){var i,o=r(e,t),a=o.length;while(a--)i=F.call(e,o[a]),e[i]=!(n[i]=o[a])}):function(e){return r(e,0,n)}):r}},pseudos:{not:lt(function(e){var t=[],n=[],r=l(e.replace(z,"$1"));return r[b]?lt(function(e,t,n,i){var o,a=r(e,null,i,[]),s=e.length;while(s--)(o=a[s])&&(e[s]=!(t[s]=o))}):function(e,i,o){return t[0]=e,r(t,null,o,n),!n.pop()}}),has:lt(function(e){return function(t){return at(e,t).length>0}}),contains:lt(function(e){return function(t){return(t.textContent||t.innerText||a(t)).indexOf(e)>-1}}),lang:lt(function(e){return G.test(e||"")||at.error("unsupported lang: "+e),e=e.replace(rt,it).toLowerCase(),function(t){var n;do if(n=h?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return n=n.toLowerCase(),n===e||0===n.indexOf(e+"-");while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===d},focus:function(e){return e===f.activeElement&&(!f.hasFocus||f.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return e.disabled===!1},disabled:function(e){return e.disabled===!0},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,e.selected===!0},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeName>"@"||3===e.nodeType||4===e.nodeType)return!1;return!0},parent:function(e){return!o.pseudos.empty(e)},header:function(e){return tt.test(e.nodeName)},input:function(e){return et.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||t.toLowerCase()===e.type)},first:ht(function(){return[0]}),last:ht(function(e,t){return[t-1]}),eq:ht(function(e,t,n){return[0>n?n+t:n]}),even:ht(function(e,t){var n=0;for(;t>n;n+=2)e.push(n);return e}),odd:ht(function(e,t){var n=1;for(;t>n;n+=2)e.push(n);return e}),lt:ht(function(e,t,n){var r=0>n?n+t:n;for(;--r>=0;)e.push(r);return e}),gt:ht(function(e,t,n){var r=0>n?n+t:n;for(;t>++r;)e.push(r);return e})}},o.pseudos.nth=o.pseudos.eq;for(n in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})o.pseudos[n]=ft(n);for(n in{submit:!0,reset:!0})o.pseudos[n]=dt(n);function gt(){}gt.prototype=o.filters=o.pseudos,o.setFilters=new gt;function mt(e,t){var n,r,i,a,s,l,u,c=k[e+" "];if(c)return t?0:c.slice(0);s=e,l=[],u=o.preFilter;while(s){(!n||(r=X.exec(s)))&&(r&&(s=s.slice(r[0].length)||s),l.push(i=[])),n=!1,(r=U.exec(s))&&(n=r.shift(),i.push({value:n,type:r[0].replace(z," ")}),s=s.slice(n.length));for(a in o.filter)!(r=Q[a].exec(s))||u[a]&&!(r=u[a](r))||(n=r.shift(),i.push({value:n,type:a,matches:r}),s=s.slice(n.length));if(!n)break}return t?s.length:s?at.error(e):k(e,l).slice(0)}function yt(e){var t=0,n=e.length,r="";for(;n>t;t++)r+=e[t].value;return r}function vt(e,t,n){var r=t.dir,o=n&&"parentNode"===r,a=C++;return t.first?function(t,n,i){while(t=t[r])if(1===t.nodeType||o)return e(t,n,i)}:function(t,n,s){var l,u,c,p=T+" "+a;if(s){while(t=t[r])if((1===t.nodeType||o)&&e(t,n,s))return!0}else while(t=t[r])if(1===t.nodeType||o)if(c=t[b]||(t[b]={}),(u=c[r])&&u[0]===p){if((l=u[1])===!0||l===i)return l===!0}else if(u=c[r]=[p],u[1]=e(t,n,s)||i,u[1]===!0)return!0}}function bt(e){return e.length>1?function(t,n,r){var i=e.length;while(i--)if(!e[i](t,n,r))return!1;return!0}:e[0]}function xt(e,t,n,r,i){var o,a=[],s=0,l=e.length,u=null!=t;for(;l>s;s++)(o=e[s])&&(!n||n(o,r,i))&&(a.push(o),u&&t.push(s));return a}function wt(e,t,n,r,i,o){return r&&!r[b]&&(r=wt(r)),i&&!i[b]&&(i=wt(i,o)),lt(function(o,a,s,l){var u,c,p,f=[],d=[],h=a.length,g=o||Nt(t||"*",s.nodeType?[s]:s,[]),m=!e||!o&&t?g:xt(g,f,e,s,l),y=n?i||(o?e:h||r)?[]:a:m;if(n&&n(m,y,s,l),r){u=xt(y,d),r(u,[],s,l),c=u.length;while(c--)(p=u[c])&&(y[d[c]]=!(m[d[c]]=p))}if(o){if(i||e){if(i){u=[],c=y.length;while(c--)(p=y[c])&&u.push(m[c]=p);i(null,y=[],u,l)}c=y.length;while(c--)(p=y[c])&&(u=i?F.call(o,p):f[c])>-1&&(o[u]=!(a[u]=p))}}else y=xt(y===a?y.splice(h,y.length):y),i?i(null,a,y,l):M.apply(a,y)})}function Tt(e){var t,n,r,i=e.length,a=o.relative[e[0].type],s=a||o.relative[" "],l=a?1:0,c=vt(function(e){return e===t},s,!0),p=vt(function(e){return F.call(t,e)>-1},s,!0),f=[function(e,n,r){return!a&&(r||n!==u)||((t=n).nodeType?c(e,n,r):p(e,n,r))}];for(;i>l;l++)if(n=o.relative[e[l].type])f=[vt(bt(f),n)];else{if(n=o.filter[e[l].type].apply(null,e[l].matches),n[b]){for(r=++l;i>r;r++)if(o.relative[e[r].type])break;return wt(l>1&&bt(f),l>1&&yt(e.slice(0,l-1).concat({value:" "===e[l-2].type?"*":""})).replace(z,"$1"),n,r>l&&Tt(e.slice(l,r)),i>r&&Tt(e=e.slice(r)),i>r&&yt(e))}f.push(n)}return bt(f)}function Ct(e,t){var n=0,r=t.length>0,a=e.length>0,s=function(s,l,c,p,d){var h,g,m,y=[],v=0,b="0",x=s&&[],w=null!=d,C=u,N=s||a&&o.find.TAG("*",d&&l.parentNode||l),k=T+=null==C?1:Math.random()||.1;for(w&&(u=l!==f&&l,i=n);null!=(h=N[b]);b++){if(a&&h){g=0;while(m=e[g++])if(m(h,l,c)){p.push(h);break}w&&(T=k,i=++n)}r&&((h=!m&&h)&&v--,s&&x.push(h))}if(v+=b,r&&b!==v){g=0;while(m=t[g++])m(x,y,l,c);if(s){if(v>0)while(b--)x[b]||y[b]||(y[b]=q.call(p));y=xt(y)}M.apply(p,y),w&&!s&&y.length>0&&v+t.length>1&&at.uniqueSort(p)}return w&&(T=k,u=C),x};return r?lt(s):s}l=at.compile=function(e,t){var n,r=[],i=[],o=E[e+" "];if(!o){t||(t=mt(e)),n=t.length;while(n--)o=Tt(t[n]),o[b]?r.push(o):i.push(o);o=E(e,Ct(i,r))}return o};function Nt(e,t,n){var r=0,i=t.length;for(;i>r;r++)at(e,t[r],n);return n}function kt(e,t,n,i){var a,s,u,c,p,f=mt(e);if(!i&&1===f.length){if(s=f[0]=f[0].slice(0),s.length>2&&"ID"===(u=s[0]).type&&r.getById&&9===t.nodeType&&h&&o.relative[s[1].type]){if(t=(o.find.ID(u.matches[0].replace(rt,it),t)||[])[0],!t)return n;e=e.slice(s.shift().value.length)}a=Q.needsContext.test(e)?0:s.length;while(a--){if(u=s[a],o.relative[c=u.type])break;if((p=o.find[c])&&(i=p(u.matches[0].replace(rt,it),V.test(s[0].type)&&t.parentNode||t))){if(s.splice(a,1),e=i.length&&yt(s),!e)return M.apply(n,i),n;break}}}return l(e,f)(i,t,!h,n,V.test(e)),n}r.sortStable=b.split("").sort(A).join("")===b,r.detectDuplicates=S,p(),r.sortDetached=ut(function(e){return 1&e.compareDocumentPosition(f.createElement("div"))}),ut(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||ct("type|href|height|width",function(e,n,r){return r?t:e.getAttribute(n,"type"===n.toLowerCase()?1:2)}),r.attributes&&ut(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||ct("value",function(e,n,r){return r||"input"!==e.nodeName.toLowerCase()?t:e.defaultValue}),ut(function(e){return null==e.getAttribute("disabled")})||ct(B,function(e,n,r){var i;return r?t:(i=e.getAttributeNode(n))&&i.specified?i.value:e[n]===!0?n.toLowerCase():null}),x.find=at,x.expr=at.selectors,x.expr[":"]=x.expr.pseudos,x.unique=at.uniqueSort,x.text=at.getText,x.isXMLDoc=at.isXML,x.contains=at.contains}(e);var O={};function F(e){var t=O[e]={};return x.each(e.match(T)||[],function(e,n){t[n]=!0}),t}x.Callbacks=function(e){e="string"==typeof e?O[e]||F(e):x.extend({},e);var n,r,i,o,a,s,l=[],u=!e.once&&[],c=function(t){for(r=e.memory&&t,i=!0,a=s||0,s=0,o=l.length,n=!0;l&&o>a;a++)if(l[a].apply(t[0],t[1])===!1&&e.stopOnFalse){r=!1;break}n=!1,l&&(u?u.length&&c(u.shift()):r?l=[]:p.disable())},p={add:function(){if(l){var t=l.length;(function i(t){x.each(t,function(t,n){var r=x.type(n);"function"===r?e.unique&&p.has(n)||l.push(n):n&&n.length&&"string"!==r&&i(n)})})(arguments),n?o=l.length:r&&(s=t,c(r))}return this},remove:function(){return l&&x.each(arguments,function(e,t){var r;while((r=x.inArray(t,l,r))>-1)l.splice(r,1),n&&(o>=r&&o--,a>=r&&a--)}),this},has:function(e){return e?x.inArray(e,l)>-1:!(!l||!l.length)},empty:function(){return l=[],o=0,this},disable:function(){return l=u=r=t,this},disabled:function(){return!l},lock:function(){return u=t,r||p.disable(),this},locked:function(){return!u},fireWith:function(e,t){return!l||i&&!u||(t=t||[],t=[e,t.slice?t.slice():t],n?u.push(t):c(t)),this},fire:function(){return p.fireWith(this,arguments),this},fired:function(){return!!i}};return p},x.extend({Deferred:function(e){var t=[["resolve","done",x.Callbacks("once memory"),"resolved"],["reject","fail",x.Callbacks("once memory"),"rejected"],["notify","progress",x.Callbacks("memory")]],n="pending",r={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},then:function(){var e=arguments;return x.Deferred(function(n){x.each(t,function(t,o){var a=o[0],s=x.isFunction(e[t])&&e[t];i[o[1]](function(){var e=s&&s.apply(this,arguments);e&&x.isFunction(e.promise)?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[a+"With"](this===r?n.promise():this,s?[e]:arguments)})}),e=null}).promise()},promise:function(e){return null!=e?x.extend(e,r):r}},i={};return r.pipe=r.then,x.each(t,function(e,o){var a=o[2],s=o[3];r[o[1]]=a.add,s&&a.add(function(){n=s},t[1^e][2].disable,t[2][2].lock),i[o[0]]=function(){return i[o[0]+"With"](this===i?r:this,arguments),this},i[o[0]+"With"]=a.fireWith}),r.promise(i),e&&e.call(i,i),i},when:function(e){var t=0,n=g.call(arguments),r=n.length,i=1!==r||e&&x.isFunction(e.promise)?r:0,o=1===i?e:x.Deferred(),a=function(e,t,n){return function(r){t[e]=this,n[e]=arguments.length>1?g.call(arguments):r,n===s?o.notifyWith(t,n):--i||o.resolveWith(t,n)}},s,l,u;if(r>1)for(s=Array(r),l=Array(r),u=Array(r);r>t;t++)n[t]&&x.isFunction(n[t].promise)?n[t].promise().done(a(t,u,n)).fail(o.reject).progress(a(t,l,s)):--i;return i||o.resolveWith(u,n),o.promise()}}),x.support=function(t){var n,r,o,s,l,u,c,p,f,d=a.createElement("div");if(d.setAttribute("className","t"),d.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",n=d.getElementsByTagName("*")||[],r=d.getElementsByTagName("a")[0],!r||!r.style||!n.length)return t;s=a.createElement("select"),u=s.appendChild(a.createElement("option")),o=d.getElementsByTagName("input")[0],r.style.cssText="top:1px;float:left;opacity:.5",t.getSetAttribute="t"!==d.className,t.leadingWhitespace=3===d.firstChild.nodeType,t.tbody=!d.getElementsByTagName("tbody").length,t.htmlSerialize=!!d.getElementsByTagName("link").length,t.style=/top/.test(r.getAttribute("style")),t.hrefNormalized="/a"===r.getAttribute("href"),t.opacity=/^0.5/.test(r.style.opacity),t.cssFloat=!!r.style.cssFloat,t.checkOn=!!o.value,t.optSelected=u.selected,t.enctype=!!a.createElement("form").enctype,t.html5Clone="<:nav></:nav>"!==a.createElement("nav").cloneNode(!0).outerHTML,t.inlineBlockNeedsLayout=!1,t.shrinkWrapBlocks=!1,t.pixelPosition=!1,t.deleteExpando=!0,t.noCloneEvent=!0,t.reliableMarginRight=!0,t.boxSizingReliable=!0,o.checked=!0,t.noCloneChecked=o.cloneNode(!0).checked,s.disabled=!0,t.optDisabled=!u.disabled;try{delete d.test}catch(h){t.deleteExpando=!1}o=a.createElement("input"),o.setAttribute("value",""),t.input=""===o.getAttribute("value"),o.value="t",o.setAttribute("type","radio"),t.radioValue="t"===o.value,o.setAttribute("checked","t"),o.setAttribute("name","t"),l=a.createDocumentFragment(),l.appendChild(o),t.appendChecked=o.checked,t.checkClone=l.cloneNode(!0).cloneNode(!0).lastChild.checked,d.attachEvent&&(d.attachEvent("onclick",function(){t.noCloneEvent=!1}),d.cloneNode(!0).click());for(f in{submit:!0,change:!0,focusin:!0})d.setAttribute(c="on"+f,"t"),t[f+"Bubbles"]=c in e||d.attributes[c].expando===!1;d.style.backgroundClip="content-box",d.cloneNode(!0).style.backgroundClip="",t.clearCloneStyle="content-box"===d.style.backgroundClip;for(f in x(t))break;return t.ownLast="0"!==f,x(function(){var n,r,o,s="padding:0;margin:0;border:0;display:block;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;",l=a.getElementsByTagName("body")[0];l&&(n=a.createElement("div"),n.style.cssText="border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px",l.appendChild(n).appendChild(d),d.innerHTML="<table><tr><td></td><td>t</td></tr></table>",o=d.getElementsByTagName("td"),o[0].style.cssText="padding:0;margin:0;border:0;display:none",p=0===o[0].offsetHeight,o[0].style.display="",o[1].style.display="none",t.reliableHiddenOffsets=p&&0===o[0].offsetHeight,d.innerHTML="",d.style.cssText="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;",x.swap(l,null!=l.style.zoom?{zoom:1}:{},function(){t.boxSizing=4===d.offsetWidth}),e.getComputedStyle&&(t.pixelPosition="1%"!==(e.getComputedStyle(d,null)||{}).top,t.boxSizingReliable="4px"===(e.getComputedStyle(d,null)||{width:"4px"}).width,r=d.appendChild(a.createElement("div")),r.style.cssText=d.style.cssText=s,r.style.marginRight=r.style.width="0",d.style.width="1px",t.reliableMarginRight=!parseFloat((e.getComputedStyle(r,null)||{}).marginRight)),typeof d.style.zoom!==i&&(d.innerHTML="",d.style.cssText=s+"width:1px;padding:1px;display:inline;zoom:1",t.inlineBlockNeedsLayout=3===d.offsetWidth,d.style.display="block",d.innerHTML="<div></div>",d.firstChild.style.width="5px",t.shrinkWrapBlocks=3!==d.offsetWidth,t.inlineBlockNeedsLayout&&(l.style.zoom=1)),l.removeChild(n),n=d=o=r=null)}),n=s=l=u=r=o=null,t -}({});var B=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,P=/([A-Z])/g;function R(e,n,r,i){if(x.acceptData(e)){var o,a,s=x.expando,l=e.nodeType,u=l?x.cache:e,c=l?e[s]:e[s]&&s;if(c&&u[c]&&(i||u[c].data)||r!==t||"string"!=typeof n)return c||(c=l?e[s]=p.pop()||x.guid++:s),u[c]||(u[c]=l?{}:{toJSON:x.noop}),("object"==typeof n||"function"==typeof n)&&(i?u[c]=x.extend(u[c],n):u[c].data=x.extend(u[c].data,n)),a=u[c],i||(a.data||(a.data={}),a=a.data),r!==t&&(a[x.camelCase(n)]=r),"string"==typeof n?(o=a[n],null==o&&(o=a[x.camelCase(n)])):o=a,o}}function W(e,t,n){if(x.acceptData(e)){var r,i,o=e.nodeType,a=o?x.cache:e,s=o?e[x.expando]:x.expando;if(a[s]){if(t&&(r=n?a[s]:a[s].data)){x.isArray(t)?t=t.concat(x.map(t,x.camelCase)):t in r?t=[t]:(t=x.camelCase(t),t=t in r?[t]:t.split(" ")),i=t.length;while(i--)delete r[t[i]];if(n?!I(r):!x.isEmptyObject(r))return}(n||(delete a[s].data,I(a[s])))&&(o?x.cleanData([e],!0):x.support.deleteExpando||a!=a.window?delete a[s]:a[s]=null)}}}x.extend({cache:{},noData:{applet:!0,embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(e){return e=e.nodeType?x.cache[e[x.expando]]:e[x.expando],!!e&&!I(e)},data:function(e,t,n){return R(e,t,n)},removeData:function(e,t){return W(e,t)},_data:function(e,t,n){return R(e,t,n,!0)},_removeData:function(e,t){return W(e,t,!0)},acceptData:function(e){if(e.nodeType&&1!==e.nodeType&&9!==e.nodeType)return!1;var t=e.nodeName&&x.noData[e.nodeName.toLowerCase()];return!t||t!==!0&&e.getAttribute("classid")===t}}),x.fn.extend({data:function(e,n){var r,i,o=null,a=0,s=this[0];if(e===t){if(this.length&&(o=x.data(s),1===s.nodeType&&!x._data(s,"parsedAttrs"))){for(r=s.attributes;r.length>a;a++)i=r[a].name,0===i.indexOf("data-")&&(i=x.camelCase(i.slice(5)),$(s,i,o[i]));x._data(s,"parsedAttrs",!0)}return o}return"object"==typeof e?this.each(function(){x.data(this,e)}):arguments.length>1?this.each(function(){x.data(this,e,n)}):s?$(s,e,x.data(s,e)):null},removeData:function(e){return this.each(function(){x.removeData(this,e)})}});function $(e,n,r){if(r===t&&1===e.nodeType){var i="data-"+n.replace(P,"-$1").toLowerCase();if(r=e.getAttribute(i),"string"==typeof r){try{r="true"===r?!0:"false"===r?!1:"null"===r?null:+r+""===r?+r:B.test(r)?x.parseJSON(r):r}catch(o){}x.data(e,n,r)}else r=t}return r}function I(e){var t;for(t in e)if(("data"!==t||!x.isEmptyObject(e[t]))&&"toJSON"!==t)return!1;return!0}x.extend({queue:function(e,n,r){var i;return e?(n=(n||"fx")+"queue",i=x._data(e,n),r&&(!i||x.isArray(r)?i=x._data(e,n,x.makeArray(r)):i.push(r)),i||[]):t},dequeue:function(e,t){t=t||"fx";var n=x.queue(e,t),r=n.length,i=n.shift(),o=x._queueHooks(e,t),a=function(){x.dequeue(e,t)};"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,a,o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return x._data(e,n)||x._data(e,n,{empty:x.Callbacks("once memory").add(function(){x._removeData(e,t+"queue"),x._removeData(e,n)})})}}),x.fn.extend({queue:function(e,n){var r=2;return"string"!=typeof e&&(n=e,e="fx",r--),r>arguments.length?x.queue(this[0],e):n===t?this:this.each(function(){var t=x.queue(this,e,n);x._queueHooks(this,e),"fx"===e&&"inprogress"!==t[0]&&x.dequeue(this,e)})},dequeue:function(e){return this.each(function(){x.dequeue(this,e)})},delay:function(e,t){return e=x.fx?x.fx.speeds[e]||e:e,t=t||"fx",this.queue(t,function(t,n){var r=setTimeout(t,e);n.stop=function(){clearTimeout(r)}})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,n){var r,i=1,o=x.Deferred(),a=this,s=this.length,l=function(){--i||o.resolveWith(a,[a])};"string"!=typeof e&&(n=e,e=t),e=e||"fx";while(s--)r=x._data(a[s],e+"queueHooks"),r&&r.empty&&(i++,r.empty.add(l));return l(),o.promise(n)}});var z,X,U=/[\t\r\n\f]/g,V=/\r/g,Y=/^(?:input|select|textarea|button|object)$/i,J=/^(?:a|area)$/i,G=/^(?:checked|selected)$/i,Q=x.support.getSetAttribute,K=x.support.input;x.fn.extend({attr:function(e,t){return x.access(this,x.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){x.removeAttr(this,e)})},prop:function(e,t){return x.access(this,x.prop,e,t,arguments.length>1)},removeProp:function(e){return e=x.propFix[e]||e,this.each(function(){try{this[e]=t,delete this[e]}catch(n){}})},addClass:function(e){var t,n,r,i,o,a=0,s=this.length,l="string"==typeof e&&e;if(x.isFunction(e))return this.each(function(t){x(this).addClass(e.call(this,t,this.className))});if(l)for(t=(e||"").match(T)||[];s>a;a++)if(n=this[a],r=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(U," "):" ")){o=0;while(i=t[o++])0>r.indexOf(" "+i+" ")&&(r+=i+" ");n.className=x.trim(r)}return this},removeClass:function(e){var t,n,r,i,o,a=0,s=this.length,l=0===arguments.length||"string"==typeof e&&e;if(x.isFunction(e))return this.each(function(t){x(this).removeClass(e.call(this,t,this.className))});if(l)for(t=(e||"").match(T)||[];s>a;a++)if(n=this[a],r=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(U," "):"")){o=0;while(i=t[o++])while(r.indexOf(" "+i+" ")>=0)r=r.replace(" "+i+" "," ");n.className=e?x.trim(r):""}return this},toggleClass:function(e,t){var n=typeof e;return"boolean"==typeof t&&"string"===n?t?this.addClass(e):this.removeClass(e):x.isFunction(e)?this.each(function(n){x(this).toggleClass(e.call(this,n,this.className,t),t)}):this.each(function(){if("string"===n){var t,r=0,o=x(this),a=e.match(T)||[];while(t=a[r++])o.hasClass(t)?o.removeClass(t):o.addClass(t)}else(n===i||"boolean"===n)&&(this.className&&x._data(this,"__className__",this.className),this.className=this.className||e===!1?"":x._data(this,"__className__")||"")})},hasClass:function(e){var t=" "+e+" ",n=0,r=this.length;for(;r>n;n++)if(1===this[n].nodeType&&(" "+this[n].className+" ").replace(U," ").indexOf(t)>=0)return!0;return!1},val:function(e){var n,r,i,o=this[0];{if(arguments.length)return i=x.isFunction(e),this.each(function(n){var o;1===this.nodeType&&(o=i?e.call(this,n,x(this).val()):e,null==o?o="":"number"==typeof o?o+="":x.isArray(o)&&(o=x.map(o,function(e){return null==e?"":e+""})),r=x.valHooks[this.type]||x.valHooks[this.nodeName.toLowerCase()],r&&"set"in r&&r.set(this,o,"value")!==t||(this.value=o))});if(o)return r=x.valHooks[o.type]||x.valHooks[o.nodeName.toLowerCase()],r&&"get"in r&&(n=r.get(o,"value"))!==t?n:(n=o.value,"string"==typeof n?n.replace(V,""):null==n?"":n)}}}),x.extend({valHooks:{option:{get:function(e){var t=x.find.attr(e,"value");return null!=t?t:e.text}},select:{get:function(e){var t,n,r=e.options,i=e.selectedIndex,o="select-one"===e.type||0>i,a=o?null:[],s=o?i+1:r.length,l=0>i?s:o?i:0;for(;s>l;l++)if(n=r[l],!(!n.selected&&l!==i||(x.support.optDisabled?n.disabled:null!==n.getAttribute("disabled"))||n.parentNode.disabled&&x.nodeName(n.parentNode,"optgroup"))){if(t=x(n).val(),o)return t;a.push(t)}return a},set:function(e,t){var n,r,i=e.options,o=x.makeArray(t),a=i.length;while(a--)r=i[a],(r.selected=x.inArray(x(r).val(),o)>=0)&&(n=!0);return n||(e.selectedIndex=-1),o}}},attr:function(e,n,r){var o,a,s=e.nodeType;if(e&&3!==s&&8!==s&&2!==s)return typeof e.getAttribute===i?x.prop(e,n,r):(1===s&&x.isXMLDoc(e)||(n=n.toLowerCase(),o=x.attrHooks[n]||(x.expr.match.bool.test(n)?X:z)),r===t?o&&"get"in o&&null!==(a=o.get(e,n))?a:(a=x.find.attr(e,n),null==a?t:a):null!==r?o&&"set"in o&&(a=o.set(e,r,n))!==t?a:(e.setAttribute(n,r+""),r):(x.removeAttr(e,n),t))},removeAttr:function(e,t){var n,r,i=0,o=t&&t.match(T);if(o&&1===e.nodeType)while(n=o[i++])r=x.propFix[n]||n,x.expr.match.bool.test(n)?K&&Q||!G.test(n)?e[r]=!1:e[x.camelCase("default-"+n)]=e[r]=!1:x.attr(e,n,""),e.removeAttribute(Q?n:r)},attrHooks:{type:{set:function(e,t){if(!x.support.radioValue&&"radio"===t&&x.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},propFix:{"for":"htmlFor","class":"className"},prop:function(e,n,r){var i,o,a,s=e.nodeType;if(e&&3!==s&&8!==s&&2!==s)return a=1!==s||!x.isXMLDoc(e),a&&(n=x.propFix[n]||n,o=x.propHooks[n]),r!==t?o&&"set"in o&&(i=o.set(e,r,n))!==t?i:e[n]=r:o&&"get"in o&&null!==(i=o.get(e,n))?i:e[n]},propHooks:{tabIndex:{get:function(e){var t=x.find.attr(e,"tabindex");return t?parseInt(t,10):Y.test(e.nodeName)||J.test(e.nodeName)&&e.href?0:-1}}}}),X={set:function(e,t,n){return t===!1?x.removeAttr(e,n):K&&Q||!G.test(n)?e.setAttribute(!Q&&x.propFix[n]||n,n):e[x.camelCase("default-"+n)]=e[n]=!0,n}},x.each(x.expr.match.bool.source.match(/\w+/g),function(e,n){var r=x.expr.attrHandle[n]||x.find.attr;x.expr.attrHandle[n]=K&&Q||!G.test(n)?function(e,n,i){var o=x.expr.attrHandle[n],a=i?t:(x.expr.attrHandle[n]=t)!=r(e,n,i)?n.toLowerCase():null;return x.expr.attrHandle[n]=o,a}:function(e,n,r){return r?t:e[x.camelCase("default-"+n)]?n.toLowerCase():null}}),K&&Q||(x.attrHooks.value={set:function(e,n,r){return x.nodeName(e,"input")?(e.defaultValue=n,t):z&&z.set(e,n,r)}}),Q||(z={set:function(e,n,r){var i=e.getAttributeNode(r);return i||e.setAttributeNode(i=e.ownerDocument.createAttribute(r)),i.value=n+="","value"===r||n===e.getAttribute(r)?n:t}},x.expr.attrHandle.id=x.expr.attrHandle.name=x.expr.attrHandle.coords=function(e,n,r){var i;return r?t:(i=e.getAttributeNode(n))&&""!==i.value?i.value:null},x.valHooks.button={get:function(e,n){var r=e.getAttributeNode(n);return r&&r.specified?r.value:t},set:z.set},x.attrHooks.contenteditable={set:function(e,t,n){z.set(e,""===t?!1:t,n)}},x.each(["width","height"],function(e,n){x.attrHooks[n]={set:function(e,r){return""===r?(e.setAttribute(n,"auto"),r):t}}})),x.support.hrefNormalized||x.each(["href","src"],function(e,t){x.propHooks[t]={get:function(e){return e.getAttribute(t,4)}}}),x.support.style||(x.attrHooks.style={get:function(e){return e.style.cssText||t},set:function(e,t){return e.style.cssText=t+""}}),x.support.optSelected||(x.propHooks.selected={get:function(e){var t=e.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null}}),x.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){x.propFix[this.toLowerCase()]=this}),x.support.enctype||(x.propFix.enctype="encoding"),x.each(["radio","checkbox"],function(){x.valHooks[this]={set:function(e,n){return x.isArray(n)?e.checked=x.inArray(x(e).val(),n)>=0:t}},x.support.checkOn||(x.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var Z=/^(?:input|select|textarea)$/i,et=/^key/,tt=/^(?:mouse|contextmenu)|click/,nt=/^(?:focusinfocus|focusoutblur)$/,rt=/^([^.]*)(?:\.(.+)|)$/;function it(){return!0}function ot(){return!1}function at(){try{return a.activeElement}catch(e){}}x.event={global:{},add:function(e,n,r,o,a){var s,l,u,c,p,f,d,h,g,m,y,v=x._data(e);if(v){r.handler&&(c=r,r=c.handler,a=c.selector),r.guid||(r.guid=x.guid++),(l=v.events)||(l=v.events={}),(f=v.handle)||(f=v.handle=function(e){return typeof x===i||e&&x.event.triggered===e.type?t:x.event.dispatch.apply(f.elem,arguments)},f.elem=e),n=(n||"").match(T)||[""],u=n.length;while(u--)s=rt.exec(n[u])||[],g=y=s[1],m=(s[2]||"").split(".").sort(),g&&(p=x.event.special[g]||{},g=(a?p.delegateType:p.bindType)||g,p=x.event.special[g]||{},d=x.extend({type:g,origType:y,data:o,handler:r,guid:r.guid,selector:a,needsContext:a&&x.expr.match.needsContext.test(a),namespace:m.join(".")},c),(h=l[g])||(h=l[g]=[],h.delegateCount=0,p.setup&&p.setup.call(e,o,m,f)!==!1||(e.addEventListener?e.addEventListener(g,f,!1):e.attachEvent&&e.attachEvent("on"+g,f))),p.add&&(p.add.call(e,d),d.handler.guid||(d.handler.guid=r.guid)),a?h.splice(h.delegateCount++,0,d):h.push(d),x.event.global[g]=!0);e=null}},remove:function(e,t,n,r,i){var o,a,s,l,u,c,p,f,d,h,g,m=x.hasData(e)&&x._data(e);if(m&&(c=m.events)){t=(t||"").match(T)||[""],u=t.length;while(u--)if(s=rt.exec(t[u])||[],d=g=s[1],h=(s[2]||"").split(".").sort(),d){p=x.event.special[d]||{},d=(r?p.delegateType:p.bindType)||d,f=c[d]||[],s=s[2]&&RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),l=o=f.length;while(o--)a=f[o],!i&&g!==a.origType||n&&n.guid!==a.guid||s&&!s.test(a.namespace)||r&&r!==a.selector&&("**"!==r||!a.selector)||(f.splice(o,1),a.selector&&f.delegateCount--,p.remove&&p.remove.call(e,a));l&&!f.length&&(p.teardown&&p.teardown.call(e,h,m.handle)!==!1||x.removeEvent(e,d,m.handle),delete c[d])}else for(d in c)x.event.remove(e,d+t[u],n,r,!0);x.isEmptyObject(c)&&(delete m.handle,x._removeData(e,"events"))}},trigger:function(n,r,i,o){var s,l,u,c,p,f,d,h=[i||a],g=v.call(n,"type")?n.type:n,m=v.call(n,"namespace")?n.namespace.split("."):[];if(u=f=i=i||a,3!==i.nodeType&&8!==i.nodeType&&!nt.test(g+x.event.triggered)&&(g.indexOf(".")>=0&&(m=g.split("."),g=m.shift(),m.sort()),l=0>g.indexOf(":")&&"on"+g,n=n[x.expando]?n:new x.Event(g,"object"==typeof n&&n),n.isTrigger=o?2:3,n.namespace=m.join("."),n.namespace_re=n.namespace?RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,n.result=t,n.target||(n.target=i),r=null==r?[n]:x.makeArray(r,[n]),p=x.event.special[g]||{},o||!p.trigger||p.trigger.apply(i,r)!==!1)){if(!o&&!p.noBubble&&!x.isWindow(i)){for(c=p.delegateType||g,nt.test(c+g)||(u=u.parentNode);u;u=u.parentNode)h.push(u),f=u;f===(i.ownerDocument||a)&&h.push(f.defaultView||f.parentWindow||e)}d=0;while((u=h[d++])&&!n.isPropagationStopped())n.type=d>1?c:p.bindType||g,s=(x._data(u,"events")||{})[n.type]&&x._data(u,"handle"),s&&s.apply(u,r),s=l&&u[l],s&&x.acceptData(u)&&s.apply&&s.apply(u,r)===!1&&n.preventDefault();if(n.type=g,!o&&!n.isDefaultPrevented()&&(!p._default||p._default.apply(h.pop(),r)===!1)&&x.acceptData(i)&&l&&i[g]&&!x.isWindow(i)){f=i[l],f&&(i[l]=null),x.event.triggered=g;try{i[g]()}catch(y){}x.event.triggered=t,f&&(i[l]=f)}return n.result}},dispatch:function(e){e=x.event.fix(e);var n,r,i,o,a,s=[],l=g.call(arguments),u=(x._data(this,"events")||{})[e.type]||[],c=x.event.special[e.type]||{};if(l[0]=e,e.delegateTarget=this,!c.preDispatch||c.preDispatch.call(this,e)!==!1){s=x.event.handlers.call(this,e,u),n=0;while((o=s[n++])&&!e.isPropagationStopped()){e.currentTarget=o.elem,a=0;while((i=o.handlers[a++])&&!e.isImmediatePropagationStopped())(!e.namespace_re||e.namespace_re.test(i.namespace))&&(e.handleObj=i,e.data=i.data,r=((x.event.special[i.origType]||{}).handle||i.handler).apply(o.elem,l),r!==t&&(e.result=r)===!1&&(e.preventDefault(),e.stopPropagation()))}return c.postDispatch&&c.postDispatch.call(this,e),e.result}},handlers:function(e,n){var r,i,o,a,s=[],l=n.delegateCount,u=e.target;if(l&&u.nodeType&&(!e.button||"click"!==e.type))for(;u!=this;u=u.parentNode||this)if(1===u.nodeType&&(u.disabled!==!0||"click"!==e.type)){for(o=[],a=0;l>a;a++)i=n[a],r=i.selector+" ",o[r]===t&&(o[r]=i.needsContext?x(r,this).index(u)>=0:x.find(r,this,null,[u]).length),o[r]&&o.push(i);o.length&&s.push({elem:u,handlers:o})}return n.length>l&&s.push({elem:this,handlers:n.slice(l)}),s},fix:function(e){if(e[x.expando])return e;var t,n,r,i=e.type,o=e,s=this.fixHooks[i];s||(this.fixHooks[i]=s=tt.test(i)?this.mouseHooks:et.test(i)?this.keyHooks:{}),r=s.props?this.props.concat(s.props):this.props,e=new x.Event(o),t=r.length;while(t--)n=r[t],e[n]=o[n];return e.target||(e.target=o.srcElement||a),3===e.target.nodeType&&(e.target=e.target.parentNode),e.metaKey=!!e.metaKey,s.filter?s.filter(e,o):e},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,n){var r,i,o,s=n.button,l=n.fromElement;return null==e.pageX&&null!=n.clientX&&(i=e.target.ownerDocument||a,o=i.documentElement,r=i.body,e.pageX=n.clientX+(o&&o.scrollLeft||r&&r.scrollLeft||0)-(o&&o.clientLeft||r&&r.clientLeft||0),e.pageY=n.clientY+(o&&o.scrollTop||r&&r.scrollTop||0)-(o&&o.clientTop||r&&r.clientTop||0)),!e.relatedTarget&&l&&(e.relatedTarget=l===e.target?n.toElement:l),e.which||s===t||(e.which=1&s?1:2&s?3:4&s?2:0),e}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==at()&&this.focus)try{return this.focus(),!1}catch(e){}},delegateType:"focusin"},blur:{trigger:function(){return this===at()&&this.blur?(this.blur(),!1):t},delegateType:"focusout"},click:{trigger:function(){return x.nodeName(this,"input")&&"checkbox"===this.type&&this.click?(this.click(),!1):t},_default:function(e){return x.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){e.result!==t&&(e.originalEvent.returnValue=e.result)}}},simulate:function(e,t,n,r){var i=x.extend(new x.Event,n,{type:e,isSimulated:!0,originalEvent:{}});r?x.event.trigger(i,null,t):x.event.dispatch.call(t,i),i.isDefaultPrevented()&&n.preventDefault()}},x.removeEvent=a.removeEventListener?function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n,!1)}:function(e,t,n){var r="on"+t;e.detachEvent&&(typeof e[r]===i&&(e[r]=null),e.detachEvent(r,n))},x.Event=function(e,n){return this instanceof x.Event?(e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||e.returnValue===!1||e.getPreventDefault&&e.getPreventDefault()?it:ot):this.type=e,n&&x.extend(this,n),this.timeStamp=e&&e.timeStamp||x.now(),this[x.expando]=!0,t):new x.Event(e,n)},x.Event.prototype={isDefaultPrevented:ot,isPropagationStopped:ot,isImmediatePropagationStopped:ot,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=it,e&&(e.preventDefault?e.preventDefault():e.returnValue=!1)},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=it,e&&(e.stopPropagation&&e.stopPropagation(),e.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=it,this.stopPropagation()}},x.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(e,t){x.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,i=e.relatedTarget,o=e.handleObj;return(!i||i!==r&&!x.contains(r,i))&&(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}}),x.support.submitBubbles||(x.event.special.submit={setup:function(){return x.nodeName(this,"form")?!1:(x.event.add(this,"click._submit keypress._submit",function(e){var n=e.target,r=x.nodeName(n,"input")||x.nodeName(n,"button")?n.form:t;r&&!x._data(r,"submitBubbles")&&(x.event.add(r,"submit._submit",function(e){e._submit_bubble=!0}),x._data(r,"submitBubbles",!0))}),t)},postDispatch:function(e){e._submit_bubble&&(delete e._submit_bubble,this.parentNode&&!e.isTrigger&&x.event.simulate("submit",this.parentNode,e,!0))},teardown:function(){return x.nodeName(this,"form")?!1:(x.event.remove(this,"._submit"),t)}}),x.support.changeBubbles||(x.event.special.change={setup:function(){return Z.test(this.nodeName)?(("checkbox"===this.type||"radio"===this.type)&&(x.event.add(this,"propertychange._change",function(e){"checked"===e.originalEvent.propertyName&&(this._just_changed=!0)}),x.event.add(this,"click._change",function(e){this._just_changed&&!e.isTrigger&&(this._just_changed=!1),x.event.simulate("change",this,e,!0)})),!1):(x.event.add(this,"beforeactivate._change",function(e){var t=e.target;Z.test(t.nodeName)&&!x._data(t,"changeBubbles")&&(x.event.add(t,"change._change",function(e){!this.parentNode||e.isSimulated||e.isTrigger||x.event.simulate("change",this.parentNode,e,!0)}),x._data(t,"changeBubbles",!0))}),t)},handle:function(e){var n=e.target;return this!==n||e.isSimulated||e.isTrigger||"radio"!==n.type&&"checkbox"!==n.type?e.handleObj.handler.apply(this,arguments):t},teardown:function(){return x.event.remove(this,"._change"),!Z.test(this.nodeName)}}),x.support.focusinBubbles||x.each({focus:"focusin",blur:"focusout"},function(e,t){var n=0,r=function(e){x.event.simulate(t,e.target,x.event.fix(e),!0)};x.event.special[t]={setup:function(){0===n++&&a.addEventListener(e,r,!0)},teardown:function(){0===--n&&a.removeEventListener(e,r,!0)}}}),x.fn.extend({on:function(e,n,r,i,o){var a,s;if("object"==typeof e){"string"!=typeof n&&(r=r||n,n=t);for(a in e)this.on(a,n,r,e[a],o);return this}if(null==r&&null==i?(i=n,r=n=t):null==i&&("string"==typeof n?(i=r,r=t):(i=r,r=n,n=t)),i===!1)i=ot;else if(!i)return this;return 1===o&&(s=i,i=function(e){return x().off(e),s.apply(this,arguments)},i.guid=s.guid||(s.guid=x.guid++)),this.each(function(){x.event.add(this,e,i,r,n)})},one:function(e,t,n,r){return this.on(e,t,n,r,1)},off:function(e,n,r){var i,o;if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,x(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof e){for(o in e)this.off(o,n,e[o]);return this}return(n===!1||"function"==typeof n)&&(r=n,n=t),r===!1&&(r=ot),this.each(function(){x.event.remove(this,e,r,n)})},trigger:function(e,t){return this.each(function(){x.event.trigger(e,t,this)})},triggerHandler:function(e,n){var r=this[0];return r?x.event.trigger(e,n,r,!0):t}});var st=/^.[^:#\[\.,]*$/,lt=/^(?:parents|prev(?:Until|All))/,ut=x.expr.match.needsContext,ct={children:!0,contents:!0,next:!0,prev:!0};x.fn.extend({find:function(e){var t,n=[],r=this,i=r.length;if("string"!=typeof e)return this.pushStack(x(e).filter(function(){for(t=0;i>t;t++)if(x.contains(r[t],this))return!0}));for(t=0;i>t;t++)x.find(e,r[t],n);return n=this.pushStack(i>1?x.unique(n):n),n.selector=this.selector?this.selector+" "+e:e,n},has:function(e){var t,n=x(e,this),r=n.length;return this.filter(function(){for(t=0;r>t;t++)if(x.contains(this,n[t]))return!0})},not:function(e){return this.pushStack(ft(this,e||[],!0))},filter:function(e){return this.pushStack(ft(this,e||[],!1))},is:function(e){return!!ft(this,"string"==typeof e&&ut.test(e)?x(e):e||[],!1).length},closest:function(e,t){var n,r=0,i=this.length,o=[],a=ut.test(e)||"string"!=typeof e?x(e,t||this.context):0;for(;i>r;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(11>n.nodeType&&(a?a.index(n)>-1:1===n.nodeType&&x.find.matchesSelector(n,e))){n=o.push(n);break}return this.pushStack(o.length>1?x.unique(o):o)},index:function(e){return e?"string"==typeof e?x.inArray(this[0],x(e)):x.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){var n="string"==typeof e?x(e,t):x.makeArray(e&&e.nodeType?[e]:e),r=x.merge(this.get(),n);return this.pushStack(x.unique(r))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}});function pt(e,t){do e=e[t];while(e&&1!==e.nodeType);return e}x.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return x.dir(e,"parentNode")},parentsUntil:function(e,t,n){return x.dir(e,"parentNode",n)},next:function(e){return pt(e,"nextSibling")},prev:function(e){return pt(e,"previousSibling")},nextAll:function(e){return x.dir(e,"nextSibling")},prevAll:function(e){return x.dir(e,"previousSibling")},nextUntil:function(e,t,n){return x.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return x.dir(e,"previousSibling",n)},siblings:function(e){return x.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return x.sibling(e.firstChild)},contents:function(e){return x.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:x.merge([],e.childNodes)}},function(e,t){x.fn[e]=function(n,r){var i=x.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=x.filter(r,i)),this.length>1&&(ct[e]||(i=x.unique(i)),lt.test(e)&&(i=i.reverse())),this.pushStack(i)}}),x.extend({filter:function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?x.find.matchesSelector(r,e)?[r]:[]:x.find.matches(e,x.grep(t,function(e){return 1===e.nodeType}))},dir:function(e,n,r){var i=[],o=e[n];while(o&&9!==o.nodeType&&(r===t||1!==o.nodeType||!x(o).is(r)))1===o.nodeType&&i.push(o),o=o[n];return i},sibling:function(e,t){var n=[];for(;e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}});function ft(e,t,n){if(x.isFunction(t))return x.grep(e,function(e,r){return!!t.call(e,r,e)!==n});if(t.nodeType)return x.grep(e,function(e){return e===t!==n});if("string"==typeof t){if(st.test(t))return x.filter(t,e,n);t=x.filter(t,e)}return x.grep(e,function(e){return x.inArray(e,t)>=0!==n})}function dt(e){var t=ht.split("|"),n=e.createDocumentFragment();if(n.createElement)while(t.length)n.createElement(t.pop());return n}var ht="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",gt=/ jQuery\d+="(?:null|\d+)"/g,mt=RegExp("<(?:"+ht+")[\\s/>]","i"),yt=/^\s+/,vt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,bt=/<([\w:]+)/,xt=/<tbody/i,wt=/<|&#?\w+;/,Tt=/<(?:script|style|link)/i,Ct=/^(?:checkbox|radio)$/i,Nt=/checked\s*(?:[^=]|=\s*.checked.)/i,kt=/^$|\/(?:java|ecma)script/i,Et=/^true\/(.*)/,St=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,At={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],area:[1,"<map>","</map>"],param:[1,"<object>","</object>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:x.support.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]},jt=dt(a),Dt=jt.appendChild(a.createElement("div"));At.optgroup=At.option,At.tbody=At.tfoot=At.colgroup=At.caption=At.thead,At.th=At.td,x.fn.extend({text:function(e){return x.access(this,function(e){return e===t?x.text(this):this.empty().append((this[0]&&this[0].ownerDocument||a).createTextNode(e))},null,e,arguments.length)},append:function(){return this.domManip(arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Lt(this,e);t.appendChild(e)}})},prepend:function(){return this.domManip(arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Lt(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},remove:function(e,t){var n,r=e?x.filter(e,this):this,i=0;for(;null!=(n=r[i]);i++)t||1!==n.nodeType||x.cleanData(Ft(n)),n.parentNode&&(t&&x.contains(n.ownerDocument,n)&&_t(Ft(n,"script")),n.parentNode.removeChild(n));return this},empty:function(){var e,t=0;for(;null!=(e=this[t]);t++){1===e.nodeType&&x.cleanData(Ft(e,!1));while(e.firstChild)e.removeChild(e.firstChild);e.options&&x.nodeName(e,"select")&&(e.options.length=0)}return this},clone:function(e,t){return e=null==e?!1:e,t=null==t?e:t,this.map(function(){return x.clone(this,e,t)})},html:function(e){return x.access(this,function(e){var n=this[0]||{},r=0,i=this.length;if(e===t)return 1===n.nodeType?n.innerHTML.replace(gt,""):t;if(!("string"!=typeof e||Tt.test(e)||!x.support.htmlSerialize&&mt.test(e)||!x.support.leadingWhitespace&&yt.test(e)||At[(bt.exec(e)||["",""])[1].toLowerCase()])){e=e.replace(vt,"<$1></$2>");try{for(;i>r;r++)n=this[r]||{},1===n.nodeType&&(x.cleanData(Ft(n,!1)),n.innerHTML=e);n=0}catch(o){}}n&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=x.map(this,function(e){return[e.nextSibling,e.parentNode]}),t=0;return this.domManip(arguments,function(n){var r=e[t++],i=e[t++];i&&(r&&r.parentNode!==i&&(r=this.nextSibling),x(this).remove(),i.insertBefore(n,r))},!0),t?this:this.remove()},detach:function(e){return this.remove(e,!0)},domManip:function(e,t,n){e=d.apply([],e);var r,i,o,a,s,l,u=0,c=this.length,p=this,f=c-1,h=e[0],g=x.isFunction(h);if(g||!(1>=c||"string"!=typeof h||x.support.checkClone)&&Nt.test(h))return this.each(function(r){var i=p.eq(r);g&&(e[0]=h.call(this,r,i.html())),i.domManip(e,t,n)});if(c&&(l=x.buildFragment(e,this[0].ownerDocument,!1,!n&&this),r=l.firstChild,1===l.childNodes.length&&(l=r),r)){for(a=x.map(Ft(l,"script"),Ht),o=a.length;c>u;u++)i=l,u!==f&&(i=x.clone(i,!0,!0),o&&x.merge(a,Ft(i,"script"))),t.call(this[u],i,u);if(o)for(s=a[a.length-1].ownerDocument,x.map(a,qt),u=0;o>u;u++)i=a[u],kt.test(i.type||"")&&!x._data(i,"globalEval")&&x.contains(s,i)&&(i.src?x._evalUrl(i.src):x.globalEval((i.text||i.textContent||i.innerHTML||"").replace(St,"")));l=r=null}return this}});function Lt(e,t){return x.nodeName(e,"table")&&x.nodeName(1===t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function Ht(e){return e.type=(null!==x.find.attr(e,"type"))+"/"+e.type,e}function qt(e){var t=Et.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function _t(e,t){var n,r=0;for(;null!=(n=e[r]);r++)x._data(n,"globalEval",!t||x._data(t[r],"globalEval"))}function Mt(e,t){if(1===t.nodeType&&x.hasData(e)){var n,r,i,o=x._data(e),a=x._data(t,o),s=o.events;if(s){delete a.handle,a.events={};for(n in s)for(r=0,i=s[n].length;i>r;r++)x.event.add(t,n,s[n][r])}a.data&&(a.data=x.extend({},a.data))}}function Ot(e,t){var n,r,i;if(1===t.nodeType){if(n=t.nodeName.toLowerCase(),!x.support.noCloneEvent&&t[x.expando]){i=x._data(t);for(r in i.events)x.removeEvent(t,r,i.handle);t.removeAttribute(x.expando)}"script"===n&&t.text!==e.text?(Ht(t).text=e.text,qt(t)):"object"===n?(t.parentNode&&(t.outerHTML=e.outerHTML),x.support.html5Clone&&e.innerHTML&&!x.trim(t.innerHTML)&&(t.innerHTML=e.innerHTML)):"input"===n&&Ct.test(e.type)?(t.defaultChecked=t.checked=e.checked,t.value!==e.value&&(t.value=e.value)):"option"===n?t.defaultSelected=t.selected=e.defaultSelected:("input"===n||"textarea"===n)&&(t.defaultValue=e.defaultValue)}}x.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){x.fn[e]=function(e){var n,r=0,i=[],o=x(e),a=o.length-1;for(;a>=r;r++)n=r===a?this:this.clone(!0),x(o[r])[t](n),h.apply(i,n.get());return this.pushStack(i)}});function Ft(e,n){var r,o,a=0,s=typeof e.getElementsByTagName!==i?e.getElementsByTagName(n||"*"):typeof e.querySelectorAll!==i?e.querySelectorAll(n||"*"):t;if(!s)for(s=[],r=e.childNodes||e;null!=(o=r[a]);a++)!n||x.nodeName(o,n)?s.push(o):x.merge(s,Ft(o,n));return n===t||n&&x.nodeName(e,n)?x.merge([e],s):s}function Bt(e){Ct.test(e.type)&&(e.defaultChecked=e.checked)}x.extend({clone:function(e,t,n){var r,i,o,a,s,l=x.contains(e.ownerDocument,e);if(x.support.html5Clone||x.isXMLDoc(e)||!mt.test("<"+e.nodeName+">")?o=e.cloneNode(!0):(Dt.innerHTML=e.outerHTML,Dt.removeChild(o=Dt.firstChild)),!(x.support.noCloneEvent&&x.support.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||x.isXMLDoc(e)))for(r=Ft(o),s=Ft(e),a=0;null!=(i=s[a]);++a)r[a]&&Ot(i,r[a]);if(t)if(n)for(s=s||Ft(e),r=r||Ft(o),a=0;null!=(i=s[a]);a++)Mt(i,r[a]);else Mt(e,o);return r=Ft(o,"script"),r.length>0&&_t(r,!l&&Ft(e,"script")),r=s=i=null,o},buildFragment:function(e,t,n,r){var i,o,a,s,l,u,c,p=e.length,f=dt(t),d=[],h=0;for(;p>h;h++)if(o=e[h],o||0===o)if("object"===x.type(o))x.merge(d,o.nodeType?[o]:o);else if(wt.test(o)){s=s||f.appendChild(t.createElement("div")),l=(bt.exec(o)||["",""])[1].toLowerCase(),c=At[l]||At._default,s.innerHTML=c[1]+o.replace(vt,"<$1></$2>")+c[2],i=c[0];while(i--)s=s.lastChild;if(!x.support.leadingWhitespace&&yt.test(o)&&d.push(t.createTextNode(yt.exec(o)[0])),!x.support.tbody){o="table"!==l||xt.test(o)?"<table>"!==c[1]||xt.test(o)?0:s:s.firstChild,i=o&&o.childNodes.length;while(i--)x.nodeName(u=o.childNodes[i],"tbody")&&!u.childNodes.length&&o.removeChild(u)}x.merge(d,s.childNodes),s.textContent="";while(s.firstChild)s.removeChild(s.firstChild);s=f.lastChild}else d.push(t.createTextNode(o));s&&f.removeChild(s),x.support.appendChecked||x.grep(Ft(d,"input"),Bt),h=0;while(o=d[h++])if((!r||-1===x.inArray(o,r))&&(a=x.contains(o.ownerDocument,o),s=Ft(f.appendChild(o),"script"),a&&_t(s),n)){i=0;while(o=s[i++])kt.test(o.type||"")&&n.push(o)}return s=null,f},cleanData:function(e,t){var n,r,o,a,s=0,l=x.expando,u=x.cache,c=x.support.deleteExpando,f=x.event.special;for(;null!=(n=e[s]);s++)if((t||x.acceptData(n))&&(o=n[l],a=o&&u[o])){if(a.events)for(r in a.events)f[r]?x.event.remove(n,r):x.removeEvent(n,r,a.handle); -u[o]&&(delete u[o],c?delete n[l]:typeof n.removeAttribute!==i?n.removeAttribute(l):n[l]=null,p.push(o))}},_evalUrl:function(e){return x.ajax({url:e,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})}}),x.fn.extend({wrapAll:function(e){if(x.isFunction(e))return this.each(function(t){x(this).wrapAll(e.call(this,t))});if(this[0]){var t=x(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstChild&&1===e.firstChild.nodeType)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(e){return x.isFunction(e)?this.each(function(t){x(this).wrapInner(e.call(this,t))}):this.each(function(){var t=x(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=x.isFunction(e);return this.each(function(n){x(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){x.nodeName(this,"body")||x(this).replaceWith(this.childNodes)}).end()}});var Pt,Rt,Wt,$t=/alpha\([^)]*\)/i,It=/opacity\s*=\s*([^)]*)/,zt=/^(top|right|bottom|left)$/,Xt=/^(none|table(?!-c[ea]).+)/,Ut=/^margin/,Vt=RegExp("^("+w+")(.*)$","i"),Yt=RegExp("^("+w+")(?!px)[a-z%]+$","i"),Jt=RegExp("^([+-])=("+w+")","i"),Gt={BODY:"block"},Qt={position:"absolute",visibility:"hidden",display:"block"},Kt={letterSpacing:0,fontWeight:400},Zt=["Top","Right","Bottom","Left"],en=["Webkit","O","Moz","ms"];function tn(e,t){if(t in e)return t;var n=t.charAt(0).toUpperCase()+t.slice(1),r=t,i=en.length;while(i--)if(t=en[i]+n,t in e)return t;return r}function nn(e,t){return e=t||e,"none"===x.css(e,"display")||!x.contains(e.ownerDocument,e)}function rn(e,t){var n,r,i,o=[],a=0,s=e.length;for(;s>a;a++)r=e[a],r.style&&(o[a]=x._data(r,"olddisplay"),n=r.style.display,t?(o[a]||"none"!==n||(r.style.display=""),""===r.style.display&&nn(r)&&(o[a]=x._data(r,"olddisplay",ln(r.nodeName)))):o[a]||(i=nn(r),(n&&"none"!==n||!i)&&x._data(r,"olddisplay",i?n:x.css(r,"display"))));for(a=0;s>a;a++)r=e[a],r.style&&(t&&"none"!==r.style.display&&""!==r.style.display||(r.style.display=t?o[a]||"":"none"));return e}x.fn.extend({css:function(e,n){return x.access(this,function(e,n,r){var i,o,a={},s=0;if(x.isArray(n)){for(o=Rt(e),i=n.length;i>s;s++)a[n[s]]=x.css(e,n[s],!1,o);return a}return r!==t?x.style(e,n,r):x.css(e,n)},e,n,arguments.length>1)},show:function(){return rn(this,!0)},hide:function(){return rn(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){nn(this)?x(this).show():x(this).hide()})}}),x.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Wt(e,"opacity");return""===n?"1":n}}}},cssNumber:{columnCount:!0,fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":x.support.cssFloat?"cssFloat":"styleFloat"},style:function(e,n,r,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,a,s,l=x.camelCase(n),u=e.style;if(n=x.cssProps[l]||(x.cssProps[l]=tn(u,l)),s=x.cssHooks[n]||x.cssHooks[l],r===t)return s&&"get"in s&&(o=s.get(e,!1,i))!==t?o:u[n];if(a=typeof r,"string"===a&&(o=Jt.exec(r))&&(r=(o[1]+1)*o[2]+parseFloat(x.css(e,n)),a="number"),!(null==r||"number"===a&&isNaN(r)||("number"!==a||x.cssNumber[l]||(r+="px"),x.support.clearCloneStyle||""!==r||0!==n.indexOf("background")||(u[n]="inherit"),s&&"set"in s&&(r=s.set(e,r,i))===t)))try{u[n]=r}catch(c){}}},css:function(e,n,r,i){var o,a,s,l=x.camelCase(n);return n=x.cssProps[l]||(x.cssProps[l]=tn(e.style,l)),s=x.cssHooks[n]||x.cssHooks[l],s&&"get"in s&&(a=s.get(e,!0,r)),a===t&&(a=Wt(e,n,i)),"normal"===a&&n in Kt&&(a=Kt[n]),""===r||r?(o=parseFloat(a),r===!0||x.isNumeric(o)?o||0:a):a}}),e.getComputedStyle?(Rt=function(t){return e.getComputedStyle(t,null)},Wt=function(e,n,r){var i,o,a,s=r||Rt(e),l=s?s.getPropertyValue(n)||s[n]:t,u=e.style;return s&&(""!==l||x.contains(e.ownerDocument,e)||(l=x.style(e,n)),Yt.test(l)&&Ut.test(n)&&(i=u.width,o=u.minWidth,a=u.maxWidth,u.minWidth=u.maxWidth=u.width=l,l=s.width,u.width=i,u.minWidth=o,u.maxWidth=a)),l}):a.documentElement.currentStyle&&(Rt=function(e){return e.currentStyle},Wt=function(e,n,r){var i,o,a,s=r||Rt(e),l=s?s[n]:t,u=e.style;return null==l&&u&&u[n]&&(l=u[n]),Yt.test(l)&&!zt.test(n)&&(i=u.left,o=e.runtimeStyle,a=o&&o.left,a&&(o.left=e.currentStyle.left),u.left="fontSize"===n?"1em":l,l=u.pixelLeft+"px",u.left=i,a&&(o.left=a)),""===l?"auto":l});function on(e,t,n){var r=Vt.exec(t);return r?Math.max(0,r[1]-(n||0))+(r[2]||"px"):t}function an(e,t,n,r,i){var o=n===(r?"border":"content")?4:"width"===t?1:0,a=0;for(;4>o;o+=2)"margin"===n&&(a+=x.css(e,n+Zt[o],!0,i)),r?("content"===n&&(a-=x.css(e,"padding"+Zt[o],!0,i)),"margin"!==n&&(a-=x.css(e,"border"+Zt[o]+"Width",!0,i))):(a+=x.css(e,"padding"+Zt[o],!0,i),"padding"!==n&&(a+=x.css(e,"border"+Zt[o]+"Width",!0,i)));return a}function sn(e,t,n){var r=!0,i="width"===t?e.offsetWidth:e.offsetHeight,o=Rt(e),a=x.support.boxSizing&&"border-box"===x.css(e,"boxSizing",!1,o);if(0>=i||null==i){if(i=Wt(e,t,o),(0>i||null==i)&&(i=e.style[t]),Yt.test(i))return i;r=a&&(x.support.boxSizingReliable||i===e.style[t]),i=parseFloat(i)||0}return i+an(e,t,n||(a?"border":"content"),r,o)+"px"}function ln(e){var t=a,n=Gt[e];return n||(n=un(e,t),"none"!==n&&n||(Pt=(Pt||x("<iframe frameborder='0' width='0' height='0'/>").css("cssText","display:block !important")).appendTo(t.documentElement),t=(Pt[0].contentWindow||Pt[0].contentDocument).document,t.write("<!doctype html><html><body>"),t.close(),n=un(e,t),Pt.detach()),Gt[e]=n),n}function un(e,t){var n=x(t.createElement(e)).appendTo(t.body),r=x.css(n[0],"display");return n.remove(),r}x.each(["height","width"],function(e,n){x.cssHooks[n]={get:function(e,r,i){return r?0===e.offsetWidth&&Xt.test(x.css(e,"display"))?x.swap(e,Qt,function(){return sn(e,n,i)}):sn(e,n,i):t},set:function(e,t,r){var i=r&&Rt(e);return on(e,t,r?an(e,n,r,x.support.boxSizing&&"border-box"===x.css(e,"boxSizing",!1,i),i):0)}}}),x.support.opacity||(x.cssHooks.opacity={get:function(e,t){return It.test((t&&e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(e,t){var n=e.style,r=e.currentStyle,i=x.isNumeric(t)?"alpha(opacity="+100*t+")":"",o=r&&r.filter||n.filter||"";n.zoom=1,(t>=1||""===t)&&""===x.trim(o.replace($t,""))&&n.removeAttribute&&(n.removeAttribute("filter"),""===t||r&&!r.filter)||(n.filter=$t.test(o)?o.replace($t,i):o+" "+i)}}),x(function(){x.support.reliableMarginRight||(x.cssHooks.marginRight={get:function(e,n){return n?x.swap(e,{display:"inline-block"},Wt,[e,"marginRight"]):t}}),!x.support.pixelPosition&&x.fn.position&&x.each(["top","left"],function(e,n){x.cssHooks[n]={get:function(e,r){return r?(r=Wt(e,n),Yt.test(r)?x(e).position()[n]+"px":r):t}}})}),x.expr&&x.expr.filters&&(x.expr.filters.hidden=function(e){return 0>=e.offsetWidth&&0>=e.offsetHeight||!x.support.reliableHiddenOffsets&&"none"===(e.style&&e.style.display||x.css(e,"display"))},x.expr.filters.visible=function(e){return!x.expr.filters.hidden(e)}),x.each({margin:"",padding:"",border:"Width"},function(e,t){x.cssHooks[e+t]={expand:function(n){var r=0,i={},o="string"==typeof n?n.split(" "):[n];for(;4>r;r++)i[e+Zt[r]+t]=o[r]||o[r-2]||o[0];return i}},Ut.test(e)||(x.cssHooks[e+t].set=on)});var cn=/%20/g,pn=/\[\]$/,fn=/\r?\n/g,dn=/^(?:submit|button|image|reset|file)$/i,hn=/^(?:input|select|textarea|keygen)/i;x.fn.extend({serialize:function(){return x.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=x.prop(this,"elements");return e?x.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!x(this).is(":disabled")&&hn.test(this.nodeName)&&!dn.test(e)&&(this.checked||!Ct.test(e))}).map(function(e,t){var n=x(this).val();return null==n?null:x.isArray(n)?x.map(n,function(e){return{name:t.name,value:e.replace(fn,"\r\n")}}):{name:t.name,value:n.replace(fn,"\r\n")}}).get()}}),x.param=function(e,n){var r,i=[],o=function(e,t){t=x.isFunction(t)?t():null==t?"":t,i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(n===t&&(n=x.ajaxSettings&&x.ajaxSettings.traditional),x.isArray(e)||e.jquery&&!x.isPlainObject(e))x.each(e,function(){o(this.name,this.value)});else for(r in e)gn(r,e[r],n,o);return i.join("&").replace(cn,"+")};function gn(e,t,n,r){var i;if(x.isArray(t))x.each(t,function(t,i){n||pn.test(e)?r(e,i):gn(e+"["+("object"==typeof i?t:"")+"]",i,n,r)});else if(n||"object"!==x.type(t))r(e,t);else for(i in t)gn(e+"["+i+"]",t[i],n,r)}x.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(e,t){x.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),x.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)},bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}});var mn,yn,vn=x.now(),bn=/\?/,xn=/#.*$/,wn=/([?&])_=[^&]*/,Tn=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Cn=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Nn=/^(?:GET|HEAD)$/,kn=/^\/\//,En=/^([\w.+-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,Sn=x.fn.load,An={},jn={},Dn="*/".concat("*");try{yn=o.href}catch(Ln){yn=a.createElement("a"),yn.href="",yn=yn.href}mn=En.exec(yn.toLowerCase())||[];function Hn(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,o=t.toLowerCase().match(T)||[];if(x.isFunction(n))while(r=o[i++])"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function qn(e,n,r,i){var o={},a=e===jn;function s(l){var u;return o[l]=!0,x.each(e[l]||[],function(e,l){var c=l(n,r,i);return"string"!=typeof c||a||o[c]?a?!(u=c):t:(n.dataTypes.unshift(c),s(c),!1)}),u}return s(n.dataTypes[0])||!o["*"]&&s("*")}function _n(e,n){var r,i,o=x.ajaxSettings.flatOptions||{};for(i in n)n[i]!==t&&((o[i]?e:r||(r={}))[i]=n[i]);return r&&x.extend(!0,e,r),e}x.fn.load=function(e,n,r){if("string"!=typeof e&&Sn)return Sn.apply(this,arguments);var i,o,a,s=this,l=e.indexOf(" ");return l>=0&&(i=e.slice(l,e.length),e=e.slice(0,l)),x.isFunction(n)?(r=n,n=t):n&&"object"==typeof n&&(a="POST"),s.length>0&&x.ajax({url:e,type:a,dataType:"html",data:n}).done(function(e){o=arguments,s.html(i?x("<div>").append(x.parseHTML(e)).find(i):e)}).complete(r&&function(e,t){s.each(r,o||[e.responseText,t,e])}),this},x.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){x.fn[t]=function(e){return this.on(t,e)}}),x.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:yn,type:"GET",isLocal:Cn.test(mn[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Dn,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":x.parseJSON,"text xml":x.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?_n(_n(e,x.ajaxSettings),t):_n(x.ajaxSettings,e)},ajaxPrefilter:Hn(An),ajaxTransport:Hn(jn),ajax:function(e,n){"object"==typeof e&&(n=e,e=t),n=n||{};var r,i,o,a,s,l,u,c,p=x.ajaxSetup({},n),f=p.context||p,d=p.context&&(f.nodeType||f.jquery)?x(f):x.event,h=x.Deferred(),g=x.Callbacks("once memory"),m=p.statusCode||{},y={},v={},b=0,w="canceled",C={readyState:0,getResponseHeader:function(e){var t;if(2===b){if(!c){c={};while(t=Tn.exec(a))c[t[1].toLowerCase()]=t[2]}t=c[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===b?a:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return b||(e=v[n]=v[n]||e,y[e]=t),this},overrideMimeType:function(e){return b||(p.mimeType=e),this},statusCode:function(e){var t;if(e)if(2>b)for(t in e)m[t]=[m[t],e[t]];else C.always(e[C.status]);return this},abort:function(e){var t=e||w;return u&&u.abort(t),k(0,t),this}};if(h.promise(C).complete=g.add,C.success=C.done,C.error=C.fail,p.url=((e||p.url||yn)+"").replace(xn,"").replace(kn,mn[1]+"//"),p.type=n.method||n.type||p.method||p.type,p.dataTypes=x.trim(p.dataType||"*").toLowerCase().match(T)||[""],null==p.crossDomain&&(r=En.exec(p.url.toLowerCase()),p.crossDomain=!(!r||r[1]===mn[1]&&r[2]===mn[2]&&(r[3]||("http:"===r[1]?"80":"443"))===(mn[3]||("http:"===mn[1]?"80":"443")))),p.data&&p.processData&&"string"!=typeof p.data&&(p.data=x.param(p.data,p.traditional)),qn(An,p,n,C),2===b)return C;l=p.global,l&&0===x.active++&&x.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Nn.test(p.type),o=p.url,p.hasContent||(p.data&&(o=p.url+=(bn.test(o)?"&":"?")+p.data,delete p.data),p.cache===!1&&(p.url=wn.test(o)?o.replace(wn,"$1_="+vn++):o+(bn.test(o)?"&":"?")+"_="+vn++)),p.ifModified&&(x.lastModified[o]&&C.setRequestHeader("If-Modified-Since",x.lastModified[o]),x.etag[o]&&C.setRequestHeader("If-None-Match",x.etag[o])),(p.data&&p.hasContent&&p.contentType!==!1||n.contentType)&&C.setRequestHeader("Content-Type",p.contentType),C.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+Dn+"; q=0.01":""):p.accepts["*"]);for(i in p.headers)C.setRequestHeader(i,p.headers[i]);if(p.beforeSend&&(p.beforeSend.call(f,C,p)===!1||2===b))return C.abort();w="abort";for(i in{success:1,error:1,complete:1})C[i](p[i]);if(u=qn(jn,p,n,C)){C.readyState=1,l&&d.trigger("ajaxSend",[C,p]),p.async&&p.timeout>0&&(s=setTimeout(function(){C.abort("timeout")},p.timeout));try{b=1,u.send(y,k)}catch(N){if(!(2>b))throw N;k(-1,N)}}else k(-1,"No Transport");function k(e,n,r,i){var c,y,v,w,T,N=n;2!==b&&(b=2,s&&clearTimeout(s),u=t,a=i||"",C.readyState=e>0?4:0,c=e>=200&&300>e||304===e,r&&(w=Mn(p,C,r)),w=On(p,w,C,c),c?(p.ifModified&&(T=C.getResponseHeader("Last-Modified"),T&&(x.lastModified[o]=T),T=C.getResponseHeader("etag"),T&&(x.etag[o]=T)),204===e||"HEAD"===p.type?N="nocontent":304===e?N="notmodified":(N=w.state,y=w.data,v=w.error,c=!v)):(v=N,(e||!N)&&(N="error",0>e&&(e=0))),C.status=e,C.statusText=(n||N)+"",c?h.resolveWith(f,[y,N,C]):h.rejectWith(f,[C,N,v]),C.statusCode(m),m=t,l&&d.trigger(c?"ajaxSuccess":"ajaxError",[C,p,c?y:v]),g.fireWith(f,[C,N]),l&&(d.trigger("ajaxComplete",[C,p]),--x.active||x.event.trigger("ajaxStop")))}return C},getJSON:function(e,t,n){return x.get(e,t,n,"json")},getScript:function(e,n){return x.get(e,t,n,"script")}}),x.each(["get","post"],function(e,n){x[n]=function(e,r,i,o){return x.isFunction(r)&&(o=o||i,i=r,r=t),x.ajax({url:e,type:n,dataType:o,data:r,success:i})}});function Mn(e,n,r){var i,o,a,s,l=e.contents,u=e.dataTypes;while("*"===u[0])u.shift(),o===t&&(o=e.mimeType||n.getResponseHeader("Content-Type"));if(o)for(s in l)if(l[s]&&l[s].test(o)){u.unshift(s);break}if(u[0]in r)a=u[0];else{for(s in r){if(!u[0]||e.converters[s+" "+u[0]]){a=s;break}i||(i=s)}a=a||i}return a?(a!==u[0]&&u.unshift(a),r[a]):t}function On(e,t,n,r){var i,o,a,s,l,u={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)u[a.toLowerCase()]=e.converters[a];o=c.shift();while(o)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!l&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=o,o=c.shift())if("*"===o)o=l;else if("*"!==l&&l!==o){if(a=u[l+" "+o]||u["* "+o],!a)for(i in u)if(s=i.split(" "),s[1]===o&&(a=u[l+" "+s[0]]||u["* "+s[0]])){a===!0?a=u[i]:u[i]!==!0&&(o=s[0],c.unshift(s[1]));break}if(a!==!0)if(a&&e["throws"])t=a(t);else try{t=a(t)}catch(p){return{state:"parsererror",error:a?p:"No conversion from "+l+" to "+o}}}return{state:"success",data:t}}x.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(e){return x.globalEval(e),e}}}),x.ajaxPrefilter("script",function(e){e.cache===t&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),x.ajaxTransport("script",function(e){if(e.crossDomain){var n,r=a.head||x("head")[0]||a.documentElement;return{send:function(t,i){n=a.createElement("script"),n.async=!0,e.scriptCharset&&(n.charset=e.scriptCharset),n.src=e.url,n.onload=n.onreadystatechange=function(e,t){(t||!n.readyState||/loaded|complete/.test(n.readyState))&&(n.onload=n.onreadystatechange=null,n.parentNode&&n.parentNode.removeChild(n),n=null,t||i(200,"success"))},r.insertBefore(n,r.firstChild)},abort:function(){n&&n.onload(t,!0)}}}});var Fn=[],Bn=/(=)\?(?=&|$)|\?\?/;x.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Fn.pop()||x.expando+"_"+vn++;return this[e]=!0,e}}),x.ajaxPrefilter("json jsonp",function(n,r,i){var o,a,s,l=n.jsonp!==!1&&(Bn.test(n.url)?"url":"string"==typeof n.data&&!(n.contentType||"").indexOf("application/x-www-form-urlencoded")&&Bn.test(n.data)&&"data");return l||"jsonp"===n.dataTypes[0]?(o=n.jsonpCallback=x.isFunction(n.jsonpCallback)?n.jsonpCallback():n.jsonpCallback,l?n[l]=n[l].replace(Bn,"$1"+o):n.jsonp!==!1&&(n.url+=(bn.test(n.url)?"&":"?")+n.jsonp+"="+o),n.converters["script json"]=function(){return s||x.error(o+" was not called"),s[0]},n.dataTypes[0]="json",a=e[o],e[o]=function(){s=arguments},i.always(function(){e[o]=a,n[o]&&(n.jsonpCallback=r.jsonpCallback,Fn.push(o)),s&&x.isFunction(a)&&a(s[0]),s=a=t}),"script"):t});var Pn,Rn,Wn=0,$n=e.ActiveXObject&&function(){var e;for(e in Pn)Pn[e](t,!0)};function In(){try{return new e.XMLHttpRequest}catch(t){}}function zn(){try{return new e.ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}x.ajaxSettings.xhr=e.ActiveXObject?function(){return!this.isLocal&&In()||zn()}:In,Rn=x.ajaxSettings.xhr(),x.support.cors=!!Rn&&"withCredentials"in Rn,Rn=x.support.ajax=!!Rn,Rn&&x.ajaxTransport(function(n){if(!n.crossDomain||x.support.cors){var r;return{send:function(i,o){var a,s,l=n.xhr();if(n.username?l.open(n.type,n.url,n.async,n.username,n.password):l.open(n.type,n.url,n.async),n.xhrFields)for(s in n.xhrFields)l[s]=n.xhrFields[s];n.mimeType&&l.overrideMimeType&&l.overrideMimeType(n.mimeType),n.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest");try{for(s in i)l.setRequestHeader(s,i[s])}catch(u){}l.send(n.hasContent&&n.data||null),r=function(e,i){var s,u,c,p;try{if(r&&(i||4===l.readyState))if(r=t,a&&(l.onreadystatechange=x.noop,$n&&delete Pn[a]),i)4!==l.readyState&&l.abort();else{p={},s=l.status,u=l.getAllResponseHeaders(),"string"==typeof l.responseText&&(p.text=l.responseText);try{c=l.statusText}catch(f){c=""}s||!n.isLocal||n.crossDomain?1223===s&&(s=204):s=p.text?200:404}}catch(d){i||o(-1,d)}p&&o(s,c,p,u)},n.async?4===l.readyState?setTimeout(r):(a=++Wn,$n&&(Pn||(Pn={},x(e).unload($n)),Pn[a]=r),l.onreadystatechange=r):r()},abort:function(){r&&r(t,!0)}}}});var Xn,Un,Vn=/^(?:toggle|show|hide)$/,Yn=RegExp("^(?:([+-])=|)("+w+")([a-z%]*)$","i"),Jn=/queueHooks$/,Gn=[nr],Qn={"*":[function(e,t){var n=this.createTween(e,t),r=n.cur(),i=Yn.exec(t),o=i&&i[3]||(x.cssNumber[e]?"":"px"),a=(x.cssNumber[e]||"px"!==o&&+r)&&Yn.exec(x.css(n.elem,e)),s=1,l=20;if(a&&a[3]!==o){o=o||a[3],i=i||[],a=+r||1;do s=s||".5",a/=s,x.style(n.elem,e,a+o);while(s!==(s=n.cur()/r)&&1!==s&&--l)}return i&&(a=n.start=+a||+r||0,n.unit=o,n.end=i[1]?a+(i[1]+1)*i[2]:+i[2]),n}]};function Kn(){return setTimeout(function(){Xn=t}),Xn=x.now()}function Zn(e,t,n){var r,i=(Qn[t]||[]).concat(Qn["*"]),o=0,a=i.length;for(;a>o;o++)if(r=i[o].call(n,t,e))return r}function er(e,t,n){var r,i,o=0,a=Gn.length,s=x.Deferred().always(function(){delete l.elem}),l=function(){if(i)return!1;var t=Xn||Kn(),n=Math.max(0,u.startTime+u.duration-t),r=n/u.duration||0,o=1-r,a=0,l=u.tweens.length;for(;l>a;a++)u.tweens[a].run(o);return s.notifyWith(e,[u,o,n]),1>o&&l?n:(s.resolveWith(e,[u]),!1)},u=s.promise({elem:e,props:x.extend({},t),opts:x.extend(!0,{specialEasing:{}},n),originalProperties:t,originalOptions:n,startTime:Xn||Kn(),duration:n.duration,tweens:[],createTween:function(t,n){var r=x.Tween(e,u.opts,t,n,u.opts.specialEasing[t]||u.opts.easing);return u.tweens.push(r),r},stop:function(t){var n=0,r=t?u.tweens.length:0;if(i)return this;for(i=!0;r>n;n++)u.tweens[n].run(1);return t?s.resolveWith(e,[u,t]):s.rejectWith(e,[u,t]),this}}),c=u.props;for(tr(c,u.opts.specialEasing);a>o;o++)if(r=Gn[o].call(u,e,c,u.opts))return r;return x.map(c,Zn,u),x.isFunction(u.opts.start)&&u.opts.start.call(e,u),x.fx.timer(x.extend(l,{elem:e,anim:u,queue:u.opts.queue})),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always)}function tr(e,t){var n,r,i,o,a;for(n in e)if(r=x.camelCase(n),i=t[r],o=e[n],x.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),a=x.cssHooks[r],a&&"expand"in a){o=a.expand(o),delete e[r];for(n in o)n in e||(e[n]=o[n],t[n]=i)}else t[r]=i}x.Animation=x.extend(er,{tweener:function(e,t){x.isFunction(e)?(t=e,e=["*"]):e=e.split(" ");var n,r=0,i=e.length;for(;i>r;r++)n=e[r],Qn[n]=Qn[n]||[],Qn[n].unshift(t)},prefilter:function(e,t){t?Gn.unshift(e):Gn.push(e)}});function nr(e,t,n){var r,i,o,a,s,l,u=this,c={},p=e.style,f=e.nodeType&&nn(e),d=x._data(e,"fxshow");n.queue||(s=x._queueHooks(e,"fx"),null==s.unqueued&&(s.unqueued=0,l=s.empty.fire,s.empty.fire=function(){s.unqueued||l()}),s.unqueued++,u.always(function(){u.always(function(){s.unqueued--,x.queue(e,"fx").length||s.empty.fire()})})),1===e.nodeType&&("height"in t||"width"in t)&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],"inline"===x.css(e,"display")&&"none"===x.css(e,"float")&&(x.support.inlineBlockNeedsLayout&&"inline"!==ln(e.nodeName)?p.zoom=1:p.display="inline-block")),n.overflow&&(p.overflow="hidden",x.support.shrinkWrapBlocks||u.always(function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]}));for(r in t)if(i=t[r],Vn.exec(i)){if(delete t[r],o=o||"toggle"===i,i===(f?"hide":"show"))continue;c[r]=d&&d[r]||x.style(e,r)}if(!x.isEmptyObject(c)){d?"hidden"in d&&(f=d.hidden):d=x._data(e,"fxshow",{}),o&&(d.hidden=!f),f?x(e).show():u.done(function(){x(e).hide()}),u.done(function(){var t;x._removeData(e,"fxshow");for(t in c)x.style(e,t,c[t])});for(r in c)a=Zn(f?d[r]:0,r,u),r in d||(d[r]=a.start,f&&(a.end=a.start,a.start="width"===r||"height"===r?1:0))}}function rr(e,t,n,r,i){return new rr.prototype.init(e,t,n,r,i)}x.Tween=rr,rr.prototype={constructor:rr,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||"swing",this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(x.cssNumber[n]?"":"px")},cur:function(){var e=rr.propHooks[this.prop];return e&&e.get?e.get(this):rr.propHooks._default.get(this)},run:function(e){var t,n=rr.propHooks[this.prop];return this.pos=t=this.options.duration?x.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):rr.propHooks._default.set(this),this}},rr.prototype.init.prototype=rr.prototype,rr.propHooks={_default:{get:function(e){var t;return null==e.elem[e.prop]||e.elem.style&&null!=e.elem.style[e.prop]?(t=x.css(e.elem,e.prop,""),t&&"auto"!==t?t:0):e.elem[e.prop]},set:function(e){x.fx.step[e.prop]?x.fx.step[e.prop](e):e.elem.style&&(null!=e.elem.style[x.cssProps[e.prop]]||x.cssHooks[e.prop])?x.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}},rr.propHooks.scrollTop=rr.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},x.each(["toggle","show","hide"],function(e,t){var n=x.fn[t];x.fn[t]=function(e,r,i){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(ir(t,!0),e,r,i)}}),x.fn.extend({fadeTo:function(e,t,n,r){return this.filter(nn).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=x.isEmptyObject(e),o=x.speed(t,n,r),a=function(){var t=er(this,x.extend({},e),o);(i||x._data(this,"finish"))&&t.stop(!0)};return a.finish=a,i||o.queue===!1?this.each(a):this.queue(o.queue,a)},stop:function(e,n,r){var i=function(e){var t=e.stop;delete e.stop,t(r)};return"string"!=typeof e&&(r=n,n=e,e=t),n&&e!==!1&&this.queue(e||"fx",[]),this.each(function(){var t=!0,n=null!=e&&e+"queueHooks",o=x.timers,a=x._data(this);if(n)a[n]&&a[n].stop&&i(a[n]);else for(n in a)a[n]&&a[n].stop&&Jn.test(n)&&i(a[n]);for(n=o.length;n--;)o[n].elem!==this||null!=e&&o[n].queue!==e||(o[n].anim.stop(r),t=!1,o.splice(n,1));(t||!r)&&x.dequeue(this,e)})},finish:function(e){return e!==!1&&(e=e||"fx"),this.each(function(){var t,n=x._data(this),r=n[e+"queue"],i=n[e+"queueHooks"],o=x.timers,a=r?r.length:0;for(n.finish=!0,x.queue(this,e,[]),i&&i.stop&&i.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;a>t;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish})}});function ir(e,t){var n,r={height:e},i=0;for(t=t?1:0;4>i;i+=2-t)n=Zt[i],r["margin"+n]=r["padding"+n]=e;return t&&(r.opacity=r.width=e),r}x.each({slideDown:ir("show"),slideUp:ir("hide"),slideToggle:ir("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){x.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),x.speed=function(e,t,n){var r=e&&"object"==typeof e?x.extend({},e):{complete:n||!n&&t||x.isFunction(e)&&e,duration:e,easing:n&&t||t&&!x.isFunction(t)&&t};return r.duration=x.fx.off?0:"number"==typeof r.duration?r.duration:r.duration in x.fx.speeds?x.fx.speeds[r.duration]:x.fx.speeds._default,(null==r.queue||r.queue===!0)&&(r.queue="fx"),r.old=r.complete,r.complete=function(){x.isFunction(r.old)&&r.old.call(this),r.queue&&x.dequeue(this,r.queue)},r},x.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2}},x.timers=[],x.fx=rr.prototype.init,x.fx.tick=function(){var e,n=x.timers,r=0;for(Xn=x.now();n.length>r;r++)e=n[r],e()||n[r]!==e||n.splice(r--,1);n.length||x.fx.stop(),Xn=t},x.fx.timer=function(e){e()&&x.timers.push(e)&&x.fx.start()},x.fx.interval=13,x.fx.start=function(){Un||(Un=setInterval(x.fx.tick,x.fx.interval))},x.fx.stop=function(){clearInterval(Un),Un=null},x.fx.speeds={slow:600,fast:200,_default:400},x.fx.step={},x.expr&&x.expr.filters&&(x.expr.filters.animated=function(e){return x.grep(x.timers,function(t){return e===t.elem}).length}),x.fn.offset=function(e){if(arguments.length)return e===t?this:this.each(function(t){x.offset.setOffset(this,e,t)});var n,r,o={top:0,left:0},a=this[0],s=a&&a.ownerDocument;if(s)return n=s.documentElement,x.contains(n,a)?(typeof a.getBoundingClientRect!==i&&(o=a.getBoundingClientRect()),r=or(s),{top:o.top+(r.pageYOffset||n.scrollTop)-(n.clientTop||0),left:o.left+(r.pageXOffset||n.scrollLeft)-(n.clientLeft||0)}):o},x.offset={setOffset:function(e,t,n){var r=x.css(e,"position");"static"===r&&(e.style.position="relative");var i=x(e),o=i.offset(),a=x.css(e,"top"),s=x.css(e,"left"),l=("absolute"===r||"fixed"===r)&&x.inArray("auto",[a,s])>-1,u={},c={},p,f;l?(c=i.position(),p=c.top,f=c.left):(p=parseFloat(a)||0,f=parseFloat(s)||0),x.isFunction(t)&&(t=t.call(e,n,o)),null!=t.top&&(u.top=t.top-o.top+p),null!=t.left&&(u.left=t.left-o.left+f),"using"in t?t.using.call(e,u):i.css(u)}},x.fn.extend({position:function(){if(this[0]){var e,t,n={top:0,left:0},r=this[0];return"fixed"===x.css(r,"position")?t=r.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),x.nodeName(e[0],"html")||(n=e.offset()),n.top+=x.css(e[0],"borderTopWidth",!0),n.left+=x.css(e[0],"borderLeftWidth",!0)),{top:t.top-n.top-x.css(r,"marginTop",!0),left:t.left-n.left-x.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent||s;while(e&&!x.nodeName(e,"html")&&"static"===x.css(e,"position"))e=e.offsetParent;return e||s})}}),x.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,n){var r=/Y/.test(n);x.fn[e]=function(i){return x.access(this,function(e,i,o){var a=or(e);return o===t?a?n in a?a[n]:a.document.documentElement[i]:e[i]:(a?a.scrollTo(r?x(a).scrollLeft():o,r?o:x(a).scrollTop()):e[i]=o,t)},e,i,arguments.length,null)}});function or(e){return x.isWindow(e)?e:9===e.nodeType?e.defaultView||e.parentWindow:!1}x.each({Height:"height",Width:"width"},function(e,n){x.each({padding:"inner"+e,content:n,"":"outer"+e},function(r,i){x.fn[i]=function(i,o){var a=arguments.length&&(r||"boolean"!=typeof i),s=r||(i===!0||o===!0?"margin":"border");return x.access(this,function(n,r,i){var o;return x.isWindow(n)?n.document.documentElement["client"+e]:9===n.nodeType?(o=n.documentElement,Math.max(n.body["scroll"+e],o["scroll"+e],n.body["offset"+e],o["offset"+e],o["client"+e])):i===t?x.css(n,r,s):x.style(n,r,i,s)},n,a?i:t,a,null)}})}),x.fn.size=function(){return this.length},x.fn.andSelf=x.fn.addBack,"object"==typeof module&&module&&"object"==typeof module.exports?module.exports=x:(e.jQuery=e.$=x,"function"==typeof define&&define.amd&&define("jquery",[],function(){return x}))})(window); diff --git a/latest/_static/js/vendor/prettify.js b/latest/_static/js/vendor/prettify.js deleted file mode 100644 index 7b990496dd2b..000000000000 --- a/latest/_static/js/vendor/prettify.js +++ /dev/null @@ -1,30 +0,0 @@ -!function(){var q=null;window.PR_SHOULD_USE_CONTINUATION=!0; -(function(){function S(a){function d(e){var b=e.charCodeAt(0);if(b!==92)return b;var a=e.charAt(1);return(b=r[a])?b:"0"<=a&&a<="7"?parseInt(e.substring(1),8):a==="u"||a==="x"?parseInt(e.substring(2),16):e.charCodeAt(1)}function g(e){if(e<32)return(e<16?"\\x0":"\\x")+e.toString(16);e=String.fromCharCode(e);return e==="\\"||e==="-"||e==="]"||e==="^"?"\\"+e:e}function b(e){var b=e.substring(1,e.length-1).match(/\\u[\dA-Fa-f]{4}|\\x[\dA-Fa-f]{2}|\\[0-3][0-7]{0,2}|\\[0-7]{1,2}|\\[\S\s]|[^\\]/g),e=[],a= -b[0]==="^",c=["["];a&&c.push("^");for(var a=a?1:0,f=b.length;a<f;++a){var h=b[a];if(/\\[bdsw]/i.test(h))c.push(h);else{var h=d(h),l;a+2<f&&"-"===b[a+1]?(l=d(b[a+2]),a+=2):l=h;e.push([h,l]);l<65||h>122||(l<65||h>90||e.push([Math.max(65,h)|32,Math.min(l,90)|32]),l<97||h>122||e.push([Math.max(97,h)&-33,Math.min(l,122)&-33]))}}e.sort(function(e,a){return e[0]-a[0]||a[1]-e[1]});b=[];f=[];for(a=0;a<e.length;++a)h=e[a],h[0]<=f[1]+1?f[1]=Math.max(f[1],h[1]):b.push(f=h);for(a=0;a<b.length;++a)h=b[a],c.push(g(h[0])), -h[1]>h[0]&&(h[1]+1>h[0]&&c.push("-"),c.push(g(h[1])));c.push("]");return c.join("")}function s(e){for(var a=e.source.match(/\[(?:[^\\\]]|\\[\S\s])*]|\\u[\dA-Fa-f]{4}|\\x[\dA-Fa-f]{2}|\\\d+|\\[^\dux]|\(\?[!:=]|[()^]|[^()[\\^]+/g),c=a.length,d=[],f=0,h=0;f<c;++f){var l=a[f];l==="("?++h:"\\"===l.charAt(0)&&(l=+l.substring(1))&&(l<=h?d[l]=-1:a[f]=g(l))}for(f=1;f<d.length;++f)-1===d[f]&&(d[f]=++x);for(h=f=0;f<c;++f)l=a[f],l==="("?(++h,d[h]||(a[f]="(?:")):"\\"===l.charAt(0)&&(l=+l.substring(1))&&l<=h&& -(a[f]="\\"+d[l]);for(f=0;f<c;++f)"^"===a[f]&&"^"!==a[f+1]&&(a[f]="");if(e.ignoreCase&&m)for(f=0;f<c;++f)l=a[f],e=l.charAt(0),l.length>=2&&e==="["?a[f]=b(l):e!=="\\"&&(a[f]=l.replace(/[A-Za-z]/g,function(a){a=a.charCodeAt(0);return"["+String.fromCharCode(a&-33,a|32)+"]"}));return a.join("")}for(var x=0,m=!1,j=!1,k=0,c=a.length;k<c;++k){var i=a[k];if(i.ignoreCase)j=!0;else if(/[a-z]/i.test(i.source.replace(/\\u[\da-f]{4}|\\x[\da-f]{2}|\\[^UXux]/gi,""))){m=!0;j=!1;break}}for(var r={b:8,t:9,n:10,v:11, -f:12,r:13},n=[],k=0,c=a.length;k<c;++k){i=a[k];if(i.global||i.multiline)throw Error(""+i);n.push("(?:"+s(i)+")")}return RegExp(n.join("|"),j?"gi":"g")}function T(a,d){function g(a){var c=a.nodeType;if(c==1){if(!b.test(a.className)){for(c=a.firstChild;c;c=c.nextSibling)g(c);c=a.nodeName.toLowerCase();if("br"===c||"li"===c)s[j]="\n",m[j<<1]=x++,m[j++<<1|1]=a}}else if(c==3||c==4)c=a.nodeValue,c.length&&(c=d?c.replace(/\r\n?/g,"\n"):c.replace(/[\t\n\r ]+/g," "),s[j]=c,m[j<<1]=x,x+=c.length,m[j++<<1|1]= -a)}var b=/(?:^|\s)nocode(?:\s|$)/,s=[],x=0,m=[],j=0;g(a);return{a:s.join("").replace(/\n$/,""),d:m}}function H(a,d,g,b){d&&(a={a:d,e:a},g(a),b.push.apply(b,a.g))}function U(a){for(var d=void 0,g=a.firstChild;g;g=g.nextSibling)var b=g.nodeType,d=b===1?d?a:g:b===3?V.test(g.nodeValue)?a:d:d;return d===a?void 0:d}function C(a,d){function g(a){for(var j=a.e,k=[j,"pln"],c=0,i=a.a.match(s)||[],r={},n=0,e=i.length;n<e;++n){var z=i[n],w=r[z],t=void 0,f;if(typeof w==="string")f=!1;else{var h=b[z.charAt(0)]; -if(h)t=z.match(h[1]),w=h[0];else{for(f=0;f<x;++f)if(h=d[f],t=z.match(h[1])){w=h[0];break}t||(w="pln")}if((f=w.length>=5&&"lang-"===w.substring(0,5))&&!(t&&typeof t[1]==="string"))f=!1,w="src";f||(r[z]=w)}h=c;c+=z.length;if(f){f=t[1];var l=z.indexOf(f),B=l+f.length;t[2]&&(B=z.length-t[2].length,l=B-f.length);w=w.substring(5);H(j+h,z.substring(0,l),g,k);H(j+h+l,f,I(w,f),k);H(j+h+B,z.substring(B),g,k)}else k.push(j+h,w)}a.g=k}var b={},s;(function(){for(var g=a.concat(d),j=[],k={},c=0,i=g.length;c<i;++c){var r= -g[c],n=r[3];if(n)for(var e=n.length;--e>=0;)b[n.charAt(e)]=r;r=r[1];n=""+r;k.hasOwnProperty(n)||(j.push(r),k[n]=q)}j.push(/[\S\s]/);s=S(j)})();var x=d.length;return g}function v(a){var d=[],g=[];a.tripleQuotedStrings?d.push(["str",/^(?:'''(?:[^'\\]|\\[\S\s]|''?(?=[^']))*(?:'''|$)|"""(?:[^"\\]|\\[\S\s]|""?(?=[^"]))*(?:"""|$)|'(?:[^'\\]|\\[\S\s])*(?:'|$)|"(?:[^"\\]|\\[\S\s])*(?:"|$))/,q,"'\""]):a.multiLineStrings?d.push(["str",/^(?:'(?:[^'\\]|\\[\S\s])*(?:'|$)|"(?:[^"\\]|\\[\S\s])*(?:"|$)|`(?:[^\\`]|\\[\S\s])*(?:`|$))/, -q,"'\"`"]):d.push(["str",/^(?:'(?:[^\n\r'\\]|\\.)*(?:'|$)|"(?:[^\n\r"\\]|\\.)*(?:"|$))/,q,"\"'"]);a.verbatimStrings&&g.push(["str",/^@"(?:[^"]|"")*(?:"|$)/,q]);var b=a.hashComments;b&&(a.cStyleComments?(b>1?d.push(["com",/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,q,"#"]):d.push(["com",/^#(?:(?:define|e(?:l|nd)if|else|error|ifn?def|include|line|pragma|undef|warning)\b|[^\n\r]*)/,q,"#"]),g.push(["str",/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h(?:h|pp|\+\+)?|[a-z]\w*)>/,q])):d.push(["com", -/^#[^\n\r]*/,q,"#"]));a.cStyleComments&&(g.push(["com",/^\/\/[^\n\r]*/,q]),g.push(["com",/^\/\*[\S\s]*?(?:\*\/|$)/,q]));if(b=a.regexLiterals){var s=(b=b>1?"":"\n\r")?".":"[\\S\\s]";g.push(["lang-regex",RegExp("^(?:^^\\.?|[+-]|[!=]=?=?|\\#|%=?|&&?=?|\\(|\\*=?|[+\\-]=|->|\\/=?|::?|<<?=?|>>?>?=?|,|;|\\?|@|\\[|~|{|\\^\\^?=?|\\|\\|?=?|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*("+("/(?=[^/*"+b+"])(?:[^/\\x5B\\x5C"+b+"]|\\x5C"+s+"|\\x5B(?:[^\\x5C\\x5D"+b+"]|\\x5C"+ -s+")*(?:\\x5D|$))+/")+")")])}(b=a.types)&&g.push(["typ",b]);b=(""+a.keywords).replace(/^ | $/g,"");b.length&&g.push(["kwd",RegExp("^(?:"+b.replace(/[\s,]+/g,"|")+")\\b"),q]);d.push(["pln",/^\s+/,q," \r\n\t\u00a0"]);b="^.[^\\s\\w.$@'\"`/\\\\]*";a.regexLiterals&&(b+="(?!s*/)");g.push(["lit",/^@[$_a-z][\w$@]*/i,q],["typ",/^(?:[@_]?[A-Z]+[a-z][\w$@]*|\w+_t\b)/,q],["pln",/^[$_a-z][\w$@]*/i,q],["lit",/^(?:0x[\da-f]+|(?:\d(?:_\d+)*\d*(?:\.\d*)?|\.\d\+)(?:e[+-]?\d+)?)[a-z]*/i,q,"0123456789"],["pln",/^\\[\S\s]?/, -q],["pun",RegExp(b),q]);return C(d,g)}function J(a,d,g){function b(a){var c=a.nodeType;if(c==1&&!x.test(a.className))if("br"===a.nodeName)s(a),a.parentNode&&a.parentNode.removeChild(a);else for(a=a.firstChild;a;a=a.nextSibling)b(a);else if((c==3||c==4)&&g){var d=a.nodeValue,i=d.match(m);if(i)c=d.substring(0,i.index),a.nodeValue=c,(d=d.substring(i.index+i[0].length))&&a.parentNode.insertBefore(j.createTextNode(d),a.nextSibling),s(a),c||a.parentNode.removeChild(a)}}function s(a){function b(a,c){var d= -c?a.cloneNode(!1):a,e=a.parentNode;if(e){var e=b(e,1),g=a.nextSibling;e.appendChild(d);for(var i=g;i;i=g)g=i.nextSibling,e.appendChild(i)}return d}for(;!a.nextSibling;)if(a=a.parentNode,!a)return;for(var a=b(a.nextSibling,0),d;(d=a.parentNode)&&d.nodeType===1;)a=d;c.push(a)}for(var x=/(?:^|\s)nocode(?:\s|$)/,m=/\r\n?|\n/,j=a.ownerDocument,k=j.createElement("li");a.firstChild;)k.appendChild(a.firstChild);for(var c=[k],i=0;i<c.length;++i)b(c[i]);d===(d|0)&&c[0].setAttribute("value",d);var r=j.createElement("ol"); -r.className="linenums";for(var d=Math.max(0,d-1|0)||0,i=0,n=c.length;i<n;++i)k=c[i],k.className="L"+(i+d)%10,k.firstChild||k.appendChild(j.createTextNode("\u00a0")),r.appendChild(k);a.appendChild(r)}function p(a,d){for(var g=d.length;--g>=0;){var b=d[g];F.hasOwnProperty(b)?D.console&&console.warn("cannot override language handler %s",b):F[b]=a}}function I(a,d){if(!a||!F.hasOwnProperty(a))a=/^\s*</.test(d)?"default-markup":"default-code";return F[a]}function K(a){var d=a.h;try{var g=T(a.c,a.i),b=g.a; -a.a=b;a.d=g.d;a.e=0;I(d,b)(a);var s=/\bMSIE\s(\d+)/.exec(navigator.userAgent),s=s&&+s[1]<=8,d=/\n/g,x=a.a,m=x.length,g=0,j=a.d,k=j.length,b=0,c=a.g,i=c.length,r=0;c[i]=m;var n,e;for(e=n=0;e<i;)c[e]!==c[e+2]?(c[n++]=c[e++],c[n++]=c[e++]):e+=2;i=n;for(e=n=0;e<i;){for(var p=c[e],w=c[e+1],t=e+2;t+2<=i&&c[t+1]===w;)t+=2;c[n++]=p;c[n++]=w;e=t}c.length=n;var f=a.c,h;if(f)h=f.style.display,f.style.display="none";try{for(;b<k;){var l=j[b+2]||m,B=c[r+2]||m,t=Math.min(l,B),A=j[b+1],G;if(A.nodeType!==1&&(G=x.substring(g, -t))){s&&(G=G.replace(d,"\r"));A.nodeValue=G;var L=A.ownerDocument,o=L.createElement("span");o.className=c[r+1];var v=A.parentNode;v.replaceChild(o,A);o.appendChild(A);g<l&&(j[b+1]=A=L.createTextNode(x.substring(t,l)),v.insertBefore(A,o.nextSibling))}g=t;g>=l&&(b+=2);g>=B&&(r+=2)}}finally{if(f)f.style.display=h}}catch(u){D.console&&console.log(u&&u.stack||u)}}var D=window,y=["break,continue,do,else,for,if,return,while"],E=[[y,"auto,case,char,const,default,double,enum,extern,float,goto,inline,int,long,register,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"], -"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"],M=[E,"alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,delegate,dynamic_cast,explicit,export,friend,generic,late_check,mutable,namespace,nullptr,property,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where"],N=[E,"abstract,assert,boolean,byte,extends,final,finally,implements,import,instanceof,interface,null,native,package,strictfp,super,synchronized,throws,transient"], -O=[N,"as,base,by,checked,decimal,delegate,descending,dynamic,event,fixed,foreach,from,group,implicit,in,internal,into,is,let,lock,object,out,override,orderby,params,partial,readonly,ref,sbyte,sealed,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,var,virtual,where"],E=[E,"debugger,eval,export,function,get,null,set,undefined,var,with,Infinity,NaN"],P=[y,"and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None"], -Q=[y,"alias,and,begin,case,class,def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo,rescue,retry,self,super,then,true,undef,unless,until,when,yield,BEGIN,END"],W=[y,"as,assert,const,copy,drop,enum,extern,fail,false,fn,impl,let,log,loop,match,mod,move,mut,priv,pub,pure,ref,self,static,struct,true,trait,type,unsafe,use"],y=[y,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],R=/^(DIR|FILE|vector|(de|priority_)?queue|list|stack|(const_)?iterator|(multi)?(set|map)|bitset|u?(int|float)\d*)\b/, -V=/\S/,X=v({keywords:[M,O,E,"caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END",P,Q,y],hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0}),F={};p(X,["default-code"]);p(C([],[["pln",/^[^<?]+/],["dec",/^<!\w[^>]*(?:>|$)/],["com",/^<\!--[\S\s]*?(?:--\>|$)/],["lang-",/^<\?([\S\s]+?)(?:\?>|$)/],["lang-",/^<%([\S\s]+?)(?:%>|$)/],["pun",/^(?:<[%?]|[%?]>)/],["lang-", -/^<xmp\b[^>]*>([\S\s]+?)<\/xmp\b[^>]*>/i],["lang-js",/^<script\b[^>]*>([\S\s]*?)(<\/script\b[^>]*>)/i],["lang-css",/^<style\b[^>]*>([\S\s]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i]]),["default-markup","htm","html","mxml","xhtml","xml","xsl"]);p(C([["pln",/^\s+/,q," \t\r\n"],["atv",/^(?:"[^"]*"?|'[^']*'?)/,q,"\"'"]],[["tag",/^^<\/?[a-z](?:[\w-.:]*\w)?|\/?>$/i],["atn",/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^\s"'>]*(?:[^\s"'/>]|\/(?=\s)))/],["pun",/^[/<->]+/], -["lang-js",/^on\w+\s*=\s*"([^"]+)"/i],["lang-js",/^on\w+\s*=\s*'([^']+)'/i],["lang-js",/^on\w+\s*=\s*([^\s"'>]+)/i],["lang-css",/^style\s*=\s*"([^"]+)"/i],["lang-css",/^style\s*=\s*'([^']+)'/i],["lang-css",/^style\s*=\s*([^\s"'>]+)/i]]),["in.tag"]);p(C([],[["atv",/^[\S\s]+/]]),["uq.val"]);p(v({keywords:M,hashComments:!0,cStyleComments:!0,types:R}),["c","cc","cpp","cxx","cyc","m"]);p(v({keywords:"null,true,false"}),["json"]);p(v({keywords:O,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:R}), -["cs"]);p(v({keywords:N,cStyleComments:!0}),["java"]);p(v({keywords:y,hashComments:!0,multiLineStrings:!0}),["bash","bsh","csh","sh"]);p(v({keywords:P,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),["cv","py","python"]);p(v({keywords:"caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END",hashComments:!0,multiLineStrings:!0,regexLiterals:2}),["perl","pl","pm"]);p(v({keywords:Q, -hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb","ruby"]);p(v({keywords:E,cStyleComments:!0,regexLiterals:!0}),["javascript","js"]);p(v({keywords:"all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then,throw,true,try,unless,until,when,while,yes",hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]);p(v({keywords:W,cStyleComments:!0,multilineStrings:!0}),["rc","rs","rust"]); -p(C([],[["str",/^[\S\s]+/]]),["regex"]);var Y=D.PR={createSimpleLexer:C,registerLangHandler:p,sourceDecorator:v,PR_ATTRIB_NAME:"atn",PR_ATTRIB_VALUE:"atv",PR_COMMENT:"com",PR_DECLARATION:"dec",PR_KEYWORD:"kwd",PR_LITERAL:"lit",PR_NOCODE:"nocode",PR_PLAIN:"pln",PR_PUNCTUATION:"pun",PR_SOURCE:"src",PR_STRING:"str",PR_TAG:"tag",PR_TYPE:"typ",prettyPrintOne:D.prettyPrintOne=function(a,d,g){var b=document.createElement("div");b.innerHTML="<pre>"+a+"</pre>";b=b.firstChild;g&&J(b,g,!0);K({h:d,j:g,c:b,i:1}); -return b.innerHTML},prettyPrint:D.prettyPrint=function(a,d){function g(){for(var b=D.PR_SHOULD_USE_CONTINUATION?c.now()+250:Infinity;i<p.length&&c.now()<b;i++){for(var d=p[i],j=h,k=d;k=k.previousSibling;){var m=k.nodeType,o=(m===7||m===8)&&k.nodeValue;if(o?!/^\??prettify\b/.test(o):m!==3||/\S/.test(k.nodeValue))break;if(o){j={};o.replace(/\b(\w+)=([\w%+\-.:]+)/g,function(a,b,c){j[b]=c});break}}k=d.className;if((j!==h||e.test(k))&&!v.test(k)){m=!1;for(o=d.parentNode;o;o=o.parentNode)if(f.test(o.tagName)&& -o.className&&e.test(o.className)){m=!0;break}if(!m){d.className+=" prettyprinted";m=j.lang;if(!m){var m=k.match(n),y;if(!m&&(y=U(d))&&t.test(y.tagName))m=y.className.match(n);m&&(m=m[1])}if(w.test(d.tagName))o=1;else var o=d.currentStyle,u=s.defaultView,o=(o=o?o.whiteSpace:u&&u.getComputedStyle?u.getComputedStyle(d,q).getPropertyValue("white-space"):0)&&"pre"===o.substring(0,3);u=j.linenums;if(!(u=u==="true"||+u))u=(u=k.match(/\blinenums\b(?::(\d+))?/))?u[1]&&u[1].length?+u[1]:!0:!1;u&&J(d,u,o);r= -{h:m,c:d,j:u,i:o};K(r)}}}i<p.length?setTimeout(g,250):"function"===typeof a&&a()}for(var b=d||document.body,s=b.ownerDocument||document,b=[b.getElementsByTagName("pre"),b.getElementsByTagName("code"),b.getElementsByTagName("xmp")],p=[],m=0;m<b.length;++m)for(var j=0,k=b[m].length;j<k;++j)p.push(b[m][j]);var b=q,c=Date;c.now||(c={now:function(){return+new Date}});var i=0,r,n=/\blang(?:uage)?-([\w.]+)(?!\S)/,e=/\bprettyprint\b/,v=/\bprettyprinted\b/,w=/pre|xmp/i,t=/^code$/i,f=/^(?:pre|code|xmp)$/i, -h={};g()}};typeof define==="function"&&define.amd&&define("google-code-prettify",[],function(){return Y})})();}() diff --git a/latest/bigquery-client.html b/latest/bigquery-client.html index 0da7fc264cac..6b7379ae7395 100644 --- a/latest/bigquery-client.html +++ b/latest/bigquery-client.html @@ -1,109 +1,267 @@ + + <!DOCTYPE html> +<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]--> +<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]--> +<head> + <meta charset="utf-8"> + + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + + <title>BigQuery Client — google-cloud 92219b8 documentation + + + + + - - - - - BigQuery Client — gcloud 47bfd0a documentation - - - - + + + + - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + +
+ -
- -
- - -
+ + +
+ + + + + + +
+
+ + + + + + +
+ +
+
+
+
+ +
+

BigQuery Client#

Client for interacting with the Google BigQuery API.

-
-class gcloud.bigquery.client.Client(project=None, credentials=None, http=None)[source]#
-

Bases: gcloud.client.JSONClient

+
+class google.cloud.bigquery.client.Client(project=None, credentials=None, http=None)[source]#
+

Bases: google.cloud.client.JSONClient

Client to bundle configuration needed for API requests.

@@ -113,7 +271,7 @@

  • project (str) – the project which the client acts on behalf of. Will be passed when creating a dataset / job. If not passed, falls back to the default inferred from the environment.
  • -
  • credentials (oauth2client.client.OAuth2Credentials or +
  • credentials (oauth2client.client.OAuth2Credentials or NoneType) – The OAuth2 Credentials to use for the connection owned by this client. If not passed (and if no http object is passed), falls back to the default inferred @@ -127,8 +285,8 @@

  • -
    -copy_table(job_name, destination, *sources)[source]#
    +
    +copy_table(job_name, destination, *sources)[source]#

    Construct a job for copying one or more tables into another table.

    See: https://cloud.google.com/bigquery/docs/reference/v2/jobs#configuration.copy

    @@ -138,12 +296,12 @@

    Parameters: -Return type:

    gcloud.bigquery.job.CopyJob

    +Return type:

    google.cloud.bigquery.job.CopyJob

    Returns:

    a new CopyJob instance

    @@ -154,8 +312,8 @@

    -
    -dataset(dataset_name)[source]#
    +
    +dataset(dataset_name)[source]#

    Construct a dataset bound to this client.

    @@ -163,7 +321,7 @@

    - + @@ -172,8 +330,8 @@

    -
    -extract_table_to_storage(job_name, source, *destination_uris)[source]#
    +
    +extract_table_to_storage(job_name, source, *destination_uris)[source]#

    Construct a job for extracting a table into Cloud Storage files.

    See: https://cloud.google.com/bigquery/docs/reference/v2/jobs#configuration.extract

    @@ -183,14 +341,14 @@

    - - -
    Parameters:dataset_name (str) – Name of the dataset.
    Return type:gcloud.bigquery.dataset.Dataset
    Return type:google.cloud.bigquery.dataset.Dataset
    Returns:a new Dataset instance
    Parameters:
    • job_name (str) – Name of the job.
    • -
    • source (gcloud.bigquery.table.Table) – table to be extracted.
    • +
    • source (google.cloud.bigquery.table.Table) – table to be extracted.
    • destination_uris (sequence of string) – URIs of CloudStorage file(s) into which table data is to be extracted; in format gs://<bucket_name>/<object_name_or_glob>.
    Return type:

    gcloud.bigquery.job.ExtractTableToStorageJob

    +
    Return type:

    google.cloud.bigquery.job.ExtractTableToStorageJob

    Returns:

    a new ExtractTableToStorageJob instance

    @@ -201,8 +359,8 @@

    -
    -job_from_resource(resource)[source]#
    +
    +job_from_resource(resource)[source]#

    Detect correct job type from resource and instantiate.

    @@ -211,11 +369,11 @@

    +google.cloud.bigquery.job.LoadTableFromStorageJob, +google.cloud.bigquery.job.CopyJob, +google.cloud.bigquery.job.ExtractTableToStorageJob, +google.cloud.bigquery.job.QueryJob, +google.cloud.bigquery.job.RunSyncQueryJob @@ -224,8 +382,8 @@

    -
    -list_datasets(include_all=False, max_results=None, page_token=None)[source]#
    +
    +list_datasets(include_all=False, max_results=None, page_token=None)[source]#

    List datasets for the project associated with this client.

    See: https://cloud.google.com/bigquery/docs/reference/v2/datasets/list

    @@ -246,8 +404,8 @@

    - @@ -257,8 +415,8 @@

    -
    -list_jobs(max_results=None, page_token=None, all_users=None, state_filter=None)[source]#
    +
    +list_jobs(max_results=None, page_token=None, all_users=None, state_filter=None)[source]#

    List jobs for the project associated with this client.

    See: https://cloud.google.com/bigquery/docs/reference/v2/jobs/list

    @@ -299,8 +457,40 @@

    -
    -load_table_from_storage(job_name, destination, *source_uris)[source]#
    +
    +list_projects(max_results=None, page_token=None)[source]#
    +

    List projects for the project associated with this client.

    +

    See: +https://cloud.google.com/bigquery/docs/reference/v2/projects/list

    +

    Parameters:resource (dict) – one job resource from API response
    Return type:One of: -gcloud.bigquery.job.LoadTableFromStorageJob, -gcloud.bigquery.job.CopyJob, -gcloud.bigquery.job.ExtractTableToStorageJob, -gcloud.bigquery.job.QueryJob, -gcloud.bigquery.job.RunSyncQueryJob
    Returns:the job instance, constructed via the resource
    Return type:

    tuple, (list, str)

    Returns:

    list of gcloud.bigquery.dataset.Dataset, plus a -“next page token” string: if the token is not None, +

    Returns:

    list of Dataset, +plus a “next page token” string: if the token is not None, indicates that more datasets can be retrieved with another call (pass that value as page_token).

    +++ + + + + + + + +
    Parameters:
      +
    • max_results (int) – maximum number of projects to return, If not +passed, defaults to a value set by the API.
    • +
    • page_token (str) – opaque marker for the next “page” of projects. If +not passed, the API will return the first page of +projects.
    • +
    +
    Return type:

    tuple, (list, str)

    +
    Returns:

    list of gcloud.bigquery.client.Project, plus a +“next page token” string: if the token is not None, +indicates that more projects can be retrieved with another +call (pass that value as page_token).

    +
    +
    + +
    +
    +load_table_from_storage(job_name, destination, *source_uris)[source]#

    Construct a job for loading data into a table from CloudStorage.

    See: https://cloud.google.com/bigquery/docs/reference/v2/jobs#configuration.load

    @@ -310,13 +500,13 @@

    Parameters:
    • job_name (str) – Name of the job.
    • -
    • destination (gcloud.bigquery.table.Table) – Table into which data is to be loaded.
    • +
    • destination (google.cloud.bigquery.table.Table) – Table into which data is to be loaded.
    • source_uris (sequence of string) – URIs of data files to be loaded; in format gs://<bucket_name>/<object_name_or_glob>.
    Return type:

    gcloud.bigquery.job.LoadTableFromStorageJob

    +
    Return type:

    google.cloud.bigquery.job.LoadTableFromStorageJob

    Returns:

    a new LoadTableFromStorageJob instance

    @@ -327,8 +517,8 @@

    -
    -run_async_query(job_name, query)[source]#
    +
    +run_async_query(job_name, query)[source]#

    Construct a job for running a SQL query asynchronously.

    See: https://cloud.google.com/bigquery/docs/reference/v2/jobs#configuration.query

    @@ -342,7 +532,7 @@

    Return type:

    gcloud.bigquery.job.QueryJob

    +
    Return type:

    google.cloud.bigquery.job.QueryJob

    Returns:

    a new QueryJob instance

    @@ -353,8 +543,8 @@

    -
    -run_sync_query(query)[source]#
    +
    +run_sync_query(query)[source]#

    Run a SQL query synchronously.

    @@ -362,7 +552,7 @@

    - + @@ -372,35 +562,61 @@

    -
    -

    Connection#

    -

    Create / interact with gcloud bigquery connections.

    -
    -class gcloud.bigquery.connection.Connection(credentials=None, http=None)[source]#
    -

    Bases: gcloud.connection.JSONConnection

    +
    +class google.cloud.bigquery.client.Project(project_id, numeric_id, friendly_name)[source]#
    +

    Bases: object

    +

    Wrapper for resource describing a BigQuery project.

    +

    Parameters:query (str) – SQL query to be executed
    Return type:gcloud.bigquery.query.QueryResults
    Return type:google.cloud.bigquery.query.QueryResults
    Returns:a new QueryResults instance
    +++ + + + +
    Parameters:
      +
    • project_id (str) – Opaque ID of the project
    • +
    • numeric_id (int) – Numeric ID of the project
    • +
    • friendly_name (str) – Display name of the project
    • +
    +
    +
    +
    +classmethod from_api_repr(resource)[source]#
    +

    Factory: construct an instance from a resource dict.

    +
    + +
    + +
    +

    Connection#

    +

    Create / interact with Google Cloud BigQuery connections.

    +
    +
    +class google.cloud.bigquery.connection.Connection(credentials=None, http=None)[source]#
    +

    Bases: google.cloud.connection.JSONConnection

    A connection to Google Cloud BigQuery via the JSON REST API.

    -
    -API_BASE_URL = 'https://www.googleapis.com'#
    +
    +API_BASE_URL = 'https://www.googleapis.com'#

    The base of the API call URL.

    -
    -API_URL_TEMPLATE = '{api_base_url}/bigquery/{api_version}{path}'#
    +
    +API_URL_TEMPLATE = '{api_base_url}/bigquery/{api_version}{path}'#

    A template for the URL of a particular API call.

    -
    -API_VERSION = 'v2'#
    +
    +API_VERSION = 'v2'#

    The version of the API, used in building the API call’s URL.

    -
    -SCOPE = ('https://www.googleapis.com/auth/bigquery', 'https://www.googleapis.com/auth/cloud-platform')#
    +
    +SCOPE = ('https://www.googleapis.com/auth/bigquery', 'https://www.googleapis.com/auth/cloud-platform')#

    The scopes required for authenticating as a Cloud BigQuery consumer.

    @@ -410,123 +626,71 @@

    - - - - - - - + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/latest/bigquery-dataset.html b/latest/bigquery-dataset.html index 3ce6053925b3..9d9cee600807 100644 --- a/latest/bigquery-dataset.html +++ b/latest/bigquery-dataset.html @@ -1,108 +1,263 @@ + + + + + + + + + + Datasets — google-cloud 92219b8 documentation + + + + + + + - - - - - Datasets — gcloud 47bfd0a documentation - - - - + + - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + +
    + -
    - -
    - - -
    + + +
    + + + + + + +
    +
    + + + + + + +
    + +
    +
    +
    +
    + +
    +

    Datasets#

    Define API Datasets.

    -
    -class gcloud.bigquery.dataset.AccessGrant(role, entity_type, entity_id)[source]#
    +
    +class google.cloud.bigquery.dataset.AccessGrant(role, entity_type, entity_id)[source]#

    Bases: object

    Represent grant of an access role to an entity.

    Every entry in the access list will have exactly one of @@ -125,29 +280,29 @@

    May also be None if the entity_type is view.

  • entity_type (string) – Type of entity being granted the role. One of -ENTITY_TYPES.
  • +ENTITY_TYPES.
  • entity_id (string) – ID of entity being granted the role.
  • Raises:

    ValueError if the entity_type is not among -ENTITY_TYPES, or if a view has role set or +ENTITY_TYPES, or if a view has role set or a non view does not have a role set.

    -
    -ENTITY_TYPES = frozenset(['userByEmail', 'groupByEmail', 'domain', 'view', 'specialGroup'])#
    +
    +ENTITY_TYPES = frozenset(['specialGroup', 'groupByEmail', 'userByEmail', 'view', 'domain'])#

    Allowed entity types.

    -
    -class gcloud.bigquery.dataset.Dataset(name, client, access_grants=())[source]#
    +
    +class google.cloud.bigquery.dataset.Dataset(name, client, access_grants=())[source]#

    Bases: object

    Datasets are containers for tables.

    See: @@ -158,23 +313,23 @@

    Parameters:
    • name (string) – the name of the dataset
    • -
    • client (gcloud.bigquery.client.Client) – A client which holds credentials and project configuration +
    • client (google.cloud.bigquery.client.Client) – A client which holds credentials and project configuration for the dataset (which requires a project).
    • -
    • access_grants (list of AccessGrant) – roles granted to entities for this dataset
    • +
    • access_grants (list of AccessGrant) – roles granted to entities for this dataset
    -
    -access_grants#
    +
    +access_grants#

    Dataset’s access grants.

    - + @@ -183,16 +338,17 @@

    -
    -create(client=None)[source]#
    -

    API call: create the dataset via a PUT request

    +
    +create(client=None)[source]#
    +

    API call: create the dataset via a PUT request.

    See: https://cloud.google.com/bigquery/docs/reference/v2/tables/insert

    Return type:list of AccessGrant
    Return type:list of AccessGrant
    Returns:roles granted to entities for this dataset
    - @@ -200,8 +356,8 @@

    -
    -created#
    +
    +created#

    Datetime at which the dataset was created.

    Parameters:client (gcloud.bigquery.client.Client or NoneType) – the client to use. If not passed, falls back to the +
    Parameters:client (Client or +NoneType) – the client to use. If not passed, falls back to the client stored on the current dataset.
    @@ -216,8 +372,8 @@

    -
    -dataset_id#
    +
    +dataset_id#

    ID for the dataset resource.

    @@ -232,8 +388,8 @@

    -
    -default_table_expiration_ms#
    +
    +default_table_expiration_ms#

    Default expiration time for tables in the dataset.

    @@ -248,16 +404,17 @@

    -
    -delete(client=None)[source]#
    -

    API call: delete the dataset via a DELETE request

    +
    +delete(client=None)[source]#
    +

    API call: delete the dataset via a DELETE request.

    See: https://cloud.google.com/bigquery/docs/reference/v2/tables/delete

    - @@ -265,8 +422,8 @@

    -
    -description#
    +
    +description#

    Description of the dataset.

    Parameters:client (gcloud.bigquery.client.Client or NoneType) – the client to use. If not passed, falls back to the +
    Parameters:client (Client or +NoneType) – the client to use. If not passed, falls back to the client stored on the current dataset.
    @@ -281,8 +438,8 @@

    -
    -etag#
    +
    +etag#

    ETag for the dataset resource.

    @@ -297,8 +454,8 @@

    -
    -exists(client=None)[source]#
    +
    +exists(client=None)[source]#

    API call: test for the existence of the dataset via a GET request

    See https://cloud.google.com/bigquery/docs/reference/v2/datasets/get

    @@ -306,7 +463,8 @@

    - @@ -318,8 +476,8 @@

    -
    -friendly_name#
    +
    +friendly_name#

    Title of the dataset.

    Parameters:client (gcloud.bigquery.client.Client or NoneType) – the client to use. If not passed, falls back to the +
    Parameters:client (Client or +NoneType) – the client to use. If not passed, falls back to the client stored on the current dataset.
    Return type:bool
    @@ -334,8 +492,8 @@

    -
    -classmethod from_api_repr(resource, client)[source]#
    +
    +classmethod from_api_repr(resource, client)[source]#

    Factory: construct a dataset given its API representation

    @@ -343,12 +501,12 @@

    - -
    Parameters:
    Return type:

    gcloud.bigquery.dataset.Dataset

    +
    Return type:

    google.cloud.bigquery.dataset.Dataset

    Returns:

    Dataset parsed from resource.

    @@ -359,8 +517,8 @@

    -
    -list_tables(max_results=None, page_token=None)[source]#
    +
    +list_tables(max_results=None, page_token=None)[source]#

    List tables for the project associated with this client.

    See: https://cloud.google.com/bigquery/docs/reference/v2/tables/list

    @@ -380,7 +538,7 @@

    Return type:

    tuple, (list, str)

    Returns:

    list of gcloud.bigquery.table.Table, plus a +

    Returns:

    list of google.cloud.bigquery.table.Table, plus a “next page token” string: if not None, indicates that more tables can be retrieved with another call (pass that value as page_token).

    @@ -391,8 +549,8 @@

    -
    -location#
    +
    +location#

    Location in which the dataset is hosted.

    @@ -407,8 +565,8 @@

    -
    -modified#
    +
    +modified#

    Datetime at which the dataset was last modified.

    @@ -423,9 +581,9 @@

    -
    -patch(client=None, **kw)[source]#
    -

    API call: update individual dataset properties via a PATCH request

    +
    +patch(client=None, **kw)[source]#
    +

    API call: update individual dataset properties via a PATCH request.

    See https://cloud.google.com/bigquery/docs/reference/v2/datasets/patch

    @@ -433,7 +591,8 @@

    Parameters:
      -
    • client (gcloud.bigquery.client.Client or NoneType) – the client to use. If not passed, falls back to the +
    • client (Client or +NoneType) – the client to use. If not passed, falls back to the client stored on the current dataset.
    • kw (dict) – properties to be patched.
    @@ -447,8 +606,8 @@

    -
    -path#
    +
    +path#

    URL path for the dataset’s APIs.

    @@ -463,8 +622,8 @@

    -
    -project#
    +
    +project#

    Project bound to the dataset.

    @@ -479,16 +638,17 @@

    -
    -reload(client=None)[source]#
    -

    API call: refresh dataset properties via a GET request

    +
    +reload(client=None)[source]#
    +

    API call: refresh dataset properties via a GET request.

    See https://cloud.google.com/bigquery/docs/reference/v2/datasets/get

    - @@ -496,8 +656,8 @@

    - +

    URL for the dataset resource.

    Parameters:client (gcloud.bigquery.client.Client or NoneType) – the client to use. If not passed, falls back to the +
    Parameters:client (Client or +NoneType) – the client to use. If not passed, falls back to the client stored on the current dataset.
    @@ -512,8 +672,8 @@

    -
    -table(name, schema=())[source]#
    +
    +table(name, schema=())[source]#

    Construct a table bound to this dataset.

    @@ -521,11 +681,11 @@

    -
    Parameters:
    • name (string) – Name of the table.
    • -
    • schema (list of gcloud.bigquery.table.SchemaField) – The table’s schema
    • +
    • schema (list of google.cloud.bigquery.table.SchemaField) – The table’s schema
    Return type:

    gcloud.bigquery.table.Table

    +
    Return type:

    google.cloud.bigquery.table.Table

    Returns:

    a new Table instance

    @@ -536,16 +696,17 @@

    -
    -update(client=None)[source]#
    -

    API call: update dataset properties via a PUT request

    +
    +update(client=None)[source]#
    +

    API call: update dataset properties via a PUT request.

    See https://cloud.google.com/bigquery/docs/reference/v2/datasets/update

    - @@ -557,123 +718,71 @@

    - - - + - - - + + + + + + + + + + + + + + + + + + + + + + + + - + + + + \ No newline at end of file diff --git a/latest/bigquery-job.html b/latest/bigquery-job.html index 91d6fab0e0d1..094070f5f375 100644 --- a/latest/bigquery-job.html +++ b/latest/bigquery-job.html @@ -1,116 +1,271 @@ + + + + + + + + + + Jobs — google-cloud 92219b8 documentation + + + + + + + - - - - - Jobs — gcloud 47bfd0a documentation - - - - + + - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + +
    + -
    - -
    - - -
    + -
    +
    + + + + + + +
    +
    + + + + + + +
    + +
    +
    +
    +
    + +
    +

    Jobs#

    Define API Jobs.

    -
    -class gcloud.bigquery.job.Compression(name)[source]#
    -

    Bases: gcloud.bigquery._helpers._EnumProperty

    +
    +class google.cloud.bigquery.job.Compression(name)[source]#
    +

    Bases: google.cloud.bigquery._helpers._EnumProperty

    Pseudo-enum for compression properties.

    -
    -class gcloud.bigquery.job.CopyJob(name, destination, sources, client)[source]#
    -

    Bases: gcloud.bigquery.job._AsyncJob

    +
    +class google.cloud.bigquery.job.CopyJob(name, destination, sources, client)[source]#
    +

    Bases: google.cloud.bigquery.job._AsyncJob

    Asynchronous job: copy data into a table from other tables.

    Parameters:client (gcloud.bigquery.client.Client or NoneType) – the client to use. If not passed, falls back to the +
    Parameters:client (Client or +NoneType) – the client to use. If not passed, falls back to the client stored on the current dataset.
    @@ -118,9 +273,9 @@

    @@ -128,15 +283,15 @@

    Parameters:
    -
    -create_disposition#
    +
    +create_disposition#

    See: https://cloud.google.com/bigquery/docs/reference/v2/jobs#configuration.copy.createDisposition

    -
    -classmethod from_api_repr(resource, client)[source]#
    +
    +classmethod from_api_repr(resource, client)[source]#

    Factory: construct a job given its API representation

    @@ -144,12 +299,12 @@

    - @@ -495,8 +668,8 @@

    -
    -path#
    +
    +path#

    URL path for the table’s APIs.

    Parameters:
    Return type:

    gcloud.bigquery.job.CopyJob

    +
    Return type:

    google.cloud.bigquery.job.CopyJob

    Returns:

    Job parsed from resource.

    @@ -160,8 +315,8 @@

    -
    -write_disposition#
    +
    +write_disposition#

    See: https://cloud.google.com/bigquery/docs/reference/v2/jobs#configuration.copy.writeDisposition

    @@ -169,30 +324,30 @@

    -
    -class gcloud.bigquery.job.CreateDisposition(name)[source]#
    -

    Bases: gcloud.bigquery._helpers._EnumProperty

    +
    +class google.cloud.bigquery.job.CreateDisposition(name)[source]#
    +

    Bases: google.cloud.bigquery._helpers._EnumProperty

    Pseudo-enum for create_disposition properties.

    -
    -class gcloud.bigquery.job.DestinationFormat(name)[source]#
    -

    Bases: gcloud.bigquery._helpers._EnumProperty

    +
    +class google.cloud.bigquery.job.DestinationFormat(name)[source]#
    +

    Bases: google.cloud.bigquery._helpers._EnumProperty

    Pseudo-enum for destination_format properties.

    -
    -class gcloud.bigquery.job.Encoding(name)[source]#
    -

    Bases: gcloud.bigquery._helpers._EnumProperty

    +
    +class google.cloud.bigquery.job.Encoding(name)[source]#
    +

    Bases: google.cloud.bigquery._helpers._EnumProperty

    Pseudo-enum for encoding properties.

    -
    -class gcloud.bigquery.job.ExtractTableToStorageJob(name, source, destination_uris, client)[source]#
    -

    Bases: gcloud.bigquery.job._AsyncJob

    +
    +class google.cloud.bigquery.job.ExtractTableToStorageJob(name, source, destination_uris, client)[source]#
    +

    Bases: google.cloud.bigquery.job._AsyncJob

    Asynchronous job: extract data from a table into Cloud Storage.

    @@ -200,11 +355,11 @@

    @@ -212,29 +367,29 @@

    Parameters:
    -
    -compression#
    +
    +compression#

    See: https://cloud.google.com/bigquery/docs/reference/v2/jobs#configuration.extracted.compression

    -
    -destination_format#
    +
    +destination_format#

    See: https://cloud.google.com/bigquery/docs/reference/v2/jobs#configuration.extracted.destinationFormat

    -
    -field_delimiter#
    +
    +field_delimiter#

    See: https://cloud.google.com/bigquery/docs/reference/v2/jobs#configuration.extracted.fieldDelimiter

    -
    -classmethod from_api_repr(resource, client)[source]#
    +
    +classmethod from_api_repr(resource, client)[source]#

    Factory: construct a job given its API representation

    @@ -242,12 +397,12 @@

    - - @@ -162,8 +294,8 @@

    -
    -created#
    +
    +created#

    Datetime at which the table was created.

    Parameters:
    Return type:

    gcloud.bigquery.job.ExtractTableToStorageJob

    +
    Return type:

    google.cloud.bigquery.job.ExtractTableToStorageJob

    Returns:

    Job parsed from resource.

    @@ -258,8 +413,8 @@

    -
    -print_header#
    +
    +print_header#

    See: https://cloud.google.com/bigquery/docs/reference/v2/jobs#configuration.extracted.printHeader

    @@ -267,9 +422,9 @@

    -
    -class gcloud.bigquery.job.LoadTableFromStorageJob(name, destination, source_uris, client, schema=())[source]#
    -

    Bases: gcloud.bigquery.job._AsyncJob

    +
    +class google.cloud.bigquery.job.LoadTableFromStorageJob(name, destination, source_uris, client, schema=())[source]#
    +

    Bases: google.cloud.bigquery.job._AsyncJob

    Asynchronous job for loading data into a table from CloudStorage.

    @@ -277,55 +432,55 @@

    Parameters:
    -
    -allow_jagged_rows#
    +
    +allow_jagged_rows#

    See: https://cloud.google.com/bigquery/docs/reference/v2/jobs#configuration.load.allowJaggedRows

    -
    -allow_quoted_newlines#
    +
    +allow_quoted_newlines#

    See: https://cloud.google.com/bigquery/docs/reference/v2/jobs#configuration.load.allowQuotedNewlines

    -
    -create_disposition#
    +
    +create_disposition#

    See: https://cloud.google.com/bigquery/docs/reference/v2/jobs#configuration.load.createDisposition

    -
    -encoding#
    +
    +encoding#

    See: https://cloud.google.com/bigquery/docs/reference/v2/jobs#configuration.load.encoding

    -
    -field_delimiter#
    +
    +field_delimiter#

    See: https://cloud.google.com/bigquery/docs/reference/v2/jobs#configuration.load.fieldDelimiter

    -
    -classmethod from_api_repr(resource, client)[source]#
    +
    +classmethod from_api_repr(resource, client)[source]#

    Factory: construct a job given its API representation

    @@ -333,12 +488,12 @@

    -
    Parameters:
    Return type:

    gcloud.bigquery.job.LoadTableFromStorageJob

    +
    Return type:

    google.cloud.bigquery.job.LoadTableFromStorageJob

    Returns:

    Job parsed from resource.

    @@ -349,15 +504,15 @@

    -
    -ignore_unknown_values#
    +
    +ignore_unknown_values#

    See: https://cloud.google.com/bigquery/docs/reference/v2/jobs#configuration.load.ignoreUnknownValues

    -
    -input_file_bytes#
    +
    +input_file_bytes#

    Count of bytes loaded from source files.

    @@ -372,8 +527,8 @@

    -
    -input_files#
    +
    +input_files#

    Count of source files.

    @@ -388,15 +543,15 @@

    -
    -max_bad_records#
    +
    +max_bad_records#

    See: https://cloud.google.com/bigquery/docs/reference/v2/jobs#configuration.load.maxBadRecords

    -
    -output_bytes#
    +
    +output_bytes#

    Count of bytes saved to destination table.

    @@ -411,8 +566,8 @@

    -
    -output_rows#
    +
    +output_rows#

    Count of rows saved to destination table.

    @@ -427,15 +582,15 @@

    -
    -quote_character#
    +
    +quote_character#

    See: https://cloud.google.com/bigquery/docs/reference/v2/jobs#configuration.load.quote

    -
    -schema#
    +
    +schema#

    Table’s schema.

    @@ -450,22 +605,22 @@

    -
    -skip_leading_rows#
    +
    +skip_leading_rows#

    See: https://cloud.google.com/bigquery/docs/reference/v2/jobs#configuration.load.skipLeadingRows

    -
    -source_format#
    +
    +source_format#

    See: https://cloud.google.com/bigquery/docs/reference/v2/jobs#configuration.load.sourceFormat

    -
    -write_disposition#
    +
    +write_disposition#

    See: https://cloud.google.com/bigquery/docs/reference/v2/jobs#configuration.load.writeDisposition

    @@ -473,9 +628,9 @@

    -
    -class gcloud.bigquery.job.QueryJob(name, query, client)[source]#
    -

    Bases: gcloud.bigquery.job._AsyncJob

    +
    +class google.cloud.bigquery.job.QueryJob(name, query, client, udf_resources=())[source]#
    +

    Bases: google.cloud.bigquery.job._AsyncJob

    Asynchronous job: query tables.

    @@ -484,51 +639,54 @@

    Parameters:
    -
    -allow_large_results#
    +
    +allow_large_results#

    See: https://cloud.google.com/bigquery/docs/reference/v2/jobs#configuration.query.allowLargeResults

    -
    -create_disposition#
    +
    +create_disposition#

    See: https://cloud.google.com/bigquery/docs/reference/v2/jobs#configuration.query.createDisposition

    -
    -default_dataset#
    +
    +default_dataset#

    See: https://cloud.google.com/bigquery/docs/reference/v2/jobs#configuration.query.defaultDataset

    -
    -destination#
    +
    +destination#

    See: https://cloud.google.com/bigquery/docs/reference/v2/jobs#configuration.query.destinationTable

    -
    -flatten_results#
    +
    +flatten_results#

    See: https://cloud.google.com/bigquery/docs/reference/v2/jobs#configuration.query.flattenResults

    -
    -classmethod from_api_repr(resource, client)[source]#
    +
    +classmethod from_api_repr(resource, client)[source]#

    Factory: construct a job given its API representation

    @@ -536,12 +694,12 @@

    - @@ -229,14 +388,14 @@

    -
    -job#
    +
    +job#

    Job instance used to run the query.

    Parameters:
    Return type:

    gcloud.bigquery.job.RunAsyncQueryJob

    +
    Return type:

    google.cloud.bigquery.job.RunAsyncQueryJob

    Returns:

    Job parsed from resource.

    @@ -552,29 +710,29 @@

    -
    -priority#
    +
    +priority#

    See: https://cloud.google.com/bigquery/docs/reference/v2/jobs#configuration.query.priority

    -
    -use_legacy_sql#
    +
    +use_legacy_sql#

    See: https://cloud.google.com/bigquery/docs/reference/v2/jobs#configuration.query.useLegacySql

    -
    -use_query_cache#
    +
    +use_query_cache#

    See: https://cloud.google.com/bigquery/docs/reference/v2/jobs#configuration.query.useQueryCache

    -
    -write_disposition#
    +
    +write_disposition#

    See: https://cloud.google.com/bigquery/docs/reference/v2/jobs#configuration.query.writeDisposition

    @@ -582,146 +740,121 @@

    -
    -class gcloud.bigquery.job.QueryPriority(name)[source]#
    -

    Bases: gcloud.bigquery._helpers._EnumProperty

    +
    +class google.cloud.bigquery.job.QueryPriority(name)[source]#
    +

    Bases: google.cloud.bigquery._helpers._EnumProperty

    Pseudo-enum for QueryJob.priority property.

    -
    -class gcloud.bigquery.job.SourceFormat(name)[source]#
    -

    Bases: gcloud.bigquery._helpers._EnumProperty

    +
    +class google.cloud.bigquery.job.SourceFormat(name)[source]#
    +

    Bases: google.cloud.bigquery._helpers._EnumProperty

    Pseudo-enum for source_format properties.

    -
    -class gcloud.bigquery.job.WriteDisposition(name)[source]#
    -

    Bases: gcloud.bigquery._helpers._EnumProperty

    +
    +class google.cloud.bigquery.job.UDFResource(udf_type, value)[source]#
    +

    Bases: object

    +

    Describe a single user-defined function (UDF) resource. +:type udf_type: str +:param udf_type: the type of the resource (‘inlineCode’ or ‘resourceUri’)

    + +++ + + + +
    Parameters:value (str) – the inline code or resource URI.
    +

    See +https://cloud.google.com/bigquery/user-defined-functions#api

    +
    + +
    +
    +class google.cloud.bigquery.job.UDFResourcesProperty[source]#
    +

    Bases: object

    +

    Custom property type for QueryJob.

    +

    Also used by Query.

    +
    + +
    +
    +class google.cloud.bigquery.job.WriteDisposition(name)[source]#
    +

    Bases: google.cloud.bigquery._helpers._EnumProperty

    Pseudo-enum for write_disposition properties.

    - - - + - - - + + + + + + + + + + + + + + + + + + + + + + + + - + + + + \ No newline at end of file diff --git a/latest/bigquery-query.html b/latest/bigquery-query.html index 50e1cdedc0b6..461a98d88954 100644 --- a/latest/bigquery-query.html +++ b/latest/bigquery-query.html @@ -1,108 +1,263 @@ + + + + + + + + + + Query — google-cloud 92219b8 documentation + + + + + + + - - - - - Query — gcloud 47bfd0a documentation - - - - + + - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + +
    + -
    - -
    - - -
    + + +
    -
    + + + + + +
    +
    + + + + + + +
    + +
    +
    +
    +
    + +
    +

    Query#

    Define API Queries.

    -
    -class gcloud.bigquery.query.QueryResults(query, client)[source]#
    +
    +class google.cloud.bigquery.query.QueryResults(query, client, udf_resources=())[source]#

    Bases: object

    Synchronous job: query tables.

    @@ -111,16 +266,19 @@

    Parameters:
    -
    -cache_hit#
    +
    +cache_hit#

    Query results served from cache.

    See: https://cloud.google.com/bigquery/docs/reference/v2/jobs/query#cacheHit

    @@ -138,8 +296,8 @@

    -
    -complete#
    +
    +complete#

    Server completed query.

    See: https://cloud.google.com/bigquery/docs/reference/v2/jobs/query#jobComplete

    @@ -157,22 +315,22 @@

    -
    -default_dataset#
    +
    +default_dataset#

    See: https://cloud.google.com/bigquery/docs/reference/v2/jobs/query#defaultDataset

    -
    -dry_run#
    +
    +dry_run#

    See: https://cloud.google.com/bigquery/docs/reference/v2/jobs/query#dryRun

    -
    -errors#
    +
    +errors#

    Errors generated by the query.

    See: https://cloud.google.com/bigquery/docs/reference/v2/jobs/query#errors

    @@ -190,8 +348,8 @@

    -
    -fetch_data(max_results=None, page_token=None, start_index=None, timeout_ms=None, client=None)[source]#
    +
    +fetch_data(max_results=None, page_token=None, start_index=None, timeout_ms=None, client=None)[source]#

    API call: fetch a page of query result data via a GET request

    See: https://cloud.google.com/bigquery/docs/reference/v2/jobs/getQueryResults

    @@ -205,7 +363,8 @@

  • start_index (integer or NoneType) – zero-based index of starting row
  • timeout_ms (integer or NoneType) – timeout, in milliseconds, to wait for query to complete
  • -
  • client (gcloud.bigquery.client.Client or NoneType) – the client to use. If not passed, falls back to the +
  • client (Client or +NoneType) – the client to use. If not passed, falls back to the client stored on the current dataset.
  • - + @@ -246,15 +405,15 @@

    -
    -max_results#
    +
    +max_results#

    See: https://cloud.google.com/bigquery/docs/reference/v2/jobs/query#maxResults

    -
    -name#
    +
    +name#

    Job name, generated by the back-end.

    See: https://cloud.google.com/bigquery/docs/reference/v2/jobs/query#jobReference

    @@ -272,8 +431,8 @@

    -
    -page_token#
    +
    +page_token#

    Token for fetching next bach of results.

    See: https://cloud.google.com/bigquery/docs/reference/v2/jobs/query#pageToken

    @@ -290,15 +449,15 @@

    -
    -preserve_nulls#
    +
    +preserve_nulls#

    See: https://cloud.google.com/bigquery/docs/reference/v2/jobs/query#preserveNulls

    -
    -project#
    +
    +project#

    Project bound to the job.

    Return type:gcloud.bigquery.job.QueryJob, or NoneType
    Return type:google.cloud.bigquery.job.QueryJob, or NoneType
    Returns:Job instance used to run the query (None until jobReference property is set by the server).
    @@ -313,8 +472,8 @@

    -
    -rows#
    +
    +rows#

    Query results.

    See: https://cloud.google.com/bigquery/docs/reference/v2/jobs/query#rows

    @@ -331,8 +490,8 @@

    -
    -run(client=None)[source]#
    +
    +run(client=None)[source]#

    API call: run the query via a POST request

    See: https://cloud.google.com/bigquery/docs/reference/v2/jobs/query

    @@ -340,7 +499,8 @@

    - @@ -348,8 +508,8 @@

    -
    -schema#
    +
    +schema#

    Schema for query results.

    See: https://cloud.google.com/bigquery/docs/reference/v2/jobs/query#schema

    @@ -366,16 +526,16 @@

    -
    -timeout_ms#
    +
    +timeout_ms#

    See: https://cloud.google.com/bigquery/docs/reference/v2/jobs/query#timeoutMs

    -
    -total_bytes_processed#
    -

    Total number of bytes processed by the query

    +
    +total_bytes_processed#
    +

    Total number of bytes processed by the query.

    See: https://cloud.google.com/bigquery/docs/reference/v2/jobs/query#totalBytesProcessed

    Parameters:client (gcloud.bigquery.client.Client or NoneType) – the client to use. If not passed, falls back to the +
    Parameters:client (Client or +NoneType) – the client to use. If not passed, falls back to the client stored on the current dataset.
    @@ -391,9 +551,9 @@

    -
    -total_rows#
    -

    Total number of rows returned by the query

    +
    +total_rows#
    +

    Total number of rows returned by the query.

    See: https://cloud.google.com/bigquery/docs/reference/v2/jobs/query#totalRows

    @@ -409,15 +569,15 @@

    -
    -use_legacy_sql#
    +
    +use_legacy_sql#

    See: https://cloud.google.com/bigquery/docs/reference/v2/jobs/query#useLegacySql

    -
    -use_query_cache#
    +
    +use_query_cache#

    See: https://cloud.google.com/bigquery/docs/reference/v2/jobs/query#useQueryCache

    @@ -427,123 +587,71 @@

    - - - + + + + + + + + + + + + + + + - - - - + + + + + + + + + + + + \ No newline at end of file diff --git a/latest/bigquery-schema.html b/latest/bigquery-schema.html new file mode 100644 index 000000000000..7f297a5f9abc --- /dev/null +++ b/latest/bigquery-schema.html @@ -0,0 +1,352 @@ + + + + + + + + + + + Schemas — google-cloud 92219b8 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + +
    + + + + + + +
    +
    + + + + + + +
    + +
    +
    +
    +
    + +
    +

    Schemas#

    +

    Scheamas for BigQuery tables / queries.

    +
    +
    +class google.cloud.bigquery.schema.SchemaField(name, field_type, mode='NULLABLE', description=None, fields=None)[source]#
    +

    Bases: object

    +

    Describe a single field within a table schema.

    +

    +++ + + + +
    Parameters:
      +
    • name (str) – the name of the field.
    • +
    • field_type (str) – the type of the field (one of ‘STRING’, ‘INTEGER’, +‘FLOAT’, ‘BOOLEAN’, ‘TIMESTAMP’ or ‘RECORD’).
    • +
    • mode (str) – the type of the field (one of ‘NULLABLE’, ‘REQUIRED’, +or ‘REPEATED’).
    • +
    • description (str) – optional description for the field.
    • +
    • fields (list of SchemaField, or None) – subfields (requires field_type of ‘RECORD’).
    • +
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/latest/bigquery-table.html b/latest/bigquery-table.html index fbdab0de7161..3ccff1308684 100644 --- a/latest/bigquery-table.html +++ b/latest/bigquery-table.html @@ -1,132 +1,263 @@ + + + + + + + + + + Tables — google-cloud 92219b8 documentation + + + + + - - - - - Tables — gcloud 47bfd0a documentation - - - - + + + + - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + +
    + -
    - -
    - - -
    + + +
    + + + + + +
    +
    + + + + + + +
    + +
    +
    +
    +
    + +
    +

    Tables#

    +

    Define API Datasets.

    -
    -class gcloud.bigquery.table.Table(name, dataset, schema=())[source]#
    +
    +class google.cloud.bigquery.table.Table(name, dataset, schema=())[source]#

    Bases: object

    Tables represent a set of rows whose values correspond to a schema.

    See: @@ -137,16 +268,16 @@

    Parameters:
    -
    -create(client=None)[source]#
    +
    +create(client=None)[source]#

    API call: create the dataset via a PUT request

    See: https://cloud.google.com/bigquery/docs/reference/v2/tables/insert

    @@ -154,7 +285,8 @@

    Parameters:client (gcloud.bigquery.client.Client or NoneType) – the client to use. If not passed, falls back to the +
    Parameters:client (Client or +NoneType) – the client to use. If not passed, falls back to the client stored on the current dataset.
    @@ -178,8 +310,8 @@

    -
    -dataset_name#
    +
    +dataset_name#

    Name of dataset containing the table.

    @@ -194,8 +326,8 @@

    -
    -delete(client=None)[source]#
    +
    +delete(client=None)[source]#

    API call: delete the table via a DELETE request

    See: https://cloud.google.com/bigquery/docs/reference/v2/tables/delete

    @@ -203,7 +335,8 @@

    - @@ -211,8 +344,8 @@

    -
    -description#
    +
    +description#

    Description of the table.

    Parameters:client (gcloud.bigquery.client.Client or NoneType) – the client to use. If not passed, falls back to the +
    Parameters:client (Client or +NoneType) – the client to use. If not passed, falls back to the client stored on the current dataset.
    @@ -227,8 +360,8 @@

    -
    -etag#
    +
    +etag#

    ETag for the table resource.

    @@ -243,8 +376,8 @@

    -
    -exists(client=None)[source]#
    +
    +exists(client=None)[source]#

    API call: test for the existence of the table via a GET request

    See https://cloud.google.com/bigquery/docs/reference/v2/tables/get

    @@ -252,7 +385,8 @@

    - @@ -264,8 +398,8 @@

    -
    -expires#
    +
    +expires#

    Datetime at which the table will be removed.

    Parameters:client (gcloud.bigquery.client.Client or NoneType) – the client to use. If not passed, falls back to the +
    Parameters:client (Client or +NoneType) – the client to use. If not passed, falls back to the client stored on the current dataset.
    Return type:bool
    @@ -280,8 +414,8 @@

    -
    -fetch_data(max_results=None, page_token=None, client=None)[source]#
    +
    +fetch_data(max_results=None, page_token=None, client=None)[source]#

    API call: fetch the table data via a GET request

    See: https://cloud.google.com/bigquery/docs/reference/v2/tabledata/list

    @@ -300,7 +434,8 @@

    @@ -321,8 +456,8 @@

    -
    -friendly_name#
    +
    +friendly_name#

    Title of the table.

    Parameters:
    • max_results (integer or NoneType) – maximum number of rows to return.
    • page_token (str or NoneType) – token representing a cursor into the table’s rows.
    • -
    • client (gcloud.bigquery.client.Client or NoneType) – the client to use. If not passed, falls back to the +
    • client (Client or +NoneType) – the client to use. If not passed, falls back to the client stored on the current dataset.
    @@ -337,8 +472,8 @@

    -
    -classmethod from_api_repr(resource, dataset)[source]#
    +
    +classmethod from_api_repr(resource, dataset)[source]#

    Factory: construct a table given its API representation

    @@ -346,11 +481,11 @@

    - @@ -401,9 +537,29 @@

    Parameters:
    Return type:

    gcloud.bigquery.table.Table

    +
    Return type:

    google.cloud.bigquery.table.Table

    Returns:

    Table parsed from resource.

    @@ -361,8 +496,8 @@

    -
    -insert_data(rows, row_ids=None, skip_invalid_rows=None, ignore_unknown_values=None, template_suffix=None, client=None)[source]#
    +
    +insert_data(rows, row_ids=None, skip_invalid_rows=None, ignore_unknown_values=None, template_suffix=None, client=None)[source]#

    API call: insert table data via a POST request

    See: https://cloud.google.com/bigquery/docs/reference/v2/tabledata/insertAll

    @@ -383,7 +518,8 @@

    <name> + <template_suffix> based on the schema of the template table. See: https://cloud.google.com/bigquery/streaming-data-into-bigquery#template-tables -
  • client (gcloud.bigquery.client.Client or NoneType) – the client to use. If not passed, falls back to the +
  • client (Client or +NoneType) – the client to use. If not passed, falls back to the client stored on the current dataset.
  • +
    +
    +list_partitions(client=None)[source]#
    +

    List the partitions in a table.

    + +++ + + + + + + + +
    Parameters:client (Client or +NoneType) – the client to use. If not passed, falls back to the +client stored on the current dataset.
    Return type:list
    Returns:a list of time partitions
    +
    +
    -
    -location#
    +
    +location#

    Location in which the table is hosted.

    @@ -418,8 +574,8 @@

    -
    -modified#
    +
    +modified#

    Datetime at which the table was last modified.

    @@ -434,8 +590,8 @@

    -
    -num_bytes#
    +
    +num_bytes#

    The size of the table in bytes.

    @@ -450,8 +606,8 @@

    -
    -num_rows#
    +
    +num_rows#

    The number of rows in the table.

    @@ -465,9 +621,25 @@

    +
    +
    +partition_expiration#
    +

    Expiration time in ms for a partition +:rtype: int, or NoneType +:returns: Returns the time in ms for partition expiration

    +
    + +
    +
    +partitioning_type#
    +

    Time partitioning of the table. +:rtype: str, or NoneType +:returns: Returns type if the table is partitioned, None otherwise.

    +
    +
    -
    -patch(client=None, friendly_name=<object object>, description=<object object>, location=<object object>, expires=<object object>, view_query=<object object>, schema=<object object>)[source]#
    +
    +patch(client=None, friendly_name=<object object>, description=<object object>, location=<object object>, expires=<object object>, view_query=<object object>, schema=<object object>)[source]#

    API call: update individual table properties via a PATCH request

    See https://cloud.google.com/bigquery/docs/reference/v2/tables/patch

    @@ -476,14 +648,15 @@

    Parameters:
      -
    • client (gcloud.bigquery.client.Client or NoneType) – the client to use. If not passed, falls back to the +
    • client (Client or +NoneType) – the client to use. If not passed, falls back to the client stored on the current dataset.
    • friendly_name (str or NoneType) – point in time at which the table expires.
    • description (str or NoneType) – point in time at which the table expires.
    • location (str or NoneType) – point in time at which the table expires.
    • expires (datetime.datetime or NoneType) – point in time at which the table expires.
    • view_query (str) – SQL query defining the table as a view
    • -
    • schema (list of SchemaField) – fields describing the schema
    • +
    • schema (list of SchemaField) – fields describing the schema
    @@ -511,8 +684,8 @@

    -
    -project#
    +
    +project#

    Project bound to the table.

    @@ -527,8 +700,8 @@

    -
    -reload(client=None)[source]#
    +
    +reload(client=None)[source]#

    API call: refresh table properties via a GET request

    See https://cloud.google.com/bigquery/docs/reference/v2/tables/get

    @@ -536,7 +709,8 @@

    - @@ -544,14 +718,14 @@

    -
    -schema#
    +
    +schema#

    Table’s schema.

    Parameters:client (gcloud.bigquery.client.Client or NoneType) – the client to use. If not passed, falls back to the +
    Parameters:client (Client or +NoneType) – the client to use. If not passed, falls back to the client stored on the current dataset.
    - + @@ -560,8 +734,8 @@

    - +

    URL for the table resource.

    Return type:list of SchemaField
    Return type:list of SchemaField
    Returns:fields describing the schema
    @@ -576,8 +750,8 @@

    -
    -table_id#
    +
    +table_id#

    ID for the table resource.

    @@ -592,8 +766,8 @@

    -
    -table_type#
    +
    +table_type#

    The type of the table.

    Possible values are “TABLE” or “VIEW”.

    @@ -609,8 +783,8 @@

    -
    -update(client=None)[source]#
    +
    +update(client=None)[source]#

    API call: update table properties via a PUT request

    See https://cloud.google.com/bigquery/docs/reference/v2/tables/update

    @@ -618,7 +792,8 @@

    - @@ -626,8 +801,8 @@

    -
    -upload_from_file(file_obj, source_format, rewind=False, size=None, num_retries=6, allow_jagged_rows=None, allow_quoted_newlines=None, create_disposition=None, encoding=None, field_delimiter=None, ignore_unknown_values=None, max_bad_records=None, quote_character=None, skip_leading_rows=None, write_disposition=None, client=None)[source]#
    +
    +upload_from_file(file_obj, source_format, rewind=False, size=None, num_retries=6, allow_jagged_rows=None, allow_quoted_newlines=None, create_disposition=None, encoding=None, field_delimiter=None, ignore_unknown_values=None, max_bad_records=None, quote_character=None, skip_leading_rows=None, write_disposition=None, client=None)[source]#

    Upload the contents of this table from a file-like object.

    The content type of the upload will either be - The value passed in to the function (if any) @@ -640,7 +815,7 @@

  • file_obj (file) – A file handle opened in binary mode for reading.
  • source_format (str) – one of ‘CSV’ or ‘NEWLINE_DELIMITED_JSON’. job configuration option; see -gcloud.bigquery.job.LoadJob()
  • +google.cloud.bigquery.job.LoadJob()
  • rewind (boolean) – If True, seek to the beginning of the file handle before writing the file to Cloud Storage.
  • size (int) – The number of bytes to read from the file handle. @@ -649,35 +824,36 @@

    filesystem this won’t be possible.)

  • num_retries (integer) – Number of upload retries. Defaults to 6.
  • allow_jagged_rows (boolean) – job configuration option; see -gcloud.bigquery.job.LoadJob()
  • +google.cloud.bigquery.job.LoadJob().
  • allow_quoted_newlines (boolean) – job configuration option; see -gcloud.bigquery.job.LoadJob()
  • +google.cloud.bigquery.job.LoadJob().
  • create_disposition (str) – job configuration option; see -gcloud.bigquery.job.LoadJob()
  • +google.cloud.bigquery.job.LoadJob().
  • encoding (str) – job configuration option; see -gcloud.bigquery.job.LoadJob()
  • +google.cloud.bigquery.job.LoadJob().
  • field_delimiter (str) – job configuration option; see -gcloud.bigquery.job.LoadJob()
  • +google.cloud.bigquery.job.LoadJob().
  • ignore_unknown_values (boolean) – job configuration option; see -gcloud.bigquery.job.LoadJob()
  • +google.cloud.bigquery.job.LoadJob().
  • max_bad_records (integer) – job configuration option; see -gcloud.bigquery.job.LoadJob()
  • +google.cloud.bigquery.job.LoadJob().
  • quote_character (str) – job configuration option; see -gcloud.bigquery.job.LoadJob()
  • +google.cloud.bigquery.job.LoadJob().
  • skip_leading_rows (integer) – job configuration option; see -gcloud.bigquery.job.LoadJob()
  • +google.cloud.bigquery.job.LoadJob().
  • write_disposition (str) – job configuration option; see -gcloud.bigquery.job.LoadJob()
  • -
  • client (gcloud.storage.client.Client or NoneType) – Optional. The client to use. If not passed, falls back +google.cloud.bigquery.job.LoadJob().
  • +
  • client (Client or +NoneType) – Optional. The client to use. If not passed, falls back to the client stored on the current dataset.
  • -

    +mutations exceeds the MAX_MUTATIONS.
    Parameters:client (gcloud.bigquery.client.Client or NoneType) – the client to use. If not passed, falls back to the +
    Parameters:client (Client or +NoneType) – the client to use. If not passed, falls back to the client stored on the current dataset.
    Return type:

    gcloud.bigquery.jobs.LoadTableFromStorageJob

    +
    Return type:

    google.cloud.bigquery.jobs.LoadTableFromStorageJob

    Returns:

    the job instance used to load the data (e.g., for -querying status)

    +querying status).

    Raises:

    ValueError if size is not passed in and can not @@ -690,8 +866,8 @@

    -
    -view_query#
    +
    +view_query#

    SQL query defining the table as a view.

    @@ -710,123 +886,71 @@

    - - - +
    +

    + © Copyright 2014, Google. - - - +

    +
    + Built with Sphinx using a theme provided by Read the Docs. + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + \ No newline at end of file diff --git a/latest/bigquery-usage.html b/latest/bigquery-usage.html index 0e6aa62164f6..aac76433d405 100644 --- a/latest/bigquery-usage.html +++ b/latest/bigquery-usage.html @@ -1,111 +1,286 @@ + + + + + + + + + + Using the API — google-cloud 92219b8 documentation + + + + + + + - - - - - Using the API — gcloud 47bfd0a documentation - - - - + + - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + +
    + -
    - -
    - - -
    + + +
    + + + + + + +
    +
    + + + + -
    + +
    + +
    +
    +
    +
    +

    Using the API#

    Authentication / Configuration#

    +
    + + + + + + + + + + + + + + - - - - + + + + + + + + + + + + \ No newline at end of file diff --git a/latest/bigtable-client-intro.html b/latest/bigtable-client-intro.html index 54f77c59136f..884870131c7b 100644 --- a/latest/bigtable-client-intro.html +++ b/latest/bigtable-client-intro.html @@ -1,196 +1,90 @@ + + + + + + + + + + Base for Everything — google-cloud 92219b8 documentation + + + + + + + - - - - - Base for Everything — gcloud 47bfd0a documentation - - - - + + - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + +
    + -
    - -
    - - -
    + + +
    + + + + + + +
    +
    + + + + + + +
    + +
    +
    +
    +
    + +
    +

    Base for Everything#

    +

    To use the API, the Client +class defines a high-level interface which handles authorization +and creating other objects:

    +
    from google.cloud.bigtable.client import Client
    +client = Client()
    +
    +
    +
    +

    Long-lived Defaults#

    +

    When creating a Client, the +user_agent argument has sensible a default +(DEFAULT_USER_AGENT). +However, you may over-ride it and the value will be used throughout all API +requests made with the client you create.

    +
    +
    +

    Configuration#

    +
      +
    • For an overview of authentication in google-cloud-python, +see Authentication.

      +
    • +
    • In addition to any authentication configuration, you can also set the +GOOGLE_CLOUD_PROJECT environment variable for the Google Cloud Console +project you’d like to interact with. If your code is running in Google App +Engine or Google Compute Engine the project will be detected automatically. +(Setting this environment variable is not required, you may instead pass the +project explicitly when constructing a +Client).

      +
    • +
    • After configuring your environment, create a +Client

      +
      >>> from google.cloud import bigtable
      +>>> client = bigtable.Client()
      +
      +
      +

      or pass in credentials and project explicitly

      +
      >>> from google.cloud import bigtable
      +>>> client = bigtable.Client(project='my-project', credentials=creds)
      +
      +
      +
    +
    +

    Tip

    +

    Be sure to use the Project ID, not the Project Number.

    +
    +
    +
    +

    Admin API Access#

    +

    If you’ll be using your client to make Instance Admin and Table Admin +API requests, you’ll need to pass the admin argument:

    +
    client = bigtable.Client(admin=True)
    +
    +
    +
    +
    +

    Read-Only Mode#

    +

    If on the other hand, you only have (or want) read access to the data, +you can pass the read_only argument:

    +
    client = bigtable.Client(read_only=True)
    +
    +
    +

    This will ensure that the +READ_ONLY_SCOPE is used +for API requests (so any accidental requests that would modify data will +fail).

    +
    +
    +

    Next Step#

    +

    After a Client, the next highest-level +object is a Instance. You’ll need +one before you can interact with tables or data.

    +

    Head next to learn about the Instance Admin API.

    +
    +
    + + +
    +
    + + +
    +
    + +
    + +
    + - - - - - - + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/latest/bigtable-client.html b/latest/bigtable-client.html index 59a253dc90f8..e4215cadaa49 100644 --- a/latest/bigtable-client.html +++ b/latest/bigtable-client.html @@ -1,131 +1,280 @@ + + + + + + + + + + Client — google-cloud 92219b8 documentation + + + + + - - - - - Client — gcloud 47bfd0a documentation - - - - + + + + - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + +
    + -
    - -
    - - -
    + + +
    + + + + + + +
    +
    + + + + -
    + +
    +
      +
    • Docs »
    • + +
    • Client
    • +
    • + + + View page source + -
      -

      Client#

      -
      -

      Warning

      -

      gRPC is required for using the Cloud Bigtable API. As of May 2016, -grpcio is only supported in Python 2.7, so importing -gcloud.bigtable in other versions of Python will fail.

      +
    • +
    +
    -

    Parent client for calling the Google Cloud Bigtable API.

    +
    +
    + +
    +

    Client#

    +

    Parent client for calling the Google Cloud Bigtable API.

    This is the base from which all interactions with the API occur.

    In the hierarchy of API concepts

    -
    -gcloud.bigtable.client.ADMIN_SCOPE = 'https://www.googleapis.com/auth/bigtable.admin'#
    +
    +google.cloud.bigtable.client.ADMIN_SCOPE = 'https://www.googleapis.com/auth/bigtable.admin'#

    Scope for interacting with the Cluster Admin and Table Admin APIs.

    -
    -class gcloud.bigtable.client.Client(project=None, credentials=None, read_only=False, admin=False, user_agent='gcloud-python/0.17.0', timeout_seconds=10)[source]#
    -

    Bases: gcloud.client._ClientFactoryMixin, gcloud.client._ClientProjectMixin

    +
    +class google.cloud.bigtable.client.Client(project=None, credentials=None, read_only=False, admin=False, user_agent='google-cloud-python/0.18.0')[source]#
    +

    Bases: google.cloud.client._ClientFactoryMixin, google.cloud.client._ClientProjectMixin

    Client for interacting with Google Cloud Bigtable API.

    Note

    @@ -140,7 +289,7 @@

    Clientstr or unicode) – (Optional) The ID of the project which owns the instances, tables and data. If not provided, will attempt to determine from the environment. -
  • credentials (OAuth2Credentials or +
  • credentials (OAuth2Credentials or NoneType) – (Optional) The OAuth2 Credentials to use for this client. If not provided, defaults to the Google Application Default Credentials.
  • @@ -149,12 +298,9 @@

    ClientFalse.
  • admin (bool) – (Optional) Boolean indicating if the client will be used to interact with the Instance Admin or Table Admin APIs. This -requires the ADMIN_SCOPE. Defaults to False.
  • +requires the ADMIN_SCOPE. Defaults to False.
  • user_agent (str) – (Optional) The user agent to be used with API request. -Defaults to DEFAULT_USER_AGENT.
  • -
  • timeout_seconds (int) – Number of seconds for request time-out. If not -passed, defaults to -DEFAULT_TIMEOUT_SECONDS.
  • +Defaults to DEFAULT_USER_AGENT. @@ -165,8 +311,8 @@

    Client -
    -copy()[source]#
    +
    +copy()[source]#

    Make a copy of this client.

    Copies the local data stored as simple types but does not copy the current state of any open connections with the Cloud Bigtable API.

    @@ -174,7 +320,7 @@

    Client

    - + @@ -183,14 +329,14 @@

    Client -
    -credentials#
    +
    +credentials#

    Getter for client’s credentials.

    Return type:Client
    Return type:Client
    Returns:A copy of the current client.
    - + @@ -199,8 +345,8 @@

    Client -
    -instance(instance_id, location='see-existing-cluster', display_name=None, serve_nodes=3)[source]#
    +
    +instance(instance_id, location='see-existing-cluster', display_name=None, serve_nodes=3)[source]#

    Factory to create a instance associated with this client.

    Return type:OAuth2Credentials
    Return type:OAuth2Credentials
    Returns:The credentials stored on the client.
    @@ -220,7 +366,7 @@

    Client

    - + @@ -157,25 +305,25 @@

    Cluster -
    -create()[source]#
    +
    +create()[source]#

    Create this cluster.

    Note

    Uses the project, instance and cluster_id on the -current Cluster in addition to the serve_nodes. +current Cluster in addition to the serve_nodes. To change them before creating, reset the values via

    cluster.serve_nodes = 8
     cluster.cluster_id = 'i-changed-my-mind'
     
    -

    before calling create().

    +

    before calling create().

    Return type:

    Instance

    +
    Return type:

    Instance

    Returns:

    an instance owned by this client.

    @@ -231,24 +377,8 @@

    Client -
    -is_started()[source]#
    -

    Check if the client has been started.

    - --- - - - - - -
    Return type:bool
    Returns:Boolean indicating if the client has been started.
    -
    - -
    -
    -list_instances()[source]#
    +
    +list_instances()[source]#

    List instances owned by the project.

    @@ -257,7 +387,7 @@

    Client

    @@ -265,8 +395,8 @@

    Client -
    -project_name#
    +
    +project_name#

    Project name to be used with Instance Admin API.

    Note

    @@ -289,202 +419,112 @@

    Client -
    -start()[source]#
    -

    Prepare the client to make requests.

    -

    Activates gRPC contexts for making requests to the Bigtable -Service(s).

    -
    - -
    -
    -stop()[source]#
    -

    Closes all the open gRPC clients.

    -
    -

    -
    -gcloud.bigtable.client.DATA_API_HOST_V2 = 'bigtable.googleapis.com'#
    +
    +google.cloud.bigtable.client.DATA_API_HOST = 'bigtable.googleapis.com'#

    Data API request host.

    -
    -gcloud.bigtable.client.DATA_API_PORT_V2 = 443#
    -

    Data API request port.

    -
    - -
    -
    -gcloud.bigtable.client.DATA_SCOPE = 'https://www.googleapis.com/auth/bigtable.data'#
    +
    +google.cloud.bigtable.client.DATA_SCOPE = 'https://www.googleapis.com/auth/bigtable.data'#

    Scope for reading and writing table data.

    -
    -gcloud.bigtable.client.DEFAULT_TIMEOUT_SECONDS = 10#
    -

    The default timeout to use for API requests.

    -
    - -
    -
    -gcloud.bigtable.client.DEFAULT_USER_AGENT = 'gcloud-python/0.17.0'#
    +
    +google.cloud.bigtable.client.DEFAULT_USER_AGENT = 'google-cloud-python/0.18.0'#

    The default user agent for API requests.

    -
    -gcloud.bigtable.client.INSTANCE_ADMIN_HOST_V2 = 'bigtableadmin.googleapis.com'#
    +
    +google.cloud.bigtable.client.INSTANCE_ADMIN_HOST = 'bigtableadmin.googleapis.com'#

    Cluster Admin API request host.

    -
    -gcloud.bigtable.client.INSTANCE_ADMIN_PORT_V2 = 443#
    -

    Cluster Admin API request port.

    -
    - -
    -
    -gcloud.bigtable.client.READ_ONLY_SCOPE = 'https://www.googleapis.com/auth/bigtable.data.readonly'#
    +
    +google.cloud.bigtable.client.READ_ONLY_SCOPE = 'https://www.googleapis.com/auth/bigtable.data.readonly'#

    Scope for reading table data.

    -
    -gcloud.bigtable.client.TABLE_ADMIN_HOST_V2 = 'bigtableadmin.googleapis.com'#
    +
    +google.cloud.bigtable.client.TABLE_ADMIN_HOST = 'bigtableadmin.googleapis.com'#

    Table Admin API request host.

    -
    -
    -gcloud.bigtable.client.TABLE_ADMIN_PORT_V2 = 443#
    -

    Table Admin API request port.

    -
    - - - - - - - - + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/latest/bigtable-cluster.html b/latest/bigtable-cluster.html index 6fe096a499ef..b649036bdca3 100644 --- a/latest/bigtable-cluster.html +++ b/latest/bigtable-cluster.html @@ -1,123 +1,271 @@ + + + + + + + + + + Cluster — google-cloud 92219b8 documentation + + + + + - - - - - Cluster — gcloud 47bfd0a documentation - - - - + + + + - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + +
    + -
    - -
    - - -
    + + +
    + + + + + + +
    +
    + + + -
    + + +
    +
      +
    • Docs »
    • + +
    • Cluster
    • +
    • + + + View page source + -
      -

      Cluster#

      -
      -

      Warning

      -

      gRPC is required for using the Cloud Bigtable API. As of May 2016, -grpcio is only supported in Python 2.7, so importing -gcloud.bigtable in other versions of Python will fail.

      +
    • +
    +
    -

    User friendly container for Google Cloud Bigtable Cluster.

    +
    +
    + +
    +

    Cluster#

    +

    User friendly container for Google Cloud Bigtable Cluster.

    -
    -class gcloud.bigtable.cluster.Cluster(cluster_id, instance, serve_nodes=3)[source]#
    +
    +class google.cloud.bigtable.cluster.Cluster(cluster_id, instance, serve_nodes=3)[source]#

    Bases: object

    Representation of a Google Cloud Bigtable Cluster.

    -

    We can use a Cluster to:

    +

    We can use a Cluster to:

    Note

    @@ -130,17 +278,17 @@

    Cluster

    Return type:tuple
    Returns:A pair of results, the first is a list of -Instance objects returned and the second is a +Instance objects returned and the second is a list of strings (the failed locations in the request).
    Parameters:
    -
    -copy()[source]#
    +
    +copy()[source]#

    Make a copy of this cluster.

    Copies the local data stored as simple types and copies the client attached to this instance.

    @@ -148,7 +296,7 @@

    Cluster

    Return type:Cluster
    Return type:Cluster
    Returns:A copy of the current cluster.
    - + @@ -185,8 +333,8 @@

    Cluster -
    -delete()[source]#
    +
    +delete()[source]#

    Delete this cluster.

    Marks a cluster and all of its tables for permanent deletion in 7 days.

    Immediately upon completion of the request:

    @@ -198,11 +346,6 @@

    Cluster
  • All tables within the cluster will become unavailable.
  • -

    Prior to the cluster’s delete_time:

    -
      -
    • The cluster can be recovered with a call to UndeleteCluster.
    • -
    • All other attempts to modify or delete the cluster will be rejected.
    • -

    At the cluster’s delete_time:

    Return type:Operation
    Return type:Operation
    Returns:The long-running operation corresponding to the create operation.
    @@ -225,7 +368,7 @@

    Cluster

    +mutations exceeds the MAX_MUTATIONS.
    Return type:

    Cluster

    +
    Return type:

    Cluster

    Returns:

    The cluster parsed from the protobuf response.

    @@ -243,8 +386,8 @@

    Cluster -
    -name#
    +
    +name#

    Cluster name used in requests.

    Note

    @@ -267,14 +410,14 @@

    Cluster -
    -reload()[source]#
    +
    +reload()[source]#

    Reload the metadata for this cluster.

    -
    -update()[source]#
    +
    +update()[source]#

    Update this cluster.

    Note

    @@ -283,13 +426,13 @@

    Cluster
    cluster.serve_nodes = 8
     

    -

    before calling update().

    +

    before calling update().

    - + @@ -301,173 +444,79 @@

    Cluster -
    -gcloud.bigtable.cluster.DEFAULT_SERVE_NODES = 3#
    +
    +google.cloud.bigtable.cluster.DEFAULT_SERVE_NODES = 3#

    Default number of nodes to use when creating a cluster.

    -
    -
    -class gcloud.bigtable.cluster.Operation(op_type, op_id, cluster=None)[source]#
    -

    Bases: object

    -

    Representation of a Google API Long-Running Operation.

    -

    In particular, these will be the result of operations on -clusters using the Cloud Bigtable API.

    -

    Return type:Operation
    Return type:Operation
    Returns:The long-running operation corresponding to the update operation.
    --- - - - -
    Parameters:
      -
    • op_type (str) – The type of operation being performed. Expect -create, update or undelete.
    • -
    • op_id (int) – The ID of the operation.
    • -
    • cluster (Cluster) – The cluster that created the operation.
    • -
    -
    -
    -
    -finished()[source]#
    -

    Check if the operation has finished.

    - --- - - - - - - - -
    Return type:bool
    Returns:A boolean indicating if the current operation has completed.
    Raises:ValueError if the operation -has already completed.
    -
    + -
    - + + + - - - + + + + + + + + + + + + + + + + + + + + + - + + + + + + + \ No newline at end of file diff --git a/latest/bigtable-column-family.html b/latest/bigtable-column-family.html index f6d838e63620..e808e57e93b0 100644 --- a/latest/bigtable-column-family.html +++ b/latest/bigtable-column-family.html @@ -1,129 +1,278 @@ + + + + + + + + + + Column Families — google-cloud 92219b8 documentation + + + + + + + - - - - - Column Families — gcloud 47bfd0a documentation - - - - + + - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + +
    + -
    - -
    - - -
    + + +
    + + + + + + +
    +
    + + + + + + +
    + +
    +
    +
    +
    +

    Column Families#

    -
    -

    Warning

    -

    gRPC is required for using the Cloud Bigtable API. As of May 2016, -grpcio is only supported in Python 2.7, so importing -gcloud.bigtable in other versions of Python will fail.

    -

    When creating a -ColumnFamily, it is +ColumnFamily, it is possible to set garbage collection rules for expired data.

    By setting a rule, cells in the table matching the rule will be deleted during periodic garbage collection (which executes opportunistically in the background).

    The types -MaxAgeGCRule, -MaxVersionsGCRule, +MaxAgeGCRule, +MaxVersionsGCRule, GarbageCollectionRuleUnion and GarbageCollectionRuleIntersection can all be used as the optional gc_rule argument in the -ColumnFamily +ColumnFamily constructor. This value is then used in the -create() and -update() methods.

    +create() and +update() methods.

    These rules can be nested arbitrarily, with a -MaxAgeGCRule or -MaxVersionsGCRule +MaxAgeGCRule or +MaxVersionsGCRule at the lowest level of the nesting:

    import datetime
     
    @@ -142,17 +291,17 @@ 

    Column Families -

    User friendly container for Google Cloud Bigtable Column Family.

    +

    User friendly container for Google Cloud Bigtable Column Family.

    -
    -class gcloud.bigtable.column_family.ColumnFamily(column_family_id, table, gc_rule=None)[source]#
    +
    +class google.cloud.bigtable.column_family.ColumnFamily(column_family_id, table, gc_rule=None)[source]#

    Bases: object

    Representation of a Google Cloud Bigtable Column Family.

    -

    We can use a ColumnFamily to:

    +

    We can use a ColumnFamily to:

    @@ -161,8 +310,8 @@

    Column Families

    @@ -170,20 +319,20 @@

    Column Families -
    -create()[source]#
    +
    +create()[source]#

    Create this column family.

    -
    -delete()[source]#
    +
    +delete()[source]#

    Delete this column family.

    -
    -name#
    +
    +name#

    Column family name used in requests.

    Note

    @@ -206,8 +355,8 @@

    Column Families -
    -to_pb()[source]#
    +
    +to_pb()[source]#

    Converts the column family to a protobuf.

    Parameters:
    • column_family_id (str) – The ID of the column family. Must be of the form [_a-zA-Z0-9][-_.a-zA-Z0-9]*.
    • -
    • table (Table) – The table that owns the column family.
    • -
    • gc_rule (GarbageCollectionRule) – (Optional) The garbage collection settings for this +
    • table (Table) – The table that owns the column family.
    • +
    • gc_rule (GarbageCollectionRule) – (Optional) The garbage collection settings for this column family.
    @@ -222,8 +371,8 @@

    Column Families -
    -update()[source]#
    +
    +update()[source]#

    Update this column family.

    Note

    @@ -235,21 +384,21 @@

    Column Families -
    -class gcloud.bigtable.column_family.GCRuleIntersection(rules)[source]#
    -

    Bases: gcloud.bigtable.column_family.GarbageCollectionRule

    +
    +class google.cloud.bigtable.column_family.GCRuleIntersection(rules)[source]#
    +

    Bases: google.cloud.bigtable.column_family.GarbageCollectionRule

    Intersection of garbage collection rules.

    - +
    Parameters:rules (list) – List of GarbageCollectionRule.
    Parameters:rules (list) – List of GarbageCollectionRule.
    -
    -to_pb()[source]#
    +
    +to_pb()[source]#

    Converts the intersection into a single GC rule as a protobuf.

    @@ -266,21 +415,21 @@

    Column Families -
    -class gcloud.bigtable.column_family.GCRuleUnion(rules)[source]#
    -

    Bases: gcloud.bigtable.column_family.GarbageCollectionRule

    +
    +class google.cloud.bigtable.column_family.GCRuleUnion(rules)[source]#
    +

    Bases: google.cloud.bigtable.column_family.GarbageCollectionRule

    Union of garbage collection rules.

    - +
    Parameters:rules (list) – List of GarbageCollectionRule.
    Parameters:rules (list) – List of GarbageCollectionRule.
    -
    -to_pb()[source]#
    +
    +to_pb()[source]#

    Converts the union into a single GC rule as a protobuf.

    @@ -297,8 +446,8 @@

    Column Families -
    -class gcloud.bigtable.column_family.GarbageCollectionRule[source]#
    +
    +class google.cloud.bigtable.column_family.GarbageCollectionRule[source]#

    Bases: object

    Garbage collection rule for column families within a table.

    Cells in the column family (within a table) fitting the rule will be @@ -316,9 +465,9 @@

    Column Families -
    -class gcloud.bigtable.column_family.MaxAgeGCRule(max_age)[source]#
    -

    Bases: gcloud.bigtable.column_family.GarbageCollectionRule

    +
    +class google.cloud.bigtable.column_family.MaxAgeGCRule(max_age)[source]#
    +

    Bases: google.cloud.bigtable.column_family.GarbageCollectionRule

    Garbage collection limiting the age of a cell.

    @@ -329,8 +478,8 @@

    Column Families -
    -to_pb()[source]#
    +
    +to_pb()[source]#

    Converts the garbage collection rule to a protobuf.

    @@ -347,9 +496,9 @@

    Column Families -
    -class gcloud.bigtable.column_family.MaxVersionsGCRule(max_num_versions)[source]#
    -

    Bases: gcloud.bigtable.column_family.GarbageCollectionRule

    +
    +class google.cloud.bigtable.column_family.MaxVersionsGCRule(max_num_versions)[source]#
    +

    Bases: google.cloud.bigtable.column_family.GarbageCollectionRule

    Garbage collection limiting the number of versions of a cell.

    @@ -360,8 +509,8 @@

    Column Families -
    -to_pb()[source]#
    +
    +to_pb()[source]#

    Converts the garbage collection rule to a protobuf.

    @@ -380,123 +529,71 @@

    Column Families -

    gcloud

    -
    -

    Datastore

    - -

    Storage

    - -

    Pub/Sub

    - -

    BigQuery

    - -

    Cloud Bigtable

    - -

    Resource Manager

    - -

    DNS

    - -

    Stackdriver Logging

    - -

    Stackdriver Monitoring

    - -

    Translate

    - -

    External Links

    - + + + - - + + + + + + + + + + + + + + + - - - - + + + + + + + + + + + + \ No newline at end of file diff --git a/latest/bigtable-data-api.html b/latest/bigtable-data-api.html index 2832b4074887..86701f0a2099 100644 --- a/latest/bigtable-data-api.html +++ b/latest/bigtable-data-api.html @@ -1,111 +1,279 @@ + + + + + + + + + + Data API — google-cloud 92219b8 documentation + + + + + + + - - - - - Data API — gcloud 47bfd0a documentation - - - - + + - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + +
    + -
    - -
    - - -
    + + +
    + + + + + + +
    +
    + + + + + + +
    + +
    +
    +
    +
    +

    Data API#

    -
    -

    Warning

    -

    gRPC is required for using the Cloud Bigtable API. As of May 2016, -grpcio is only supported in Python 2.7, so importing -gcloud.bigtable in other versions of Python will fail.

    -
    -

    After creating a Table and some +

    After creating a Table and some column families, you are ready to store and retrieve data.

    Cells vs. Columns vs. Column Families#

    @@ -130,7 +298,7 @@

    Modifying DataTable.

    +Table.

    Direct vs. Conditional vs. Append#

    There are three ways to modify data in a table, described by the @@ -139,38 +307,38 @@

    Direct vs. Conditional vs. Append
  • The direct way is via MutateRow which involves simply adding, overwriting or deleting cells. The -DirectRow class +DirectRow class handles direct mutations.
  • The conditional way is via CheckAndMutateRow. This method first checks if some filter is matched in a a given row, then applies one of two sets of mutations, depending on if a match occurred or not. (These mutation sets are called the “true mutations” and “false mutations”.) The -ConditionalRow class +ConditionalRow class handles conditional mutations.
  • The append way is via ReadModifyWriteRow. This simply appends (as bytes) or increments (as an integer) data in a presumed existing cell in a row. The -AppendRow class +AppendRow class handles append mutations.
  • Row Factory#

    A single factory can be used to create any of the three row types. -To create a DirectRow:

    +To create a DirectRow:

    row = table.row(row_key)
     

    Unlike the previous string values we’ve used before, the row key must be bytes.

    -

    To create a ConditionalRow, +

    To create a ConditionalRow, first create a RowFilter and then

    cond_row = table.row(row_key, filter_=filter_)
     
    -

    To create an AppendRow

    +

    To create an AppendRow

    append_row = table.row(row_key, append=True)
     
    @@ -187,7 +355,7 @@

    Building Up MutationsDirect Mutations#

    Direct mutations can be added via one of four methods

      -
    • set_cell() allows a +

    • set_cell() allows a single value to be written to a column

      row.set_cell(column_family_id, column, value,
                    timestamp=timestamp)
      @@ -198,7 +366,7 @@ 

      Direct Mutationsdelete_cell() deletes +
    • delete_cell() deletes all cells (i.e. for all timestamps) in a given column

      row.delete_cell(column_family_id, column)
       
      @@ -212,9 +380,9 @@

      Direct Mutationsdelete_cells() does +
    • delete_cells() does the same thing as -delete_cell() +delete_cell() but accepts a list of columns in a column family rather than a single one.

      row.delete_cells(column_family_id, [column1, column2],
                        time_range=time_range)
      @@ -228,7 +396,7 @@ 

      Direct Mutationsdelete() will delete the +
    • delete() will delete the entire row

      row.delete()
       
      @@ -254,13 +422,13 @@

      Conditional MutationsAppend Mutations#

      Append mutations can be added via one of two methods

        -
      • append_cell_value() +

      • append_cell_value() appends a bytes value to an existing cell:

        append_row.append_cell_value(column_family_id, column, bytes_value)
         
      • -
      • increment_cell_value() +

      • increment_cell_value() increments an integer value in an existing cell:

        append_row.increment_cell_value(column_family_id, column, int_value)
         
        @@ -288,83 +456,83 @@

        Reading Data

        Read Single Row from a Table#

        To make a ReadRows API request for a single row key, use -Table.read_row():

        +Table.read_row():

        >>> row_data = table.read_row(row_key)
         >>> row_data.cells
         {
             u'fam1': {
                 b'col1': [
        -            <gcloud.bigtable.row_data.Cell at 0x7f80d150ef10>,
        -            <gcloud.bigtable.row_data.Cell at 0x7f80d150ef10>,
        +            <google.cloud.bigtable.row_data.Cell at 0x7f80d150ef10>,
        +            <google.cloud.bigtable.row_data.Cell at 0x7f80d150ef10>,
                 ],
                 b'col2': [
        -            <gcloud.bigtable.row_data.Cell at 0x7f80d150ef10>,
        +            <google.cloud.bigtable.row_data.Cell at 0x7f80d150ef10>,
                 ],
             },
             u'fam2': {
                 b'col3': [
        -            <gcloud.bigtable.row_data.Cell at 0x7f80d150ef10>,
        -            <gcloud.bigtable.row_data.Cell at 0x7f80d150ef10>,
        -            <gcloud.bigtable.row_data.Cell at 0x7f80d150ef10>,
        +            <google.cloud.bigtable.row_data.Cell at 0x7f80d150ef10>,
        +            <google.cloud.bigtable.row_data.Cell at 0x7f80d150ef10>,
        +            <google.cloud.bigtable.row_data.Cell at 0x7f80d150ef10>,
                 ],
             },
         }
         >>> cell = row_data.cells[u'fam1'][b'col1'][0]
         >>> cell
        -<gcloud.bigtable.row_data.Cell at 0x7f80d150ef10>
        +<google.cloud.bigtable.row_data.Cell at 0x7f80d150ef10>
         >>> cell.value
         b'val1'
         >>> cell.timestamp
         datetime.datetime(2016, 2, 27, 3, 41, 18, 122823, tzinfo=<UTC>)
         
        -

        Rather than returning a DirectRow +

        Rather than returning a DirectRow or similar class, this method returns a -PartialRowData +PartialRowData instance. This class is used for reading and parsing data rather than for -modifying data (as DirectRow is).

        +modifying data (as DirectRow is).

        A filter can also be applied to the results:

        row_data = table.read_row(row_key, filter_=filter_val)
         

        The allowable filter_ values are the same as those used for a -ConditionalRow. For +ConditionalRow. For more information, see the -Table.read_row() documentation.

        +Table.read_row() documentation.

        Stream Many Rows from a Table#

        To make a ReadRows API request for a stream of rows, use -Table.read_rows():

        +Table.read_rows():

        row_data = table.read_rows()
         

        Using gRPC over HTTP/2, a continual stream of responses will be delivered. In particular

        -

        See the PartialRowsData +

        See the PartialRowsData documentation for more information.

        As with -Table.read_row(), an optional +Table.read_row(), an optional filter_ can be applied. In addition a start_key and / or end_key can be supplied for the stream, a limit can be set and a boolean allow_row_interleaving can be specified to allow faster streamed results at the potential cost of non-sequential reads.

        -

        See the Table.read_rows() +

        See the Table.read_rows() documentation for more information on the optional arguments.

        Sample Keys in a Table#

        Make a SampleRowKeys API request with -Table.sample_row_keys():

        +Table.sample_row_keys():

        keys_iterator = table.sample_row_keys()
         
        @@ -372,7 +540,7 @@

        Sample Keys in a Table

        As with -Table.read_rows(), the +Table.read_rows(), the returned keys_iterator is connected to a cancellable HTTP/2 stream.

        The next key in the result can be accessed via

        next_key = keys_iterator.next()
        @@ -392,123 +560,71 @@ 

        Sample Keys in a Table -

    -
    + + - - + + + + + + + + + + + + + + + - - - - + + + + + + + + + + + + \ No newline at end of file diff --git a/latest/bigtable-instance-api.html b/latest/bigtable-instance-api.html index 131179017de1..b54b807899a2 100644 --- a/latest/bigtable-instance-api.html +++ b/latest/bigtable-instance-api.html @@ -1,224 +1,90 @@ + + + + + + + + + + Instance Admin API — google-cloud 92219b8 documentation + + + + + - - - - - Instance Admin API — gcloud 47bfd0a documentation - - - - + + + + - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + +
    + -
    - -
    - - -
    +
    + + +
    + + + +
    + + + + + + +
    +
    + + + - - - + + +
    + +
    +
    +
    +
    + +
    +

    Instance Admin API#

    +

    After creating a Client, you can +interact with individual instances for a project.

    +
    +

    List Instances#

    +

    If you want a comprehensive list of all existing instances, make a +ListInstances API request with +Client.list_instances():

    +
    instances = client.list_instances()
    +
    +
    +
    +
    +

    Instance Factory#

    +

    To create a Instance object:

    +
    instance = client.instance(instance_id, location_id,
    +                           display_name=display_name)
    +
    +
    +
      +
    • location_id is the ID of the location in which the instance’s cluster +will be hosted, e.g. 'us-central1-c'. location_id is required for +instances which do not already exist.
    • +
    • display_name is optional. When not provided, display_name defaults +to the instance_id value.
    • +
    +

    You can also use Client.instance() to create a local wrapper for +instances that have already been created with the API, or through the web +conole:

    +
    instance = client.instance(existing_instance_id)
    +instance.reload()
    +
    +
    +
    +
    +

    Create a new Instance#

    +

    After creating the instance object, make a CreateInstance API request +with create():

    +
    instance.display_name = 'My very own instance'
    +instance.create()
    +
    +
    +
    +
    +

    Check on Current Operation#

    +
    +

    Note

    +

    When modifying a instance (via a CreateInstance request), the Bigtable +API will return a long-running operation and a corresponding +Operation object +will be returned by +create().

    +
    +

    You can check if a long-running operation (for a +create() has finished +by making a GetOperation request with +Operation.finished():

    +
    >>> operation = instance.create()
    +>>> operation.finished()
    +True
    +
    +
    +
    +

    Note

    +

    Once an Operation object +has returned True from +finished(), the +object should not be re-used. Subsequent calls to +finished() +will result in a ValueError.

    +
    +
    +
    +

    Get metadata for an existing Instance#

    +

    After creating the instance object, make a GetInstance API request +with reload():

    +
    instance.reload()
    +
    +
    +

    This will load display_name for the existing instance object.

    +
    +
    +

    Update an existing Instance#

    +

    After creating the instance object, make an UpdateInstance API request +with update():

    +
    client.display_name = 'New display_name'
    +instance.update()
    +
    +
    +
    +
    +

    Delete an existing Instance#

    +

    Make a DeleteInstance API request with +delete():

    +
    instance.delete()
    +
    +
    +
    +
    +

    Next Step#

    +

    Now we go down the hierarchy from +Instance to a +Table.

    +

    Head next to learn about the Table Admin API.

    +
    +
    + + +
    +
    + + +
    +
    + +
    + + - + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/latest/bigtable-instance.html b/latest/bigtable-instance.html index 9d8d83991e5f..3f075f545931 100644 --- a/latest/bigtable-instance.html +++ b/latest/bigtable-instance.html @@ -1,123 +1,271 @@ + + + + + + + + + + Instance — google-cloud 92219b8 documentation + + + + + - - - - - Instance — gcloud 47bfd0a documentation - - - - + + + + - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + +
    + -
    - -
    - - -
    + + +
    + + + + + + +
    +
    + + + -
    + + +
    +
      +
    • Docs »
    • + +
    • Instance
    • +
    • + + + View page source + -
      -

      Instance#

      -
      -

      Warning

      -

      gRPC is required for using the Cloud Bigtable API. As of May 2016, -grpcio is only supported in Python 2.7, so importing -gcloud.bigtable in other versions of Python will fail.

      +
    • +
    +
    -

    User friendly container for Google Cloud Bigtable Instance.

    +
    +
    + +
    +

    Instance#

    +

    User friendly container for Google Cloud Bigtable Instance.

    -
    -class gcloud.bigtable.instance.Instance(instance_id, client, location_id='see-existing-cluster', display_name=None, serve_nodes=3)[source]#
    +
    +class google.cloud.bigtable.instance.Instance(instance_id, client, location_id='see-existing-cluster', display_name=None, serve_nodes=3)[source]#

    Bases: object

    Representation of a Google Cloud Bigtable Instance.

    -

    We can use a Instance to:

    +

    We can use a Instance to:

    Note

    @@ -130,7 +278,7 @@

    Instance

    Parameters:
    -
    -to_pb()[source]#
    +
    +to_pb()[source]#

    Converts the row filter to a protobuf.

    @@ -947,123 +1096,71 @@

    Bigtable Row Filters - - - + + + + + + + + + + + + + + + - - - - + + + + + + + + + + + + \ No newline at end of file diff --git a/latest/bigtable-row.html b/latest/bigtable-row.html index 4764ae65eb8c..e9ac30d09670 100644 --- a/latest/bigtable-row.html +++ b/latest/bigtable-row.html @@ -1,121 +1,270 @@ + + + + + + + + + + Bigtable Row — google-cloud 92219b8 documentation + + + + + + + - - - - - Bigtable Row — gcloud 47bfd0a documentation - - - - + + - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + +
    + -
    - -
    - - -
    + + +
    + + + + + + +
    +
    + + + + + + +
    +
      +
    • Docs »
    • + +
    • Bigtable Row
    • +
    • + + + View page source + -
      -

      Bigtable Row#

      -
      -

      Warning

      -

      gRPC is required for using the Cloud Bigtable API. As of May 2016, -grpcio is only supported in Python 2.7, so importing -gcloud.bigtable in other versions of Python will fail.

      +
    • +
    +
    -

    User friendly container for Google Cloud Bigtable Row.

    +
    +
    + +
    +

    Bigtable Row#

    +

    User friendly container for Google Cloud Bigtable Row.

    -
    -class gcloud.bigtable.row.AppendRow(row_key, table)[source]#
    -

    Bases: gcloud.bigtable.row.Row

    +
    +class google.cloud.bigtable.row.AppendRow(row_key, table)[source]#
    +

    Bases: google.cloud.bigtable.row.Row

    Google Cloud Bigtable Row for sending append mutations.

    These mutations are intended to augment the value of an existing cell and uses the methods:

    The first works by appending bytes and the second by incrementing an integer (stored in the cell as 8 bytes). In either case, if the @@ -127,22 +276,22 @@

    Bigtable Row

    Parameters:
    • row_key (bytes) – The key for the current row.
    • -
    • table (Table) – The table that owns the row.
    • +
    • table (Table) – The table that owns the row.
    -
    -append_cell_value(column_family_id, column, value)[source]#
    +
    +append_cell_value(column_family_id, column, value)[source]#

    Appends a value to an existing cell.

    Note

    This method adds a read-modify rule protobuf to the accumulated read-modify rules on this row, but does not make an API request. To actually send an API request (with the rules) to the -Google Cloud Bigtable API, call commit().

    +Google Cloud Bigtable API, call commit().

    @@ -165,17 +314,17 @@

    Bigtable Row -
    -clear()[source]#
    +
    +clear()[source]#

    Removes all currently accumulated modifications on current row.

    -
    -commit()[source]#
    +
    +commit()[source]#

    Makes a ReadModifyWriteRow API request.

    -

    This commits modifications made by append_cell_value() and -increment_cell_value(). If no modifications were made, makes +

    This commits modifications made by append_cell_value() and +increment_cell_value(). If no modifications were made, makes no API request and just returns {}.

    Modifies a row atomically, reading the latest existing timestamp / value from the specified columns and writing a new value by @@ -215,15 +364,15 @@

    Bigtable Row

    +mutations exceeds the MAX_MUTATIONS.
    Raises:ValueError if the number of -mutations exceeds the MAX_MUTATIONS.
    -
    -increment_cell_value(column_family_id, column, int_value)[source]#
    +
    +increment_cell_value(column_family_id, column, int_value)[source]#

    Increments a value in an existing cell.

    Assumes the value in the cell is stored as a 64 bit integer serialized to bytes.

    @@ -232,7 +381,7 @@

    Bigtable RowThis method adds a read-modify rule protobuf to the accumulated read-modify rules on this row, but does not make an API request. To actually send an API request (with the rules) to the -Google Cloud Bigtable API, call commit().

    +Google Cloud Bigtable API, call commit().

    @@ -260,21 +409,21 @@

    Bigtable Row -
    -class gcloud.bigtable.row.ConditionalRow(row_key, table, filter_)[source]#
    -

    Bases: gcloud.bigtable.row._SetDeleteRow

    +
    +class google.cloud.bigtable.row.ConditionalRow(row_key, table, filter_)[source]#
    +

    Bases: google.cloud.bigtable.row._SetDeleteRow

    Google Cloud Bigtable Row for sending mutations conditionally.

    Each mutation has an associated state: True or False. -When commit()-ed, the mutations for the True +When commit()-ed, the mutations for the True state will be applied if the filter matches any cells in the row, otherwise the False state will be applied.

    -

    A ConditionalRow accumulates mutations in the same way a -DirectRow does:

    +

    A ConditionalRow accumulates mutations in the same way a +DirectRow does:

    with the only change the extra state parameter:

    >>> row_cond = table.row(b'row-key2', filter_=row_filter)
    @@ -284,8 +433,8 @@ 

    Bigtable Row

    Note

    -

    As with DirectRow, to actually send these mutations to the -Google Cloud Bigtable API, you must call commit().

    +

    As with DirectRow, to actually send these mutations to the +Google Cloud Bigtable API, you must call commit().

    @@ -293,26 +442,26 @@

    Bigtable Row

    Parameters:
    • row_key (bytes) – The key for the current row.
    • -
    • table (Table) – The table that owns the row.
    • -
    • filter (RowFilter) – Filter to be used for conditional mutations.
    • +
    • table (Table) – The table that owns the row.
    • +
    • filter (RowFilter) – Filter to be used for conditional mutations.
    -
    -clear()[source]#
    +
    +clear()[source]#

    Removes all currently accumulated mutations on the current row.

    -
    -commit()[source]#
    +
    +commit()[source]#

    Makes a CheckAndMutateRow API request.

    If no mutations have been created in the row, no request is made.

    The mutations will be applied conditionally, based on whether the -filter matches any cells in the ConditionalRow or not. (Each +filter matches any cells in the ConditionalRow or not. (Each method which adds a mutation has a state parameter for this purpose.)

    Mutations are applied atomically and in order, meaning that earlier @@ -330,22 +479,22 @@

    Bigtable Row

    Raises:ValueError if the number of -mutations exceeds the MAX_MUTATIONS.
    -
    -delete(state=True)[source]#
    +
    +delete(state=True)[source]#

    Deletes this row from the table.

    Note

    This method adds a mutation to the accumulated mutations on this row, but does not make an API request. To actually send an API request (with the mutations) to the Google Cloud -Bigtable API, call commit().

    +Bigtable API, call commit().

    @@ -359,15 +508,15 @@

    Bigtable Row -
    -delete_cell(column_family_id, column, time_range=None, state=True)[source]#
    +
    +delete_cell(column_family_id, column, time_range=None, state=True)[source]#

    Deletes cell in this row.

    Note

    This method adds a mutation to the accumulated mutations on this row, but does not make an API request. To actually send an API request (with the mutations) to the Google Cloud -Bigtable API, call commit().

    +Bigtable API, call commit().

    @@ -391,15 +540,15 @@

    Bigtable Row -
    -delete_cells(column_family_id, columns, time_range=None, state=True)[source]#
    +
    +delete_cells(column_family_id, columns, time_range=None, state=True)[source]#

    Deletes cells in this row.

    Note

    This method adds a mutation to the accumulated mutations on this row, but does not make an API request. To actually send an API request (with the mutations) to the Google Cloud -Bigtable API, call commit().

    +Bigtable API, call commit().

    @@ -425,19 +574,19 @@

    Bigtable Row -
    -set_cell(column_family_id, column, value, timestamp=None, state=True)[source]#
    +
    +set_cell(column_family_id, column, value, timestamp=None, state=True)[source]#

    Sets a value in this row.

    The cell is determined by the row_key of this -ConditionalRow and the column. The column must be in -an existing ColumnFamily (as determined by +ConditionalRow and the column. The column must be in +an existing ColumnFamily (as determined by column_family_id).

    Note

    This method adds a mutation to the accumulated mutations on this row, but does not make an API request. To actually send an API request (with the mutations) to the Google Cloud -Bigtable API, call commit().

    +Bigtable API, call commit().

    @@ -465,16 +614,16 @@

    Bigtable Row -
    -class gcloud.bigtable.row.DirectRow(row_key, table)[source]#
    -

    Bases: gcloud.bigtable.row._SetDeleteRow

    +
    +class google.cloud.bigtable.row.DirectRow(row_key, table)[source]#
    +

    Bases: google.cloud.bigtable.row._SetDeleteRow

    Google Cloud Bigtable Row for sending “direct” mutations.

    These mutations directly set or delete cell contents:

    These methods can be used directly:

    >>> row = table.row(b'row-key1')
    @@ -484,10 +633,10 @@ 

    Bigtable Row

    Note

    -

    A DirectRow accumulates mutations locally via the -set_cell(), delete(), delete_cell() and -delete_cells() methods. To actually send these mutations to the -Google Cloud Bigtable API, you must call commit().

    +

    A DirectRow accumulates mutations locally via the +set_cell(), delete(), delete_cell() and +delete_cells() methods. To actually send these mutations to the +Google Cloud Bigtable API, you must call commit().

    @@ -495,21 +644,21 @@

    Bigtable Row

    Parameters:
    • row_key (bytes) – The key for the current row.
    • -
    • table (Table) – The table that owns the row.
    • +
    • table (Table) – The table that owns the row.
    -
    -clear()[source]#
    +
    +clear()[source]#

    Removes all currently accumulated mutations on the current row.

    -
    -commit()[source]#
    +
    +commit()[source]#

    Makes a MutateRow API request.

    If no mutations have been created in the row, no request is made.

    Mutations are applied atomically and in order, meaning that earlier @@ -522,35 +671,35 @@

    Bigtable Row

    Raises:ValueError if the number of -mutations exceeds the MAX_MUTATIONS.
    -
    -delete()[source]#
    +
    +delete()[source]#

    Deletes this row from the table.

    Note

    This method adds a mutation to the accumulated mutations on this row, but does not make an API request. To actually send an API request (with the mutations) to the Google Cloud -Bigtable API, call commit().

    +Bigtable API, call commit().

    -
    -delete_cell(column_family_id, column, time_range=None)[source]#
    +
    +delete_cell(column_family_id, column, time_range=None)[source]#

    Deletes cell in this row.

    Note

    This method adds a mutation to the accumulated mutations on this row, but does not make an API request. To actually send an API request (with the mutations) to the Google Cloud -Bigtable API, call commit().

    +Bigtable API, call commit().

    @@ -572,15 +721,15 @@

    Bigtable Row -
    -delete_cells(column_family_id, columns, time_range=None)[source]#
    +
    +delete_cells(column_family_id, columns, time_range=None)[source]#

    Deletes cells in this row.

    Note

    This method adds a mutation to the accumulated mutations on this row, but does not make an API request. To actually send an API request (with the mutations) to the Google Cloud -Bigtable API, call commit().

    +Bigtable API, call commit().

    @@ -604,18 +753,18 @@

    Bigtable Row -
    -set_cell(column_family_id, column, value, timestamp=None)[source]#
    +
    +set_cell(column_family_id, column, value, timestamp=None)[source]#

    Sets a value in this row.

    -

    The cell is determined by the row_key of this DirectRow +

    The cell is determined by the row_key of this DirectRow and the column. The column must be in an existing -ColumnFamily (as determined by column_family_id).

    +ColumnFamily (as determined by column_family_id).

    Note

    This method adds a mutation to the accumulated mutations on this row, but does not make an API request. To actually send an API request (with the mutations) to the Google Cloud -Bigtable API, call commit().

    +Bigtable API, call commit().

    @@ -641,22 +790,22 @@

    Bigtable Row -
    -gcloud.bigtable.row.MAX_MUTATIONS = 100000#
    +
    +google.cloud.bigtable.row.MAX_MUTATIONS = 100000#

    The maximum number of mutations that a row can accumulate.

    -
    -class gcloud.bigtable.row.Row(row_key, table)[source]#
    +
    +class google.cloud.bigtable.row.Row(row_key, table)[source]#

    Bases: object

    Base representation of a Google Cloud Bigtable Row.

    This class has three subclasses corresponding to the three RPC methods for sending row mutations:

    @@ -664,7 +813,7 @@

    Bigtable Row

    @@ -675,123 +824,71 @@

    Bigtable Row -

    gcloud

    -
    -

    Datastore

    - -

    Storage

    - -

    Pub/Sub

    - -

    BigQuery

    - -

    Cloud Bigtable

    - -

    Resource Manager

    - -

    DNS

    - -

    Stackdriver Logging

    - -

    Stackdriver Monitoring

    - -

    Translate

    - -

    External Links

    - + + + - - + + + + + + + + + + + + + + + - - - - + + + + + + + + + + + + \ No newline at end of file diff --git a/latest/bigtable-table-api.html b/latest/bigtable-table-api.html index 904dcfa247b1..88714a338015 100644 --- a/latest/bigtable-table-api.html +++ b/latest/bigtable-table-api.html @@ -1,232 +1,90 @@ + + + + + + + + + + Table Admin API — google-cloud 92219b8 documentation + + + + + + + - - - - - Table Admin API — gcloud 47bfd0a documentation - - - - + + - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + +
    + -
    - -
    - - -
    +
    + + +
    + + + +
    + + + + + + +
    +
    + + + + + + +
    + +
    +
    +
    +
    + +
    +

    Table Admin API#

    +

    After creating a Instance, you can +interact with individual tables, groups of tables or column families within +a table.

    +
    +

    List Tables#

    +

    If you want a comprehensive list of all existing tables in a instance, make a +ListTables API request with +Instance.list_tables():

    +
    >>> instance.list_tables()
    +[<google.cloud.bigtable.table.Table at 0x7ff6a1de8f50>,
    + <google.cloud.bigtable.table.Table at 0x7ff6a1de8350>]
    +
    +
    +
    +
    +

    Table Factory#

    +

    To create a Table object:

    +
    table = instance.table(table_id)
    +
    +
    +

    Even if this Table already +has been created with the API, you’ll want this object to use as a +parent of a ColumnFamily +or Row.

    +
    +
    +

    Create a new Table#

    +

    After creating the table object, make a CreateTable API request +with create():

    +
    table.create()
    +
    +
    +

    If you would to initially split the table into several tablets (Tablets are +similar to HBase regions):

    +
    table.create(initial_split_keys=['s1', 's2'])
    +
    +
    +
    +
    +

    Delete an existing Table#

    +

    Make a DeleteTable API request with +delete():

    +
    table.delete()
    +
    +
    +
    +
    +

    List Column Families in a Table#

    +

    Though there is no official method for retrieving column families +associated with a table, the GetTable API method returns a +table object with the names of the column families.

    +

    To retrieve the list of column families use +list_column_families():

    +
    column_families = table.list_column_families()
    +
    +
    +
    +
    +

    Column Family Factory#

    +

    To create a +ColumnFamily object:

    +
    column_family = table.column_family(column_family_id)
    +
    +
    +

    There is no real reason to use this factory unless you intend to +create or delete a column family.

    +

    In addition, you can specify an optional gc_rule (a +GarbageCollectionRule +or similar):

    +
    column_family = table.column_family(column_family_id,
    +                                    gc_rule=gc_rule)
    +
    +
    +

    This rule helps the backend determine when and how to clean up old cells +in the column family.

    +

    See Column Families for more information about +GarbageCollectionRule +and related classes.

    +
    +
    +

    Create a new Column Family#

    +

    After creating the column family object, make a CreateColumnFamily API +request with +ColumnFamily.create()

    +
    column_family.create()
    +
    +
    +
    +
    +

    Delete an existing Column Family#

    +

    Make a DeleteColumnFamily API request with +ColumnFamily.delete()

    +
    column_family.delete()
    +
    +
    +
    +
    +

    Update an existing Column Family#

    +

    Make an UpdateColumnFamily API request with +ColumnFamily.delete()

    +
    column_family.update()
    +
    +
    +
    +
    +

    Next Step#

    +

    Now we go down the final step of the hierarchy from +Table to +Row as well as streaming +data directly via a Table.

    +

    Head next to learn about the Data API.

    +
    +
    + + +
    +
    + + +
    +
    + +
    + + + + + + + + + + + - - - - + + + + + + + + + + + + \ No newline at end of file diff --git a/latest/bigtable-table.html b/latest/bigtable-table.html index b511b75339da..a20492e974f0 100644 --- a/latest/bigtable-table.html +++ b/latest/bigtable-table.html @@ -1,114 +1,263 @@ + + + + + + + + + + Table — google-cloud 92219b8 documentation + + + + + + + - - - - - Table — gcloud 47bfd0a documentation - - - - + + - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + +
    + -
    - -
    - - -
    + + +
    + + + + + + +
    +
    + + + + + + +
    +
      +
    • Docs »
    • + +
    • Table
    • +
    • -
      -

      Table#

      -
      -

      Warning

      -

      gRPC is required for using the Cloud Bigtable API. As of May 2016, -grpcio is only supported in Python 2.7, so importing -gcloud.bigtable in other versions of Python will fail.

      + + View page source + + +
    • +
    +
    -

    User friendly container for Google Cloud Bigtable Table.

    +
    +
    + +
    +

    Table#

    +

    User friendly container for Google Cloud Bigtable Table.

    -
    -class gcloud.bigtable.table.Table(table_id, instance)[source]#
    +
    +class google.cloud.bigtable.table.Table(table_id, instance)[source]#

    Bases: object

    Representation of a Google Cloud Bigtable Table.

    -

    We can use a Table to:

    +

    We can use a Table to:

    Parameters:
    • row_key (bytes) – The key for the current row.
    • -
    • table (Table) – The table that owns the row.
    • +
    • table (Table) – The table that owns the row.
    @@ -131,15 +280,15 @@

    Table

    Parameters:
    • table_id (str) – The ID of the table.
    • -
    • instance (Instance) – The instance that owns the table.
    • +
    • instance (Instance) – The instance that owns the table.
    -
    -column_family(column_family_id, gc_rule=None)[source]#
    +
    +column_family(column_family_id, gc_rule=None)[source]#

    Factory to create a column family associated with this table.

    @@ -148,12 +297,12 @@

    Table

    -
    Parameters:
    • column_family_id (str) – The ID of the column family. Must be of the form [_a-zA-Z0-9][-_.a-zA-Z0-9]*.
    • -
    • gc_rule (GarbageCollectionRule) – (Optional) The garbage collection settings for this +
    • gc_rule (GarbageCollectionRule) – (Optional) The garbage collection settings for this column family.
    Return type:

    ColumnFamily

    +
    Return type:

    ColumnFamily

    Returns:

    A column family owned by this table.

    @@ -164,13 +313,13 @@

    Table
    -
    -create(initial_split_keys=None, column_families=())[source]#
    +
    +create(initial_split_keys=None, column_families=())[source]#

    Creates this table.

    Note

    A create request returns a -_generated_v2.table_pb2.Table but we don’t use +_generated.table_pb2.Table but we don’t use this response.

    @@ -186,7 +335,7 @@

    Table created, spanning the key ranges: [, s1), [s1, s2), [s2, ).
  • column_families (list) – (Optional) List or other iterable of -ColumnFamily instances.
  • +ColumnFamily instances. @@ -195,14 +344,14 @@

    Table
    -
    -delete()[source]#
    +
    +delete()[source]#

    Delete this table.

    -
    -list_column_families()[source]#
    +
    +list_column_families()[source]#

    List the column families owned by this table.

    @@ -212,7 +361,7 @@

    Table

    +ColumnFamily instances.
    Returns:Dictionary of column families attached to this table. Keys are strings (column family names) and values are -ColumnFamily instances.
    Raises:ValueError if the column family name from the response does not agree with the computed @@ -223,8 +372,8 @@

    Table
    -
    -name#
    +
    +name#

    Table name used in requests.

    Note

    @@ -247,8 +396,8 @@

    Table

    -
    -read_row(row_key, filter_=None)[source]#
    +
    +read_row(row_key, filter_=None)[source]#

    Read a single row from this table.

    @@ -256,12 +405,12 @@

    Table

    -
    Parameters:
    • row_key (bytes) – The key of the row to read from.
    • -
    • filter (RowFilter) – (Optional) The filter to apply to the contents of the +
    • filter (RowFilter) – (Optional) The filter to apply to the contents of the row. If unset, returns the entire row.
    Return type:

    PartialRowData, NoneType

    +
    Return type:

    PartialRowData, NoneType

    Returns:

    The contents of the row if any chunks were returned in @@ -277,8 +426,8 @@

    Table
    -
    -read_rows(start_key=None, end_key=None, limit=None, filter_=None)[source]#
    +
    +read_rows(start_key=None, end_key=None, limit=None, filter_=None)[source]#

    Read rows from this table.

    @@ -294,16 +443,16 @@

    Table
  • limit (int) – (Optional) The read will terminate after committing to N rows’ worth of results. The default (zero) is to return all results.
  • -
  • filter (RowFilter) – (Optional) The filter to apply to the contents of the +
  • filter (RowFilter) – (Optional) The filter to apply to the contents of the specified row(s). If unset, reads every column in each row.
  • -

    - @@ -312,8 +461,8 @@

    Table
    -
    -row(row_key, filter_=None, append=False)[source]#
    +
    +row(row_key, filter_=None, append=False)[source]#

    Factory to create a row associated with this table.

    Warning

    @@ -326,14 +475,14 @@

    Table

    - - + - +
    Return type:

    PartialRowsData

    +
    Return type:

    PartialRowsData

    Returns:

    A PartialRowsData convenience wrapper for consuming +

    Returns:

    A PartialRowsData convenience wrapper for consuming the streamed results.

    Parameters:
    • row_key (bytes) – The key for the row being created.
    • -
    • filter (RowFilter) – (Optional) Filter to be used for conditional mutations. -See DirectRow for more details.
    • +
    • filter (RowFilter) – (Optional) Filter to be used for conditional mutations. +See DirectRow for more details.
    • append (bool) – (Optional) Flag to determine if the row should be used for append mutations.
    Return type:

    DirectRow

    +
    Return type:

    DirectRow

    Returns:

    A row owned by this table.

    @@ -348,8 +497,8 @@

    Table
    -
    -sample_row_keys()[source]#
    +
    +sample_row_keys()[source]#

    Read a sample of row keys in the table.

    The returned row keys will delimit contiguous sections of the table of approximately equal size, which can be used to break up the data for @@ -375,7 +524,7 @@

    Table

    Return type:grpc.framework.alpha._reexport._CancellableIterator
    Return type:grpc._channel._Rendezvous
    Returns:A cancel-able iterator. Can be consumed by calling next() or by casting to a list and can be cancelled by @@ -390,123 +539,71 @@

    Table - - - + + + + + + + + + + + + + + + - - - - + + + + + + + + + + + + \ No newline at end of file diff --git a/latest/bigtable-usage.html b/latest/bigtable-usage.html index f117b719c498..2239b55116b1 100644 --- a/latest/bigtable-usage.html +++ b/latest/bigtable-usage.html @@ -1,138 +1,90 @@ + + + + + + + + + + Using the API — google-cloud 92219b8 documentation + + + + + + + - - - - - Using the API — gcloud 47bfd0a documentation - - - - + + - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + +
    + -
    - -
    - - -
    +
    + + +
    + + + +
    + + + + + + +
    +
    + + + + + + +
    + +
    +
    +
    +
    + +
    +

    Using the API#

    +

    API requests are sent to the Google Cloud Bigtable API via RPC over HTTP/2. +In order to support this, we’ll rely on gRPC. We are working with the gRPC +team to rapidly make the install story more user-friendly.

    +

    Get started by learning about the +Client on the +Base for Everything page.

    +

    In the hierarchy of API concepts

    +
      +
    • a Client owns a +Cluster <google.cloud.bigtable.instance.Instance
    • +
    • a Cluster <google.cloud.bigtable.instance.Instance owns a +Table
    • +
    • a Table owns a +ColumnFamily
    • +
    • a Table owns a +Row +(and all the cells in the row)
    • +
    +
    + + +
    +
    + + +
    +
    + +
    + + + + - - - - + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/latest/datastore-batches.html b/latest/datastore-batches.html index 33d0d7af4c5d..13aeee63b018 100644 --- a/latest/datastore-batches.html +++ b/latest/datastore-batches.html @@ -1,119 +1,274 @@ + + + + + + + + + + Batches — google-cloud 92219b8 documentation + + + + + + + - - - - - Batches — gcloud 47bfd0a documentation - - - - + + - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + +
    + -
    - -
    - - -
    + + +
    -
    + + + + + +
    +
    + + + + + + +
    + +
    +
    +
    +
    + +
    +

    Batches#

    Create / interact with a batch of updates / deletes.

    Batches provide the ability to execute multiple operations in a single request to the Cloud Datastore API.

    See https://cloud.google.com/datastore/docs/concepts/entities#Datastore_Batch_operations

    -
    -class gcloud.datastore.batch.Batch(client)[source]#
    +
    +class google.cloud.datastore.batch.Batch(client)[source]#

    Bases: object

    An abstraction representing a collected group of updates / deletes.

    -

    Used to build up a bulk mutuation.

    +

    Used to build up a bulk mutation.

    For example, the following snippet of code will put the two save operations and the delete operation into the same mutation, and send them to the server in a single API request:

    -
    >>> from gcloud import datastore
    +
    >>> from google.cloud import datastore
     >>> client = datastore.Client()
     >>> batch = client.batch()
     >>> batch.put(entity1)
    @@ -123,7 +278,7 @@ 

    You can also use a batch as a context manager, in which case -commit() will be called automatically if its block exits without +commit() will be called automatically if its block exits without raising an exception:

    >>> with batch:
     ...     batch.put(entity1)
    @@ -141,18 +296,18 @@ 

    Parameters:client (gcloud.datastore.client.Client) – The client used to connect to datastore.
    Parameters:client (google.cloud.datastore.client.Client) – The client used to connect to datastore.
    -
    -begin()[source]#
    +
    +begin()[source]#

    Begins a batch.

    This method is called automatically when entering a with statement, however it can be called explicitly if you don’t want to use a context manager.

    -

    Overridden by gcloud.datastore.transaction.Transaction.

    +

    Overridden by google.cloud.datastore.transaction.Transaction.

    @@ -164,8 +319,8 @@

    -
    -commit()[source]#
    +
    +commit()[source]#

    Commits the batch.

    This is called automatically upon exiting a with statement, however it can be called explicitly if you don’t want to use a @@ -173,14 +328,14 @@

    -
    -connection#
    +
    +connection#

    Getter for connection over which the batch will run.

    - + @@ -189,20 +344,20 @@

    -
    -current()[source]#
    +
    +current()[source]#

    Return the topmost batch / transaction, or None.

    -
    -delete(key)[source]#
    -

    Remember a key to be deleted during commit().

    +
    +delete(key)[source]#
    +

    Remember a key to be deleted during commit().

    Return type:gcloud.datastore.connection.Connection
    Return type:google.cloud.datastore.connection.Connection
    Returns:The connection over which the batch will run.
    - + @@ -212,12 +367,12 @@

    -
    -mutations#
    +
    +mutations#

    Getter for the changes accumulated by this batch.

    Every batch is committed with a single commit request containing all -the work to be done as mutations. Inside a batch, calling put() -with an entity, or delete() with a key, builds up the request by +the work to be done as mutations. Inside a batch, calling put() +with an entity, or delete() with a key, builds up the request by adding a new mutation. This getter returns the protobuf that has been built-up so far.

    Parameters:key (gcloud.datastore.key.Key) – the key to be deleted.
    Parameters:key (google.cloud.datastore.key.Key) – the key to be deleted.
    Raises:ValueError if key is not complete, or if the key’s project does not match ours.
    @@ -234,8 +389,8 @@

    -
    -namespace#
    +
    +namespace#

    Getter for namespace in which the batch will run.

    @@ -250,8 +405,8 @@

    -
    -project#
    +
    +project#

    Getter for project in which the batch will run.

    @@ -266,9 +421,9 @@

    -
    -put(entity)[source]#
    -

    Remember an entity’s state to be saved during commit().

    +
    +put(entity)[source]#
    +

    Remember an entity’s state to be saved during commit().

    Note

    Any existing properties for the entity will be replaced by those @@ -282,7 +437,7 @@

    Python3) map to ‘string_value’ in the datastore; values which are “bytes” (‘str’ in Python2, ‘bytes’ in Python3) map to ‘blob_value’.

    -

    When an entity has a partial key, calling commit() sends it as +

    When an entity has a partial key, calling commit() sends it as an insert mutation and the key is completed. On return, the key for the entity passed in is updated to match the key ID assigned by the server.

    @@ -290,7 +445,7 @@

    - + @@ -300,11 +455,11 @@

    -
    -rollback()[source]#
    +
    +rollback()[source]#

    Rolls back the current batch.

    Marks the batch as aborted (can’t be used again).

    -

    Overridden by gcloud.datastore.transaction.Transaction.

    +

    Overridden by google.cloud.datastore.transaction.Transaction.

    @@ -312,123 +467,71 @@

    - - - + + + + + + + + + + + + + + + - - - - + + + + + + + + + + + + \ No newline at end of file diff --git a/latest/datastore-client.html b/latest/datastore-client.html index 0fe43e19242c..51e37a7db4e4 100644 --- a/latest/datastore-client.html +++ b/latest/datastore-client.html @@ -1,109 +1,267 @@ + + + + + + + + + + Datastore Client — google-cloud 92219b8 documentation + + + + + - - - - - Datastore Client — gcloud 47bfd0a documentation - - - - + + + + - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + +
    + -
    - -
    - - -
    + + +
    + + + + + + +
    +
    + + + + + + +
    + +
    +
    +
    +
    + +
    +

    Datastore Client#

    Convenience wrapper for invoking APIs/factories w/ a project.

    -
    -class gcloud.datastore.client.Client(project=None, namespace=None, credentials=None, http=None)[source]#
    -

    Bases: gcloud.client.Client, gcloud.client._ClientProjectMixin

    +
    +class google.cloud.datastore.client.Client(project=None, namespace=None, credentials=None, http=None)[source]#
    +

    Bases: google.cloud.client.Client, google.cloud.client._ClientProjectMixin

    Convenience wrapper for invoking APIs/factories w/ a project.

    Parameters:entity (gcloud.datastore.entity.Entity) – the entity to be saved.
    Parameters:entity (google.cloud.datastore.entity.Entity) – the entity to be saved.
    Raises:ValueError if entity has no key assigned, or if the key’s project does not match ours.
    @@ -112,7 +270,7 @@

    Parameters:
    • project (string) – (optional) The project to pass to proxied API methods.
    • namespace (string) – (optional) namespace to pass to proxied API methods.
    • -
    • credentials (oauth2client.client.OAuth2Credentials or +
    • credentials (oauth2client.client.OAuth2Credentials or NoneType) – The OAuth2 Credentials to use for the connection owned by this client. If not passed (and if no http object is passed), falls back to the default inferred @@ -126,20 +284,20 @@

    -
    -allocate_ids(incomplete_key, num_ids)[source]#
    +
    +allocate_ids(incomplete_key, num_ids)[source]#

    Allocate a list of IDs from a partial key.

    - -
    Parameters:
    Return type:

    list of gcloud.datastore.key.Key

    +
    Return type:

    list of google.cloud.datastore.key.Key

    Returns:

    The (complete) keys allocated with incomplete_key as @@ -155,20 +313,20 @@

    -
    -batch()[source]#
    -

    Proxy to gcloud.datastore.batch.Batch.

    +
    +batch()[source]#
    +

    Proxy to google.cloud.datastore.batch.Batch.

    -
    -current_batch#
    +
    +current_batch#

    Currently-active batch.

    - @@ -178,16 +336,16 @@

    -
    -current_transaction#
    +
    +current_transaction#

    Currently-active transaction.

    Return type:gcloud.datastore.batch.Batch, or an object +
    Return type:google.cloud.datastore.batch.Batch, or an object implementing its API, or NoneType (if no batch is active).
    Returns:The batch/transaction at the top of the batch stack.
    - + @@ -196,12 +354,12 @@

    -
    -delete(key)[source]#
    +
    +delete(key)[source]#

    Delete the key in the Cloud Datastore.

    Note

    -

    This is just a thin wrapper over delete_multi(). +

    This is just a thin wrapper over delete_multi(). The backend API does not make a distinction between a single key or multiple keys in a commit request.

    @@ -209,33 +367,33 @@

    - +
    Return type:gcloud.datastore.transaction.Transaction, or an object -implementing its API, or NoneType (if no transaction is -active).
    Return type:google.cloud.datastore.transaction.Transaction, or an +object implementing its API, or NoneType (if no transaction +is active).
    Returns:The transaction at the top of the batch stack.
    Parameters:key (gcloud.datastore.key.Key) – The key to be deleted from the datastore.
    Parameters:key (google.cloud.datastore.key.Key) – The key to be deleted from the datastore.
    -
    -delete_multi(keys)[source]#
    +
    +delete_multi(keys)[source]#

    Delete keys from the Cloud Datastore.

    - +
    Parameters:keys (list of gcloud.datastore.key.Key) – The keys to be deleted from the datastore.
    Parameters:keys (list of google.cloud.datastore.key.Key) – The keys to be deleted from the Datastore.
    -
    -get(key, missing=None, deferred=None, transaction=None)[source]#
    +
    +get(key, missing=None, deferred=None, transaction=None)[source]#

    Retrieve an entity from a single key (if it exists).

    Note

    -

    This is just a thin wrapper over get_multi(). +

    This is just a thin wrapper over get_multi(). The backend API does not make a distinction between a single key or multiple keys in a lookup request.

    @@ -244,18 +402,18 @@

    Parameters:
      -
    • key (gcloud.datastore.key.Key) – The key to be retrieved from the datastore.
    • +
    • key (google.cloud.datastore.key.Key) – The key to be retrieved from the datastore.
    • missing (list) – (Optional) If a list is passed, the key-only entities returned by the backend as “missing” will be copied into it.
    • deferred (list) – (Optional) If a list is passed, the keys returned by the backend as “deferred” will be copied into it.
    • -
    • transaction (gcloud.datastore.transaction.Transaction) – (Optional) Transaction to use for read consistency. +
    • transaction (Transaction) – (Optional) Transaction to use for read consistency. If not passed, uses current transaction, if set.
    Return type:

    gcloud.datastore.entity.Entity or NoneType

    +
    Return type:

    google.cloud.datastore.entity.Entity or NoneType

    Returns:

    The requested entity if it exists.

    @@ -266,27 +424,27 @@

    -
    -get_multi(keys, missing=None, deferred=None, transaction=None)[source]#
    +
    +get_multi(keys, missing=None, deferred=None, transaction=None)[source]#

    Retrieve entities, along with their attributes.

    - - +
    Parameters:
      -
    • keys (list of gcloud.datastore.key.Key) – The keys to be retrieved from the datastore.
    • +
    • keys (list of google.cloud.datastore.key.Key) – The keys to be retrieved from the datastore.
    • missing (list) – (Optional) If a list is passed, the key-only entities returned by the backend as “missing” will be copied into it. If the list is not empty, an error will occur.
    • deferred (list) – (Optional) If a list is passed, the keys returned by the backend as “deferred” will be copied into it. If the list is not empty, an error will occur.
    • -
    • transaction (gcloud.datastore.transaction.Transaction) – (Optional) Transaction to use for read consistency. +
    • transaction (Transaction) – (Optional) Transaction to use for read consistency. If not passed, uses current transaction, if set.
    Return type:

    list of gcloud.datastore.entity.Entity

    +
    Return type:

    list of google.cloud.datastore.entity.Entity

    Returns:

    The requested entities.

    @@ -301,19 +459,19 @@

    -
    -key(*path_args, **kwargs)[source]#
    -

    Proxy to gcloud.datastore.key.Key.

    +
    +key(*path_args, **kwargs)[source]#
    +

    Proxy to google.cloud.datastore.key.Key.

    Passes our project.

    -
    -put(entity)[source]#
    +
    +put(entity)[source]#

    Save an entity in the Cloud Datastore.

    Note

    -

    This is just a thin wrapper over put_multi(). +

    This is just a thin wrapper over put_multi(). The backend API does not make a distinction between a single entity or multiple entities in a commit request.

    @@ -321,21 +479,21 @@

    Parameters:entity (gcloud.datastore.entity.Entity) – The entity to be saved to the datastore.
    Parameters:entity (google.cloud.datastore.entity.Entity) – The entity to be saved to the datastore.
    -
    -put_multi(entities)[source]#
    +
    +put_multi(entities)[source]#

    Save entities in the Cloud Datastore.

    - + @@ -344,71 +502,107 @@

    -
    -query(**kwargs)[source]#
    -

    Proxy to gcloud.datastore.query.Query.

    +
    +query(**kwargs)[source]#
    +

    Proxy to google.cloud.datastore.query.Query.

    Passes our project.

    +

    Using query to search a datastore:

    +
    >>> from google.cloud import datastore
    +>>> client = datastore.Client()
    +>>> query = client.query(kind='MyKind')
    +>>> query.add_filter('property', '=', 'val')
    +
    +
    +

    Using the query iterator’s +next_page() method:

    +
    >>> query_iter = query.fetch()
    +>>> entities, more_results, cursor = query_iter.next_page()
    +>>> entities
    +[<list of Entity unmarshalled from protobuf>]
    +>>> more_results
    +<boolean of more results>
    +>>> cursor
    +<string containing cursor where fetch stopped>
    +
    +
    +

    Under the hood this is doing:

    +
    >>> connection.run_query('project', query.to_protobuf())
    +[<list of Entity Protobufs>], cursor, more_results, skipped_results
    +
    +
    +

    Parameters:entities (list of gcloud.datastore.entity.Entity) – The entities to be saved to the datastore.
    Parameters:entities (list of google.cloud.datastore.entity.Entity) – The entities to be saved to the datastore.
    Raises:ValueError if entities is a single entity.
    +++ + + + + + + + +
    Parameters:kwargs (dict) – Parameters for initializing and instance of +google.cloud.datastore.query.Query.
    Return type:google.cloud.datastore.query.Query
    Returns:An instance of google.cloud.datastore.query.Query
    -
    -transaction()[source]#
    -

    Proxy to gcloud.datastore.transaction.Transaction.

    +
    +transaction()[source]#
    +

    Proxy to google.cloud.datastore.transaction.Transaction.

    -
    -

    Connection#

    -

    Connections to gcloud datastore API servers.

    +
    +

    Connection#

    +

    Connections to Google Cloud Datastore API servers.

    -
    -class gcloud.datastore.connection.Connection(credentials=None, http=None, api_base_url=None)[source]#
    -

    Bases: gcloud.connection.Connection

    +
    +class google.cloud.datastore.connection.Connection(credentials=None, http=None)[source]#
    +

    Bases: google.cloud.connection.Connection

    A connection to the Google Cloud Datastore via the Protobuf API.

    This class should understand only the basic types (and protobufs) -in method arguments, however should be capable of returning advanced types.

    +in method arguments, however it should be capable of returning advanced +types.

    Parameters:
    -
    -API_BASE_URL = 'https://datastore.googleapis.com'#
    +
    +API_BASE_URL = 'https://datastore.googleapis.com'#

    The base of the API call URL.

    -
    -API_URL_TEMPLATE = '{api_base}/{api_version}/projects/{project}:{method}'#
    +
    +API_URL_TEMPLATE = '{api_base}/{api_version}/projects/{project}:{method}'#

    A template for the URL of a particular API call.

    -
    -API_VERSION = 'v1beta3'#
    +
    +API_VERSION = 'v1'#

    The version of the API, used in building the API call’s URL.

    -
    -SCOPE = ('https://www.googleapis.com/auth/datastore',)#
    +
    +SCOPE = ('https://www.googleapis.com/auth/datastore',)#

    The scopes required for authenticating as a Cloud Datastore consumer.

    -
    -allocate_ids(project, key_pbs)[source]#
    +
    +allocate_ids(project, key_pbs)[source]#

    Obtain backend-generated IDs for a set of keys.

    Maps the DatastoreService.AllocateIds protobuf RPC.

    @@ -418,11 +612,11 @@

    -
    Parameters:
    • project (string) – The project to which the transaction belongs.
    • key_pbs (list of -gcloud.datastore._generated.entity_pb2.Key) – The keys for which the backend should allocate IDs.
    • +google.cloud.datastore._generated.entity_pb2.Key) – The keys for which the backend should allocate IDs.
    Return type:

    list of gcloud.datastore._generated.entity_pb2.Key

    +
    Return type:

    list of datastore._generated.entity_pb2.Key

    Returns:

    An equal number of keys, with IDs filled in by the backend.

    @@ -433,8 +627,8 @@

    -
    -begin_transaction(project)[source]#
    +
    +begin_transaction(project)[source]#

    Begin a transaction.

    Maps the DatastoreService.BeginTransaction protobuf RPC.

    @@ -452,8 +646,8 @@

    -
    -build_api_url(project, method, base_url=None, api_version=None)[source]#
    +
    +build_api_url(project, method, base_url=None, api_version=None)[source]#

    Construct the URL for a particular API call.

    This method is used internally to come up with the URL to use when making RPCs to the Cloud Datastore API.

    @@ -483,9 +677,9 @@

    -
    -commit(project, request, transaction_id)[source]#
    -

    Commit mutations in context of current transation (if any).

    +
    +commit(project, request, transaction_id)[source]#
    +

    Commit mutations in context of current transaction (if any).

    Maps the DatastoreService.Commit protobuf RPC.

    @@ -495,7 +689,7 @@

  • project (string) – The project to which the transaction applies.
  • request (_generated.datastore_pb2.CommitRequest) – The protobuf with the mutations being committed.
  • transaction_id (string or None) – The transaction ID returned from -begin_transaction(). Non-transactional +begin_transaction(). Non-transactional batches must pass None.
  • @@ -521,23 +715,23 @@

    -
    -lookup(project, key_pbs, eventual=False, transaction_id=None)[source]#
    +
    +lookup(project, key_pbs, eventual=False, transaction_id=None)[source]#

    Lookup keys from a project in the Cloud Datastore.

    Maps the DatastoreService.Lookup protobuf RPC.

    This uses mostly protobufs -(gcloud.datastore._generated.entity_pb2.Key as input and -gcloud.datastore._generated.entity_pb2.Entity as output). It -is used under the hood in -Client.get():

    -
    >>> from gcloud import datastore
    +(google.cloud.datastore._generated.entity_pb2.Key as input
    +and google.cloud.datastore._generated.entity_pb2.Entity
    +as output). It is used under the hood in
    +Client.get():

    +
    >>> from google.cloud import datastore
     >>> client = datastore.Client(project='project')
     >>> key = client.key('MyKind', 1234)
     >>> client.get(key)
     [<Entity object>]
     
    -

    Using a Connection directly:

    +

    Using a Connection directly:

    >>> connection.lookup('project', [key.to_protobuf()])
     [<Entity protobuf>]
     
    @@ -549,7 +743,7 @@

    @@ -574,8 +768,8 @@

    -
    -rollback(project, transaction_id)[source]#
    +
    +rollback(project, transaction_id)[source]#

    Rollback the connection’s existing transaction.

    Maps the DatastoreService.Rollback protobuf RPC.

    Parameters:
    • project (string) – The project to look up the keys in.
    • key_pbs (list of -gcloud.datastore._generated.entity_pb2.Key) – The keys to retrieve from the datastore.
    • +google.cloud.datastore._generated.entity_pb2.Key) – The keys to retrieve from the datastore.
    • eventual (bool) – If False (the default), request STRONG read consistency. If True, request EVENTUAL read consistency.
    • @@ -564,9 +758,9 @@

    Returns:

    A triple of (results, missing, deferred) where both results and missing are lists of -gcloud.datastore._generated.entity_pb2.Entity and -deferred is a list of -gcloud.datastore._generated.entity_pb2.Key.

    +google.cloud.datastore._generated.entity_pb2.Entity +and deferred is a list of +google.cloud.datastore._generated.entity_pb2.Key.

    @@ -585,7 +779,7 @@

    @@ -594,47 +788,24 @@

    -
    -run_query(project, query_pb, namespace=None, eventual=False, transaction_id=None)[source]#
    +
    +run_query(project, query_pb, namespace=None, eventual=False, transaction_id=None)[source]#

    Run a query on the Cloud Datastore.

    Maps the DatastoreService.RunQuery protobuf RPC.

    Given a Query protobuf, sends a runQuery request to the Cloud Datastore API and returns a list of entity protobufs matching the query.

    You typically wouldn’t use this method directly, in favor of the -gcloud.datastore.query.Query.fetch() method.

    -

    Under the hood, the gcloud.datastore.query.Query class -uses this method to fetch data:

    -
    >>> from gcloud import datastore
    ->>> client = datastore.Client()
    ->>> query = client.query(kind='MyKind')
    ->>> query.add_filter('property', '=', 'val')
    -
    -
    -

    Using the query iterator’s -next_page() method:

    -
    >>> query_iter = query.fetch()
    ->>> entities, more_results, cursor = query_iter.next_page()
    ->>> entities
    -[<list of Entity unmarshalled from protobuf>]
    ->>> more_results
    -<boolean of more results>
    ->>> cursor
    -<string containing cursor where fetch stopped>
    -
    -
    -

    Under the hood this is doing:

    -
    >>> connection.run_query('project', query.to_protobuf())
    -[<list of Entity Protobufs>], cursor, more_results, skipped_results
    -
    -
    +google.cloud.datastore.query.Query.fetch() method.

    +

    Under the hood, the google.cloud.datastore.query.Query class +uses this method to fetch data.

    Parameters:
    @@ -227,8 +382,8 @@

    -
    -ancestor#
    +
    +ancestor#

    The ancestor key for the query.

    Parameters:
    @@ -243,8 +398,8 @@

    -
    -distinct_on#
    +
    +distinct_on#

    Names of fields used to group query results.

    @@ -259,11 +414,11 @@

    -
    -fetch(limit=None, offset=0, start_cursor=None, end_cursor=None, client=None)[source]#
    +
    +fetch(limit=None, offset=0, start_cursor=None, end_cursor=None, client=None)[source]#

    Execute the Query; return an iterator for the matching entities.

    For example:

    -
    >>> from gcloud import datastore
    +
    >>> from google.cloud import datastore
     >>> client = datastore.Client()
     >>> query = client.query(kind='Person')
     >>> query.add_filter('name', '=', 'Sally')
    @@ -282,12 +437,12 @@ 

  • offset (integer) – An optional offset passed through to the iterator.
  • start_cursor (bytes) – An optional cursor passed through to the iterator.
  • end_cursor (bytes) – An optional cursor passed through to the iterator.
  • -
  • client (gcloud.datastore.client.Client) – client used to connect to datastore. +
  • client (google.cloud.datastore.client.Client) – client used to connect to datastore. If not supplied, uses the query’s value.
  • -

    Return type:

    Iterator

    +
    Return type:

    Iterator

    Returns:

    The iterator for the query.

    @@ -302,8 +457,8 @@

    -
    -filters#
    +
    +filters#

    Filters set on the query.

    @@ -318,15 +473,15 @@

    -
    -key_filter(key, operator='=')[source]#
    +
    +key_filter(key, operator='=')[source]#

    Filter on a key.

    Parameters: @@ -337,14 +492,14 @@

    -
    -keys_only()[source]#
    +
    +keys_only()[source]#

    Set the projection to include only keys.

    -
    -kind#
    +
    +kind#

    Get the Kind of the Query.

    @@ -359,8 +514,8 @@

    -
    -namespace#
    +
    +namespace#

    This query’s namespace

    @@ -375,8 +530,8 @@

    -
    -order#
    +
    +order#

    Names of fields used to sort query results.

    @@ -391,8 +546,8 @@

    -
    -project#
    +
    +project#

    Get the project for this Query.

    @@ -407,8 +562,8 @@

    -
    -projection#
    +
    +projection#

    Fields names returned by the query.

    @@ -427,123 +582,71 @@

    - - - + + + + + + + + + + + + + + + - - - - + + + + + + + + + + + + \ No newline at end of file diff --git a/latest/datastore-transactions.html b/latest/datastore-transactions.html index 2b6be75d73f3..1fb90fd176d4 100644 --- a/latest/datastore-transactions.html +++ b/latest/datastore-transactions.html @@ -1,123 +1,278 @@ + + + + + + + + + + Transactions — google-cloud 92219b8 documentation + + + + + + + - - - - - Transactions — gcloud 47bfd0a documentation - - - - + + - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + +
    + -
    - -
    - - -
    + + +
    -
    + + + + + +
    +
    + + + + + + +
    +
      +
    • Docs »
    • + +
    • Transactions
    • +
    • + + + View page source + -
      -

      Transactions#

      -

      Create / interact with gcloud datastore transactions.

      +
    • +
    +
    +
    +
    +
    + +
    +

    Transactions#

    +

    Create / interact with Google Cloud Datastore transactions.

    -
    -class gcloud.datastore.transaction.Transaction(client)[source]#
    -

    Bases: gcloud.datastore.batch.Batch

    +
    +class google.cloud.datastore.transaction.Transaction(client)[source]#
    +

    Bases: google.cloud.datastore.batch.Batch

    An abstraction representing datastore Transactions.

    Transactions can be used to build up a bulk mutation and ensure all or none succeed (transactionally).

    For example, the following snippet of code will put the two save operations (either insert or upsert) into the same mutation, and execute those within a transaction:

    -
    >>> from gcloud import datastore
    +
    >>> from google.cloud import datastore
     >>> client = datastore.Client()
     >>> with client.transaction():
     ...     client.put_multi([entity1, entity2])
     
    -

    Because it derives from Batch, -Transaction also provides put() and delete() methods:

    +

    Because it derives from Batch, +Transaction also provides put() and delete() methods:

    >>> with client.transaction() as xact:
     ...     xact.put(entity1)
     ...     xact.delete(entity2.key)
    @@ -144,7 +299,7 @@ 

    entity won’t have a complete key until the transaction is committed.

    -

    Once you exit the transaction (or call commit()), the +

    Once you exit the transaction (or call commit()), the automatically generated ID will be assigned to the entity:

    >>> with client.transaction():
     ...     entity = datastore.Entity(key=client.key('Thing'))
    @@ -175,13 +330,13 @@ 

    - +
    Parameters:client (gcloud.datastore.client.Client) – the client used to connect to datastore.
    Parameters:client (google.cloud.datastore.client.Client) – the client used to connect to datastore.
    -
    -begin()[source]#
    +
    +begin()[source]#

    Begins a transaction.

    This method is called automatically when entering a with statement, however it can be called explicitly if you don’t want @@ -197,8 +352,8 @@

    -
    -commit()[source]#
    +
    +commit()[source]#

    Commits the transaction.

    This is called automatically upon exiting a with statement, however it can be called explicitly if you don’t want to use a @@ -210,14 +365,14 @@

    -
    -connection#
    +
    +connection#

    Getter for connection over which the batch will run.

    - + @@ -226,8 +381,8 @@

    -
    -current()[source]#
    +
    +current()[source]#

    Return the topmost transaction.

    Note

    @@ -238,7 +393,7 @@

    - + @@ -247,14 +402,14 @@

    -
    -delete(key)#
    -

    Remember a key to be deleted during commit().

    +
    +delete(key)#
    +

    Remember a key to be deleted during commit().

    Return type:gcloud.datastore.connection.Connection
    Return type:google.cloud.datastore.connection.Connection
    Returns:The connection over which the batch will run.
    Return type:gcloud.datastore.transaction.Transaction or None
    Return type:google.cloud.datastore.transaction.Transaction or None
    Returns:The current transaction (if any are active).
    - + @@ -264,8 +419,8 @@

    -
    -id#
    +
    +id#

    Getter for the transaction ID.

    Parameters:key (gcloud.datastore.key.Key) – the key to be deleted.
    Parameters:key (google.cloud.datastore.key.Key) – the key to be deleted.
    Raises:ValueError if key is not complete, or if the key’s project does not match ours.
    @@ -280,12 +435,12 @@

    -
    -mutations#
    +
    +mutations#

    Getter for the changes accumulated by this batch.

    Every batch is committed with a single commit request containing all -the work to be done as mutations. Inside a batch, calling put() -with an entity, or delete() with a key, builds up the request by +the work to be done as mutations. Inside a batch, calling put() +with an entity, or delete() with a key, builds up the request by adding a new mutation. This getter returns the protobuf that has been built-up so far.

    @@ -302,8 +457,8 @@

    -
    -namespace#
    +
    +namespace#

    Getter for namespace in which the batch will run.

    @@ -318,8 +473,8 @@

    -
    -project#
    +
    +project#

    Getter for project in which the batch will run.

    @@ -334,9 +489,9 @@

    -
    -put(entity)#
    -

    Remember an entity’s state to be saved during commit().

    +
    +put(entity)#
    +

    Remember an entity’s state to be saved during commit().

    Note

    Any existing properties for the entity will be replaced by those @@ -350,7 +505,7 @@

    Python3) map to ‘string_value’ in the datastore; values which are “bytes” (‘str’ in Python2, ‘bytes’ in Python3) map to ‘blob_value’.

    -

    When an entity has a partial key, calling commit() sends it as +

    When an entity has a partial key, calling commit() sends it as an insert mutation and the key is completed. On return, the key for the entity passed in is updated to match the key ID assigned by the server.

    @@ -358,7 +513,7 @@

    - + @@ -368,8 +523,8 @@

    -
    -rollback()[source]#
    +
    +rollback()[source]#

    Rolls back the current transaction.

    This method has necessary side-effects:

    Parameters:entity (gcloud.datastore.entity.Entity) – the entity to be saved.
    Parameters:entity (google.cloud.datastore.entity.Entity) – the entity to be saved.
    Raises:ValueError if entity has no key assigned, or if the key’s project does not match ours.
    - +
    Parameters:zone (gcloud.dns.zone.ManagedZone) – A zone which holds one or more record sets.
    Parameters:zone (google.cloud.dns.zone.ManagedZone) – A zone which holds one or more record sets.
    -
    -add_record_set(record_set)[source]#
    +
    +add_record_set(record_set)[source]#

    Append a record set to the ‘additions’ for the change set.

    - + @@ -133,33 +288,33 @@

    -
    -additions#
    +
    +additions#

    Resource record sets to be added to the zone.

    Parameters:record_set (gcloud.dns.resource_record_set.ResourceRecordSet) – the record set to append
    Parameters:record_set (google.cloud.dns.resource_record_set.ResourceRecordSet) – the record set to append.
    Raises:ValueError if record_set is not of the required type.
    +google.cloud.dns.resource_record_set.ResourceRecordSet. - +
    Return type:sequence of -gcloud.dns.resource_record_set.ResourceRecordSet.
    Returns:record sets appended via add_record_set()
    Returns:record sets appended via add_record_set().
    -
    -create(client=None)[source]#
    -

    API call: create the change set via a POST request

    +
    +create(client=None)[source]#
    +

    API call: create the change set via a POST request.

    See: https://cloud.google.com/dns/api/v1/changes/create

    - @@ -167,14 +322,14 @@

    -
    -delete_record_set(record_set)[source]#
    +
    +delete_record_set(record_set)[source]#

    Append a record set to the ‘deletions’ for the change set.

    Parameters:client (gcloud.dns.client.Client or NoneType) – the client to use. If not passed, falls back to the +
    Parameters:client (google.cloud.dns.client.Client or NoneType) – the client to use. If not passed, falls back to the client stored on the current zone.
    - + @@ -183,33 +338,33 @@

    -
    -deletions#
    +
    +deletions#

    Resource record sets to be deleted from the zone.

    Parameters:record_set (gcloud.dns.resource_record_set.ResourceRecordSet) – the record set to append
    Parameters:record_set (google.cloud.dns.resource_record_set.ResourceRecordSet) – the record set to append.
    Raises:ValueError if record_set is not of the required type.
    +google.cloud.dns.resource_record_set.ResourceRecordSet. - +
    Return type:sequence of -gcloud.dns.resource_record_set.ResourceRecordSet.
    Returns:record sets appended via delete_record_set()
    Returns:record sets appended via delete_record_set().
    -
    -exists(client=None)[source]#
    -

    API call: test for the existence of the change set via a GET request

    +
    +exists(client=None)[source]#
    +

    API call: test for the existence of the change set via a GET request.

    See https://cloud.google.com/dns/api/v1/changes/get

    - @@ -221,20 +376,20 @@

    -
    -classmethod from_api_repr(resource, zone)[source]#
    +
    +classmethod from_api_repr(resource, zone)[source]#

    Factory: construct a change set given its API representation

    Parameters:client (gcloud.dns.client.Client or NoneType) – the client to use. If not passed, falls back to the +
    Parameters:client (google.cloud.dns.client.Client or NoneType) – the client to use. If not passed, falls back to the client stored on the current zone.
    Return type:bool
    - -
    Parameters:
    Return type:

    gcloud.dns.changes.Changes

    +
    Return type:

    google.cloud.dns.changes.Changes

    Returns:

    RRS parsed from resource.

    @@ -245,8 +400,8 @@

    -
    -name#
    +
    +name#

    Name of the change set.

    @@ -261,8 +416,8 @@

    -
    -path#
    +
    +path#

    URL path for change set APIs.

    @@ -277,16 +432,16 @@

    -
    -reload(client=None)[source]#
    -

    API call: refresh zone properties via a GET request

    +
    +reload(client=None)[source]#
    +

    API call: refresh zone properties via a GET request.

    See https://cloud.google.com/dns/api/v1/changes/get

    - @@ -294,8 +449,8 @@

    -
    -started#
    +
    +started#

    Time when the change set was started.

    Parameters:client (gcloud.dns.client.Client or NoneType) – the client to use. If not passed, falls back to the +
    Parameters:client (google.cloud.dns.client.Client or NoneType) – the client to use. If not passed, falls back to the client stored on the current zone.
    @@ -310,8 +465,8 @@

    -
    -status#
    +
    +status#

    Status of the change set.

    @@ -330,123 +485,71 @@

    - - - + + + + + + + + + + + + + + + - - - - + + + + + + + + + + + + \ No newline at end of file diff --git a/latest/dns-client.html b/latest/dns-client.html index 7b8f193c609a..48a48460d3d1 100644 --- a/latest/dns-client.html +++ b/latest/dns-client.html @@ -1,109 +1,267 @@ + + + + + + + + + + DNS Client — google-cloud 92219b8 documentation + + + + + + + - - - - - DNS Client — gcloud 47bfd0a documentation - - - - + + - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + +
    + -
    - -
    - - -
    + + +
    + + + + + + +
    +
    + + + + + + +
    + +
    +
    +
    +
    + +
    +

    DNS Client#

    Client for interacting with the Google Cloud DNS API.

    -
    -class gcloud.dns.client.Client(project=None, credentials=None, http=None)[source]#
    -

    Bases: gcloud.client.JSONClient

    +
    +class google.cloud.dns.client.Client(project=None, credentials=None, http=None)[source]#
    +

    Bases: google.cloud.client.JSONClient

    Client to bundle configuration needed for API requests.

    @@ -113,7 +271,7 @@

  • project (string) – the project which the client acts on behalf of. Will be passed when creating a zone. If not passed, falls back to the default inferred from the environment.
  • -
  • credentials (oauth2client.client.OAuth2Credentials or +
  • credentials (oauth2client.client.OAuth2Credentials or NoneType) – The OAuth2 Credentials to use for the connection owned by this client. If not passed (and if no http object is passed), falls back to the default inferred @@ -127,8 +285,8 @@

  • -
    -list_zones(max_results=None, page_token=None)[source]#
    +
    +list_zones(max_results=None, page_token=None)[source]#

    List zones for the project associated with this client.

    See: https://cloud.google.com/dns/api/v1/managedZones/list

    @@ -148,7 +306,7 @@

    Return type:

    tuple, (list, str)

    Returns:

    list of gcloud.dns.zone.ManagedZone, plus a +

    Returns:

    list of google.cloud.dns.zone.ManagedZone, plus a “next page token” string: if the token is not None, indicates that more zones can be retrieved with another call (pass that value as page_token).

    @@ -159,9 +317,9 @@

    -
    -quotas()[source]#
    -

    Return DNS quots for the project associated with this client.

    +
    +quotas()[source]#
    +

    Return DNS quotas for the project associated with this client.

    See: https://cloud.google.com/dns/api/v1/projects/get

    @@ -178,8 +336,8 @@

    -
    -zone(name, dns_name=None, description=None)[source]#
    +
    +zone(name, dns_name=None, description=None)[source]#

    Construct a zone bound to this client.

    @@ -194,10 +352,10 @@

    -

    - @@ -206,35 +364,35 @@

    -
    -

    Connection#

    -

    Create / interact with gcloud dns connections.

    +
    +

    Connection#

    +

    Create / interact with Google Cloud DNS connections.

    -
    -class gcloud.dns.connection.Connection(credentials=None, http=None)[source]#
    -

    Bases: gcloud.connection.JSONConnection

    +
    +class google.cloud.dns.connection.Connection(credentials=None, http=None)[source]#
    +

    Bases: google.cloud.connection.JSONConnection

    A connection to Google Cloud DNS via the JSON REST API.

    -
    -API_BASE_URL = 'https://www.googleapis.com'#
    +
    +API_BASE_URL = 'https://www.googleapis.com'#

    The base of the API call URL.

    -
    -API_URL_TEMPLATE = '{api_base_url}/dns/{api_version}{path}'#
    +
    +API_URL_TEMPLATE = '{api_base_url}/dns/{api_version}{path}'#

    A template for the URL of a particular API call.

    -
    -API_VERSION = 'v1'#
    +
    +API_VERSION = 'v1'#

    The version of the API, used in building the API call’s URL.

    -
    -SCOPE = ('https://www.googleapis.com/auth/ndev.clouddns.readwrite',)#
    +
    +SCOPE = ('https://www.googleapis.com/auth/ndev.clouddns.readwrite',)#

    The scopes required for authenticating as a Cloud DNS consumer.

    @@ -244,123 +402,71 @@

    - -
    + + - - + + + + + + + + + + + + + + + - - - - + + + + + + + + + + + + \ No newline at end of file diff --git a/latest/dns-resource-record-set.html b/latest/dns-resource-record-set.html index 42a3943b3531..a0123b322e8c 100644 --- a/latest/dns-resource-record-set.html +++ b/latest/dns-resource-record-set.html @@ -1,164 +1,90 @@ + + + + + + + + + + Resource Record Sets — google-cloud 92219b8 documentation + + + + + - - - - - Resource Record Sets — gcloud 47bfd0a documentation - - - - + + + + - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + +
    + -

    Return type:

    gcloud.dns.zone.ManagedZone

    +
    Return type:

    google.cloud.dns.zone.ManagedZone

    Returns:

    a new ManagedZone instance

    +
    Returns:

    a new ManagedZone instance.

    --- - - - -
    Parameters:
      -
    • name (string) – the name of the record set
    • -
    • record_type (string) – the RR type of the zone
    • -
    • ttl (integer) – TTL (in seconds) for caching the record sets
    • -
    • rrdatas (list of string) – one or more lines containing the resource data
    • -
    • zone (gcloud.dns.zone.ManagedZone) – A zone which holds one or more record sets.
    • -
    -
    -
    -
    -classmethod from_api_repr(resource, zone)[source]#
    -

    Factory: construct a record set given its API representation

    - --- - - - - - - - -
    Parameters:
      -
    • resource (dict) – record sets representation returned from the API
    • -
    • zone (gcloud.dns.zone.ManagedZone) – A zone which holds one or more record sets.
    • -
    -
    Return type:

    gcloud.dns.zone.ResourceRecordSet

    -
    Returns:

    RRS parsed from resource.

    -
    -
    + + google-cloud + -
    + + + + + + + + +
    +
    + + + +
    + + - - - + + + + + + +
    + + + + + + +
    +
    + + + + + + +
    + +
    +
    +
    +
    + +
    +

    Resource Record Sets#

    +

    Define API ResourceRecordSets.

    +
    +
    +class google.cloud.dns.resource_record_set.ResourceRecordSet(name, record_type, ttl, rrdatas, zone)[source]#
    +

    Bases: object

    +

    ResourceRecordSets are DNS resource records.

    +

    RRS are owned by a google.cloud.dns.zone.ManagedZone instance.

    +

    See: +https://cloud.google.com/dns/api/v1/resourceRecordSets

    + +++ + + + +
    Parameters:
      +
    • name (string) – the name of the record set.
    • +
    • record_type (string) – the RR type of the zone.
    • +
    • ttl (integer) – TTL (in seconds) for caching the record sets.
    • +
    • rrdatas (list of string) – one or more lines containing the resource data.
    • +
    • zone (google.cloud.dns.zone.ManagedZone) – A zone which holds one or more record sets.
    • +
    +
    +
    +
    +classmethod from_api_repr(resource, zone)[source]#
    +

    Factory: construct a record set given its API representation

    + +++ + + + + + + + +
    Parameters: +
    Return type:

    google.cloud.dns.zone.ResourceRecordSet

    +
    Returns:

    RRS parsed from resource.

    +
    +
    + +
    + +
    + - - - +
    +
    + + +
    +
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/latest/dns-usage.html b/latest/dns-usage.html index c765e5dfe47c..99bfad847fda 100644 --- a/latest/dns-usage.html +++ b/latest/dns-usage.html @@ -1,114 +1,280 @@ + + + + + + + + + + Using the API — google-cloud 92219b8 documentation + + + + + + + - - - - - Using the API — gcloud 47bfd0a documentation - - - - + + - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + +
    + -
    - -
    - - -
    + -
    +
    + + + + + + +
    +
    + + + + + + +
    + +
    +
    +
    +
    +

    Using the API#

    Client#

    -

    Client objects provide a means to -configure your DNS applications. Eash instance holds both a project +

    Client objects provide a means to +configure your DNS applications. Each instance holds both a project and an authenticated connection to the DNS service.

    -

    For an overview of authentication in gcloud-python, see Authentication.

    +

    For an overview of authentication in google-cloud-python, see Authentication.

    Assuming your environment is set up as described in that document, -create an instance of Client.

    +create an instance of Client.

    -
    >>> from gcloud import dns
    +
    >>> from google.cloud import dns
     >>> client = dns.Client()
     
    @@ -125,7 +291,7 @@

    Projectsproject to the constructor, or to either of the alternative classmethod factories:

    -
    >>> from gcloud import dns
    +
    >>> from google.cloud import dns
     >>> client = dns.Client(project='PROJECT_ID')
     
    @@ -135,7 +301,7 @@

    Projects#

    Query the quotas for a given project:

    -
    >>> from gcloud import dns
    +
    >>> from google.cloud import dns
     >>> client = dns.Client(project='PROJECT_ID')
     >>> quotas = client.quotas()  # API request
     >>> for key, value in sorted(quotas.items()):
    @@ -161,7 +327,7 @@ 

    Managed Zones
    >>> from gcloud import dns
    +
    >>> from google.cloud import dns
     >>> client = dns.Client(project='PROJECT_ID')
     >>> zone = client.zone('acme-co', 'example.com',
     ...                    description='Acme Company zone')
    @@ -176,7 +342,7 @@ 

    Managed Zones
    >>> from gcloud import dns
    +
    >>> from google.cloud import dns
     >>> client = dns.Client(project='PROJECT_ID')
     >>> zones = client.list_zones()  # API request
     >>> [zone.name for zone in zones]
    @@ -189,7 +355,7 @@ 

    Managed Zones#

    Each managed zone exposes a read-only set of resource records:

    -
    >>> from gcloud import dns
    +
    >>> from google.cloud import dns
     >>> client = dns.Client(project='PROJECT_ID')
     >>> zone = client.zone('acme-co', 'example.com')
     >>> records, page_token = zone.list_resource_record_sets()  # API request
    @@ -221,7 +387,7 @@ 

    Change requests
    >>> import time
    ->>> from gcloud import dns
    +>>> from google.cloud import dns
     >>> client = dns.Client(project='PROJECT_ID')
     >>> zone = client.zone('acme-co', 'example.com')
     >>> TWO_HOURS = 2 * 60 * 60  # seconds
    @@ -239,7 +405,7 @@ 

    Change requests

    +
    + + + + + + + + + + + + + + - - - - + + + + + + + + + + + + \ No newline at end of file diff --git a/latest/dns-zone.html b/latest/dns-zone.html index 1100f949a89e..585ee82add8e 100644 --- a/latest/dns-zone.html +++ b/latest/dns-zone.html @@ -1,108 +1,263 @@ + + + + + + + + + + Managed Zones — google-cloud 92219b8 documentation + + + + + + + - - - - - Managed Zones — gcloud 47bfd0a documentation - - - - + + - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + +
    + -
    - -
    - - -
    + + +
    -
    + + + + + +
    +
    + + + + + + +
    + +
    +
    +
    +
    + +
    +

    Managed Zones#

    Define API ManagedZones.

    -
    -class gcloud.dns.zone.ManagedZone(name, dns_name=None, client=None, description=None)[source]#
    +
    +class google.cloud.dns.zone.ManagedZone(name, dns_name=None, client=None, description=None)[source]#

    Bases: object

    ManagedZones are containers for DNS resource records.

    See: @@ -114,8 +269,8 @@

    Parameters:
    • name (string) – the name of the zone
    • dns_name (string or NoneType) – the DNS name of the zone. If not passed, then calls -to create() will fail.
    • -
    • client (gcloud.dns.client.Client) – A client which holds credentials and project configuration +to create() will fail.
    • +
    • client (google.cloud.dns.client.Client) – A client which holds credentials and project configuration for the zone (which requires a project).
    • description (string or NoneType) – the description for the zone. If not passed, defaults to the value of ‘dns_name’.
    • @@ -125,14 +280,14 @@

    -
    -changes()[source]#
    +
    +changes()[source]#

    Construct a change set bound to this zone.

    - + @@ -141,8 +296,8 @@

    -
    -create(client=None)[source]#
    +
    +create(client=None)[source]#

    API call: create the zone via a PUT request

    See: https://cloud.google.com/dns/api/v1/managedZones/create

    @@ -150,7 +305,7 @@

    - @@ -158,8 +313,8 @@

    -
    -created#
    +
    +created#

    Datetime at which the zone was created.

    Return type:gcloud.dns.changes.Changes
    Return type:google.cloud.dns.changes.Changes
    Returns:a new Changes instance
    Parameters:client (gcloud.dns.client.Client or NoneType) – the client to use. If not passed, falls back to the +
    Parameters:client (google.cloud.dns.client.Client or NoneType) – the client to use. If not passed, falls back to the client stored on the current zone.
    @@ -174,8 +329,8 @@

    -
    -delete(client=None)[source]#
    +
    +delete(client=None)[source]#

    API call: delete the zone via a DELETE request

    See: https://cloud.google.com/dns/api/v1/managedZones/delete

    @@ -183,7 +338,7 @@

    - @@ -191,8 +346,8 @@

    -
    -description#
    +
    +description#

    Description of the zone.

    Parameters:client (gcloud.dns.client.Client or NoneType) – the client to use. If not passed, falls back to the +
    Parameters:client (google.cloud.dns.client.Client or NoneType) – the client to use. If not passed, falls back to the client stored on the current zone.
    @@ -207,8 +362,8 @@

    -
    -exists(client=None)[source]#
    +
    +exists(client=None)[source]#

    API call: test for the existence of the zone via a GET request

    See https://cloud.google.com/dns/api/v1/managedZones/get

    @@ -216,7 +371,7 @@

    - @@ -228,8 +383,8 @@

    -
    -classmethod from_api_repr(resource, client)[source]#
    +
    +classmethod from_api_repr(resource, client)[source]#

    Factory: construct a zone given its API representation

    Parameters:client (gcloud.dns.client.Client or NoneType) – the client to use. If not passed, falls back to the +
    Parameters:client (google.cloud.dns.client.Client or NoneType) – the client to use. If not passed, falls back to the client stored on the current zone.
    Return type:bool
    @@ -237,12 +392,12 @@

    - @@ -277,7 +432,7 @@

    @@ -312,7 +467,7 @@

    Parameters:
    Return type:

    gcloud.dns.zone.ManagedZone

    +
    Return type:

    google.cloud.dns.zone.ManagedZone

    Returns:

    Zone parsed from resource.

    @@ -253,8 +408,8 @@

    -
    -list_changes(max_results=None, page_token=None, client=None)[source]#
    +
    +list_changes(max_results=None, page_token=None, client=None)[source]#

    List change sets for this zone.

    See: https://cloud.google.com/dns/api/v1/resourceRecordSets/list

    @@ -268,7 +423,7 @@

  • page_token (string) – opaque marker for the next “page” of zones. If not passed, the API will return the first page of zones.
  • -
  • client (gcloud.dns.client.Client or NoneType) – the client to use. If not passed, falls back to the +
  • client (google.cloud.dns.client.Client or NoneType) – the client to use. If not passed, falls back to the client stored on the current zone.
  • Returns:

    list of -gcloud.dns.resource_record_set.ResourceRecordSet, +google.cloud.dns.resource_record_set.ResourceRecordSet, plus a “next page token” string: if the token is not None, indicates that more zones can be retrieved with another call (pass that value as page_token).

    @@ -288,8 +443,8 @@

    -
    -list_resource_record_sets(max_results=None, page_token=None, client=None)[source]#
    +
    +list_resource_record_sets(max_results=None, page_token=None, client=None)[source]#

    List resource record sets for this zone.

    See: https://cloud.google.com/dns/api/v1/resourceRecordSets/list

    @@ -303,7 +458,7 @@

  • page_token (string) – opaque marker for the next “page” of zones. If not passed, the API will return the first page of zones.
  • -
  • client (gcloud.dns.client.Client or NoneType) – the client to use. If not passed, falls back to the +
  • client (google.cloud.dns.client.Client or NoneType) – the client to use. If not passed, falls back to the client stored on the current zone.
  • Returns:

    list of -gcloud.dns.resource_record_set.ResourceRecordSet, +google.cloud.dns.resource_record_set.ResourceRecordSet, plus a “next page token” string: if the token is not None, indicates that more zones can be retrieved with another call (pass that value as page_token).

    @@ -323,8 +478,8 @@

    -
    -name_server_set#
    +
    +name_server_set#

    Named set of DNS name servers that all host the same ManagedZones.

    Most users will leave this blank.

    See: @@ -342,8 +497,8 @@

    -
    -name_servers#
    +
    +name_servers#

    Datetime at which the zone was created.

    @@ -358,8 +513,8 @@

    -
    -path#
    +
    +path#

    URL path for the zone’s APIs.

    @@ -374,8 +529,8 @@

    -
    -project#
    +
    +project#

    Project bound to the zone.

    @@ -390,8 +545,8 @@

    -
    -reload(client=None)[source]#
    +
    +reload(client=None)[source]#

    API call: refresh zone properties via a GET request

    See https://cloud.google.com/dns/api/v1/managedZones/get

    @@ -399,7 +554,7 @@

    - @@ -407,8 +562,8 @@

    -
    -resource_record_set(name, record_type, ttl, rrdatas)[source]#
    +
    +resource_record_set(name, record_type, ttl, rrdatas)[source]#

    Construct a resource record set bound to this zone.

    Parameters:client (gcloud.dns.client.Client or NoneType) – the client to use. If not passed, falls back to the +
    Parameters:client (google.cloud.dns.client.Client or NoneType) – the client to use. If not passed, falls back to the client stored on the current zone.
    @@ -422,7 +577,7 @@

    -

    Return type:

    gcloud.dns.resource_record_set.ResourceRecordSet

    +
    Return type:

    google.cloud.dns.resource_record_set.ResourceRecordSet

    Returns:

    a new ResourceRecordSet instance

    @@ -433,8 +588,8 @@

    -
    -zone_id#
    +
    +zone_id#

    ID for the zone resource.

    @@ -453,123 +608,71 @@

    - - - + + + + + + + + + + + + + + + - - - - + + + + + + + + + + + + \ No newline at end of file diff --git a/latest/error-reporting-client.html b/latest/error-reporting-client.html new file mode 100644 index 000000000000..d739560127ac --- /dev/null +++ b/latest/error-reporting-client.html @@ -0,0 +1,493 @@ + + + + + + + + + + + Error Reporting Client — google-cloud 92219b8 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + +
    + + + + + + +
    +
    + + + + + + +
    + +
    +
    +
    +
    + +
    +

    Error Reporting Client#

    +

    Client for interacting with the Stackdriver Logging API

    +
    +
    +class google.cloud.error_reporting.client.Client(project=None, credentials=None, http=None, service=None, version=None)[source]#
    +

    Bases: object

    +

    Error Reporting client. Currently Error Reporting is done by creating +a Logging client.

    +

    +++ + + + + + +
    Parameters:
      +
    • project (string) – the project which the client acts on behalf of. If not +passed falls back to the default inferred from the +environment.
    • +
    • credentials (oauth2client.client.OAuth2Credentials or +NoneType) – The OAuth2 Credentials to use for the connection +owned by this client. If not passed (and if no http +object is passed), falls back to the default inferred +from the environment.
    • +
    • http (httplib2.Http or class that defines request().) – An optional HTTP object to make requests. If not passed, an +http object is created that is bound to the +credentials for the current object.
    • +
    • service (str) – An identifier of the service, such as the name of the +executable, job, or Google App Engine service name. This +field is expected to have a low number of values that are +relatively stable over time, as opposed to version, +which can be changed whenever new code is deployed.
    • +
    • version (str) – Represents the source code version that the developer +provided, which could represent a version label or a Git +SHA-1 hash, for example. If the developer did not provide +a version, the value is set to default.
    • +
    +
    Raises:

    ValueError if the project is neither passed in nor +set in the environment.

    +
    +
    +
    +report(message, http_context=None, user=None)[source]#
    +

    Reports a message to Stackdriver Error Reporting +https://cloud.google.com/error-reporting/docs/formatting-error-messages

    +
    +
    +
    +++ + + + + + +
    type message:str
    param message:A user-supplied message to report
    +
    + +++ + + + + + + + + + + + +
    type http_context:
     

    :class`google.cloud.error_reporting.HTTPContext`

    +
    param http_context:
     

    The HTTP request which was processed when the +error was triggered.

    +
    type user:

    string

    +
    param user:
    +
    The user who caused or was affected by the crash. This
    +

    can be a user ID, an email address, or an arbitrary +token that uniquely identifies the user. When sending +an error report, leave this field empty if the user +was not logged in. In this case the Error Reporting +system will use other data, such as remote IP address, +to distinguish affected users.

    +
    +
    Example::
    +
    >>>  client.report("Something went wrong!")
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +report_exception(http_context=None, user=None)[source]#
    +
    +
    Reports the details of the latest exceptions to Stackdriver Error
    +
    Reporting.
    +
    + +++ + + + +
    Parameters:
      +
    • http_context (:class`google.cloud.error_reporting.HTTPContext`) – The HTTP request which was processed when the +error was triggered.
    • +
    • user (string) –
      +
      The user who caused or was affected by the crash. This
      +
      can be a user ID, an email address, or an arbitrary +token that uniquely identifies the user. When sending an +error report, leave this field empty if the user was +not logged in. In this case the Error Reporting system +will use other data, such as remote IP address, +to distinguish affected users.
      +
      +

      Example:

      +
      >>>     try:
      +>>>         raise NameError
      +>>>     except Exception:
      +>>>         client.report_exception()
      +
      +
      +
    • +
    +
    +
    + +
    + +
    +
    +class google.cloud.error_reporting.client.HTTPContext(method=None, url=None, user_agent=None, referrer=None, response_status_code=None, remote_ip=None)[source]#
    +

    Bases: object

    +

    HTTPContext defines an object that captures the parameter for the +httpRequest part of Error Reporting API

    + +++ + + + +
    Parameters:
      +
    • method (string) – The type of HTTP request, such as GET, POST, etc.
    • +
    • url (string) – The URL of the request
    • +
    • user_agent (string) – The user agent information that is provided with the +request.
    • +
    • referrer (string) – The referrer information that is provided with the +request.
    • +
    • response_status_code (int) – The HTTP response status code for the request.
    • +
    • remote_ip (string) – The IP address from which the request originated. This +can be IPv4, IPv6, or a token which is derived from +the IP address, depending on the data that has been +provided in the error report.
    • +
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/latest/error-reporting-usage.html b/latest/error-reporting-usage.html new file mode 100644 index 000000000000..ce8abbdfa14a --- /dev/null +++ b/latest/error-reporting-usage.html @@ -0,0 +1,419 @@ + + + + + + + + + + + Using the API — google-cloud 92219b8 documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + +
    + + + + + + +
    +
    + + + + + + +
    + +
    +
    +
    +
    + +
    +

    Using the API#

    +
    +

    Authentication and Configuration#

    +
      +
    • For an overview of authentication in google-cloud-python, +see Authentication.

      +
    • +
    • In addition to any authentication configuration, you should also set the +GOOGLE_CLOUD_PROJECT environment variable for the project you’d like +to interact with. If you are Google App Engine or Google Compute Engine +this will be detected automatically.

      +
    • +
    • After configuring your environment, create a +Client

      +
      >>> from google.cloud import error_reporting
      +>>> client = error_reporting.Client()
      +
      +
      +

      or pass in credentials and project explicitly

      +
      >>> from google.cloud import error_reporting
      +>>> client = error_reporting.Client(project='my-project', credentials=creds)
      +
      +
      +

      Error Reporting associates errors with a service, which is an identifier for an executable, +App Engine service, or job. The default service is “python”, but a default can be specified +for the client on construction time. You can also optionally specify a version for that service, +which defaults to “default.”

      +
      +
      >>> from google.cloud import error_reporting
      +>>> client = error_reporting.Client(project='my-project',
      +...                                 service="login_service",
      +...                                 version="0.1.0")
      +
      +
      +
      +
    • +
    +
    +
    +

    Reporting an exception#

    +

    Report a stacktrace to Stackdriver Error Reporting after an exception

    +
    >>> from google.cloud import error_reporting
    +>>> client = error_reporting.Client()
    +>>> try:
    +>>>     raise NameError
    +>>> except Exception:
    +>>>     client.report_exception()
    +
    +
    +

    By default, the client will report the error using the service specified in the client’s +constructor, or the default service of “python”.

    +

    The user and HTTP context can also be included in the exception. The HTTP context +can be constructed using google.cloud.error_reporting.HTTPContext. This will +be used by Stackdriver Error Reporting to help group exceptions.

    +
    >>> from google.cloud import error_reporting
    +>>> client = error_reporting.Client()
    +>>> user = 'example@gmail.com'
    +>>> http_context = HTTPContext(method='GET', url='/', userAgent='test agent',
    +...                            referrer='example.com', responseStatusCode=500,
    +...                            remote_ip='1.2.3.4')
    +>>> try:
    +>>>     raise NameError
    +>>> except Exception:
    +>>>     client.report_exception(http_context=http_context, user=user))
    +
    +
    +
    +
    +

    Reporting an error without an exception#

    +

    Errors can also be reported to Stackdriver Error Reporting outside the context of an exception. +The library will include the file path, function name, and line number of the location where the +error was reported.

    +
    >>> from google.cloud import error_reporting
    +>>> client = error_reporting.Client()
    +>>> error_reporting.report("Found an error!")
    +
    +
    +

    Similarly to reporting an exception, the user and HTTP context can be provided:

    +
    >>> from google.cloud import error_reporting
    +>>> client = error_reporting.Client()
    +>>> user = 'example@gmail.com'
    +>>> http_context = HTTPContext(method='GET', url='/', userAgent='test agent',
    +...                            referrer='example.com', responseStatusCode=500,
    +...                            remote_ip='1.2.3.4')
    +>>> error_reporting.report("Found an error!", http_context=http_context, user=user))
    +
    +
    +
    +
    + + +
    +
    + + +
    +
    + +
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/latest/gcloud-api.html b/latest/gcloud-api.html index 4fad1bdd6138..aa028742861c 100644 --- a/latest/gcloud-api.html +++ b/latest/gcloud-api.html @@ -1,111 +1,273 @@ + + + + + + + + + + Shared Core Modules — google-cloud 92219b8 documentation + + + + + + + - - - - - Shared Core Modules — gcloud 47bfd0a documentation - - - - + + - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + +
    + -
    - -
    - - -
    + + +
    + + + + + + +
    +
    + + + + + + +
    + +
    +
    +
    +
    +

    Shared Core Modules#

    -
    -

    Base Client#

    +
    +

    Base Client#

    Base classes for client used to interact with Google Cloud APIs.

    -
    -class gcloud.client.Client(credentials=None, http=None)[source]#
    -

    Bases: gcloud.client._ClientFactoryMixin

    +
    +class google.cloud.client.Client(credentials=None, http=None)[source]#
    +

    Bases: google.cloud.client._ClientFactoryMixin

    Client to bundle configuration needed for API requests.

    Assumes that the associated _connection_class only accepts http and credentials in its constructor.

    @@ -114,7 +276,7 @@

    Shared Core Modules

    Parameters: