Skip to main content

Access deepseek.com models via API

Project description

llm-deepseek

PyPI Changelog Tests License

Access deepseek.com models via API

Installation

Install this plugin in the same environment as LLM.

llm install llm-deepseek

Usage

Obtain a DeepSeek API key and save it like this:

llm keys set deepseek
# <Paste key here>

Run llm models to get a list of models.

Run prompts like this:

llm -m deepseek-chat 'five great names for a pet ocelot'
llm -m deepseek-reasoner 'solve \\int \\frac{\\ln(x)\\arctan(x)}{x^2+1} dx'
llm -m deepseek-coder 'how to reverse a linked list in python'

Development

To set up this plugin locally, first checkout the code. Then create a new virtual environment:

cd llm-deepseek
python3 -m venv venv
source venv/bin/activate

Now install the dependencies and test dependencies:

llm install -e '.[test]'

To run the tests:

pytest

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

llm_deepseek-0.1.6.tar.gz (6.6 kB view details)

Uploaded Source

Built Distribution

llm_deepseek-0.1.6-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

Details for the file llm_deepseek-0.1.6.tar.gz.

File metadata

  • Download URL: llm_deepseek-0.1.6.tar.gz
  • Upload date:
  • Size: 6.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for llm_deepseek-0.1.6.tar.gz
Algorithm Hash digest
SHA256 87a7b4e8c61098a5e4a393feabb0a7427e71eb4fa28a7a3ed5960d7e37df8b83
MD5 4b1fe3181056a88d62c2de6054594eef
BLAKE2b-256 ba5322d7e15f221d8eda25dc20bc02871ac9cbcf01332ed78944d8da44fe9bc8

See more details on using hashes here.

Provenance

The following attestation bundles were made for llm_deepseek-0.1.6.tar.gz:

Publisher: publish.yml on abrasumente233/llm-deepseek

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file llm_deepseek-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: llm_deepseek-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 6.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for llm_deepseek-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 2a5f40db136cc134f5c9eb42e85a63b8e200b95619e243ebf65e5a1b0f68f0f5
MD5 98f0fe0112784532f79c5822ea6f1bd8
BLAKE2b-256 b125c4313d0455aa36f04284771a0ba3b12c2c0e56ea6431f0c7472810265ad7

See more details on using hashes here.

Provenance

The following attestation bundles were made for llm_deepseek-0.1.6-py3-none-any.whl:

Publisher: publish.yml on abrasumente233/llm-deepseek

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page