mirror of
https://github.com/run-llama/llama_cloud_services.git
synced 2026-06-30 21:47:56 -04:00
more loudly deprecate ancient llama-parse package (#1111)
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
---
|
||||
"llama_parse": patch
|
||||
"llama-cloud-services-py": patch
|
||||
---
|
||||
|
||||
Add more warnings
|
||||
@@ -4,6 +4,16 @@
|
||||
|
||||
# Llama Cloud Services
|
||||
|
||||
> **⚠️ DEPRECATION NOTICE**
|
||||
>
|
||||
> This repository and its packages are deprecated and will be maintained until **May 1, 2026**.
|
||||
>
|
||||
> **Please migrate to the new packages:**
|
||||
> - **Python**: `pip install llama-cloud>=1.0` ([GitHub](https://github.com/run-llama/llama-cloud-py))
|
||||
> - **TypeScript**: `npm install @llamaindex/llama-cloud` ([GitHub](https://github.com/run-llama/llama-cloud-ts))
|
||||
>
|
||||
> The new packages provide the same functionality with improved performance, better support, and active development.
|
||||
|
||||
This repository contains the code for hand-written SDKs and clients for interacting with LlamaCloud.
|
||||
|
||||
This includes:
|
||||
|
||||
@@ -1,5 +1,15 @@
|
||||
# LlamaParse
|
||||
|
||||
> **⚠️ DEPRECATION NOTICE**
|
||||
>
|
||||
> This repository and its packages are deprecated and will be maintained until **May 1, 2026**.
|
||||
>
|
||||
> **Please migrate to the new packages:**
|
||||
> - **Python**: `pip install llama-cloud>=1.0` ([GitHub](https://github.com/run-llama/llama-cloud-py))
|
||||
> - **TypeScript**: `npm install @llamaindex/llama-cloud` ([GitHub](https://github.com/run-llama/llama-cloud-ts))
|
||||
>
|
||||
> The new packages provide the same functionality with improved performance, better support, and active development.
|
||||
|
||||
[](https://pypi.org/project/llama-parse/)
|
||||
[](https://github.com/run-llama/llama_parse/graphs/contributors)
|
||||
[](https://discord.gg/dGcwcsnxhU)
|
||||
|
||||
@@ -1,8 +1,18 @@
|
||||
from llama_cloud_services.parse import (
|
||||
import warnings
|
||||
from llama_cloud_services.parse import ( # type: ignore[attr-defined]
|
||||
LlamaParse,
|
||||
ResultType,
|
||||
ParsingMode,
|
||||
FailedPageMode,
|
||||
)
|
||||
|
||||
warnings.warn(
|
||||
"The 'llama-parse' package is deprecated and will no longer receive updates. "
|
||||
"Please migrate to the new unified SDK. "
|
||||
"See https://developers.llamaindex.ai/python/cloud/llamaparse/getting_started/ "
|
||||
"and https://github.com/run-llama/llama-cloud-py/blob/main/README.md for migration instructions.",
|
||||
DeprecationWarning,
|
||||
stacklevel=2,
|
||||
)
|
||||
|
||||
__all__ = ["LlamaParse", "ResultType", "ParsingMode", "FailedPageMode"]
|
||||
|
||||
Reference in New Issue
Block a user