@safe-ds/cli

Statically checked Data Science programs.

https://github.com/safe-ds/dsl

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (14.9%) to scientific vocabulary

Keywords

data-science dsl learnability machine-learning safety static-analysis usability

Keywords from Contributors

mesh interpretability sequences generic projection interactive optim hacking network-simulation
Last synced: 6 months ago · JSON representation ·

Repository

Statically checked Data Science programs.

Basic Info
  • Host: GitHub
  • Owner: Safe-DS
  • License: mit
  • Language: TypeScript
  • Default Branch: main
  • Homepage: https://dsl.safeds.com
  • Size: 11.2 MB
Statistics
  • Stars: 18
  • Watchers: 3
  • Forks: 0
  • Open Issues: 73
  • Releases: 28
Topics
data-science dsl learnability machine-learning safety static-analysis usability
Created over 3 years ago · Last pushed 7 months ago
Metadata Files
Readme License Citation Codeowners

.github/README.md

Safe-DS DSL

Visual Studio Marketplace Version Main codecov Documentation Status

Safely develop Data Science programs with a statically checked domain specific language (DSL) and integrated tools for data inspection.

demo

Installation

To set up a powerful integrated development environment (IDE) for Safe-DS, follow these steps:

  1. Install Visual Studio Code (VS Code).
  2. Install the Safe-DS extension for VS Code.

To run Safe-DS programs, you also need the Safe-DS Runner:

  1. Install Python (3.11 or 3.12). Older or newer Python versions are not supported. Make sure to add Python to your system's PATH during installation. Verify installation by running python --version in a command line. You should get output similar to Python 3.12.2.
  2. Open VS Code.
  3. Open the command palette (Menu bar > View > Command Palette).
  4. Type Install the Safe-DS Runner and Press Enter.
  5. Select where to install the Safe-DS Runner.

Installation may take a few minutes, since it downloads and installs several large libraries like PyTorch.

Documentation

You can find the full documentation here.

Contributing

We welcome contributions from everyone. As a starting point, check the following resources:

If you need further help, please use our discussion forum.

Owner

  • Name: Safe-DS
  • Login: Safe-DS
  • Kind: organization

Citation (CITATION.cff)

# This CITATION.cff file was generated with cffinit.
# Visit https://bit.ly/cffinit to generate yours today!

cff-version: 1.2.0
message: >-
  Please cite this software using the metadata from
  'preferred-citation'.
type: software
title: Safe-DS DSL
repository-code: https://github.com/Safe-DS/DSL
license: MIT
preferred-citation:
  type: conference-paper
  year: 2023
  conference:
    name: >-
      2023 IEEE/ACM 45th International Conference on
      Software Engineering: New Ideas and Emerging Results
  collection-title: >-
    2023 IEEE/ACM 45th International Conference on
    Software Engineering: New Ideas and Emerging Results
  title: >-
    Safe-DS: A Domain Specific Language to Make Data Science Safe
  authors:
    - given-names: Lars
      family-names: Reimann
      email: "reimann@cs.uni-bonn.de"
      affiliation: >-
        Institute for Computer Science III, University
        of Bonn, Germany
      orcid: "https://orcid.org/0000-0002-5129-3902"
    - affiliation: >-
        Institute for Computer Science III, University
        of Bonn, Germany
      given-names: Günter
      family-names: Kniesel-Wünsche
  abstract: >-
    Due to the long runtime of Data Science (DS) pipelines,
    even small programming mistakes can be very costly, if
    they are not detected statically. However, even basic
    static type checking of DS pipelines is difficult because
    most are written in Python. Static typing is available in
    Python only via external linters. These require static type
    annotations for parameters or results of functions, which
    many DS libraries do not provide. In this paper, we show how
    the wealth of Python DS libraries can be used in a
    statically safe way via Safe-DS, a domain specific language
    (DSL) for DS. Safe-DS catches conventional type errors plus
    errors related to range restrictions, data manipulation, and
    call order of functions, going well beyond the abilities of
    current Python linters. Python libraries are integrated into
    Safe-DS via a stub language for specifying the interface of
    its declarations, and an API-Editor that is able to extract
    type information from the code and documentation of Python
    libraries, and automatically generate suitable stubs.
    Moreover, Safe-DS complements textual DS pipelines with a
    graphical representation that eases safe development by
    preventing syntax errors. The seamless synchronization of
    textual and graphic view lets developers always choose the
    one best suited for their skills and current task. We think
    that Safe-DS can make DS development easier, faster, and
    more reliable, significantly reducing development costs.
  keywords:
    - "data science"
    - "machine learning"
    - "static safety"
    - "refinement types"
    - "schema types"
    - "domain specific language"
  doi: "10.1109/ICSE-NIER58687.2023.00019"
  identifiers:
    - type: doi
      value: "10.1109/ICSE-NIER58687.2023.00019"
      description: "IEEE Xplore"
    - type: doi
      value: "10.48550/arXiv.2302.14548"
      description: "arXiv (preprint)"

GitHub Events

Total
  • Create event: 116
  • Release event: 7
  • Issues event: 36
  • Watch event: 4
  • Delete event: 106
  • Issue comment event: 216
  • Push event: 266
  • Pull request review event: 26
  • Pull request review comment event: 35
  • Pull request event: 221
Last Year
  • Create event: 116
  • Release event: 7
  • Issues event: 36
  • Watch event: 4
  • Delete event: 106
  • Issue comment event: 216
  • Push event: 266
  • Pull request review event: 26
  • Pull request review comment event: 35
  • Pull request event: 221

Committers

Last synced: 8 months ago

