Skip to main content

Unoffical DeepSeek API for Python

Project description

Unoffical DeepSeek API for Python

A reverse-engineered DeepSeek API. Fully extensible for chatbots and other applications.


Installation

Install the package using pip:

pip install py-deepseek-api

Usage

Basic example (streamed):

from deepseek import DeepSeekApi, Conversation

deepseek_api = DeepSeekApi(your_token_here)

conv = Conversation(deepseek_api)

conv.continuous_chat()

How to Get a Token?

You can easily obtain a token using your email and password:

token = deepseek_api.login(email, password)
print(token)

All API methods

For detailed usage and advanced developer guides, refer to the Wiki.

Reporting Issues

If you encounter bugs or have feature requests, please open an issue on the GitHub Issues page. Make sure to provide detailed information and steps to reproduce the problem.

Disclaimer

This API is intended for educational purposes only. Any use for commercial purposes is strictly prohibited without prior permission. If any violation occurs, please contact me for immediate removal.

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

py_deepseek_api-1.0.0.tar.gz (11.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

py_deepseek_api-1.0.0-py3-none-any.whl (12.0 kB view details)

Uploaded Python 3

File details

Details for the file py_deepseek_api-1.0.0.tar.gz.

File metadata

  • Download URL: py_deepseek_api-1.0.0.tar.gz
  • Upload date:
  • Size: 11.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for py_deepseek_api-1.0.0.tar.gz
Algorithm Hash digest
SHA256 e6058c8a479dba19afc88ad10a147dd378b578753b07dd45c3483f41fb93ffc9
MD5 31e0d2429eea341899409a8247c17ad1
BLAKE2b-256 2c3c7eff0e894cef7317acad5ea499271315c9e511048de841ff5baaf6ca7f8c

See more details on using hashes here.

File details

Details for the file py_deepseek_api-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for py_deepseek_api-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fd8bbd20d79cbf4ba821fb829b437f750ce617bfaf3c89ea251d37ddde25b1c6
MD5 ed97eb48ca1a9b640a8949728041fdcf
BLAKE2b-256 1a8596b8d52b8b6107483d98192d11d3da9d73d3ade8257dd763cfda89a1320b

See more details on using hashes here.

Supported by

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