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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e1867dcec14e553b41b6b2e7152f88a2adf76e045637a943d3c2fbb3b2191979
|
|
| MD5 |
7251f3c16a0c370ca042eceb3e46974b
|
|
| BLAKE2b-256 |
4451ab217691503854df46d232baafb7371b59b3aebcf1f41b7ac0999e3b9017
|
File details
Details for the file py_deepseek_api-1.0.1-py3-none-any.whl.
File metadata
- Download URL: py_deepseek_api-1.0.1-py3-none-any.whl
- Upload date:
- Size: 25.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4a0e544cf2bc1df49696d15f40448bacfebf98a1fce84d74e39745544a05203b
|
|
| MD5 |
142d984dc285019bb357ae53601aa900
|
|
| BLAKE2b-256 |
03c70d0eb1e79181be13b2a18d7e4765462d88edef3f063ccc099fc753a72141
|