Oven logo

Oven

Published

pip install llama-cloud

Package Downloads

Weekly DownloadsMonthly Downloads

Requires Python

<4,>=3.8

LlamaIndex Python Client

This client is auto-generated using Fern

Setup

Before testing or releasing, ensure you have the development environment set up:

# Install Poetry (if not already installed)
curl -sSL https://install.python-poetry.org | python3 -

# Install project dependencies
poetry install

# Verify setup
poetry --version
python --version

Quick Start

# Set up development environment (first time only)
make setup

# See all available commands
make help

# Test before releasing
make test

# Complete release workflow  
make release

Commands

CommandDescription
make setupSet up development environment (first time only)
make helpShow all available commands
make buildBuild the package
make testBuild, install locally, and run comprehensive tests
make publishTest and publish to PyPI (with confirmation)
make releaseComplete release workflow (clean → build → test → publish)
make cleanClean build artifacts
make setup-credentialsSet up PyPI credentials (one-time setup)

Release Process

First time setup:

make setup  # Set up development environment

For each release:

  1. Update version in pyproject.toml
  2. Run release workflow:
    make release
    

That's it! The Makefile handles building, testing, and publishing with safety checks.

Manual Steps (if needed)

Expand for manual commands

Build and test manually:

poetry build
pip install --force-reinstall dist/llama_cloud-*-py3-none-any.whl
python test_local_build.py

Setup credentials manually:

poetry config pypi-token.pypi <your-token>

Get token from 1Password