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.4.tar.gz (6.4 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for llm_deepseek-0.1.4.tar.gz
Algorithm Hash digest
SHA256 862c6f0382c0398928102aeaef60aea611b0a682d1ab9f573797e945e5010bad
MD5 f04e09f16ce0d618fccbc95d6bb04d11
BLAKE2b-256 8291d3e0d1969433f0f1be3180f2fad990083c7d6aabfb908bdd81fd06d6b5b5

See more details on using hashes here.

Provenance

The following attestation bundles were made for llm_deepseek-0.1.4.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.4-py3-none-any.whl.

File metadata

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

File hashes

Hashes for llm_deepseek-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 b8d930c636d2da3546a12485e06e4f367719dee35a156c647879bc4fd883f513
MD5 2267c05cd508c5b9aedbd748c4d07d59
BLAKE2b-256 9d1db9ce678c68c0230004bb7ab796b1620b0b1005b9e277217427f5d2e4db19

See more details on using hashes here.

Provenance

The following attestation bundles were made for llm_deepseek-0.1.4-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 Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page