semvec/pypi-packages huggingface dataset:
NRCLex2.0 2.0.0
This is an extension from the NRCLex with an update to the emotion dicitnary An affect generator based on TextBlob and the NRC affect lexicon.  Note that lexicon license is for research purposes only.
Requires Python: >=2.7

# NRCLex2.0
Mohamed Mostafa
This is an extension to the original library : https://github.com/metalcorebear/NRCLex original author of NRCLex1.0 (C) 2019 Mark M. Bailey
## About
NRCLex will measure emotional affect from a body of text.  Affect dictionary contains approximately 27,000 words, and is based on the National Research Council Canada (NRC) affect lexicon (see link below) and the NLTK library's WordNet synonym sets.

Lexicon source is (C) 2016 National Research Council Canada (NRC) and this package is **for research purposes only**.  Source: [lexicons for research] (http://sentiment.nrc.ca/lexicons-for-research/)

NLTK data is (C) 2019, NLTK Project.  Source: [NLTK] (https://www.nltk.org/).  Reference: Bird, Steven, Edward Loper and Ewan Klein (2009), Natural Language Processing with Python. O’Reilly Media Inc.

##Future work
Author Expected


## Update
* Updated the emotion dicinary and fixed some code to integrate with 3.6

## Affects
Emotional affects measured include the following:

* fear
* anger
* anticipation
* trust
* surprise
* positive
* negative
* sadness
* disgust
* joy

## Sample Usage

from nrclex import NRCLex  


*#Instantiate text object (for best results, 'text' should be unicode).*  

text_object = NRCLex('text')  


*#Return words list.*  

text_object.words  


*#Return sentences list.*  

text_object.sentences  


*#Return affect list.*  

text_object.affect_list  


*#Return affect dictionary.*  

text_object.affect_dict  


*#Return raw emotional counts.*  

text_object.raw_emotion_scores  


*#Return highest emotions.*  

text_object.top_emotions  


*#Return affect frequencies.*  

text_object.affect_frequencies
API-StevenThomi 0.0.1
A temperature and luminosity sensor API package designed for Raspberry Pi
Requires Python: >=3.6

## API Overview

The API contains the following files:
- **Setup.py** - creates the ADC (MCP3008) channel object
- **Sensor.py** - handles the sensor package's activities, qualities, and functionality

The following files illustrate the functioning of the API:
- application_console.py - prints the sensor output to the screen
- application_file.py - prints the sensor output to a text file (data.txt)

The API's functionality is interfaced with the Flask Web Application using **Samba file sharing**.

The API requires the following libraries to run:
- busio
- digitalio
- board
- adafruit_mcp3xxx.mcp3008
- adafruit_mcp3xxx.analog_in

These libraries can be installed on the Raspberry Pi using the following command:
- pip3 install adafruit-circuitpython-mcp3xxx