uvx


Nameuvx JSON
Version 2.0.6 PyPI version JSON
download
home_pageNone
SummaryNone
upload_time2024-04-29 13:45:05
maintainerNone
docs_urlNone
authorNone
requires_python>=3.10
licenseNone
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # uvx: pipx for uv

Inspired by:

- [pipx](https://github.com/pypa/pipx)
- [uv](https://github.com/astral-sh/uv)

## Installation

1. Install via pip (or alternatives):
    ```bash
    pip install uvx  # or `uv`, `pipx`
    ```

2. Optional (for bash users):
    - Ensure that `~/.local/bin` is in your PATH:
        ```bash
        uvx ensurepath
        ```
    - Enable tab completion for `uvx`:
        ```bash
        uvx completions --install
        ```

## Usage

```bash
uvx
```

Run `uvx` without any arguments to see all possible subcommands.

## Platform Considerations

- **Rust-Powered Performance (uvx 2.0):** Starting from version 2.0, `uvx` leverages Rust for improved performance and
  compatibility with `uv`.
- **Prebuilt Binaries:** Currently, prebuilt binaries are available for x86_64 (amd64) and aarch64 (ARM64) on Linux.
- **Other Platforms:** If you're on a different platform, you can still use `uvx 1.x`, which is written in pure Python.
  Find it at [robinvandernoord/uvx](https://github.com/robinvandernoord/uvx).
- Alternatively, you can **Compile for Your Platform**:
    - Install the Rust toolchain:
        ```bash
        curl https://sh.rustup.rs -sSf | sh
        ```
    - Clone the `uvx2` repo and navigate to it:
        ```bash
        git clone https://github.com/robinvandernoord/uvx2.git
        cd uvx2
        ```
    - Set up a virtual environment (choose Python or uv):
        ```bash
        python -m venv venv  # or `uv venv venv --seed`
        source venv/bin/activate
        ```
    - Install Maturin (Python with Rust package builder):
        ```bash
        pip install maturin  # or `uv pip install maturin`
        ```
    - Compile and install the `uvx` binary:
        ```bash
        maturin develop
        ```
    - Now you can use `uvx`:
        ```bash
        ./venv/bin/uvx
        ```

For additional details on building and distribution, refer to [maturin](https://www.maturin.rs/distribution)
documentation.

## License

`uvx` is distributed under the terms of the [MIT](https://spdx.org/licenses/MIT.html) license.

## Changelog

See `CHANGELOG.md` [on GitHub](https://github.com/robinvandernoord/uvx2/blob/master/CHANGELOG.md)


            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "uvx",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": null,
    "keywords": null,
    "author": null,
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/80/ba/68266034cd9db46a721544a706c19e5bb2710fa459bfb6400ad13fcfb602/uvx-2.0.6.tar.gz",
    "platform": null,
    "description": "# uvx: pipx for uv\n\nInspired by:\n\n- [pipx](https://github.com/pypa/pipx)\n- [uv](https://github.com/astral-sh/uv)\n\n## Installation\n\n1. Install via pip (or alternatives):\n    ```bash\n    pip install uvx  # or `uv`, `pipx`\n    ```\n\n2. Optional (for bash users):\n    - Ensure that `~/.local/bin` is in your PATH:\n        ```bash\n        uvx ensurepath\n        ```\n    - Enable tab completion for `uvx`:\n        ```bash\n        uvx completions --install\n        ```\n\n## Usage\n\n```bash\nuvx\n```\n\nRun `uvx` without any arguments to see all possible subcommands.\n\n## Platform Considerations\n\n- **Rust-Powered Performance (uvx 2.0):** Starting from version 2.0, `uvx` leverages Rust for improved performance and\n  compatibility with `uv`.\n- **Prebuilt Binaries:** Currently, prebuilt binaries are available for x86_64 (amd64) and aarch64 (ARM64) on Linux.\n- **Other Platforms:** If you're on a different platform, you can still use `uvx 1.x`, which is written in pure Python.\n  Find it at [robinvandernoord/uvx](https://github.com/robinvandernoord/uvx).\n- Alternatively, you can **Compile for Your Platform**:\n    - Install the Rust toolchain:\n        ```bash\n        curl https://sh.rustup.rs -sSf | sh\n        ```\n    - Clone the `uvx2` repo and navigate to it:\n        ```bash\n        git clone https://github.com/robinvandernoord/uvx2.git\n        cd uvx2\n        ```\n    - Set up a virtual environment (choose Python or uv):\n        ```bash\n        python -m venv venv  # or `uv venv venv --seed`\n        source venv/bin/activate\n        ```\n    - Install Maturin (Python with Rust package builder):\n        ```bash\n        pip install maturin  # or `uv pip install maturin`\n        ```\n    - Compile and install the `uvx` binary:\n        ```bash\n        maturin develop\n        ```\n    - Now you can use `uvx`:\n        ```bash\n        ./venv/bin/uvx\n        ```\n\nFor additional details on building and distribution, refer to [maturin](https://www.maturin.rs/distribution)\ndocumentation.\n\n## License\n\n`uvx` is distributed under the terms of the [MIT](https://spdx.org/licenses/MIT.html) license.\n\n## Changelog\n\nSee `CHANGELOG.md` [on GitHub](https://github.com/robinvandernoord/uvx2/blob/master/CHANGELOG.md)\n\n",
    "bugtrack_url": null,
    "license": null,
    "summary": null,
    "version": "2.0.6",
    "project_urls": null,
    "split_keywords": [],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "2f88ac0838f70cc3b2d56f648d51cba384114e18a28659ee467a5bd0ffb01627",
                "md5": "f2a1d3854301adc79af032e13c643d0c",
                "sha256": "56f791658f431bac9bb4f03762fd75bdf9c38fbc337da10198cb08007cd22da8"
            },
            "downloads": -1,
            "filename": "uvx-2.0.6-py3-none-manylinux_2_34_aarch64.whl",
            "has_sig": false,
            "md5_digest": "f2a1d3854301adc79af032e13c643d0c",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 3525304,
            "upload_time": "2024-04-29T13:44:58",
            "upload_time_iso_8601": "2024-04-29T13:44:58.296979Z",
            "url": "https://files.pythonhosted.org/packages/2f/88/ac0838f70cc3b2d56f648d51cba384114e18a28659ee467a5bd0ffb01627/uvx-2.0.6-py3-none-manylinux_2_34_aarch64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "2252ccaef0c971f15a7c6821da862a44076575dbbe70c88e8b10e10e0ae00db1",
                "md5": "697258c188d1a4129a368ca92541a6d4",
                "sha256": "0387788a36b0f1951b3e14c239375faf10b924972fcdf33d6de99183dda0758a"
            },
            "downloads": -1,
            "filename": "uvx-2.0.6-py3-none-manylinux_2_34_x86_64.whl",
            "has_sig": false,
            "md5_digest": "697258c188d1a4129a368ca92541a6d4",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 3804586,
            "upload_time": "2024-04-29T13:45:02",
            "upload_time_iso_8601": "2024-04-29T13:45:02.852150Z",
            "url": "https://files.pythonhosted.org/packages/22/52/ccaef0c971f15a7c6821da862a44076575dbbe70c88e8b10e10e0ae00db1/uvx-2.0.6-py3-none-manylinux_2_34_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "80ba68266034cd9db46a721544a706c19e5bb2710fa459bfb6400ad13fcfb602",
                "md5": "0bacc642b10fd838328112ea8c871be9",
                "sha256": "d3918e4a0d8465c70909ce68cf4d75bd842cff6a2d5c2715a6aca8851d0f59d4"
            },
            "downloads": -1,
            "filename": "uvx-2.0.6.tar.gz",
            "has_sig": false,
            "md5_digest": "0bacc642b10fd838328112ea8c871be9",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 45299,
            "upload_time": "2024-04-29T13:45:05",
            "upload_time_iso_8601": "2024-04-29T13:45:05.086686Z",
            "url": "https://files.pythonhosted.org/packages/80/ba/68266034cd9db46a721544a706c19e5bb2710fa459bfb6400ad13fcfb602/uvx-2.0.6.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-29 13:45:05",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "uvx"
}
        
Elapsed time: 0.25122s