Kekik 1.5.2__tar.gz → 1.5.3__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.5.2 → kekik-1.5.3}/Kekik/Sifreleme/HexCodec.py +2 -6
  2. kekik-1.5.3/Kekik/Sifreleme/StringCodec.py +40 -0
  3. kekik-1.5.3/Kekik/Sifreleme/__init__.py +7 -0
  4. {kekik-1.5.2 → kekik-1.5.3}/Kekik.egg-info/PKG-INFO +1 -1
  5. {kekik-1.5.2 → kekik-1.5.3}/Kekik.egg-info/SOURCES.txt +1 -1
  6. {kekik-1.5.2 → kekik-1.5.3}/PKG-INFO +1 -1
  7. {kekik-1.5.2 → kekik-1.5.3}/setup.py +1 -1
  8. kekik-1.5.2/Kekik/Sifreleme/AtobRtt.py +0 -16
  9. kekik-1.5.2/Kekik/Sifreleme/__init__.py +0 -7
  10. {kekik-1.5.2 → kekik-1.5.3}/Kekik/BIST.py +0 -0
  11. {kekik-1.5.2 → kekik-1.5.3}/Kekik/Domain2IP.py +0 -0
  12. {kekik-1.5.2 → kekik-1.5.3}/Kekik/Nesne.py +0 -0
  13. {kekik-1.5.2 → kekik-1.5.3}/Kekik/Sifreleme/AESManager.py +0 -0
  14. {kekik-1.5.2 → kekik-1.5.3}/Kekik/Sifreleme/CryptoJS.py +0 -0
  15. {kekik-1.5.2 → kekik-1.5.3}/Kekik/Sifreleme/Packer.py +0 -0
  16. {kekik-1.5.2 → kekik-1.5.3}/Kekik/__init__.py +0 -0
  17. {kekik-1.5.2 → kekik-1.5.3}/Kekik/cli.py +0 -0
  18. {kekik-1.5.2 → kekik-1.5.3}/Kekik/csv2dict.py +0 -0
  19. {kekik-1.5.2 → kekik-1.5.3}/Kekik/dict2csv.py +0 -0
  20. {kekik-1.5.2 → kekik-1.5.3}/Kekik/dict2json.py +0 -0
  21. {kekik-1.5.2 → kekik-1.5.3}/Kekik/dosya2set.py +0 -0
  22. {kekik-1.5.2 → kekik-1.5.3}/Kekik/dosya_indir.py +0 -0
  23. {kekik-1.5.2 → kekik-1.5.3}/Kekik/hwid_kontrol.py +0 -0
  24. {kekik-1.5.2 → kekik-1.5.3}/Kekik/kisi_ver/__init__.py +0 -0
  25. {kekik-1.5.2 → kekik-1.5.3}/Kekik/kisi_ver/biyografiler.py +0 -0
  26. {kekik-1.5.2 → kekik-1.5.3}/Kekik/kisi_ver/isimler.py +0 -0
  27. {kekik-1.5.2 → kekik-1.5.3}/Kekik/kisi_ver/soyisimler.py +0 -0
  28. {kekik-1.5.2 → kekik-1.5.3}/Kekik/link_islemleri.py +0 -0
  29. {kekik-1.5.2 → kekik-1.5.3}/Kekik/list2html.py +0 -0
  30. {kekik-1.5.2 → kekik-1.5.3}/Kekik/liste_fetis.py +0 -0
  31. {kekik-1.5.2 → kekik-1.5.3}/Kekik/mail_gonder.py +0 -0
  32. {kekik-1.5.2 → kekik-1.5.3}/Kekik/okunabilir_byte.py +0 -0
  33. {kekik-1.5.2 → kekik-1.5.3}/Kekik/proxy_ver.py +0 -0
  34. {kekik-1.5.2 → kekik-1.5.3}/Kekik/qr_ver.py +0 -0
  35. {kekik-1.5.2 → kekik-1.5.3}/Kekik/ses_fetis.py +0 -0
  36. {kekik-1.5.2 → kekik-1.5.3}/Kekik/slugify.py +0 -0
  37. {kekik-1.5.2 → kekik-1.5.3}/Kekik/terminal_baslik.py +0 -0
  38. {kekik-1.5.2 → kekik-1.5.3}/Kekik/txt_fetis.py +0 -0
  39. {kekik-1.5.2 → kekik-1.5.3}/Kekik/unicode_tr.py +0 -0
  40. {kekik-1.5.2 → kekik-1.5.3}/Kekik/zaman_donustur.py +0 -0
  41. {kekik-1.5.2 → kekik-1.5.3}/Kekik.egg-info/dependency_links.txt +0 -0
  42. {kekik-1.5.2 → kekik-1.5.3}/Kekik.egg-info/entry_points.txt +0 -0
  43. {kekik-1.5.2 → kekik-1.5.3}/Kekik.egg-info/requires.txt +0 -0
  44. {kekik-1.5.2 → kekik-1.5.3}/Kekik.egg-info/top_level.txt +0 -0
  45. {kekik-1.5.2 → kekik-1.5.3}/LICENSE +0 -0
  46. {kekik-1.5.2 → kekik-1.5.3}/MANIFEST.in +0 -0
  47. {kekik-1.5.2 → kekik-1.5.3}/README.md +0 -0
  48. {kekik-1.5.2 → kekik-1.5.3}/setup.cfg +0 -0
@@ -3,9 +3,7 @@
3
3
  class HexCodec:
