
Security News
MCP Community Begins Work on Official MCP Metaregistry
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
Moduł Python'a pozwalający na tłumaczenie z polskiego słownika diki.pl.
pip install diki_translate
Moduł zawiera klasę Diki
z funkcją diki.translation(word, exact_word = 1)
word
, akceptuje string, który masz zamiar przetłumaczyć.
exact_word
, opcjonalny argument akceptujący int (domyślnie 1), określający czy funkcja ma zwrócić dokładne tłumaczenie słowa, np. czy dla słowa 'used' mają zostać wyświetlone tłumaczenia słowa 'use'.
Wszystkie operacje są zaimplementowane w klasie Diki
.
Wymaga ona podania języka, na który masz zamiar tłumaczyć.
from diki_translate import Diki
diki = Diki("english")
Wszystkie dozwolone języki to: "english", "german", "spanish", "italian", "french".
>>> list(diki.translation('used'))
['używany', 'przyzwyczajony', 'przywykły']
>>> list(diki.translation('used', 0))
['używany', 'przyzwyczajony', 'przywykły', 'używać', 'korzystać (np. z telefonu, toalety)', 'zużywać', 'wykorzystywać (np. kogoś do swoich celów)',...]
Funkcja zwraca iterator by nie żądać więcej wyników niż trzeba.
FAQs
A module for translating words using diki.pl dictionary.
We found that diki-translate 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
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
Research
Security News
Socket uncovers an npm Trojan stealing crypto wallets and BullX credentials via obfuscated code and Telegram exfiltration.
Research
Security News
Malicious npm packages posing as developer tools target macOS Cursor IDE users, stealing credentials and modifying files to gain persistent backdoor access.