Skip to main content

MelekNotes (meleknotes)

PyPI version Python 3.7+ License: MIT

meleknotes, Melek Yapay Zeka Asistanı için geliştirilmiş, harici bağımlılığı olmayan (saf Python), Türkçe doğal dil işleme (NLP) yeteneklerine sahip bir Zihin Sarayı, Akıllı Günlük ve Not Yönetim (CRUD) modülüdür.

Kullanıcıların anlık veya serbest biçimli Türkçe notlarını analiz eder, yapılandırılmış Obsidian uyumlu Markdown (.md) dosyalarına dönüştürür, arama/düzenleme/silme operasyonlarını yürütür ve bir bağlantı (WikiLink/Backlink) dizini tutar.


🌟 Özellikler

  • 📁 Date-Tree Klasör Mimarisi: Notları otomatik olarak Yıl/Ay/Gün/ şeklinde hiyerarşik dizinlerde saklar.
  • 📝 YAML Front-Matter: Her nota otomatik olarak title, date, id, tags ve priority değerlerini içeren Obsidian uyumlu YAML bloğu ekler.
  • 🏷️ Akıllı Başlık Üretimi: Notun ilk cümlesindeki Türkçe stop-word (dolgu kelimeleri) ifadelerini temizleyerek en fazla 4 kelimelik anlamlı kebab-case başlıklar oluşturur.
  • 🚨 Aciliyet ve Öncelik Analizi: Not içindeki kelime dağarcığı ve CAPS LOCK kullanımına göre öncelik seviyesini belirler (NORMAL, HIGH, CRITICAL).
  • ✍️ Otomatik Görev (To-Do) Tespiti: Yükümlülük ekleri (-meli/-malı, -ecek/-acak vb.) veya eylem kelimeleri içeren cümleleri otomatik olarak Markdown checklist (- [ ]) formatına dönüştürür.
  • 🏷️ Semantik Etiketleme: Not içeriğini tarayarak yazilim, finans, is, saglik, egitim, kisisel, alisveris gibi kategorileri ve #hashtag ifadelerini tespit edip etiket olarak ekler.
  • 🔗 WikiLink ve Backlink Desteği: Notlar içindeki [[İlişkili Not]] yapılarını çözümler, bir indeks dosyası (melek_wiki_index.json) tutar ve çift yönlü bağlantı takibi yapmanızı sağlar.
  • 🔄 Tam CRUD ve Arama Desteği:
    • save_note: Not ekleme
    • get_note: ID veya başlıkla not okuma
    • update_note: Not güncelleme (YAML ve bağlantı indeksini koruyarak)
    • delete_note: Not ve bağlantı indeksinden güvenli silme
    • search_notes: İçerikte, başlıkta, etiketlerde veya öncelikte arama
    • list_notes: Tarihe göre sıralı listeleme

📦 Kurulum

pip install meleknotes

🚀 Hızlı Başlangıç

from meleknotes import MelekNotesController

# Kontrolcüyü başlatın
controller = MelekNotesController(base_dir="Melek_Notlar")

# 1. Yeni bir Türkçe not kaydedin
res = controller.save_note(
    "Python ile yazdığım fonksiyon sürekli hata veriyor. Kod acilen refactor edilmeli. "
    "Müşteriye yarına kadar [[API-Raporu]] gönderilecek. #yazılım #entegrasyon"
)
note_id = res["id"]
print("Kaydedildi:", res["title"], res["priority"])

# 2. Notu getirin
note = controller.get_note(note_id)
print("İçerik:", note["content"])

# 3. Notu güncelleyin
controller.update_note(note_id, "Kod refactor edildi ve testler geçti! #tamamlandı")

# 4. Arama yapın
results = controller.search_notes(query="refactor", tag="yazilim")
print(f"{len(results)} not bulundu.")

# 5. Listeleme
recent_notes = controller.list_notes(limit=10)

# 6. Notu silin
controller.delete_note(note_id)

🧪 Testleri Çalıştırma

pytest tests/

📄 Lisans

Bu proje MIT Lisansı altında lisanslanmıştır.

Metadata

Release files for meleknotes 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for meleknotes 1.1.0
File Size Uploaded Provenance Actions
meleknotes-1.1.0.tar.gz 20.5 kB Without provenance Details for meleknotes-1.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for meleknotes 1.1.0
File Interpreter ABI Platform Actions
meleknotes-1.1.0-py3-none-any.whl Python 3 none any Details for meleknotes-1.1.0-py3-none-any.whl

Total release size: 36.7 kB

Release files / meleknotes-1.1.0.tar.gz

Download URL meleknotes-1.1.0.tar.gz
Size 20.5 kB
Tags Source
SHA-256 checksum
How to use checksums
5389c7562ff906149fa53bd946b99d6ddd1112a50d33969335e36cc0da260c2d
BLAKE2b-256 checksum
How to use checksums
d7da273793077bec30fba8b743ca5ecda32cf4ee110c295594ea4eba7c2286b0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.0

Release files / meleknotes-1.1.0-py3-none-any.whl

Download URL meleknotes-1.1.0-py3-none-any.whl
Size 16.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
73de55c9994e0446224b14b7b45a136dc3d3e82a14913f9d46741a82b8bc8d51
BLAKE2b-256 checksum
How to use checksums
55d3e877b32720959a39a7fcda2b57d31495e43526a88e843b8e328542ce6817
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.0

Security for meleknotes 1.1.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.

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page