Skip to main content

Python port of parts of the R package hdm (High-Dimensional Metrics)

Project description

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

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

hdmpy-0.1.0.tar.gz (14.6 kB view details)

Uploaded Source

Built Distribution

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

hdmpy-0.1.0-py3-none-any.whl (17.4 kB view details)

Uploaded Python 3

File details

Details for the file hdmpy-0.1.0.tar.gz.

File metadata

  • Download URL: hdmpy-0.1.0.tar.gz
  • Upload date:
  • Size: 14.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.10

File hashes

Hashes for hdmpy-0.1.0.tar.gz
Algorithm Hash digest
SHA256 1782d48f52d67a4e39465b30b69d9c241a9a549aa66e625bccb1859f313dd803
MD5 62f2d943bef1dccf17bc2baa4fef4809
BLAKE2b-256 d2bc4b2bc3c3fc81faed31123b0c4b2e99fe7fcb5b2656e8c4e88a371bd9578d

See more details on using hashes here.

File details

Details for the file hdmpy-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: hdmpy-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 17.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.10

File hashes

Hashes for hdmpy-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a1626c68b634afb31d5978eb7911a5d3105f0f0e14d8aa4b6157d5925c3cc2b8
MD5 71c19a558d6e244219e8abef91681300
BLAKE2b-256 dfe57009857b207d428b2abdef48ba8464cef77ea3ae3d80b0efa5f00df51efe

See more details on using hashes here.

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