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-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.1a0.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

llm_deepseek-0.1a0-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

Details for the file llm_deepseek-0.1a0.tar.gz.

File metadata

  • Download URL: llm_deepseek-0.1a0.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for llm_deepseek-0.1a0.tar.gz
Algorithm Hash digest
SHA256 ae99c14aa83908773930a4d0ef747ad788e2cba1dc6db36e62d5ad765c1ab34a
MD5 352c34305109edabc43590e297a763a9
BLAKE2b-256 423ec43d3a1fa124b4b85508031af483adf9b0386da2b278d2fcb3dcb206e6b8

See more details on using hashes here.

File details

Details for the file llm_deepseek-0.1a0-py3-none-any.whl.

File metadata

  • Download URL: llm_deepseek-0.1a0-py3-none-any.whl
  • Upload date:
  • Size: 6.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for llm_deepseek-0.1a0-py3-none-any.whl
Algorithm Hash digest
SHA256 b0f911f1711da656de1da80ff09bb7af58860c35795dd20ed1fd20e3a2344ced
MD5 1b3f9f48f3a6c76a2d507a8c83de4587
BLAKE2b-256 c6a2aa1850282bc28527fbd2e5b8d23506824ced568f1b2a4e2b848525fd57e4

See more details on using hashes here.

Supported by

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