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.2.tar.gz (20.9 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: py_dirp-0.1.2.tar.gz
  • Upload date:
  • Size: 20.9 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.2.tar.gz
Algorithm Hash digest
SHA256 076e3c6de08e12ade65471d4af0666ee85861737e402a627cc6a8f2b3eede564
MD5 5a9471a4bc8641008c7d8247736de50b
BLAKE2b-256 0a174faa2a33c4b5777f0b428315ecf71ba1c99c33cb1b27c38f3ed7e1e609e1

See more details on using hashes here.

Provenance

The following attestation bundles were made for py_dirp-0.1.2.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