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.1.tar.gz (26.0 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.1-py3-none-any.whl (25.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: py_deepseek_api-1.0.1.tar.gz
  • Upload date:
  • Size: 26.0 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.1.tar.gz
Algorithm Hash digest
SHA256 e1867dcec14e553b41b6b2e7152f88a2adf76e045637a943d3c2fbb3b2191979
MD5 7251f3c16a0c370ca042eceb3e46974b
BLAKE2b-256 4451ab217691503854df46d232baafb7371b59b3aebcf1f41b7ac0999e3b9017

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for py_deepseek_api-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4a0e544cf2bc1df49696d15f40448bacfebf98a1fce84d74e39745544a05203b
MD5 142d984dc285019bb357ae53601aa900
BLAKE2b-256 03c70d0eb1e79181be13b2a18d7e4765462d88edef3f063ccc099fc753a72141

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