Metadata-Version: 2.4
Name: aws_lbd_art_builder_uv
Version: 0.1.1
Summary: AWS Lambda Artifact UV Builder
Author-email: Sanhe Hu <husanhe@email.com>
Maintainer-email: Sanhe Hu <husanhe@email.com>
License-Expression: MIT
Project-URL: Homepage, https://github.com/MacHu-GWU/aws_lbd_art_builder_uv-project
Project-URL: Documentation, https://aws-lbd-art-builder-uv.readthedocs.io/en/latest/
Project-URL: Repository, https://github.com/MacHu-GWU/aws_lbd_art_builder_uv-project
Project-URL: Issues, https://github.com/MacHu-GWU/aws_lbd_art_builder_uv-project/issues
Project-URL: Changelog, https://github.com/MacHu-GWU/aws_lbd_art_builder_uv-project/blob/main/release-history.rst
Project-URL: Download, https://pypi.org/pypi/aws-lbd-art-builder-uv#files
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: MacOS
Classifier: Operating System :: Unix
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Requires-Python: <4.0,>=3.11
Description-Content-Type: text/x-rst
License-File: LICENSE.txt
License-File: AUTHORS.rst
Requires-Dist: aws-lbd-art-builder-core<1.0.0,>=0.1.4
Provides-Extra: upload
Requires-Dist: aws-lbd-art-builder-core[upload]; extra == "upload"
Provides-Extra: publish
Requires-Dist: aws-lbd-art-builder-core[publish]; extra == "publish"
Provides-Extra: dev
Requires-Dist: rich<14.0.0,>=13.8.1; extra == "dev"
Provides-Extra: test
Requires-Dist: pytest<9.0.0,>=8.2.2; extra == "test"
Requires-Dist: pytest-cov<7.0.0,>=6.0.0; extra == "test"
Requires-Dist: moto<6.0.0,>=5.1.10; extra == "test"
Requires-Dist: aws-lbd-art-builder-core[publish,upload]; extra == "test"
Provides-Extra: doc
Requires-Dist: Sphinx<8.0.0,>=7.4.7; extra == "doc"
Requires-Dist: sphinx-copybutton<1.0.0,>=0.5.2; extra == "doc"
Requires-Dist: sphinx-design<1.0.0,>=0.6.1; extra == "doc"
Requires-Dist: sphinx-jinja<3.0.0,>=2.0.2; extra == "doc"
Requires-Dist: furo==2024.8.6; extra == "doc"
Requires-Dist: pygments<3.0.0,>=2.18.0; extra == "doc"
Requires-Dist: ipython<8.19.0,>=8.18.1; extra == "doc"
Requires-Dist: nbsphinx<1.0.0,>=0.8.12; extra == "doc"
Requires-Dist: rstobj==2.0.0; extra == "doc"
Requires-Dist: docfly==3.0.3; extra == "doc"
Provides-Extra: mise
Requires-Dist: PyGithub<3.0.0,>=2.8.0; extra == "mise"
Requires-Dist: httpx<1.0.0,>=0.28.0; extra == "mise"
Requires-Dist: tomli<3.0.0,>=2.0.0; python_version < "3.11" and extra == "mise"
Dynamic: license-file


.. image:: https://readthedocs.org/projects/aws-lbd-art-builder-uv/badge/?version=latest
    :target: https://aws-lbd-art-builder-uv.readthedocs.io/en/latest/
    :alt: Documentation Status

.. image:: https://github.com/MacHu-GWU/aws_lbd_art_builder_uv-project/actions/workflows/main.yml/badge.svg
    :target: https://github.com/MacHu-GWU/aws_lbd_art_builder_uv-project/actions?query=workflow:CI

.. image:: https://codecov.io/gh/MacHu-GWU/aws_lbd_art_builder_uv-project/branch/main/graph/badge.svg
    :target: https://codecov.io/gh/MacHu-GWU/aws_lbd_art_builder_uv-project

