这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@leomaurodesenv
Copy link
Owner

Description

This pull request introduces uv as the recommended tool for managing Python dependencies and virtual environments in this project. uv is a high-performance Python package installer and resolver from Astral, intended as a drop-in replacement for pip and pip-tools.

By adopting uv, we can benefit from:

  • Drastically faster dependency installation and resolution, improving developer setup time and CI/CD pipeline speed.
  • A unified toolchain for environment and package management.

How to Use

  1. Install uv (if you haven't already):

    # Via curl on macOS/Linux
    curl -LsSf https://astral.sh/uv/install.sh | sh
    # Or via pip
    pip install uv
  2. Create a virtual environment and install dependencies:
    From the root of the repository:

    # Create a virtual environment in .venv
    uv venv
    
    # Install dependencies (including dev dependencies)
    uv sync

This PR sets the foundation for leveraging uv's capabilities. Future work could include migrating CI scripts to use uv for faster builds.

@leomaurodesenv leomaurodesenv self-assigned this Jun 28, 2025
@leomaurodesenv leomaurodesenv added the enhancement New feature or request label Jun 28, 2025
@leomaurodesenv leomaurodesenv linked an issue Jun 28, 2025 that may be closed by this pull request
8 tasks
@leomaurodesenv leomaurodesenv merged commit b05e6f5 into main Jun 28, 2025
2 checks passed
@leomaurodesenv leomaurodesenv deleted the feat/init-package branch June 28, 2025 19:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create a uv library to sampling data

2 participants