Skip to main content

Stub Generator

PyPI Main codecov Documentation Status

Automated generation of Safe-DS stubs for Python libraries.

Installation

Get the latest version from PyPI:

pip install safe-ds-stubgen

Usage

To run this program:

usage: safe-ds-stubgen [-h] [-v] -p PACKAGE [-s SRC] -o OUT [--docstyle {PLAINTEXT,EPYDOC,GOOGLE,NUMPYDOC,REST}] [-tr] [-nc]

Analyze Python code.

options:
  -h, --help            show this help message and exit
  -v, --verbose         show info messages
  -p PACKAGE, --package PACKAGE
                        The name of the package.
  -s SRC, --src SRC     Source directory containing the Python code of the package.
  -o OUT, --out OUT     Output directory.
  --docstyle {PLAINTEXT,EPYDOC,GOOGLE,NUMPYDOC,REST}
                        The docstring style.
  -tr, --testrun        Set this flag if files in /test or /tests directories should be included.
  -nc, --naming_convert
                        Set this flag if the name identifiers should be converted to Safe-DS standard (UpperCamelCase for classes and camelCase for everything else).

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.

Metadata

Release files for safe-ds-stubgen 0.3.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 safe-ds-stubgen 0.3.0
File Size Uploaded Provenance Actions
safe_ds_stubgen-0.3.0.tar.gz 43.5 kB Without provenance Details for safe_ds_stubgen-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for safe-ds-stubgen 0.3.0
File Interpreter ABI Platform Actions
safe_ds_stubgen-0.3.0-py3-none-any.whl Python 3 none any Details for safe_ds_stubgen-0.3.0-py3-none-any.whl

Total release size: 95.9 kB

Release files / safe_ds_stubgen-0.3.0.tar.gz

Download URL safe_ds_stubgen-0.3.0.tar.gz
Size 43.5 kB
Tags Source
SHA-256 checksum
How to use checksums
07daa0219329977a3f847a4de0640150c7eb0682a90e1d4079031ca8eb3f7f5b
BLAKE2b-256 checksum
How to use checksums
6f37c36cd63a883b8ba08355fb22d54a03826ba921e64daa639be9ac7618840a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.2 CPython/3.10.12 Linux/6.5.0-1018-azure

Release files / safe_ds_stubgen-0.3.0-py3-none-any.whl

Download URL safe_ds_stubgen-0.3.0-py3-none-any.whl
Size 52.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6a14b9bdbec3145aad10db4d56699f2da2803305632798c125c7e971dc13dee0
BLAKE2b-256 checksum
How to use checksums
7f56ef8d396313be9b434413978aa230d88125fac15b6ceed16bf71b107b8a5a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.2 CPython/3.10.12 Linux/6.5.0-1018-azure

Security for safe-ds-stubgen 0.3.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.

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