Skip to main content

a social, environmental, and economic sustainability classifier based on the UN Sustainable Development Goals

Project description

seesus: a social, environmental, and economic sustainability classifier

seesus is a Python package that evaluates whether a textual expression aligns with the concept of sustainability as defined by the United Nations Sustainable Development Goals (SDGs). It labels a statement with the 17 SDGs as well as 169 specific targets and categorizes the statement into social, environmental, or economic sustainability. For analysis in R, please check SDGdector.

seesus currently has four main functions:

  1. Evaluate whether a statement aligns with the concept of sustainability
  2. Identify SDGs and associated targets in a statement
  3. Classify a statement into social, environmental, and economic sustainability
  4. Examine and customize match syntax

Installation

pip install seesus

Example

from seesus import SeeSus

text = "We aim to contribute to the mitigation of climate change by reducing carbon emissions in the city."
result = SeeSus(text)

# print result on whether a statement aligns with sustainability, True or False
print(result.sus)

# print the names of identified SDGs
print(result.sdg)
# print the descriptions of identified SDGs
print(result.sdg_desc)

# print the names of identified SDG targets
print(result.target)
# print the descriptions of identified SDG targets
print(result.target_desc)

# determine which dimension of sustainability (social, environmental, or economic) a statement belongs to
print(result.see)

# print match syntax
SeeSus.show_syntax("SDG1_general")

# customize match dyntax
SeeSus.edit_syntax("SDG1_general", "my match terms")

Please run example.ipynb to see more example usage.

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

seesus-1.2.0.tar.gz (255.2 kB view hashes)

Uploaded Source

Built Distribution

seesus-1.2.0-py3-none-any.whl (72.9 kB view hashes)

Uploaded Python 3

Supported by

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