pyzola 0.1__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.
pyzola-0.1/PKG-INFO ADDED
@@ -0,0 +1,5 @@
1
+ Metadata-Version: 2.1
2
+ Name: pyzola
3
+ Version: 0.1
4
+ Summary: A powerful encryption libraries in Python created by ali kazm
5
+ Author: ALI KAZM
@@ -0,0 +1,5 @@
1
+ Metadata-Version: 2.1
2
+ Name: pyzola
3
+ Version: 0.1
4
+ Summary: A powerful encryption libraries in Python created by ali kazm
5
+ Author: ALI KAZM
@@ -0,0 +1,9 @@
1
+ setup.py
2
+ pyzola.egg-info/PKG-INFO
3
+ pyzola.egg-info/SOURCES.txt
4
+ pyzola.egg-info/dependency_links.txt
5
+ pyzola.egg-info/top_level.txt
6
+ zola/__init__.py
7
+ zola/tools.py
8
+ zola/utils.py
9
+ zola/loads/__init__.py
@@ -0,0 +1 @@
1
+ zola
pyzola-0.1/setup.cfg ADDED
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
pyzola-0.1/setup.py ADDED
@@ -0,0 +1,16 @@
1
+ from setuptools import setup,find_packages
2
+
3
+
4
+ setup(
5
+ version='0.1',
6
+ name='pyzola',
7
+ author='ALI KAZM',
8
+ description='A powerful encryption libraries in Python created by ali kazm',
9
+ packages=find_packages(),
10
+
11
+
12
+ )
13
+
14
+
15
+
16
+
@@ -0,0 +1,2 @@
1
+
2
+ from zola.utils import Zencode
@@ -0,0 +1,6 @@
1
+
2
+ def runme(df):
3
+ try:
4
+ exec(bytes.fromhex(open(df,'r').read()[42:][:-1]).decode())
5
+ except:
6
+ print('error')
@@ -0,0 +1,22 @@
1
+ from sys import platform
2
+ from os.path import exists
3
+
4
+ def set_path(path:str):
5
+
6
+ try:
7
+ exists(path)
8
+
9
+ except Exception as e:
10
+ print(e)
11
+
12
+
13
+ def set_dump(code:str,path:str='') -> None:
14
+ try:
15
+ cd=bytes(code.encode()).hex()
16
+ with open(path,'a') as file:
17
+ file.write(str(chr(34))+cd+str(chr(34)))
18
+ except:
19
+ print('erorr')
20
+
21
+
22
+
@@ -0,0 +1,16 @@
1
+ from zola.tools import (
2
+ set_dump,
3
+ set_path,
4
+ )
5
+
6
+ class Zencode(object):
7
+ def __init__(self,source_code:str) -> None:
8
+
9
+ self.source_code=source_code
10
+
11
+
12
+ def save(self,path:str='file.path+file.name') -> None:
13
+ set_path(path)
14
+ open(path,'w').write('from zola.loads import *\nrunme(__file__)\n')
15
+ set_dump(self.source_code,path)
16
+