Python library to Explore Emotions Behind Tweets
twitter-sentiment is a Python library leveraging NLP algorithm and the Twitter API to classify the sentiment of a tweet.
Installation
Installing twitter-sentiment is simple, you just have to use pip. ::
pip install twitter-sentiment
Documentation
Documentation is available at twitter-sentiment.readthedocs.io
twitter-sentiment in a nutshel
twitter-sentiment let you classify a tweet/list of tweets as positive (1) or negative (0). twitter-sentiment then calculate and returns the ration of positive tweets. To classify a tweet, twitter-sentiment levereage TextBlob Naive Byaise NLP library. More information can be find at textblob.readthedocs.io
Continuous Integration
twitter-sentiment uses circleci as a continuous integration tool. Pushing a new git tag to the remote repositiory will trigger circleci workflow and:
- validate the test in /test/test_twitterSentiment.py
- check for a match between the
VERSIONvariable in the setup.py file and the git tag version. If all tests pass, the build will be automatically upload to the pypi server
Metadata
Release files for twitter-sentiment 0.0.6.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| twitter-sentiment-0.0.6.1.tar.gz | 5.8 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| twitter_sentiment-0.0.6.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.1 kB
Release files / twitter-sentiment-0.0.6.1.tar.gz
| Download URL | twitter-sentiment-0.0.6.1.tar.gz |
|---|---|
| Size | 5.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
459121c731f6fec8432eb2c9a700bf4a4a9887f68df9cf0551fe88b700de7a89
|
|
BLAKE2b-256 checksum How to use checksums |
097885237887e2a1a18bb05a95af56d7f5bd40548e615b9679087e0fc60726b3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7
|
Release files / twitter_sentiment-0.0.6.1-py3-none-any.whl
| Download URL | twitter_sentiment-0.0.6.1-py3-none-any.whl |
|---|---|
| Size | 6.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
55fbe00b7393cef32c6e38734add8efb009304611279b422ef120376e23f1f8e
|
|
BLAKE2b-256 checksum How to use checksums |
7e22bc9baa620e3ed26ddb7e88610b93ce4acb796e2fb60d48b60f44e8641ed2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7
|
Security for twitter-sentiment 0.0.6.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.