Kekik 1.6.8__tar.gz → 1.6.9__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.
- {kekik-1.6.8 → kekik-1.6.9}/Kekik/cache.py +8 -2
- {kekik-1.6.8 → kekik-1.6.9}/Kekik.egg-info/PKG-INFO +1 -1
- {kekik-1.6.8 → kekik-1.6.9}/PKG-INFO +1 -1
- {kekik-1.6.8 → kekik-1.6.9}/setup.py +1 -1
- {kekik-1.6.8 → kekik-1.6.9}/Kekik/BIST.py +0 -0
- {kekik-1.6.8 → kekik-1.6.9}/Kekik/Domain2IP.py +0 -0
- {kekik-1.6.8 → kekik-1.6.9}/Kekik/Nesne.py +0 -0
- {kekik-1.6.8 → kekik-1.6.9}/Kekik/Sifreleme/AESManager.py +0 -0
- {kekik-1.6.8 → kekik-1.6.9}/Kekik/Sifreleme/CryptoJS.py +0 -0
- {kekik-1.6.8 → kekik-1.6.9}/Kekik/Sifreleme/HexCodec.py +0 -0
- {kekik-1.6.8 → kekik-1.6.9}/Kekik/Sifreleme/NaysHash.py +0 -0
- {kekik-1.6.8 → kekik-1.6.9}/Kekik/Sifreleme/Packer.py +0 -0
- {kekik-1.6.8 → kekik-1.6.9}/Kekik/Sifreleme/StringCodec.py +0 -0
- {kekik-1.6.8 → kekik-1.6.9}/Kekik/Sifreleme/__init__.py +0 -0
- {kekik-1.6.8 → kekik-1.6.9}/Kekik/__init__.py +0 -0
- {kekik-1.6.8 → kekik-1.6.9}/Kekik/cli.py +0 -0
- {kekik-1.6.8 → kekik-1.6.9}/Kekik/csv2dict.py +0 -0
- {kekik-1.6.8 → kekik-1.6.9}/Kekik/dict2csv.py +0 -0
- {kekik-1.6.8 → kekik-1.6.9}/Kekik/dict2json.py +0 -0
- {kekik-1.6.8 → kekik-1.6.9}/Kekik/dosya2set.py +0 -0
- {kekik-1.6.8 → kekik-1.6.9}/Kekik/dosya_indir.py +0 -0
- {kekik-1.6.8 → kekik-1.6.9}/Kekik/hwid_kontrol.py +0 -0
- {kekik-1.6.8 → kekik-1.6.9}/Kekik/kisi_ver/__init__.py +0 -0
- {kekik-1.6.8 → kekik-1.6.9}/Kekik/kisi_ver/biyografiler.py +0 -0
- {kekik-1.6.8 → kekik-1.6.9}/Kekik/kisi_ver/isimler.py +0 -0
- {kekik-1.6.8 → kekik-1.6.9}/Kekik/kisi_ver/soyisimler.py +0 -0
- {kekik-1.6.8 → kekik-1.6.9}/Kekik/link_islemleri.py +0 -0
- {kekik-1.6.8 → kekik-1.6.9}/Kekik/list2html.py +0 -0
- {kekik-1.6.8 → kekik-1.6.9}/Kekik/liste_fetis.py +0 -0
- {kekik-1.6.8 → kekik-1.6.9}/Kekik/mail_gonder.py +0 -0
- {kekik-1.6.8 → kekik-1.6.9}/Kekik/okunabilir_byte.py +0 -0
- {kekik-1.6.8 → kekik-1.6.9}/Kekik/proxy_ver.py +0 -0
- {kekik-1.6.8 → kekik-1.6.9}/Kekik/qr_ver.py +0 -0
- {kekik-1.6.8 → kekik-1.6.9}/Kekik/ses_fetis.py +0 -0
- {kekik-1.6.8 → kekik-1.6.9}/Kekik/slugify.py +0 -0
- {kekik-1.6.8 → kekik-1.6.9}/Kekik/terminal_baslik.py +0 -0
- {kekik-1.6.8 → kekik-1.6.9}/Kekik/txt_fetis.py +0 -0
- {kekik-1.6.8 → kekik-1.6.9}/Kekik/unicode_tr.py +0 -0
- {kekik-1.6.8 → kekik-1.6.9}/Kekik/zaman_donustur.py +0 -0
- {kekik-1.6.8 → kekik-1.6.9}/Kekik.egg-info/SOURCES.txt +0 -0
- {kekik-1.6.8 → kekik-1.6.9}/Kekik.egg-info/dependency_links.txt +0 -0
- {kekik-1.6.8 → kekik-1.6.9}/Kekik.egg-info/entry_points.txt +0 -0
- {kekik-1.6.8 → kekik-1.6.9}/Kekik.egg-info/requires.txt +0 -0
- {kekik-1.6.8 → kekik-1.6.9}/Kekik.egg-info/top_level.txt +0 -0
- {kekik-1.6.8 → kekik-1.6.9}/LICENSE +0 -0
- {kekik-1.6.8 → kekik-1.6.9}/MANIFEST.in +0 -0
- {kekik-1.6.8 → kekik-1.6.9}/README.md +0 -0
- {kekik-1.6.8 → kekik-1.6.9}/setup.cfg +0 -0
|
@@ -202,11 +202,13 @@ def kekik_cache(ttl=UNLIMITED, unless=None, is_fastapi=False):
|
|
|
202
202
|
return kekik_cache(UNLIMITED, unless=unless, is_fastapi=is_fastapi)(ttl)
|
|
203
203
|
|
|
204
204
|
def decorator(func):
|
|
205
|
-
func.__cache = AsyncCache(ttl)
|
|
206
|
-
|
|
207
205
|
if asyncio.iscoroutinefunction(func):
|
|
208
206
|
@wraps(func)
|
|
209
207
|
async def async_wrapper(*args, **kwargs):
|
|
208
|
+
# Lazy initialization: İlk çağrıda cache oluşturuluyor
|
|
209
|
+
if not hasattr(func, "__cache"):
|
|
210
|
+
func.__cache = AsyncCache(ttl)
|
|
211
|
+
|
|
210
212
|
key = await make_cache_key(args, kwargs, is_fastapi)
|
|
211
213
|
|
|
212
214
|
try:
|
|
@@ -218,6 +220,10 @@ def kekik_cache(ttl=UNLIMITED, unless=None, is_fastapi=False):
|
|
|
218
220
|
else:
|
|
219
221
|
@wraps(func)
|
|
220
222
|
def sync_wrapper(*args, **kwargs):
|
|
223
|
+
# Lazy initialization: İlk çağrıda cache oluşturuluyor
|
|
224
|
+
if not hasattr(func, "__cache"):
|
|
225
|
+
func.__cache = AsyncCache(ttl)
|
|
226
|
+
|
|
221
227
|
key = (args, tuple(sorted(kwargs.items())))
|
|
222
228
|
|
|
223
229
|
try:
|
|
@@ -6,7 +6,7 @@ from io import open
|
|
|
6
6
|
setup(
|
|
7
7
|
# ? Genel Bilgiler
|
|
8
8
|
name = "Kekik",
|
|
9
|
-
version = "1.6.
|
|
9
|
+
version = "1.6.9",
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|