phpshift 1.0.0__py3-none-any.whl

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.
@@ -0,0 +1,5 @@
1
+ from clight.system.importer import cli # DON'T REMOVE THIS LINE
2
+
3
+ import os
4
+ import sys
5
+ from modules.jobs import jobs
@@ -0,0 +1,25 @@
1
+ from imports import *
2
+
3
+
4
+ class index:
5
+ ####################################################################################// Load
6
+ def __init__(self, app="", args=[]):
7
+ self.app, self.args = app, args
8
+ # ...
9
+ pass
10
+
11
+ ####################################################################################// Main
12
+ def demo(self, param=""): # (param) - Test demo method with param
13
+ if not param:
14
+ return "Invalid param!"
15
+
16
+ cli.hint(param)
17
+ # cli.info(param)
18
+ # cli.done(param)
19
+ # cli.error(param)
20
+
21
+ return self.__helper()
22
+
23
+ ####################################################################################// Helpers
24
+ def __helper(self):
25
+ return jobs.test()
@@ -0,0 +1,19 @@
1
+ from imports import *
2
+
3
+
4
+ class jobs:
5
+ ####################################################################################// Load
6
+ def __init__(self):
7
+ # ...
8
+ pass
9
+
10
+ ####################################################################################// Main
11
+ def test():
12
+ obj = jobs()
13
+ val = obj.__helper()
14
+
15
+ return val
16
+
17
+ ####################################################################################// Helpers
18
+ def __helper(self):
19
+ return "jobs.helper"
@@ -0,0 +1 @@
1
+ {"Name": "PHPShift", "Version": "1.0.0", "Description": "Pending", "Link": "", "CMD": "phpshift", "Author": "Irakli Gzirishvili", "Mail": "gziraklirex@gmail.com", "Repository Type": "GitHub", "License": "", "Operating System": "OS Independent"}
Binary file
phpshift/__init__.py ADDED
File without changes
phpshift/main.py ADDED
@@ -0,0 +1,21 @@
1
+ import os
2
+ import sys
3
+ import subprocess
4
+
5
+
6
+ class main:
7
+ def __init__(self):
8
+ file = os.path.join(os.path.dirname(__file__), ".system/index.py")
9
+ args = " ".join(sys.argv[1:])
10
+ if not os.path.exists(file):
11
+ print("Failed to launch package!")
12
+ sys.exit()
13
+
14
+ index = file.replace("\\", "/")
15
+ command = f'clight execute "{index}" {args}'
16
+ subprocess.run(command, shell=True)
17
+ pass
18
+
19
+
20
+ if __name__ == "__main__":
21
+ app = main()
@@ -0,0 +1,20 @@
1
+ Metadata-Version: 2.2
2
+ Name: phpshift
3
+ Version: 1.0.0
4
+ Summary: Pending
5
+ Home-page:
6
+ Author: Irakli Gzirishvili
7
+ Author-email: gziraklirex@gmail.com
8
+ Classifier: Programming Language :: Python :: 3
9
+ Classifier: Operating System :: OS Independent
10
+ Description-Content-Type: text/markdown
11
+ Requires-Dist: clight
12
+ Dynamic: author
13
+ Dynamic: author-email
14
+ Dynamic: classifier
15
+ Dynamic: description
16
+ Dynamic: description-content-type
17
+ Dynamic: requires-dist
18
+ Dynamic: summary
19
+
20
+ Pending ...
@@ -0,0 +1,12 @@
1
+ phpshift/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
+ phpshift/main.py,sha256=LFiPSf1rNCAESqdaQSPfu0rD-177VxcYEGqJAc0XPRc,515
3
+ phpshift/.system/imports.py,sha256=CsRhO_XWL1YA7Wf-cpc8sUop8iIONFx6CCjRrv8Mbug,122
4
+ phpshift/.system/index.py,sha256=xumz2GAkjvGN8mbYQBj_m46FRI9Qb_1mF5qlpPW0c7Q,779
5
+ phpshift/.system/modules/jobs.py,sha256=KGITUbwkDDyN3CmsMzEycYp65U41VisKSl4LV7UEkj4,538
6
+ phpshift/.system/sources/clight.json,sha256=Tc5yRMhZUZvInWxg_e_xVobNT76AWqncVFXfM1EVbPA,244
7
+ phpshift/.system/sources/logo.ico,sha256=AZ8K0zqwksDlhb75BX8K_a1MzWhbaaEH-KB7Ik0Umu0,17659
8
+ phpshift-1.0.0.dist-info/METADATA,sha256=Xsa-6pbC9W58d5_n0_B14m4Mfr8VoeD8V2Zovzb5TlY,487
9
+ phpshift-1.0.0.dist-info/WHEEL,sha256=nn6H5-ilmfVryoAQl3ZQ2l8SH5imPWFpm1A5FgEuFV4,91
10
+ phpshift-1.0.0.dist-info/entry_points.txt,sha256=rMifv10_i7IIY-tdHhP4UyOQv83Gcvmmt6AOsM720UE,48
11
+ phpshift-1.0.0.dist-info/top_level.txt,sha256=DWZW5DlSWs7rwJHnLC_RFAlycmt8n0HOtFTXEXAniAo,9
12
+ phpshift-1.0.0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (75.8.1)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ phpshift = phpshift.main:main
@@ -0,0 +1 @@
1
+ phpshift