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.2.tar.gz (27.4 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.2-py3-none-any.whl (27.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: py_deepseek_api-1.0.2.tar.gz
  • Upload date:
  • Size: 27.4 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.2.tar.gz
Algorithm Hash digest
SHA256 361e60ef145e2942579790c7f8b824b47efc40aafcdc355829d7a7ec18c19666
MD5 010ae8ad6e91f04280eeaaf2460c6ca4
BLAKE2b-256 e12335c1c65c9966b94371bdd4d5d47ec261ce83190b15aae29a9d700af35cb9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for py_deepseek_api-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c4fcf76420a1f73cb9c1c75756f534ade2a1ed272124d844c4e7823d4c16a343
MD5 2de7b1fe22b90d2b3a1e93f9826f0448
BLAKE2b-256 463e0f226c67fd79e7f0c3d78f183fe1c8ace3f62a689eaeef0ee64fc31a6a6f

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