Skip to main content

Topological sorting and transitive reduction algorithms

Reason this release was yanked:

Not importable after installation

Project description

dedap-python

dedap implements transitive reduction for directed acyclic graphs. DAGs are used for scheduling operations, and transitive reduction produces equivalent DAGs sans redundant links.

The module is only dependent on the Python standard library for normal use. It does need external modules for building the installable package, for checking static type consistency, and for building the documentation.

Installation

On Windows:

py -m pip install --upgrade pip
py -m pip install dedap

On other systems (e.g., Linux, macOS):

python3 -m pip install --upgrade pip
python3 -m pip install dedap

Testing

This module has doctest-style unit tests within its docstrings.

To run this module's tests from the source directory:

python3 -m doctest dedap/dedap.py

To run this module's tests after installation:

python3 -m doctest dedap/dedap.py

To check the static type consistency, use mypy if it's available:

mypy dedap/dedap.py

Documentation

To build the HTML documentation:

make -C doc html

To build the PDF documentation (assuming all LaTeX dependencies are installed):

make -C doc latexpdf

Future

  • Bind C++ dedap library into this Python package. Call it cdedap.

    • Write benchmark tests to compare the C++-based implementation (cdedap) to the pure Python implementation.

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

dedap-2026.4.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dedap-2026.4-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

Details for the file dedap-2026.4.tar.gz.

File metadata

  • Download URL: dedap-2026.4.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for dedap-2026.4.tar.gz
Algorithm Hash digest
SHA256 c03539f1d1f8c853aa5c434d620d24e02e20f165bb3522963134e5aa1f3d3eac
MD5 8f0e86b0b0fbb5d7806caf11d00e0fd7
BLAKE2b-256 1b61a8195c185283049057e98d0176e6e71bca08c4511821db4062b7b1fa02b4

See more details on using hashes here.

Provenance

The following attestation bundles were made for dedap-2026.4.tar.gz:

Publisher: python-publish.yml on studdansen/dedap-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dedap-2026.4-py3-none-any.whl.

File metadata

  • Download URL: dedap-2026.4-py3-none-any.whl
  • Upload date:
  • Size: 2.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for dedap-2026.4-py3-none-any.whl
Algorithm Hash digest
SHA256 d520df9bad2d3a963e6282eb04303be9aedebec994316fb9a4c6545e1f338cca
MD5 b89b61de098f6a409ad4be0a63141270
BLAKE2b-256 8290e63a5cfb87f523ddadc1649fd511bac5953177649386a69d4ca75fa65b04

See more details on using hashes here.

Provenance

The following attestation bundles were made for dedap-2026.4-py3-none-any.whl:

Publisher: python-publish.yml on studdansen/dedap-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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