<a href="https://pypi.org/project/python-wheel-to-conda-package" target="_blank">
<img src="https://img.shields.io/pypi/v/python-wheel-to-conda-package" alt="Package version">
</a>
# Python Wheel to Conda package
This converts a Pure-Python Wheel to a noarch Conda package.
This tool can be used to replace `conda build` which can sometimes be very slow.
[`setup.py bdist_conda`](https://docs.conda.io/projects/conda-build/en/latest/user-guide/recipes/build-without-recipe.html) can build a Conda package without a recipe but it relies on conda-build behind the scenes and thus suffers from the same slowness.
## Usage
### As a library
```python
from python_wheel_to_conda_package import python_wheel_to_conda_package
conda_package_path = python_wheel_to_conda_package(wheel_path, output_directory=some_directory)
```
### As a command line tool
```console
$ python-wheel-to-conda-package test_lib-0.4.2.dev0-42_1337gg-py3-none-any.whl --output-directory /a/b/c/
/a/b/c/test-lib-0.4.2.dev0-1337gg.tar.bz2
```
Raw data
{
"_id": null,
"home_page": null,
"name": "python-wheel-to-conda-package",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.10",
"maintainer_email": null,
"keywords": "conda, conda-package, python-wheel, wheel",
"author": null,
"author_email": "Thibault Derousseaux <tibdex@gmail.com>",
"download_url": null,
"platform": null,
"description": "<a href=\"https://pypi.org/project/python-wheel-to-conda-package\" target=\"_blank\">\n <img src=\"https://img.shields.io/pypi/v/python-wheel-to-conda-package\" alt=\"Package version\">\n</a>\n\n# Python Wheel to Conda package\n\nThis converts a Pure-Python Wheel to a noarch Conda package.\n\nThis tool can be used to replace `conda build` which can sometimes be very slow.\n[`setup.py bdist_conda`](https://docs.conda.io/projects/conda-build/en/latest/user-guide/recipes/build-without-recipe.html) can build a Conda package without a recipe but it relies on conda-build behind the scenes and thus suffers from the same slowness.\n\n## Usage\n\n### As a library\n\n```python\nfrom python_wheel_to_conda_package import python_wheel_to_conda_package\n\nconda_package_path = python_wheel_to_conda_package(wheel_path, output_directory=some_directory)\n```\n\n### As a command line tool\n\n```console\n$ python-wheel-to-conda-package test_lib-0.4.2.dev0-42_1337gg-py3-none-any.whl --output-directory /a/b/c/\n/a/b/c/test-lib-0.4.2.dev0-1337gg.tar.bz2\n```\n",
"bugtrack_url": null,
"license": null,
"summary": "Convert a Pure-Python Wheel to a noarch Conda package",
"version": "0.4.1",
"project_urls": {
"Repository": "https://github.com/tibdex/python-wheel-to-conda-package"
},
"split_keywords": [
"conda",
" conda-package",
" python-wheel",
" wheel"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "147dd69eb83b8b0cac05da1b4f8ef0f72a7c6d424cd00fd26e90a2bd73b4f28f",
"md5": "371e4a3d12f033f2962eadbf33b6c616",
"sha256": "279110b3d98440e32fcafb63b2b308d0783d6d5b3c2b20ec89815b1f14b0569a"
},
"downloads": -1,
"filename": "python_wheel_to_conda_package-0.4.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "371e4a3d12f033f2962eadbf33b6c616",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10",
"size": 11414,
"upload_time": "2024-10-11T20:15:29",
"upload_time_iso_8601": "2024-10-11T20:15:29.435241Z",
"url": "https://files.pythonhosted.org/packages/14/7d/d69eb83b8b0cac05da1b4f8ef0f72a7c6d424cd00fd26e90a2bd73b4f28f/python_wheel_to_conda_package-0.4.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-10-11 20:15:29",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "tibdex",
"github_project": "python-wheel-to-conda-package",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "python-wheel-to-conda-package"
}