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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file seesus-1.2.0.tar.gz.

File metadata

  • Download URL: seesus-1.2.0.tar.gz
  • Upload date:
  • Size: 255.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.3

File hashes

Hashes for seesus-1.2.0.tar.gz
Algorithm Hash digest
SHA256 a01c5115c2a056baa8fbc2d807140ccd65fcffb3fa4e4c24cabd3fc381d5dafa
MD5 9cbbf73cbdf9ad33cfb17b0e005cda58
BLAKE2b-256 427dd0bf6cbd9f9402af4108f56d7c53e697ffa9cc00662458f568274121995e

See more details on using hashes here.

File details

Details for the file seesus-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: seesus-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 72.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.3

File hashes

Hashes for seesus-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e9d440b550ae84428e004885d1d6ae66a8d011c5d5872ae59b3cbdce0324b274
MD5 79a486c6c2c01b0879bc7b14dbdbf035
BLAKE2b-256 a72dbe640f02841e9195a223ad8368bd0e0515abf5aea8d363e2410a401c5e3a

See more details on using hashes here.

Supported by

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