Skip to content

Instantly share code, notes, and snippets.

@dhermes
Last active March 30, 2017 17:13
Show Gist options
  • Save dhermes/a4e097f2f80fd490b256fc3aa2b4a46b to your computer and use it in GitHub Desktop.
Save dhermes/a4e097f2f80fd490b256fc3aa2b4a46b to your computer and use it in GitHub Desktop.
dist/
google_cloud_natural_language.egg-info/

Python Client for Google Cloud Natural Language

Python idiomatic client for Google Cloud Natural Language

pypi versions

Quick Start

$ pip install --upgrade google-cloud-language
$ # OR
$ pip install --upgrade google-cloud-natural-language

Authentication

With google-cloud-python we try to make authentication as painless as possible. Check out the Authentication section in our documentation to learn more. You may also find the authentication document shared by all the google-cloud-* libraries to be helpful.

Using the API

The Google Cloud Natural Language API (Natural Language API docs) provides natural language understanding technologies to developers, including sentiment analysis, entity recognition, and syntax analysis. This API is part of the larger Cloud Machine Learning API.

See the google-cloud-python API Natural Language Documentation to learn how to analyze text with this API.

include README.rst
[bdist_wheel]
universal = 1
# Copyright 2016 Google Inc.
#
# 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.
import os
from setuptools import find_packages
from setuptools import setup
PACKAGE_ROOT = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(PACKAGE_ROOT, 'README.rst')) as file_obj:
README = file_obj.read()
# NOTE: This is duplicated throughout and we should try to
# consolidate.
SETUP_BASE = {
'author': 'Google Cloud Platform',
'author_email': 'jjg+google-cloud-python@google.com',
'scripts': [],
'url': 'https://github.com/GoogleCloudPlatform/google-cloud-python',
'license': 'Apache 2.0',
'platforms': 'Posix; MacOS X; Windows',
'include_package_data': True,
'zip_safe': False,
'classifiers': [
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Internet',
],
}
REQUIREMENTS = [
'google-cloud-language == 0.24.0',
]
setup(
name='google-cloud-natural-language',
version='0.24.0',
description='Python Client for Google Cloud Natural Language',
long_description=README,
packages=find_packages(),
install_requires=REQUIREMENTS,
**SETUP_BASE
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment