llm-fireworks


Namellm-fireworks JSON
Version 0.1a0 PyPI version JSON
download
home_pageNone
SummaryAccess fireworks.ai models via API
upload_time2024-04-18 23:30:07
maintainerNone
docs_urlNone
authorSimon Willison
requires_pythonNone
licenseApache-2.0
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # llm-fireworks

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

Access [fireworks.ai](https://fireworks.ai/) models via API

## Installation

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

Obtain a [Fireworks API key](https://fireworks.ai/api-keys) and save it like this:

```bash
llm keys set fireworks
# <Paste key here>
```
Run `llm models` to get a list of models.

Run prompts like this:
```bash
llm -m fireworks/models/llama-v3-70b-instruct 'five great names for a pet ocelot'
```

## Development

To set up this plugin locally, first checkout the code. Then create a new virtual environment:
```bash
cd llm-fireworks
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": null,
    "name": "llm-fireworks",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": null,
    "author": "Simon Willison",
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/b7/3f/68f5c9e6a7bf4f2df4ee9c43132bd899a5950b8fddc955213e922eddbf9a/llm_fireworks-0.1a0.tar.gz",
    "platform": null,
    "description": "# llm-fireworks\n\n[![PyPI](https://img.shields.io/pypi/v/llm-fireworks.svg)](https://pypi.org/project/llm-fireworks/)\n[![Changelog](https://img.shields.io/github/v/release/simonw/llm-fireworks?include_prereleases&label=changelog)](https://github.com/simonw/llm-fireworks/releases)\n[![Tests](https://github.com/simonw/llm-fireworks/actions/workflows/test.yml/badge.svg)](https://github.com/simonw/llm-fireworks/actions/workflows/test.yml)\n[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://github.com/simonw/llm-fireworks/blob/main/LICENSE)\n\nAccess [fireworks.ai](https://fireworks.ai/) models via API\n\n## Installation\n\nInstall this plugin in the same environment as [LLM](https://llm.datasette.io/).\n```bash\nllm install llm-fireworks\n```\n## Usage\n\nObtain a [Fireworks API key](https://fireworks.ai/api-keys) and save it like this:\n\n```bash\nllm keys set fireworks\n# <Paste key here>\n```\nRun `llm models` to get a list of models.\n\nRun prompts like this:\n```bash\nllm -m fireworks/models/llama-v3-70b-instruct 'five great names for a pet ocelot'\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-fireworks\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": "Access fireworks.ai models via API",
    "version": "0.1a0",
    "project_urls": {
        "CI": "https://github.com/simonw/llm-fireworks/actions",
        "Changelog": "https://github.com/simonw/llm-fireworks/releases",
        "Homepage": "https://github.com/simonw/llm-fireworks",
        "Issues": "https://github.com/simonw/llm-fireworks/issues"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7509bc5c289188bf72c54085741bc29aeaf98186d6bb2c72fa0924cd512d6f9c",
                "md5": "f482c4d5f412120f2c266f5950eefd9d",
                "sha256": "a538559fd4f01f25d47e3c09d8b32fe2cb33f5c765ccefe73b53fed3ae6f62ad"
            },
            "downloads": -1,
            "filename": "llm_fireworks-0.1a0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "f482c4d5f412120f2c266f5950eefd9d",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 7096,
            "upload_time": "2024-04-18T23:30:06",
            "upload_time_iso_8601": "2024-04-18T23:30:06.553000Z",
            "url": "https://files.pythonhosted.org/packages/75/09/bc5c289188bf72c54085741bc29aeaf98186d6bb2c72fa0924cd512d6f9c/llm_fireworks-0.1a0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b73f68f5c9e6a7bf4f2df4ee9c43132bd899a5950b8fddc955213e922eddbf9a",
                "md5": "e72dbcc11b1d6a003d2271db41302fa8",
                "sha256": "972f227885e35bc43768dc4b1a8dc15a18794e9672f0cf322a44a545ef3fb6c2"
            },
            "downloads": -1,
            "filename": "llm_fireworks-0.1a0.tar.gz",
            "has_sig": false,
            "md5_digest": "e72dbcc11b1d6a003d2271db41302fa8",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 6704,
            "upload_time": "2024-04-18T23:30:07",
            "upload_time_iso_8601": "2024-04-18T23:30:07.606313Z",
            "url": "https://files.pythonhosted.org/packages/b7/3f/68f5c9e6a7bf4f2df4ee9c43132bd899a5950b8fddc955213e922eddbf9a/llm_fireworks-0.1a0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-18 23:30:07",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "simonw",
    "github_project": "llm-fireworks",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "llm-fireworks"
}
        
Elapsed time: 1.14917s