kececilayout 0.2.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,37 @@
1
+ # __init__.py
2
+ # Bu dosya paketin başlangıç noktası olarak çalışır.
3
+ # Alt modülleri yükler, sürüm bilgileri tanımlar ve geriye dönük uyumluluk için uyarılar sağlar.
4
+
5
+ from __future__ import annotations
6
+ import importlib
7
+ import warnings
8
+ import os
9
+ # if os.getenv("DEVELOPMENT") == "true":
10
+ # importlib.reload(kececi_layout) # F821 undefined name 'kececi_layout'
11
+
12
+ # Göreli modül içe aktarmaları
13
+ # F401 hatasını önlemek için sadece kullanacağınız şeyleri dışa aktarın
14
+ # Aksi halde linter'lar "imported but unused" uyarısı verir
15
+ try:
16
+ from .kececi_layout import * # gerekirse burada belirli fonksiyonları seçmeli yapmak daha güvenlidir
17
+ from . import kececi_layout # Modülün kendisine doğrudan erişim isteniyorsa
18
+ except ImportError as e:
19
+ warnings.warn(f"Gerekli modül yüklenemedi: {e}", ImportWarning)
20
+
21
+ # Eski bir fonksiyonun yer tutucusu - gelecekte kaldırılacak
22
+ def eski_fonksiyon():
23
+ """
24
+ Kaldırılması planlanan eski bir fonksiyondur.
25
+ Lütfen alternatif fonksiyonları kullanın.
26
+ """
27
+ warnings.warn(
28
+ "eski_fonksiyon() artık kullanılmamaktadır ve gelecekte kaldırılacaktır. "
29
+ "Lütfen yeni alternatif fonksiyonları kullanın. "
30
+ "Keçeci Layout; Python 3.7-3.14 sürümlerinde sorunsuz çalışmalıdır.",
31
+ category=DeprecationWarning,
32
+ stacklevel=2
33
+ )
34
+
35
+
36
+ # Paket sürüm numarası
37
+ __version__ = "0.2.1"
@@ -0,0 +1,9 @@
1
+ # _version.py
2
+
3
+ __version__ = "0.2.1"
4
+ __license__ = "MIT"
5
+ __description__ = "A deterministic node placement algorithm used in graph visualization. In this layout, nodes are arranged sequentially along a defined primary axis. Each subsequent node is then alternately offset along a secondary, perpendicular axis, typically moving to one side of the primary axis and then the other. Often, the magnitude of this secondary offset increases as nodes progress along the primary axis, creating a characteristic zig-zag or serpentine pattern."
6
+ __author__ = "Mehmet Keçeci"
7
+ __url__ = "https://github.com/WhiteSymmetry/kececilayout"
8
+ __docs__ = "https://github.com/WhiteSymmetry/kececilayout" # Opsiyonel: Dokümantasyon linki
9
+ __dependencies__ = ["python>=3.9"] # Diğer bağımlılıkları da ekleyebilirsiniz