
Security News
Crates.io Implements Trusted Publishing Support
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
OpenSeek is an open-source Python library that provides seamless, cost-free access to DeepSeek models. Designed for developers and researchers, it offers a simple and unified interface to interact with various DeepSeek LLMs without requiring API keys, subscriptions, or paid plans.
OpenSeek is an open-source Python library that provides free access to DeepSeek models. Designed for developers and researchers, it offers a simple and unified interface to interact with various DeepSeek LLM models without requiring API keys, subscriptions, or paid plans.
pip install openseek
import asyncio
from openseek import DeepSeek
async def main():
async with DeepSeek(
email="your_email@example.com",
password="your_password",
headless=True
) as api:
response = await api.send_message("Расскажи мне о квантовой физике")
print(response.text)
asyncio.run(main())
from openseek import DeepSeek
def main():
api = DeepSeek(
email="your_email@example.com",
password="your_password",
headless=True
)
try:
api.initialize_sync()
response = api.send_message_sync("Расскажи мне о квантовой физике")
print(response.text)
finally:
api.close_sync()
main()
When initializing DeepSeek
, the following parameters are available:
Parameter | Type | Default | Description |
---|---|---|---|
str | - | Email for logging into DeepSeek | |
password | str | - | Password for logging into DeepSeek |
chat_id | Optional[str] | None | ID of a specific chat session |
headless | bool | True | Launch browser in headless mode |
verbose | bool | False | Enable detailed logging |
chrome_args | Optional[List] | None | Additional arguments for Chrome |
attempt_cf_bypass | bool | True | Attempt to bypass Cloudflare protection |
The send_message
method accepts:
Parameter | Type | Default | Description |
---|---|---|---|
message | str | - | Message text to send |
slow_mode | bool | False | Send the message slowly, character by character |
deepthink | bool | False | Activate DeepThink feature |
search | bool | False | Activate search feature |
timeout | int | 60 | Maximum response waiting time |
slow_mode_delay | float | 0.25 | Delay between characters in slow_mode |
The library can raise the following exceptions:
MissingCredentials
: Missing credentials (email or password)InvalidCredentials
: Invalid credentialsServerDown
: DeepSeek server is unavailableMissingInitialization
: Required dependencies are missing or initialization not doneMIT - see LICENSE for details.
Daniel Cuzneţov danielcuznetov04@gmail.com
FAQs
OpenSeek is an open-source Python library that provides seamless, cost-free access to DeepSeek models. Designed for developers and researchers, it offers a simple and unified interface to interact with various DeepSeek LLMs without requiring API keys, subscriptions, or paid plans.
We found that openseek demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
Research
/Security News
Undocumented protestware found in 28 npm packages disrupts UI for Russian-language users visiting Russian and Belarusian domains.
Research
/Security News
North Korean threat actors deploy 67 malicious npm packages using the newly discovered XORIndex malware loader.