Skip to main content

hdmpy

The hdmpy package is a Python port of parts of the R package hdm. All credit for the original package goes to the authors of hdm, all mistakes are my own. This project is in its very early stages and documentation is virtually nonexistent, so use it at your own risk.

Installation

Using uv (recommended)

  • Create and use a virtual environment, and install dependencies:
uv venv
source .venv/bin/activate  # or `uv venv --python 3.11 && source .venv/bin/activate`
uv pip install -e .[dev]
  • Build a wheel and install locally:
uv build
uv pip install dist/*.whl

From source (pip)

  1. Clone the repository

  2. Build and install using a modern build backend:

python -m pip install --upgrade pip build
python -m build
python -m pip install dist/*.whl

Editable install for development (pip)

python -m pip install -e .[dev]

After installation, you can import the package:

import hdmpy as hdm

Release files for hdmpy 0.1.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 hdmpy 0.1.0
File Size Uploaded
hdmpy-0.1.0.tar.gz 14.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for hdmpy 0.1.0
File Interpreter ABI Platform
hdmpy-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 32.0 kB

Release files / hdmpy-0.1.0.tar.gz

Download URL hdmpy-0.1.0.tar.gz
Size 14.6 kB
Tags Source
SHA-256 checksum
How to use checksums
1782d48f52d67a4e39465b30b69d9c241a9a549aa66e625bccb1859f313dd803
BLAKE2b-256 checksum
How to use checksums
d2bc4b2bc3c3fc81faed31123b0c4b2e99fe7fcb5b2656e8c4e88a371bd9578d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.10

Release files / hdmpy-0.1.0-py3-none-any.whl

Download URL hdmpy-0.1.0-py3-none-any.whl
Size 17.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a1626c68b634afb31d5978eb7911a5d3105f0f0e14d8aa4b6157d5925c3cc2b8
BLAKE2b-256 checksum
How to use checksums
dfe57009857b207d428b2abdef48ba8464cef77ea3ae3d80b0efa5f00df51efe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.10

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

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