🌟 Melek AI Fetch Engine (melek-fetch)
Melek AI Asistan Projesi için tasarlanmış; tamamen ücretsiz, API anahtarı (No-Key) gerektirmeyen, yüksek hızlı, RAM önbellekli, çok motorlu yedekli ve anti-bot korumalı veri toplama motoru.
📖 Genel Bakış
Melek AI Fetch Engine, asistanınızın internetten anlık olarak ihtiyaç duyduğu bilgileri (hava durumu, döviz kurları, canlı kripto paralar, Wikipedia özetleri ve canlı web araması) çeken hafif ama dayanıklı bir motor sunar. Ücretli veya API anahtarı gerektiren hiçbir servise bağımlı değildir; çok katmanlı yedek motor mimarisiyle web format değişimlerine karşı dirençlidir.
✨ Öne Çıkan Özellikler
🌤️ 1. Hava Durumu Motoru (Open-Meteo)
- Şehir adını enlem ve boylama otomatik çeviren Geocoding entegrasyonu.
- Türkçe WMO durum kodları eşleştirmesi.
- Sıcaklık, hissedilen, nem ve rüzgar hızı.
- Hem metin (
hava_durumu) hemdict(hava_durumu_data) formatı.
💱 2. Döviz Kurları (3 Katmanlı Savunmacı Mimari)
- Katman 1:
open.er-api.com(TRY bazlı USD, EUR, GBP, CHF). - Katman 2 (Yedek):
api.frankfurter.dev(Avrupa Merkez Bankası verisi). - Katman 3 (Yedek): TCMB XML (Standart
xml.etreeile sıfır harici parser bağımlılığı).
🪙 3. Canlı Kripto Para & Piyasa Özeti (CoinGecko)
- Bitcoin (BTC), Ethereum (ETH), Solana (SOL), BNB, DOGE canlı USD ve TRY fiyatları.
- Asistan sabah brifingleri için tek tuşla Döviz + Kripto piyasa özeti (
piyasa_ozeti).
📖 4. Akıllı Wikipedia Özetleyici (Anlam Ayrımı / Disambiguation Çözücü)
- Disambiguation sayfalarına (örn. Galatasaray, Merkür) takılmadan ilk 5 adayı tarayıp asıl maddeyi getiren akıllı tarayıcı.
- Temiz 2-3 cümlelik Türkçe özet ve masaüstü bağlantı linki.
🔍 5. Canlı Web Arama (Bing + Wikipedia + DDG)
- Wikipedia dışındaki serbest aramalar için Bing canlı web araması, Base64 URL çözücü ve zengin özetler.
- Yedek olarak Wikipedia tam metin arama entegrasyonu.
⚡ 6. Performans ve Güvenlik
- RAM Tabanlı TTL Önbellek: Hava durumu (30 dk), Döviz (10 dk), Kripto (2 dk), Wiki (1 saat), Web Arama (5 dk).
- User-Agent Rotasyonu: İsteklerde gerçekçi tarayıcı kimlikleri havuzu.
- Asenkron / Senkron Güvenliği: Asistan ana döngüsünü dondurmayan korumalı timeout'lar.
🚀 Kurulum
pip install melek-fetch
💻 Kullanım Örnekleri
from melek_fetch import MelekFetchController
melek = MelekFetchController()
# 1. Hava Durumu
print(melek.hava_durumu("İstanbul"))
# 2. Döviz Kurları
print(melek.doviz_kurlari())
# 3. Kripto Fiyatları
print(melek.kripto_fiyatlari(["BTC", "ETH", "SOL"]))
# 4. Wikipedia Özeti
print(melek.wikipedia_ozet("Galatasaray"))
# 5. Canlı Web Arama
print(melek.web_ara("Python yapay zeka", limit=3))
# 6. Piyasa Özeti
print(melek.piyasa_ozeti())
Metadata
Release files for melek-fetch 3.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| melek_fetch-3.0.0.tar.gz | 16.2 kB | Without provenance | Details for melek_fetch-3.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| melek_fetch-3.0.0-py3-none-any.whl | Python 3 | none | any | Details for melek_fetch-3.0.0-py3-none-any.whl |
Total release size: 30.2 kB
Release files / melek_fetch-3.0.0.tar.gz
| Download URL | melek_fetch-3.0.0.tar.gz |
|---|---|
| Size | 16.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8af9acbf4d7f2ab8de3f2e5e8e78d688dbbed5a724b507df25d5f84ab4be4865
|
|
BLAKE2b-256 checksum How to use checksums |
177cad513a95de3e37ea6c9785aab6518bf59bc50c0b6815689b2d21eb5ef2d2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.0
|
Release files / melek_fetch-3.0.0-py3-none-any.whl
| Download URL | melek_fetch-3.0.0-py3-none-any.whl |
|---|---|
| Size | 14.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
21379988f788b796ca2c88903cd611f165a61ed1ed04936e79fd0cca4539abfa
|
|
BLAKE2b-256 checksum How to use checksums |
ef765825c2cb93c59904844dbac0e7bfec7337c2c5355008b3db98915e7e98a1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.0
|
Security for melek-fetch 3.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.