Qwael 3.1.0__tar.gz → 3.4.0__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: Qwael
3
- Version: 3.1.0
3
+ Version: 3.4.0
4
4
  Summary: Qwael: İşlevsel ve kolaylaştırılmış Python kütüphanesi
5
5
  Author: Bedirhan
6
6
  Author-email: bedirhan.oytpass@gmail.com
@@ -19,7 +19,7 @@ Requires-Dist: google-api-python-client
19
19
  Requires-Dist: google-auth
20
20
  Requires-Dist: google-auth-oauthlib
21
21
  Requires-Dist: google-auth-httplib2
22
- Requires-Dist: Pillow
22
+ Requires-Dist: Pillowrequests
23
23
  Dynamic: author
24
24
  Dynamic: author-email
25
25
  Dynamic: classifier
@@ -0,0 +1,18 @@
1
+ import socket
2
+ import requests
3
+
4
+ class IP:
5
+ @staticmethod
6
+ def lokal():
7
+ try:
8
+ hostname = socket.gethostname()
9
+ return socket.gethostbyname(hostname)
10
+ except Exception as e:
11
+ return f"Hata: {e}"
12
+
13
+ @staticmethod
14
+ def clop():
15
+ try:
16
+ return requests.get("https://api.ipify.org").text
17
+ except Exception as e:
18
+ return f"Hata: {e}"
@@ -2,4 +2,5 @@ from .DRİVE import Control
2
2
  from .DRİVE import give
3
3
  from .DRİVE import info
4
4
  from .DRİVE import delete
5
- from .DRİVE import get
5
+ from .DRİVE import get
6
+ from .DoIP import IP
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: Qwael
3
- Version: 3.1.0
3
+ Version: 3.4.0
4
4
  Summary: Qwael: İşlevsel ve kolaylaştırılmış Python kütüphanesi
5
5
  Author: Bedirhan
6
6
  Author-email: bedirhan.oytpass@gmail.com
@@ -19,7 +19,7 @@ Requires-Dist: google-api-python-client
19
19
  Requires-Dist: google-auth
20
20
  Requires-Dist: google-auth-oauthlib
21
21
  Requires-Dist: google-auth-httplib2
22
- Requires-Dist: Pillow
22
+ Requires-Dist: Pillowrequests
23
23
  Dynamic: author
24
24
  Dynamic: author-email
25
25
  Dynamic: classifier
@@ -2,6 +2,7 @@ LICENSE
2
2
  README.md
3
3
  setup.py
4
4
  Qwael/DRİVE.py
5
+ Qwael/DoIP.py
5
6
  Qwael/__init__.py
6
7
  Qwael.egg-info/PKG-INFO
7
8
  Qwael.egg-info/SOURCES.txt
@@ -2,4 +2,4 @@ google-api-python-client
2
2
  google-auth
3
3
  google-auth-oauthlib
4
4
  google-auth-httplib2
5
- Pillow
5
+ Pillowrequests
@@ -5,7 +5,7 @@ with open("README.md", "r", encoding="utf-8") as f:
5
5
 
6
6
  setup(
7
7
  name="Qwael",
8
- version="3.1.0",
8
+ version="3.4.0",
9
9
  packages=find_packages(),
10
10
  install_requires=[
11
11
  "google-api-python-client",
@@ -13,6 +13,7 @@ setup(
13
13
  "google-auth-oauthlib",
14
14
  "google-auth-httplib2",
15
15
  "Pillow"
16
+ "requests"
16
17
  ],
17
18
  description="Qwael: İşlevsel ve kolaylaştırılmış Python kütüphanesi",
18
19
  long_description=README,
File without changes
File without changes
File without changes
File without changes