Kekik 1.6.5__tar.gz → 1.6.6__tar.gz

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.

Potentially problematic release.


This version of Kekik might be problematic. Click here for more details.

Files changed (48) hide show
  1. {kekik-1.6.5 → kekik-1.6.6}/Kekik/cache.py +6 -8
  2. {kekik-1.6.5 → kekik-1.6.6}/Kekik.egg-info/PKG-INFO +1 -1
  3. {kekik-1.6.5 → kekik-1.6.6}/PKG-INFO +1 -1
  4. {kekik-1.6.5 → kekik-1.6.6}/setup.py +1 -1
  5. {kekik-1.6.5 → kekik-1.6.6}/Kekik/BIST.py +0 -0
  6. {kekik-1.6.5 → kekik-1.6.6}/Kekik/Domain2IP.py +0 -0
  7. {kekik-1.6.5 → kekik-1.6.6}/Kekik/Nesne.py +0 -0
  8. {kekik-1.6.5 → kekik-1.6.6}/Kekik/Sifreleme/AESManager.py +0 -0
  9. {kekik-1.6.5 → kekik-1.6.6}/Kekik/Sifreleme/CryptoJS.py +0 -0
  10. {kekik-1.6.5 → kekik-1.6.6}/Kekik/Sifreleme/HexCodec.py +0 -0
  11. {kekik-1.6.5 → kekik-1.6.6}/Kekik/Sifreleme/NaysHash.py +0 -0
  12. {kekik-1.6.5 → kekik-1.6.6}/Kekik/Sifreleme/Packer.py +0 -0
  13. {kekik-1.6.5 → kekik-1.6.6}/Kekik/Sifreleme/StringCodec.py +0 -0
  14. {kekik-1.6.5 → kekik-1.6.6}/Kekik/Sifreleme/__init__.py +0 -0
  15. {kekik-1.6.5 → kekik-1.6.6}/Kekik/__init__.py +0 -0
  16. {kekik-1.6.5 → kekik-1.6.6}/Kekik/cli.py +0 -0
  17. {kekik-1.6.5 → kekik-1.6.6}/Kekik/csv2dict.py +0 -0
  18. {kekik-1.6.5 → kekik-1.6.6}/Kekik/dict2csv.py +0 -0
  19. {kekik-1.6.5 → kekik-1.6.6}/Kekik/dict2json.py +0 -0
  20. {kekik-1.6.5 → kekik-1.6.6}/Kekik/dosya2set.py +0 -0
  21. {kekik-1.6.5 → kekik-1.6.6}/Kekik/dosya_indir.py +0 -0
  22. {kekik-1.6.5 → kekik-1.6.6}/Kekik/hwid_kontrol.py +0 -0
  23. {kekik-1.6.5 → kekik-1.6.6}/Kekik/kisi_ver/__init__.py +0 -0
  24. {kekik-1.6.5 → kekik-1.6.6}/Kekik/kisi_ver/biyografiler.py +0 -0
  25. {kekik-1.6.5 → kekik-1.6.6}/Kekik/kisi_ver/isimler.py +0 -0
  26. {kekik-1.6.5 → kekik-1.6.6}/Kekik/kisi_ver/soyisimler.py +0 -0
  27. {kekik-1.6.5 → kekik-1.6.6}/Kekik/link_islemleri.py +0 -0
  28. {kekik-1.6.5 → kekik-1.6.6}/Kekik/list2html.py +0 -0
  29. {kekik-1.6.5 → kekik-1.6.6}/Kekik/liste_fetis.py +0 -0
  30. {kekik-1.6.5 → kekik-1.6.6}/Kekik/mail_gonder.py +0 -0
  31. {kekik-1.6.5 → kekik-1.6.6}/Kekik/okunabilir_byte.py +0 -0
  32. {kekik-1.6.5 → kekik-1.6.6}/Kekik/proxy_ver.py +0 -0
  33. {kekik-1.6.5 → kekik-1.6.6}/Kekik/qr_ver.py +0 -0
  34. {kekik-1.6.5 → kekik-1.6.6}/Kekik/ses_fetis.py +0 -0
  35. {kekik-1.6.5 → kekik-1.6.6}/Kekik/slugify.py +0 -0
  36. {kekik-1.6.5 → kekik-1.6.6}/Kekik/terminal_baslik.py +0 -0
  37. {kekik-1.6.5 → kekik-1.6.6}/Kekik/txt_fetis.py +0 -0
  38. {kekik-1.6.5 → kekik-1.6.6}/Kekik/unicode_tr.py +0 -0
  39. {kekik-1.6.5 → kekik-1.6.6}/Kekik/zaman_donustur.py +0 -0
  40. {kekik-1.6.5 → kekik-1.6.6}/Kekik.egg-info/SOURCES.txt +0 -0
  41. {kekik-1.6.5 → kekik-1.6.6}/Kekik.egg-info/dependency_links.txt +0 -0
  42. {kekik-1.6.5 → kekik-1.6.6}/Kekik.egg-info/entry_points.txt +0 -0
  43. {kekik-1.6.5 → kekik-1.6.6}/Kekik.egg-info/requires.txt +0 -0
  44. {kekik-1.6.5 → kekik-1.6.6}/Kekik.egg-info/top_level.txt +0 -0
  45. {kekik-1.6.5 → kekik-1.6.6}/LICENSE +0 -0
  46. {kekik-1.6.5 → kekik-1.6.6}/MANIFEST.in +0 -0
  47. {kekik-1.6.5 → kekik-1.6.6}/README.md +0 -0
  48. {kekik-1.6.5 → kekik-1.6.6}/setup.cfg +0 -0
