Skip to main content

GN-Sentiment (Natural language API - Sentiment) is a Python library for analyzing sentiments with GCP.

Project description

Natural Language API - Sentiment (GCP)

GN-Sentiment (Natural language API - Sentiment) is a Python library for analyzing sentiments with GCP.

Installation

Use the package manager pip to install gnsentiment.

pip install gnsentiment

or

pip install -i https://test.pypi.org/simple/ gnsentiment

Usage

from gnsentiment import Gnsentiment

s = Gnsentiment('path_key.json')

s.analyze_sentiment('ejemplo texto')
# return: dict(...)

s.sentiment(1)
# return: 1

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gnsentiment-0.0.1.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gnsentiment-0.0.1-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file gnsentiment-0.0.1.tar.gz.

File metadata

  • Download URL: gnsentiment-0.0.1.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for gnsentiment-0.0.1.tar.gz
Algorithm Hash digest
SHA256 e8e414f50247b3d11bb249041e6ae05a3ed0af63d38f36adcb6a1dde2f4c4a28
MD5 0df30a6f86c0743cfd4fc3946636512a
BLAKE2b-256 80dd009e12ca31181ff97c5fd918d3228cfc4313bdf93d857dc4e061fbb05764

See more details on using hashes here.

File details

Details for the file gnsentiment-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: gnsentiment-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for gnsentiment-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 18e7d5d2959c9141384298c04af51c9b4b607d891bc6ce2cf9c1730276a40675
MD5 b814018de9afa7847b61bc640bfb3842
BLAKE2b-256 6cfc119b6d4642b90813e7b70a8f277f772450286bf40416257be1f622c2e568

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page