llm-claude-3


Namellm-claude-3 JSON
Version 0.3 PyPI version JSON
download
home_page
SummaryLLM access to Claude 3 by Anthropic
upload_time2024-03-13 21:09:47
maintainer
docs_urlNone
authorSimon Willison
requires_python
licenseApache-2.0
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # llm-claude-3

[![PyPI](https://img.shields.io/pypi/v/llm-claude-3.svg)](https://pypi.org/project/llm-claude-3/)
[![Changelog](https://img.shields.io/github/v/release/simonw/llm-claude-3?include_prereleases&label=changelog)](https://github.com/simonw/llm-claude-3/releases)
[![Tests](https://github.com/simonw/llm-claude-3/actions/workflows/test.yml/badge.svg)](https://github.com/simonw/llm-claude-3/actions/workflows/test.yml)
[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://github.com/simonw/llm-claude-3/blob/main/LICENSE)

LLM access to Claude 3 by Anthropic

## Installation

Install this plugin in the same environment as [LLM](https://llm.datasette.io/).
```bash
llm install llm-claude-3
```
## Usage

First, set an API key for Claude 3:
```bash
llm keys set claude
# Paste key here
```

Run `llm models` to list the models, and `llm models --options` to include a list of their options.

Run prompts like this:
```bash
llm -m claude-3-opus 'Fun facts about pelicans'
llm -m claude-3-sonnet 'Fun facts about walruses'
llm -m claude-3-haiku 'Fun facts about armadillos'
```

## Development

To set up this plugin locally, first checkout the code. Then create a new virtual environment:
```bash
cd llm-claude-3
python3 -m venv venv
source venv/bin/activate
```
Now install the dependencies and test dependencies:
```bash
llm install -e '.[test]'
```
To run the tests:
```bash
pytest
```

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "llm-claude-3",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "",
    "author": "Simon Willison",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/46/be/001a622698c7f57a4f87018afe77c2be79e90ca6b030bb3c88fba17b43db/llm-claude-3-0.3.tar.gz",
    "platform": null,
    "description": "# llm-claude-3\n\n[![PyPI](https://img.shields.io/pypi/v/llm-claude-3.svg)](https://pypi.org/project/llm-claude-3/)\n[![Changelog](https://img.shields.io/github/v/release/simonw/llm-claude-3?include_prereleases&label=changelog)](https://github.com/simonw/llm-claude-3/releases)\n[![Tests](https://github.com/simonw/llm-claude-3/actions/workflows/test.yml/badge.svg)](https://github.com/simonw/llm-claude-3/actions/workflows/test.yml)\n[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://github.com/simonw/llm-claude-3/blob/main/LICENSE)\n\nLLM access to Claude 3 by Anthropic\n\n## Installation\n\nInstall this plugin in the same environment as [LLM](https://llm.datasette.io/).\n```bash\nllm install llm-claude-3\n```\n## Usage\n\nFirst, set an API key for Claude 3:\n```bash\nllm keys set claude\n# Paste key here\n```\n\nRun `llm models` to list the models, and `llm models --options` to include a list of their options.\n\nRun prompts like this:\n```bash\nllm -m claude-3-opus 'Fun facts about pelicans'\nllm -m claude-3-sonnet 'Fun facts about walruses'\nllm -m claude-3-haiku 'Fun facts about armadillos'\n```\n\n## Development\n\nTo set up this plugin locally, first checkout the code. Then create a new virtual environment:\n```bash\ncd llm-claude-3\npython3 -m venv venv\nsource venv/bin/activate\n```\nNow install the dependencies and test dependencies:\n```bash\nllm install -e '.[test]'\n```\nTo run the tests:\n```bash\npytest\n```\n",
    "bugtrack_url": null,
    "license": "Apache-2.0",
    "summary": "LLM access to Claude 3 by Anthropic",
    "version": "0.3",
    "project_urls": {
        "CI": "https://github.com/simonw/llm-claude-3/actions",
        "Changelog": "https://github.com/simonw/llm-claude-3/releases",
        "Homepage": "https://github.com/simonw/llm-claude-3",
        "Issues": "https://github.com/simonw/llm-claude-3/issues"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "bb7bc32053b853c2fc6dad705064a942a6b81566ca867bd0e5ac4c28d1093ce6",
                "md5": "e478f99a69fa823c6c3e36893d688e37",
                "sha256": "c7bd1ca94f012137a1c002dff84f34735028b02123003a68ad1ebcc1cf5ab8a5"
            },
            "downloads": -1,
            "filename": "llm_claude_3-0.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "e478f99a69fa823c6c3e36893d688e37",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 8034,
            "upload_time": "2024-03-13T21:09:45",
            "upload_time_iso_8601": "2024-03-13T21:09:45.712248Z",
            "url": "https://files.pythonhosted.org/packages/bb/7b/c32053b853c2fc6dad705064a942a6b81566ca867bd0e5ac4c28d1093ce6/llm_claude_3-0.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "46be001a622698c7f57a4f87018afe77c2be79e90ca6b030bb3c88fba17b43db",
                "md5": "2e40208ebff1bca6e99e4dff24e52207",
                "sha256": "82cdbb74cf0992403aacf8dc68c0c1289c5cd667b752138de9bf059753bc5ac6"
            },
            "downloads": -1,
            "filename": "llm-claude-3-0.3.tar.gz",
            "has_sig": false,
            "md5_digest": "2e40208ebff1bca6e99e4dff24e52207",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 7922,
            "upload_time": "2024-03-13T21:09:47",
            "upload_time_iso_8601": "2024-03-13T21:09:47.222999Z",
            "url": "https://files.pythonhosted.org/packages/46/be/001a622698c7f57a4f87018afe77c2be79e90ca6b030bb3c88fba17b43db/llm-claude-3-0.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-13 21:09:47",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "simonw",
    "github_project": "llm-claude-3",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "llm-claude-3"
}
        
Elapsed time: 0.18505s