Skip to main content

No project description provided

Project description

hatch-uvenv

This provides a plugin for Hatch that creates environments using UV's locked virtual environment capabilities for fast, reproducible Python dependency management.

Hatch project Lint PyPI version PyPI Supported Python Versions Downloads

Table of Contents

Installation

  • pyproject.toml

    [tool.hatch.env]
    require = ["hatch-uvenv"]
    
  • hatch.toml

    [env]
    require = ["hatch-uvenv"]
    

Configuration

The environment plugin name is uvenv.

  • pyproject.toml

    [tool.hatch.envs.<env_name>]
    type = "uvenv"
    
  • hatch.toml

    [envs.<env_name>]
    type = "uvenv"
    

Dependencies

UV's locked environments ensure that dependencies are installed in a fast and deterministic manner. The environment will resolve dependencies based on a lockfile, ensuring reproducibility.

Example config:

[envs.<ENV_NAME>]
uv-flags = [
  "--all-packages",
]
groups = [
  "dependency-group-1",
  "dependency-group-2",
]
features = [
  "feature-1",
  "feature-2",
]

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

hatch_uvenv-0.3.4.tar.gz (68.1 kB view details)

Uploaded Source

Built Distribution

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

hatch_uvenv-0.3.4-py3-none-any.whl (32.9 kB view details)

Uploaded Python 3

File details

Details for the file hatch_uvenv-0.3.4.tar.gz.

File metadata

  • Download URL: hatch_uvenv-0.3.4.tar.gz
  • Upload date:
  • Size: 68.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for hatch_uvenv-0.3.4.tar.gz
Algorithm Hash digest
SHA256 d2d8c978a442e5e9c5163b2bc52315f39766304150164b2ddbd3065c0c45f31d
MD5 c1ea3ad7f0bc9e903a9e6e714dd7ba76
BLAKE2b-256 44ecd91bae7cc64d9722bd3f3bbea6fe772bdd839048775e9fd8ee8e3db7253f

See more details on using hashes here.

Provenance

The following attestation bundles were made for hatch_uvenv-0.3.4.tar.gz:

Publisher: release.yml on djcopley/hatch-uvenv

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file hatch_uvenv-0.3.4-py3-none-any.whl.

File metadata

  • Download URL: hatch_uvenv-0.3.4-py3-none-any.whl
  • Upload date:
  • Size: 32.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for hatch_uvenv-0.3.4-py3-none-any.whl
Algorithm Hash digest
SHA256 660fb3b2de053e8b0e16025f5b0bdb98c2d232cb89677f1f304c4e195c6cc807
MD5 bbf5c8a099cdd09a4c64c78e67c86717
BLAKE2b-256 b12efcea70d9a833645c3c335679e297e1cb9db7da7a1f632b2f3d3876f4d0f4

See more details on using hashes here.

Provenance

The following attestation bundles were made for hatch_uvenv-0.3.4-py3-none-any.whl:

Publisher: release.yml on djcopley/hatch-uvenv

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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