Skip to main content

Python binding for dirp (Go)

Project description

py-dirp

py-dirp is a Python binding package for the Go implementation of dirp.

Install

  • End users: pip install py-dirp
  • Development (from this repository root): pip install -e .

By default, package build automatically compiles the Go shared library.

Use

from dirp import parse, build

nodes = parse("app{src,bin}")
build("tmp-out", "app{src,bin}")

Requirements for source builds

  • Go toolchain in PATH
  • C compiler for cgo (CGO_ENABLED=1)
  • Initialized dirp_core submodule

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

py_dirp-0.1.1.tar.gz (20.2 kB view details)

Uploaded Source

File details

Details for the file py_dirp-0.1.1.tar.gz.

File metadata

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

File hashes

Hashes for py_dirp-0.1.1.tar.gz
Algorithm Hash digest
SHA256 7dc3faae522cb9849659c0c35fb31b9161256ee1142217ecfd658479f213ccf4
MD5 2be7c08a27ee5e49feac4d0ffd0ae1aa
BLAKE2b-256 f48e3c6ed2e0f74770a15e7d5d4841c4051da19055fcbea6e268cfe207726097

See more details on using hashes here.

Provenance

The following attestation bundles were made for py_dirp-0.1.1.tar.gz:

Publisher: publish.yml on Garashia/python-dirp

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