Name | hdmpy JSON |
Version |
0.1.0
JSON |
| download |
home_page | None |
Summary | Python port of parts of the R package hdm (High-Dimensional Metrics) |
upload_time | 2025-08-08 02:01:52 |
maintainer | None |
docs_url | None |
author | Original R authors: hdm team, Python port: Maximilian Huppertz |
requires_python | >=3.8 |
license | MIT License
Copyright (c) [2020] [Maximilian Huppertz]
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE. |
keywords |
econometrics
hdm
high-dimensional
lasso
statistics
|
VCS |
 |
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# hdmpy
The hdmpy package is a Python port of parts of the R package [hdm](https://github.com/cran/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:
```bash
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:
```bash
uv build
uv pip install dist/*.whl
```
### From source (pip)
1) Clone the repository
2) Build and install using a modern build backend:
```bash
python -m pip install --upgrade pip build
python -m build
python -m pip install dist/*.whl
```
### Editable install for development (pip)
```bash
python -m pip install -e .[dev]
```
After installation, you can import the package:
```python
import hdmpy as hdm
```
Raw data
{
"_id": null,
"home_page": null,
"name": "hdmpy",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": "econometrics, hdm, high-dimensional, lasso, statistics",
"author": "Original R authors: hdm team, Python port: Maximilian Huppertz",
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/d2/bc/4b2bc3c3fc81faed31123b0c4b2e99fe7fcb5b2656e8c4e88a371bd9578d/hdmpy-0.1.0.tar.gz",
"platform": null,
"description": "# hdmpy\n\nThe hdmpy package is a Python port of parts of the R package [hdm](https://github.com/cran/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.\n\n## Installation\n\n### Using uv (recommended)\n\n- Create and use a virtual environment, and install dependencies:\n\n```bash\nuv venv\nsource .venv/bin/activate # or `uv venv --python 3.11 && source .venv/bin/activate`\nuv pip install -e .[dev]\n```\n\n- Build a wheel and install locally:\n\n```bash\nuv build\nuv pip install dist/*.whl\n```\n\n### From source (pip)\n\n1) Clone the repository\n\n2) Build and install using a modern build backend:\n\n```bash\npython -m pip install --upgrade pip build\npython -m build\npython -m pip install dist/*.whl\n```\n\n### Editable install for development (pip)\n\n```bash\npython -m pip install -e .[dev]\n```\n\nAfter installation, you can import the package:\n\n```python\nimport hdmpy as hdm\n```\n",
"bugtrack_url": null,
"license": "MIT License\n \n Copyright (c) [2020] [Maximilian Huppertz]\n \n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n \n The above copyright notice and this permission notice shall be included in all\n copies or substantial portions of the Software.\n \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE.",
"summary": "Python port of parts of the R package hdm (High-Dimensional Metrics)",
"version": "0.1.0",
"project_urls": {
"Homepage": "https://github.com/maxhuppertz/hdmpy",
"Repository": "https://github.com/maxhuppertz/hdmpy"
},
"split_keywords": [
"econometrics",
" hdm",
" high-dimensional",
" lasso",
" statistics"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "dfe57009857b207d428b2abdef48ba8464cef77ea3ae3d80b0efa5f00df51efe",
"md5": "71c19a558d6e244219e8abef91681300",
"sha256": "a1626c68b634afb31d5978eb7911a5d3105f0f0e14d8aa4b6157d5925c3cc2b8"
},
"downloads": -1,
"filename": "hdmpy-0.1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "71c19a558d6e244219e8abef91681300",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 17374,
"upload_time": "2025-08-08T02:01:51",
"upload_time_iso_8601": "2025-08-08T02:01:51.007085Z",
"url": "https://files.pythonhosted.org/packages/df/e5/7009857b207d428b2abdef48ba8464cef77ea3ae3d80b0efa5f00df51efe/hdmpy-0.1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "d2bc4b2bc3c3fc81faed31123b0c4b2e99fe7fcb5b2656e8c4e88a371bd9578d",
"md5": "62f2d943bef1dccf17bc2baa4fef4809",
"sha256": "1782d48f52d67a4e39465b30b69d9c241a9a549aa66e625bccb1859f313dd803"
},
"downloads": -1,
"filename": "hdmpy-0.1.0.tar.gz",
"has_sig": false,
"md5_digest": "62f2d943bef1dccf17bc2baa4fef4809",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 14628,
"upload_time": "2025-08-08T02:01:52",
"upload_time_iso_8601": "2025-08-08T02:01:52.477186Z",
"url": "https://files.pythonhosted.org/packages/d2/bc/4b2bc3c3fc81faed31123b0c4b2e99fe7fcb5b2656e8c4e88a371bd9578d/hdmpy-0.1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-08-08 02:01:52",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "maxhuppertz",
"github_project": "hdmpy",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "hdmpy"
}