easy-letters


Nameeasy-letters JSON
Version 0.1.8 PyPI version JSON
download
home_pagehttps://github.com/habedi/easy-letters
SummaryA Python package for generating draft application letters using generative AI
upload_time2024-07-19 15:43:17
maintainerNone
docs_urlNone
authorHassan Abedi
requires_python<4.0,>=3.10
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Easy Letters

[![Tests](https://github.com/habedi/easy-letters/actions/workflows/tests.yml/badge.svg)](https://github.com/habedi/easy-letters/actions/workflows/tests.yml)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![PyPI version](https://badge.fury.io/py/easy-letters.svg)](https://badge.fury.io/py/easy-letters)
[![Downloads](https://pepy.tech/badge/easy-letters)](https://pepy.tech/project/easy-letters)

Easy Letters is a Python package that helps job seekers write application letters. A simple retrieval
augmented generation (RAG) pipeline is used to generate the letters. The user can then edit the draft letter to suit
their needs.

See the `notebooks/README.md` file for how easy letters works.

## Installation

You can install Easy Letters using pip:

```bash
pip install easy-letters
```

## Getting Started

### API Key Setup

At the moment, Easy Letters gets the API key for supported services from the environment variables.
So you need to set the following environment variables to be able to use Easy Letters:

- `OPENAI_API_KEY`: The OpenAI API key (required)

### Sample Notebooks

You can find Jupyter notebooks with example code in the `notebooks` directory.
The notebooks demonstrate how to use Easy Letters to generate application letter drafts.

### Supported Models

Easy Letters currently supports the following models:

| Model                            | Type            |
|----------------------------------|-----------------|
| GPT-3.5 Turbo                    | Text Generation |
| GPT-4 Turbo                      | Text Generation |
| GPT-4o                           | Text Generation |
| GPT-4o Mini                      | Text Generation |
| Text Embedding 3 (Small Variant) | Text Embedding  |
| Text Embedding 3 (Large Variant) | Text Embedding  |

### Installing from Source

You can also install Easy Letters from the source code in this repository. The main benefit of this approach is that
you might find it easier to run the sample notebooks and modify the code as you wish this way.

After cloning this repository, you can navigate to the `easy-letters` directory and install the
dependencies using [Poetry](https://python-poetry.org/):

```bash
git clone https://github.com/habedi/easy-letters.git && cd easy-letters

# Assuming you have Poetry installed on your system
poetry install --with dev
```

## TODO

- [ ] Add support for Anthropic models and API
- [ ] Add support for locally served models via Ollama

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/habedi/easy-letters",
    "name": "easy-letters",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.10",
    "maintainer_email": null,
    "keywords": null,
    "author": "Hassan Abedi",
    "author_email": "hassan.abedi.t@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/e3/90/29fda9da8cbeb854c57727133f1a1ee30901f4c64cb82043e87d8a57c3a6/easy_letters-0.1.8.tar.gz",
    "platform": null,
    "description": "# Easy Letters\n\n[![Tests](https://github.com/habedi/easy-letters/actions/workflows/tests.yml/badge.svg)](https://github.com/habedi/easy-letters/actions/workflows/tests.yml)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n[![PyPI version](https://badge.fury.io/py/easy-letters.svg)](https://badge.fury.io/py/easy-letters)\n[![Downloads](https://pepy.tech/badge/easy-letters)](https://pepy.tech/project/easy-letters)\n\nEasy Letters is a Python package that helps job seekers write application letters. A simple retrieval\naugmented generation (RAG) pipeline is used to generate the letters. The user can then edit the draft letter to suit\ntheir needs.\n\nSee the `notebooks/README.md` file for how easy letters works.\n\n## Installation\n\nYou can install Easy Letters using pip:\n\n```bash\npip install easy-letters\n```\n\n## Getting Started\n\n### API Key Setup\n\nAt the moment, Easy Letters gets the API key for supported services from the environment variables.\nSo you need to set the following environment variables to be able to use Easy Letters:\n\n- `OPENAI_API_KEY`: The OpenAI API key (required)\n\n### Sample Notebooks\n\nYou can find Jupyter notebooks with example code in the `notebooks` directory.\nThe notebooks demonstrate how to use Easy Letters to generate application letter drafts.\n\n### Supported Models\n\nEasy Letters currently supports the following models:\n\n| Model                            | Type            |\n|----------------------------------|-----------------|\n| GPT-3.5 Turbo                    | Text Generation |\n| GPT-4 Turbo                      | Text Generation |\n| GPT-4o                           | Text Generation |\n| GPT-4o Mini                      | Text Generation |\n| Text Embedding 3 (Small Variant) | Text Embedding  |\n| Text Embedding 3 (Large Variant) | Text Embedding  |\n\n### Installing from Source\n\nYou can also install Easy Letters from the source code in this repository. The main benefit of this approach is that\nyou might find it easier to run the sample notebooks and modify the code as you wish this way.\n\nAfter cloning this repository, you can navigate to the `easy-letters` directory and install the\ndependencies using [Poetry](https://python-poetry.org/):\n\n```bash\ngit clone https://github.com/habedi/easy-letters.git && cd easy-letters\n\n# Assuming you have Poetry installed on your system\npoetry install --with dev\n```\n\n## TODO\n\n- [ ] Add support for Anthropic models and API\n- [ ] Add support for locally served models via Ollama\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "A Python package for generating draft application letters using generative AI",
    "version": "0.1.8",
    "project_urls": {
        "Homepage": "https://github.com/habedi/easy-letters",
        "Repository": "https://github.com/habedi/easy-letters"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "1a5d69ab5f41ab409813fe8f8eefbe85c0b2a5622c0697833ccc826d26e95c19",
                "md5": "9cb15df4c36c58a188f3577dc9a1bfc7",
                "sha256": "b5829a6bf9b8da00ed16c45f680ed4986ae9f741373189d48c4b3500752689dd"
            },
            "downloads": -1,
            "filename": "easy_letters-0.1.8-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "9cb15df4c36c58a188f3577dc9a1bfc7",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.10",
            "size": 7223,
            "upload_time": "2024-07-19T15:43:16",
            "upload_time_iso_8601": "2024-07-19T15:43:16.633375Z",
            "url": "https://files.pythonhosted.org/packages/1a/5d/69ab5f41ab409813fe8f8eefbe85c0b2a5622c0697833ccc826d26e95c19/easy_letters-0.1.8-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e39029fda9da8cbeb854c57727133f1a1ee30901f4c64cb82043e87d8a57c3a6",
                "md5": "9daf1e6244ad172dddada15977ccdd89",
                "sha256": "a3ebfe9e65decec3c17dcb26aa2be0f2867271507052158d89cdf9bfa95495ec"
            },
            "downloads": -1,
            "filename": "easy_letters-0.1.8.tar.gz",
            "has_sig": false,
            "md5_digest": "9daf1e6244ad172dddada15977ccdd89",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.10",
            "size": 4415,
            "upload_time": "2024-07-19T15:43:17",
            "upload_time_iso_8601": "2024-07-19T15:43:17.793827Z",
            "url": "https://files.pythonhosted.org/packages/e3/90/29fda9da8cbeb854c57727133f1a1ee30901f4c64cb82043e87d8a57c3a6/easy_letters-0.1.8.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-07-19 15:43:17",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "habedi",
    "github_project": "easy-letters",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "easy-letters"
}
        
Elapsed time: 0.35570s