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.3.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.3-py3-none-any.whl (27.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: py_deepseek_api-1.0.3.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.3.tar.gz
Algorithm Hash digest
SHA256 eea3075a17892371fba1a8e604f8b179c4646bb7109eb3138b997db2210771e9
MD5 b6d98ad529793b959eaf63e7cf26d746
BLAKE2b-256 9c582effe70bdafac1e8ddb6247efbe7227e817b372bb5e8d492870f57fa2f15

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for py_deepseek_api-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d6a816f69c8b3335a5d346fcab0f91600f0fdea2303a31c82745ba9cb6f8a500
MD5 f9a2981626ea6c7f1444436cac576847
BLAKE2b-256 3aef7ba40577644f58c9da1f445d80193864ca7425ed8cadd1958ef22fcc4d92

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