.. image:: https://img.shields.io/pypi/v/aws-lbd-art-builder-uv.svg
    :target: https://pypi.python.org/pypi/aws-lbd-art-builder-uv

.. image:: https://img.shields.io/pypi/l/aws-lbd-art-builder-uv.svg
    :target: https://pypi.python.org/pypi/aws-lbd-art-builder-uv

.. image:: https://img.shields.io/pypi/pyversions/aws-lbd-art-builder-uv.svg
    :target: https://pypi.python.org/pypi/aws-lbd-art-builder-uv

.. image:: https://img.shields.io/badge/✍️_Release_History!--None.svg?style=social&logo=github
    :target: https://github.com/MacHu-GWU/aws_lbd_art_builder_uv-project/blob/main/release-history.rst

.. image:: https://img.shields.io/badge/⭐_Star_me_on_GitHub!--None.svg?style=social&logo=github
    :target: https://github.com/MacHu-GWU/aws_lbd_art_builder_uv-project

------

.. image:: https://img.shields.io/badge/Link-API-blue.svg
    :target: https://aws-lbd-art-builder-uv.readthedocs.io/en/latest/py-modindex.html

.. image:: https://img.shields.io/badge/Link-Install-blue.svg
    :target: `install`_

.. image:: https://img.shields.io/badge/Link-GitHub-blue.svg
    :target: https://github.com/MacHu-GWU/aws_lbd_art_builder_uv-project

.. image:: https://img.shields.io/badge/Link-Submit_Issue-blue.svg
    :target: https://github.com/MacHu-GWU/aws_lbd_art_builder_uv-project/issues

.. image:: https://img.shields.io/badge/Link-Request_Feature-blue.svg
    :target: https://github.com/MacHu-GWU/aws_lbd_art_builder_uv-project/issues

.. image:: https://img.shields.io/badge/Link-Download-blue.svg
    :target: https://pypi.org/pypi/aws-lbd-art-builder-uv#files


Welcome to ``aws_lbd_art_builder_uv`` Documentation
==============================================================================
.. image:: https://aws-lbd-art-builder-uv.readthedocs.io/en/latest/_static/aws_lbd_art_builder_uv-logo.png
    :target: https://aws-lbd-art-builder-uv.readthedocs.io/en/latest/

``aws_lbd_art_builder_uv`` is the **uv** backend for `aws_lbd_art_builder_core <https://github.com/MacHu-GWU/aws_lbd_art_builder_core-project>`_, providing automated AWS Lambda layer builds using `uv <https://docs.astral.sh/uv/>`_ as the package manager.

It offers two builders:

- **UvLambdaLayerLocalBuilder** — runs ``uv sync`` directly on the host machine. Fast, no Docker required. Best for pure-Python dependencies.
- **UvLambdaLayerContainerBuilder** — runs ``uv sync`` inside an `AWS SAM Docker image <https://gallery.ecr.aws/sam>`_ to produce Linux-compatible binaries. Required when your layer includes packages with C extensions (e.g. ``numpy``, ``pandas``).

Both builders follow a 4-step workflow: **Preflight Check → Prepare Environment → Execute Build → Finalize Artifacts**. The output is a ``artifacts/python/`` directory ready to be zipped and published as a Lambda layer. Combine with ``aws_lbd_art_builder_core``'s package, upload, and publish steps for a complete deployment pipeline.

Features:

- Reproducible builds via ``uv sync --frozen`` with lock files
- Private PyPI index support (e.g. AWS CodeArtifact) via credential injection
- Artifact validation — verify installed packages match ``pyproject.toml`` dependencies
- Pure-stdlib container script — no pip install needed inside the container


.. _install:

Install
------------------------------------------------------------------------------

``aws_lbd_art_builder_uv`` is released on PyPI, so all you need is to:

.. code-block:: console

    $ pip install aws-lbd-art-builder-uv

To upgrade to latest version:

.. code-block:: console

    $ pip install --upgrade aws-lbd-art-builder-uv
