llama-cloud0.1.42
llama-cloud0.1.42
Published
pip install llama-cloud
Package Downloads
Authors
Requires Python
<4,>=3.8
Dependencies
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
Command | Description |
---|---|
make setup | Set up development environment (first time only) |
make help | Show all available commands |
make build | Build the package |
make test | Build, install locally, and run comprehensive tests |
make publish | Test and publish to PyPI (with confirmation) |
make release | Complete release workflow (clean → build → test → publish) |
make clean | Clean build artifacts |
make setup-credentials | Set up PyPI credentials (one-time setup) |
Release Process
First time setup:
make setup # Set up development environment
For each release:
- Update version in
pyproject.toml
- 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