semvec/pypi-packages huggingface dataset:
HandyLLM 0.10.0
A handy toolkit for using LLM.
Requires Python: >=3.8
Keywords: LLM, Large Language Model, Prompt, OpenAI, API

<div align="middle">
  <img src="https://raw.githubusercontent.com/atomiechen/HandyLLM/main/assets/banner.svg" />
  <p>
    🌟 <b>Support us!</b> <small>If you find HandyLLM useful, please consider <a href="https://github.com/atomiechen/HandyLLM">starring it</a> to help it spread and improve</small> 🌟
  </p>
</div><br>

# HandyLLM

[![GitHub](https://img.shields.io/badge/github-HandyLLM-blue?logo=github)][handyllm-github]
[![PyPI](https://img.shields.io/pypi/v/HandyLLM?logo=pypi&logoColor=white&color=brown)][pypi]
[![vsmarketplace](https://vsmarketplacebadges.dev/version-short/atomiechen.handyllm.svg)][vsmarketplace]
[![Open VSX Version](https://img.shields.io/open-vsx/v/atomiechen/handyllm)][openvsx]
[![sublimepackage](https://img.shields.io/github/v/tag/atomiechen/Sublime-HandyLLM?logo=sublimetext&label=ST%20Package)][sublime]
[![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/atomiechen/HandyLLM)

A handy toolkit for using LLM, with both ***development support ([Python][pypi])*** and ***editor support ([VSCode][vsmarketplace] • [VSCode Compatible Editors][openvsx] • [Sublime Text][sublime])***.



## 🙌 Why HandyLLM?

📃 **Handy Prompt**: self-containing prompt in a human-friendly mark-up format `.hprompt`. 

- **Easy write**: mark-up format, placeholder variables, request arguments, output logs... And most importantly syntax highlight!
- **Easy run**: both CLI and APIs available for parsing and running; run it with the CLI tool *WITHOUT* any code! 
- **Easy chain**: You can chain `hprompt` files to construct dynamic logic.

<p float="left" align="center">
  <img width="50%" alt="screenshot_vscode" src="https://raw.githubusercontent.com/atomiechen/vscode-handyllm/main/demo/example.png" />
  <img width="49%" alt="screenshot_st" src="https://github.com/user-attachments/assets/1649511d-67a5-4534-bcc4-8a654257dff5" />
</p>


**Other features:**

☯️ Unified API design with both sync and async support

🍡 OpenAI and Azure APIs all in one

☕️ Easy life with API endpoint management



## Installation

```shell
pip3 install handyllm
```

or, install from the Github repo to get latest updates:

```shell
pip3 install git+https://github.com/atomiechen/handyllm.git
```

For editor support, check the HandyLLM VSCode extension from [marketplace][vsmarketplace] or [Open VSX][openvsx], or the [Sublime Text Package][sublime].



## Documentation

Please check out our [wiki](https://github.com/atomiechen/HandyLLM/wiki) for comprehensive guides ^_^



## License

[HandyLLM][handyllm-github] © 2024 by [Atomie CHEN](https://github.com/atomiechen) is licensed under the MIT License - see the [LICENSE](https://github.com/atomiechen/HandyLLM/blob/main/LICENSE) file for details.


[handyllm-github]: https://github.com/atomiechen/HandyLLM
[pypi]: https://pypi.org/project/HandyLLM/
[vsmarketplace]: https://marketplace.visualstudio.com/items?itemName=atomiechen.handyllm
[sublime]: https://packagecontrol.io/packages/HandyLLM
[openvsx]: https://open-vsx.org/extension/atomiechen/handyllm
llm-agents-from-scratch 0.0.13
Build an LLM agent, equipped with MCP, from scratch.
Requires Python: >=3.10

# LLM Agents From Scratch

---------------------------------------------------------------------------------------
[![Linting](https://github.com/nerdai/llm-agents-from-scratch/actions/workflows/lint.yml/badge.svg)](https://github.com/nerdai/llm-agents-from-scratch/actions/workflows/lint.yml)
[![Unit Testing and Upload Coverage](https://github.com/nerdai/llm-agents-from-scratch/actions/workflows/unit_test.yml/badge.svg)](https://github.com/nerdai/llm-agents-from-scratch/actions/workflows/unit_test.yml)
[![codecov](https://codecov.io/gh/nerdai/llm-agents-from-scratch/graph/badge.svg?token=I1CXFJXEXK)](https://codecov.io/gh/nerdai/llm-agents-from-scratch)
[![DOI](https://zenodo.org/badge/1002134625.svg)](https://doi.org/10.5281/zenodo.15857308)
[![GitHub License](https://img.shields.io/github/license/nerdai/llm-agents-from-scratch)](https://github.com/nerdai/llm-agents-from-scratch/blob/main/LICENSE)
[![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/nerdai/llm-agents-from-scratch)

## Steps to follow along with the book

Clone the repository

```sh
# https
git clone git@github.com:nerdai/llm-agents-from-scratch.git

# ssh
git clone https://github.com/nerdai/llm-agents-from-scratch.git
```
memoryfn 0.0.1
Self-hostable AI memory system for agents and applications
Requires Python: >=3.10

# MemoryFn Python SDK

> Self-hostable AI memory system for agents and applications

## Installation

```bash
pip install memoryfn
```

## Usage

```python
import asyncio
from memoryfn import MemoryFn, Config

async def main():
    memory = MemoryFn(Config(
        storage_url="postgresql://user:pass@localhost:5432/memoryfn",
        openai_api_key="sk-..."
    ))

    # Add memory
    await memory.add(
        content="User prefers dark mode",
        container_tags=["user:alice"],
        type="profile_static"
    )

    # Search
    results = await memory.search(
        q="preferences",
        container_tags=["user:alice"]
    )
    
    print(results)

if __name__ == "__main__":
    asyncio.run(main())
```