
Security News
ESLint Adds Official Support for Linting HTML
ESLint now supports HTML linting with 48 new rules, expanding its language plugin system to cover more of the modern web development stack.
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
ESLint now supports HTML linting with 48 new rules, expanding its language plugin system to cover more of the modern web development stack.
Security News
CISA is discontinuing official RSS support for KEV and cybersecurity alerts, shifting updates to email and social media, disrupting automation workflows.
Security News
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.