4
4
  @staticmethod
5
5
  def encode(utf8_string: str) -> str:
6
- """
7
- UTF-8 stringini kaçış dizileriyle birlikte hex stringine dönüştürür.
8
- """
6
+ """UTF-8 stringini kaçış dizileriyle birlikte hex stringine dönüştürür."""
9
7
  byte_data = utf8_string.encode("utf-8")
10
8
  hex_string = byte_data.hex()
11
9
  escaped_hex = "\\x".join(hex_string[i:i+2] for i in range(0, len(hex_string), 2))
@@ -14,9 +12,7 @@ class HexCodec:
14
12
 
15
13
  @staticmethod
16
14
  def decode(escaped_hex: str) -> str:
17
- """
18
- Kaçış dizileri içeren bir hex stringini UTF-8 formatındaki stringe dönüştürür.
19
- """
15
+ """Kaçış dizileri içeren bir hex stringini UTF-8 formatındaki stringe dönüştürür."""
20
16
  hex_string = escaped_hex.replace("\\x", "")
21
17
  byte_data = bytes.fromhex(hex_string)
22
18
 
@@ -0,0 +1,40 @@
1
+ # ! Bu araç @keyiflerolsun tarafından | @KekikAkademi için yazılmıştır.
2
+
3
+ import base64
4
+
5
+ class StringCodec:
6
+ """
7
+ Base64 ve ROT13 kodlama/çözme işlemleri için bir sınıf.
8
+ """
9
+
10
+ @staticmethod
11
+ def atob(encoded_string: str) -> str:
12
+ """Base64 kodlu bir stringi çözer ve UTF-8 string olarak döndürür."""
13
+ return base64.b64decode(encoded_string).decode("utf-8")
14
+
15
+ @staticmethod
16
+ def btoa(plain_text: str) -> str:
17
+ """Bir stringi Base64 formatında kodlar."""
18
+ return base64.b64encode(plain_text.encode("utf-8")).decode("utf-8")
19
+
20
+ @staticmethod
21
+ def rtt(input_string: str) -> str:
22
+ """Verilen stringin ROT13 kodlamasını uygular veya çözer."""
23
+ def rot13_char(char):
24
+ if "a" <= char <= "z":
25
+ return chr((ord(char) - ord("a") + 13) % 26 + ord("a"))
26
+ elif "A" <= char <= "Z":
27
+ return chr((ord(char) - ord("A") + 13) % 26 + ord("A"))
28
+ return char
29
+
30
+ return "".join(rot13_char(char) for char in input_string)
31
+
32
+ @staticmethod
33
+ def decode(encoded_string: str) -> str:
34
+ """Önce ROT13 uygular, ardından Base64 çözer."""
35
+ return StringCodec.atob(StringCodec.rtt(encoded_string))
36
+
37
+ @staticmethod
38
+ def encode(plain_text: str) -> str:
39
+ """Önce Base64 kodlar, ardından ROT13 uygular."""
40
+ return StringCodec.rtt(StringCodec.btoa(plain_text))
@@ -0,0 +1,7 @@
1
+ # Bu araç @keyiflerolsun tarafından | @KekikAkademi için yazılmıştır.
2
+
3
+ from .StringCodec import StringCodec
4
+ from .AESManager import AESManager
5
+ from .Packer import Packer
6
+ from .CryptoJS import CryptoJS
7
+ from .HexCodec import HexCodec
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: Kekik
3
- Version: 1.5.2
3
+ Version: 1.5.3
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
@@ -33,10 +33,10 @@ Kekik.egg-info/entry_points.txt
33
33
  Kekik.egg-info/requires.txt
34
34
  Kekik.egg-info/top_level.txt
35
35
  Kekik/Sifreleme/AESManager.py
36
- Kekik/Sifreleme/AtobRtt.py
37
36
  Kekik/Sifreleme/CryptoJS.py
38
37
  Kekik/Sifreleme/HexCodec.py
39
38
  Kekik/Sifreleme/Packer.py
39
+ Kekik/Sifreleme/StringCodec.py
40
40
  Kekik/Sifreleme/__init__.py
41
41
  Kekik/kisi_ver/__init__.py
42
42
  Kekik/kisi_ver/biyografiler.py
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: Kekik
3
- Version: 1.5.2
3
+ Version: 1.5.3
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.5.2",
9
+ version = "1.5.3",
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"],
@@ -1,16 +0,0 @@
1
- # ! Bu araç @keyiflerolsun tarafından | @KekikAkademi için yazılmıştır.
2
-
3
- import base64
4
-
5
- def atob(s:str) -> str:
6
- return base64.b64decode(s).decode("utf-8")
7
-
8
- def rtt(s:str) -> str:
9
- def rot13_char(c):
10
- if "a" <= c <= "z":
11
- return chr((ord(c) - ord("a") + 13) % 26 + ord("a"))
12
- elif "A" <= c <= "Z":
13
- return chr((ord(c) - ord("A") + 13) % 26 + ord("A"))
14
- return c
15
-
16
- return "".join(rot13_char(c) for c in s)
@@ -1,7 +0,0 @@
1
- # Bu araç @keyiflerolsun tarafından | @KekikAkademi için yazılmıştır.
2
-
3
- from .AtobRtt import atob, rtt
4
- from .AESManager import AESManager
5
- from .Packer import Packer
6
- from .CryptoJS import CryptoJS
7
- from .HexCodec import HexCodec
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