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:
- Evaluate whether a statement aligns with the concept of sustainability
- Identify SDGs and associated targets in a statement
- Classify a statement into social, environmental, and economic sustainability
- 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.
Metadata
Release files for seesus 1.2.0
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 | Actions |
|---|---|---|---|---|
| seesus-1.2.0.tar.gz | 255.2 kB | Without provenance | Details for seesus-1.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| seesus-1.2.0-py3-none-any.whl | Python 3 | none | any | Details for seesus-1.2.0-py3-none-any.whl |
Total release size: 328.1 kB
Release files / seesus-1.2.0.tar.gz
| Download URL | seesus-1.2.0.tar.gz |
|---|---|
| Size | 255.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a01c5115c2a056baa8fbc2d807140ccd65fcffb3fa4e4c24cabd3fc381d5dafa
|
|
BLAKE2b-256 checksum How to use checksums |
427dd0bf6cbd9f9402af4108f56d7c53e697ffa9cc00662458f568274121995e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.3
|
Release files / seesus-1.2.0-py3-none-any.whl
| Download URL | seesus-1.2.0-py3-none-any.whl |
|---|---|
| Size | 72.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e9d440b550ae84428e004885d1d6ae66a8d011c5d5872ae59b3cbdce0324b274
|
|
BLAKE2b-256 checksum How to use checksums |
a72dbe640f02841e9195a223ad8368bd0e0515abf5aea8d363e2410a401c5e3a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.3
|
Security for seesus 1.2.0
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.