All Time
  • Total Commits: 1,007
  • Total Committers: 15
  • Avg Commits per committer: 67.133
  • Development Distribution Score (DDS): 0.493
Past Year
  • Commits: 105
  • Committers: 5
  • Avg Commits per committer: 21.0
  • Development Distribution Score (DDS): 0.514
Top Committers
Name Email Commits
Lars Reimann m****l@l****m 511
dependabot[bot] 4****] 327
WinPlay02 w****h@w****e 47
semantic-release-bot s****t@m****t 27
Jonas B 9****e 24
Marvin John Walter 1****a 17
dorianheidorn 4****n 14
Marsmaennchen221 4****1 13
GideonKoenig 4****g 13
M Shahzaib z****6@g****m 7
Gerhardsa0 1****0 3
Tobias Plücker 1****r 1
Tellem 7****D 1
Patrick Müller p****9@w****e 1
Frederic 8****s 1
Committer Domains (Top 20 + Academic)

Packages

  • Total packages: 2
  • Total downloads:
    • npm 175 last-month
  • Total dependent packages: 1
    (may contain duplicates)
  • Total dependent repositories: 0
    (may contain duplicates)
  • Total versions: 56
  • Total maintainers: 1
npmjs.org: @safe-ds/lang

A language server for the Safe-DS DSL.

  • Versions: 27
  • Dependent Packages: 1
  • Dependent Repositories: 0
  • Downloads: 119 Last month
Rankings
Stargazers count: 9.5%
Forks count: 15.6%
Average: 28.5%
Dependent repos count: 36.5%
Dependent packages count: 52.5%
Maintainers (1)
Last synced: 7 months ago
npmjs.org: @safe-ds/cli

A command line interface for the Safe-DS DSL.

  • Versions: 29
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 56 Last month
Rankings
Dependent repos count: 37.1%
Average: 45.0%
Dependent packages count: 52.8%
Maintainers (1)
Last synced: 7 months ago

Dependencies

.github/workflows/dependency-review.yml actions
  • actions/checkout v3 composite
  • actions/dependency-review-action v3 composite
.github/workflows/issue.yml actions
  • actions/add-to-project v0.4.0 composite
.github/workflows/main.yml actions
  • actions/cache v3.2.4 composite
  • actions/checkout v3 composite
  • actions/setup-java v3 composite
  • actions/setup-python v4 composite
  • codecov/codecov-action v3 composite
  • gradle/wrapper-validation-action v1 composite
  • snok/install-poetry v1.3.3 composite
.github/workflows/pr.yml actions
  • actions/cache v3.2.4 composite
  • actions/checkout v3 composite
  • actions/setup-java v3 composite
  • actions/setup-python v4 composite
  • actions/upload-artifact v3 composite
  • codecov/codecov-action v3 composite
  • gradle/wrapper-validation-action v1 composite
  • snok/install-poetry v1.3.3 composite
package-lock.json npm
  • 251 dependencies
package.json npm
  • @lars-reimann/eslint-config ^4.3.1 development
  • @lars-reimann/prettier-config ^5.0.0 development
.github/workflows/megalinter.yml actions
.github/workflows/pr-format.yml actions
.github/workflows/release.yml actions
  • actions/checkout v4 composite
  • actions/setup-node v4 composite
packages/safe-ds-cli/package.json npm
  • @types/node ^18.18.12 development
  • @safe-ds/lang >=0.3.0
  • chalk ^5.3.0
  • commander ^11.1.0
  • langium ^2.1.3
packages/safe-ds-lang/package.json npm
  • @types/node ^18.18.12 development
  • langium-cli ^2.1.0 development
  • true-myth ^7.1.0 development
  • chevrotain ^11.0.3
  • glob ^10.3.10
  • langium ^2.1.3
  • source-map ^0.7.4
  • vscode-languageserver ^9.0.1
  • vscode-languageserver-textdocument ^1.0.11
packages/safe-ds-vscode/package.json npm
  • @types/node ^18.18.12 development
  • @types/vscode ^1.84.2 development
  • @types/ws ^8.5.8 development
  • @vscode/vsce ^2.22.0 development
  • esbuild ^0.19.8 development
  • esbuild-plugin-copy ^2.1.1 development
  • source-map ^0.7.4
  • tree-kill ^1.2.2
  • vscode-languageclient ^9.0.1
  • ws ^8.14.2
docs/poetry.lock pypi
  • babel 2.13.0
  • certifi 2023.7.22
  • charset-normalizer 3.3.0
  • click 8.1.7
  • colorama 0.4.6
  • ghp-import 2.1.0
  • idna 3.4
  • jinja2 3.1.2
  • markdown 3.5
  • markupsafe 2.1.3
  • mergedeep 1.3.4
  • mkdocs 1.5.3
  • mkdocs-glightbox 0.3.5
  • mkdocs-material 9.4.14
  • mkdocs-material-extensions 1.3
  • mkdocs-same-dir 0.1.2
  • packaging 23.2
  • paginate 0.5.6
  • pathspec 0.11.2
  • platformdirs 3.11.0
  • pygments 2.17.2
  • pymdown-extensions 10.3.1
  • python-dateutil 2.8.2
  • pyyaml 6.0.1
  • pyyaml-env-tag 0.1
  • regex 2023.10.3
  • requests 2.31.0
  • six 1.16.0
  • urllib3 2.0.7
  • watchdog 3.0.0
docs/pyproject.toml pypi
  • mkdocs ^1.5.3
  • mkdocs-glightbox ^0.3.5
  • mkdocs-material ^9.4.14
  • mkdocs-same-dir ^0.1.2
  • pygments ^2.17.2
  • python ^3.11