ldp

View on PyPIReverse Dependencies (5)

0.26.0 ldp-0.26.0-py3-none-any.whl

Wheel Details

Project: ldp
Version: 0.26.0
Filename: ldp-0.26.0-py3-none-any.whl
Download: [link]
Size: 135573
MD5: 595d090a1b643633b82574a820dda4df
SHA256: 5f33c4d5e75821d3cc4dafa70704a676abd95ee6e097ed050c8e0039e2bb0d9c
Uploaded: 2025-03-07 00:18:39 +0000

dist-info

METADATA

Metadata-Version: 2.2
Name: ldp
Version: 0.26.0
Summary: Agent framework for constructing language model agents and training on constructive tasks.
Author-Email: FutureHouse technical staff <hello[at]futurehouse.org>
Project-Url: issues, https://github.com/Future-House/ldp/issues
Project-Url: repository, https://github.com/Future-House/ldp
License: Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and (b) You must cause any modified files to carry prominent notices stating that You changed the files; and (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. END OF TERMS AND CONDITIONS APPENDIX: How to apply the Apache License to your work. To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. Copyright 2025 FutureHouse Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python
Requires-Python: >=3.11
Requires-Dist: aiofiles
Requires-Dist: dm-tree
Requires-Dist: fhaviary (>=0.18.2)
Requires-Dist: fhlmi
Requires-Dist: httpx
Requires-Dist: networkx[default] (~=3.4)
Requires-Dist: numpy (>=1.20)
Requires-Dist: pydantic (~=2.0)
Requires-Dist: tenacity
Requires-Dist: tiktoken
Requires-Dist: tqdm
Requires-Dist: typing-extensions; python_version <= "3.11"
Requires-Dist: usearch (>=2.13)
Requires-Dist: fhaviary[xml] (>=0.17); extra == "dev"
Requires-Dist: ipython (>=8); extra == "dev"
Requires-Dist: ldp[monitor,nn,rich,server,typing,visualization]; extra == "dev"
Requires-Dist: litellm (>=1.52.15); extra == "dev"
Requires-Dist: mypy (>=1.8); extra == "dev"
Requires-Dist: pre-commit (>=3.4); extra == "dev"
Requires-Dist: pydantic (~=2.9); extra == "dev"
Requires-Dist: pylint-pydantic; extra == "dev"
Requires-Dist: pylint (>=3.2); extra == "dev"
Requires-Dist: pytest-asyncio; extra == "dev"
Requires-Dist: pytest-mock; extra == "dev"
Requires-Dist: pytest-recording; extra == "dev"
Requires-Dist: pytest-rerunfailures; extra == "dev"
Requires-Dist: pytest-subtests; extra == "dev"
Requires-Dist: pytest-sugar; extra == "dev"
Requires-Dist: pytest-timer[colorama]; extra == "dev"
Requires-Dist: pytest-xdist; extra == "dev"
Requires-Dist: pytest (>=8); extra == "dev"
Requires-Dist: refurb (>=2); extra == "dev"
Requires-Dist: vcrpy (>=6); extra == "dev"
Requires-Dist: wandb; extra == "monitor"
Requires-Dist: accelerate; extra == "nn"
Requires-Dist: dask-cuda (>=24.8.2); extra == "nn"
Requires-Dist: dask-jobqueue; extra == "nn"
Requires-Dist: dask[distributed]; extra == "nn"
Requires-Dist: tokenizers (>0.20); extra == "nn"
Requires-Dist: torch (<2.7,>=2.5); extra == "nn"
Requires-Dist: transformers (>=4.46); extra == "nn"
Requires-Dist: wandb; extra == "nn"
Requires-Dist: rich; extra == "rich"
Requires-Dist: tqdm (>=4.56); extra == "rich"
Requires-Dist: fastapi (>=0.109); extra == "server"
Requires-Dist: types-aiofiles; extra == "typing"
Requires-Dist: types-tqdm; extra == "typing"
Requires-Dist: pydot (>=3.0.1); extra == "visualization"
Provides-Extra: dev
Provides-Extra: monitor
Provides-Extra: nn
Provides-Extra: rich
Provides-Extra: server
Provides-Extra: typing
Provides-Extra: visualization
Description-Content-Type: text/markdown
License-File: LICENSE
[Description omitted; length: 6959 characters]

WHEEL

Wheel-Version: 1.0
Generator: setuptools (75.8.2)
Root-Is-Purelib: true
Tag: py3-none-any

RECORD

Path Digest Size
ldp/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
ldp/data_structures.py sha256=PG9bfYdfn3wWZokGLjd5hZhpn8T922ojHRD5gH4gc6I 17536
ldp/main.py sha256=c4NPPrWhFciMNZjlagDLoiFlm9_PqaGMAOnK6MvAwj0 2015
ldp/py.typed sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
ldp/shims.py sha256=Cpse_XhgIhmsEZZ4m6iZV7wooTrVpiD8HIiQzvuzFhA 674
ldp/utils.py sha256=-BZ7wQRDp28xKaUFjuZl7aU6TMBIHk_tGcEgclTIcOc 3843
ldp/version.py sha256=_miMnU2PsP_GmCF8QFy3Q2YZkkiO7EeS0FWOLi9Vn08 513
ldp/agent/__init__.py sha256=IEK1mITEIMyLuD-C8LmXZyhnJynF9WQ96wYlZIIGYi0 789
ldp/agent/agent.py sha256=ZS8__ekf__ts6msuRhHDhcZax9RX_2va4lNvbhRzIXs 6246
ldp/agent/agent_client.py sha256=qSTu_iXr8RrdmFEv7cFaqysOHGXMK7p35ABPQs1thlc 5680
ldp/agent/interactive_agent.py sha256=1ax8AhOn6-nXDHfe0WgIh-VS9xMoGKVLZlZWAIFT0DI 4801
ldp/agent/memory_agent.py sha256=A_FWtECzcSEC42x557hWXoyiUBmZb6xHsOnYlk-FheU 4809
ldp/agent/react_agent.py sha256=9KaAvvJ13N_3QDbb5uLPitbG57T_F0LLJF5AnAyrlYg 6852
ldp/agent/simple_agent.py sha256=MfF2MFpOCvhkDuvhR-10dYRfi2w6PLZ3KntRc6HPRrI 6934
ldp/agent/tree_of_thoughts_agent.py sha256=V9StqCJMxZUupHVp1lDjEtw1LGX4-zSM04OLHL-0vVA 6408
ldp/alg/__init__.py sha256=Leha0HVweBq6rV9I4esjDNRV5kf16hlGOBqCiL6w4R0 1421
ldp/alg/algorithms.py sha256=IMrAPhxibWeBpguwipUiuBtb1HXJm2PDmCLSWdc1XUo 11266
ldp/alg/beam_search.py sha256=3qGXEzhle3iW_-qP4yG5i1WVeummULccuKILAt6Jn_g 9092
ldp/alg/callbacks.py sha256=jQ4OVIyAdV2gsXcWGtOYqs75nUiCP0sO1HWgSmlKg5A 20568
ldp/alg/datasets.py sha256=cFiC9QiS2VmuZ_8l6uOAvfnDwvkYMgT4RpAgD0087MQ 321
ldp/alg/rollout.py sha256=4cpEkj6e40jSRaBPFbFgdpzvbIB7KDy5n6OAH6X7hIA 11054
ldp/alg/runners.py sha256=aEpNdNshJ4gUXmjBLQxfjnLdYHtedb2ZKrH6kiS1ph0 13982
ldp/alg/tree_search.py sha256=MFxs4URzEY3UMgOsxv2iCNRb0AzWC9KmzuNNkkEXJp8 5991
ldp/alg/optimizer/__init__.py sha256=iUbaBuVNNgLI3fZxyCewnJVgvbAA0BPkIJMrkl4X2RU 2878
ldp/alg/optimizer/ape.py sha256=jOdKVKGsFh9s9uvxbjnI27M7-YvbBH_CwUon7d5e1kI 11241
ldp/alg/optimizer/memory.py sha256=sQKtm_9duGMu0Tax93JdHpEIWXOKjLpoGQ2IKmx2j9Q 5621
ldp/alg/optimizer/opt.py sha256=Hd-yJPKvHmyH49WyKri2PijFQOXqKGj_BHmkO0i7ZNg 1931
ldp/alg/optimizer/replay_buffers.py sha256=5bLaFBXn_YZS5nIZ5TpVTRv3GYXC5QvqfHlASkQdM-Q 7463
ldp/graph/__init__.py sha256=F-TBxohuCFv8bysKd9hbwNXEtOFJigyGbWCyUwD6I8U 809
ldp/graph/async_torch.py sha256=wYA6w7wV9SAf3rSYDGsknjuYDaqyrFBplLOK_rBItT8 7827
ldp/graph/common_ops.py sha256=BgrkSDJivSb0J83J1ZQU9gkz6JeAP5naBqv6y-lrKs0 17174
ldp/graph/gradient_estimators.py sha256=x-GVXvP6tGtTaECh36c4w5SlT-RiakVDQXXLCZXhgY4 8120
ldp/graph/loss_ops.py sha256=1ISIem1WwOnWo03p4hnLqrKrztIP-jLwcV27WLA4fHY 854
ldp/graph/memory.py sha256=Lt5TanYMvmam-g_FAxlxwkSmP_KIgQC_44lXwl3Wlv4 6626
ldp/graph/op_utils.py sha256=SrABIpqJAhvQhq3bGSOURb58XHRwjSUb7inP0FzJvl0 4814
ldp/graph/ops.py sha256=vsYDjjP-m6UhE8Mo2RSurn1ZdXbDhjn7EymaYnhPP20 22759
ldp/graph/torch_ops.py sha256=MN_2vvT0I4_LqnRANoCbNsHejoFgR38ZDGIzVf1mab0 4895
ldp/graph/modules/__init__.py sha256=W60Bib58E0Y8-xj6YXJRYseNDAQQAc-rGYjx8j1Yugo 607
ldp/graph/modules/llm_call.py sha256=WY_6Qpsg8Zscxe0ZzXNG-L9t1wZbiuUs14mMz5Qq2C4 1027
ldp/graph/modules/react.py sha256=vxbjryZuZYcKyfGRqwHANt15yEy9e4D58Iug_b-iIcY 13982
ldp/graph/modules/reflect.py sha256=arVPDCnd3GW7l-bXFDUKJOGXggAYRywseRE582gL5S0 2192
ldp/graph/modules/thought.py sha256=tKvBf2uyz4IiOsg3f_dNY84puqCetLUzPcW5D8fm4F0 1603
ldp/llms/__init__.py sha256=nYHFWJz8Q1YvaOjHIV7hsG2bM9xZPOiP2xLoBuKL8Tg 850
ldp/llms/prompts.py sha256=tVFIcJ8EBcr5VEp7puwLaxgp7R7OnxYpMZ_XSiRPTKc 3712
ldp/nn/__init__.py sha256=KrjHlhuCRWn-5moD05Ia1-i_zD6bBUGLtueuQkP32b4 1143
ldp/nn/lm_config.py sha256=dOoelSamYJVK5DOECcTk0v0klGiyAwpW8lVWyCYeHWk 6678
ldp/nn/utils.py sha256=8OezJY9XdoAbjlhYJQYtjrfI1FY75qa26ocRPskXjq8 325
ldp/nn/agent/simple_local_agent.py sha256=k13LGS8p_ZQluqyDkx9XukcTsmUWlocR9soe8rY5J9I 6068
ldp/nn/chat_templates/README.md sha256=U52Ndyl-8kupzMCPCqLQiYCbBARCH_cuHP6IFW07iCk 554
ldp/nn/chat_templates/llama2_chat_template_ori.jinja sha256=mxZGNmEP_IqNsHA6BaIsUcsg24j-ZCtgasFjOls4eaM 964
ldp/nn/chat_templates/llama3.1_chat_template_hf.jinja sha256=4QyjgbHMxc-dtS43HztmUVdsruCmMLRS4oFrLUBNS2U 4614
ldp/nn/chat_templates/llama3.1_chat_template_nothought.jinja sha256=oAaeLPqM5aG7KyVkka1dzaxTZLU5WuCh3SM3sFks_us 4939
ldp/nn/chat_templates/llama3.1_chat_template_thought.jinja sha256=piyZG_ZyHhaQyP0IxqJkERVxAuC73bO-nFigGG2UEKo 5089
ldp/nn/chat_templates/llama3.1_chat_template_vllm.jinja sha256=iu3QX3q1SbiXuSnInam2LlN_T0GX8zc26dLxD-pTsb8 5255
ldp/nn/chat_templates/llama3_chat_template_ori.jinja sha256=MZWGxF8ZXQ6HjBnhSK2qG4V2Y4zgPtrGn3X5VxDLwjU 5092
ldp/nn/generation/__init__.py sha256=EMhtCZ1yDw31SViBxTtCoFKzFpJGUQwOBNhkq-t9GS0 96
ldp/nn/generation/base.py sha256=EkJ-HOICqrOevwG0ftIu11cpFoPN7Y1rxNCNmc3DSf0 463
ldp/nn/graph/llm_call_op.py sha256=giDP80ZusekOO6rYXHxlW4vh3hXi0ovuQlFGR75jCps 7243
ldp/nn/handlers/chunking.py sha256=KF__KJtLH1cZ9ecxA-MGF8wEzd12BOVrpnO0ZqABH24 7656
ldp/nn/handlers/module_handler.py sha256=-oZD0a1YK5gojIYgZcNJlEgHnfH9SfuPUp3sl_Ne6bc 4583
ldp/nn/handlers/transformer_handler.py sha256=NTi-q57uxkpDn1NMwpd0-eNMuMbz8lshu0PAQPkQljQ 40193
ldp-0.26.0.dist-info/LICENSE sha256=o8xIgwysZYyaoH7fy1w8An4e2c1q7S_lTJR0QGDoC68 11341
ldp-0.26.0.dist-info/METADATA sha256=4ZGHdLdUYvvFRoxPBCtPFfDDORqKraMCGrIzGlmoUpM 22794
ldp-0.26.0.dist-info/WHEEL sha256=jB7zZ3N9hIM9adW7qlTAyycLYW9npaWKLRzaoVcLKcM 91
ldp-0.26.0.dist-info/top_level.txt sha256=MYfyZyMZ5HT7yA_CA0JpIUgQCGMVXfsz18aQxEekmaQ 4
ldp-0.26.0.dist-info/RECORD

top_level.txt

ldp