Skip to main content
https://travis-ci.org/research-software/resosuma.svg?branch=master https://img.shields.io/github/license/research-software/resosuma.svg

Resosuma

resosuma (short for research software sustainability map) is a package for Python 3 which provides a data model (directed graph) for activities in the research software sustainability space (“the space”).

In the graph, actors (i.e., entities that act within the space) and actees (i.e., entities which are acted on) are represented as nodes, and actions are represented as edges.

Currently, a resosuma model can be instantiated by reading the data from 3-column CSV, where the first column is the actor of an action, the second column is the action itself, and the third column is the actee of the action.

Requirements

resosuma requires Python 3 (tested against 3.4, 3.5, 3.6).

Installation

Install resosuma with pip:

pip install resosuma

Usage

To instantiate a resosuma model of type ActivityGraph, you can call:

from resosuma.graph.activitygraph import ActivityGraph

graph = ActivityGraph()
graph.read_csv(csvpath)

Once the model is instantiated, you can inspect it via:

graph.get_activities()
graph.get_nodes()

Scripts

visualize.py visualizes the model via graphviz.:

usage: visualize.py [-h] csv_file output {svg,pdf,png}

positional arguments:
  csv_file       The path of the input CSV file
  output         The path of the output file
  {svg,pdf,png}  The output format

optional arguments:
  -h, --help     show the help message and exit

How to cite

The metadata necessary for citing resosuma can be found in the CITATION.cff file.

Contribute

This project welcomes contributions. Please suggest features and report bugs via issues.

Metadata

Release files for resosuma 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for resosuma 0.2.0
File Size Uploaded
resosuma-0.2.0.tar.gz 9.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for resosuma 0.2.0
File Interpreter ABI Platform
resosuma-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 18.0 kB

Release files / resosuma-0.2.0.tar.gz

Download URL resosuma-0.2.0.tar.gz
Size 9.1 kB
Tags Source
SHA-256 checksum
How to use checksums
2b50c711f8127e0b43c4b241a0b6e1ce1054a52f762ee2ce7f7ebcb2055cf75d
BLAKE2b-256 checksum
How to use checksums
839e156c910d1d40d3aaf4660b1afd2260a103b2a616b90205cfdda2bd590dd0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / resosuma-0.2.0-py3-none-any.whl

Download URL resosuma-0.2.0-py3-none-any.whl
Size 8.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8e6eafa459f8c14b411409bc28429c3ae957b2c6d1a175357f275e6551c4aec3
BLAKE2b-256 checksum
How to use checksums
10df2da5333de1f52c8d707d9d5888be613c9b49ebbd79ce7a30f0bce18f966a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page