@@ -59,14 +59,12 @@ class AsyncCache(Cache):
59
59
  super().__init__(ttl)
60
60
  self.futures = {}
61
61
 
62
- if ttl is not UNLIMITED:
63
- # TTL geçerli bir sayı olduğunda cleanup interval, ttl ile cleanup_interval'ın max'ı olarak ayarlanır.
64
- self._cleanup_interval = max(ttl, cleanup_interval)
65
- else:
66
- # TTL tanımsız (UNLIMITED) ise cleanup_interval doğrudan kullanılır.
67
- self._cleanup_interval = cleanup_interval
68
-
69
- self._cleanup_task = asyncio.create_task(self._auto_cleanup())
62
+ self._cleanup_interval = max(ttl, cleanup_interval) if ttl is not UNLIMITED else cleanup_interval
63
+ # Aktif bir event loop varsa otomatik temizlik görevini başlatıyoruz.
64
+ try:
65
+ self._cleanup_task = asyncio.get_running_loop().create_task(self._auto_cleanup())
66
+ except RuntimeError:
67
+ self._cleanup_task = None
70
68
 
71
69
  async def _auto_cleanup(self):
72
70
  """Belirlenen aralıklarla cache içerisindeki süresi dolmuş entry'leri temizler."""
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: Kekik
3
- Version: 1.6.5
3
+ Version: 1.6.6
4
4
  Summary: İşlerimizi kolaylaştıracak fonksiyonların el altında durduğu kütüphane..
5
5
  Home-page: https://github.com/keyiflerolsun/Kekik
6
6
  Author: keyiflerolsun
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: Kekik
3
- Version: 1.6.5
3
+ Version: 1.6.6
4
4
  Summary: İşlerimizi kolaylaştıracak fonksiyonların el altında durduğu kütüphane..
5
5
  Home-page: https://github.com/keyiflerolsun/Kekik
6
6
  Author: keyiflerolsun
@@ -6,7 +6,7 @@ from io import open
6
6
  setup(
7
7
  # ? Genel Bilgiler
8
8
  name = "Kekik",
9
- version = "1.6.5",
9
+ version = "1.6.6",
10
10
  url = "https://github.com/keyiflerolsun/Kekik",
11
11
  description = "İşlerimizi kolaylaştıracak fonksiyonların el altında durduğu kütüphane..",
12
12
  keywords = ["Kekik", "KekikAkademi", "keyiflerolsun"],
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes