phpshift 1.0.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.
- phpshift-1.0.0/PKG-INFO +20 -0
- phpshift-1.0.0/README.md +1 -0
- phpshift-1.0.0/phpshift/.system/imports.py +5 -0
- phpshift-1.0.0/phpshift/.system/index.py +25 -0
- phpshift-1.0.0/phpshift/.system/modules/jobs.py +19 -0
- phpshift-1.0.0/phpshift/.system/sources/clight.json +1 -0
- phpshift-1.0.0/phpshift/.system/sources/logo.ico +0 -0
- phpshift-1.0.0/phpshift/__init__.py +0 -0
- phpshift-1.0.0/phpshift/main.py +21 -0
- phpshift-1.0.0/phpshift.egg-info/PKG-INFO +20 -0
- phpshift-1.0.0/phpshift.egg-info/SOURCES.txt +15 -0
- phpshift-1.0.0/phpshift.egg-info/dependency_links.txt +1 -0
- phpshift-1.0.0/phpshift.egg-info/entry_points.txt +2 -0
- phpshift-1.0.0/phpshift.egg-info/requires.txt +1 -0
- phpshift-1.0.0/phpshift.egg-info/top_level.txt +1 -0
- phpshift-1.0.0/setup.cfg +4 -0
- phpshift-1.0.0/setup.py +39 -0
phpshift-1.0.0/PKG-INFO
ADDED
|
@@ -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 ...
|
phpshift-1.0.0/README.md
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Pending ...
|
|
@@ -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
|
|
File without changes
|
|
@@ -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,15 @@
|
|
|
1
|
+
README.md
|
|
2
|
+
setup.py
|
|
3
|
+
phpshift/__init__.py
|
|
4
|
+
phpshift/main.py
|
|
5
|
+
phpshift.egg-info/PKG-INFO
|
|
6
|
+
phpshift.egg-info/SOURCES.txt
|
|
7
|
+
phpshift.egg-info/dependency_links.txt
|
|
8
|
+
phpshift.egg-info/entry_points.txt
|
|
9
|
+
phpshift.egg-info/requires.txt
|
|
10
|
+
phpshift.egg-info/top_level.txt
|
|
11
|
+
phpshift/.system/imports.py
|
|
12
|
+
phpshift/.system/index.py
|
|
13
|
+
phpshift/.system/modules/jobs.py
|
|
14
|
+
phpshift/.system/sources/clight.json
|
|
15
|
+
phpshift/.system/sources/logo.ico
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
clight
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
phpshift
|
phpshift-1.0.0/setup.cfg
ADDED
phpshift-1.0.0/setup.py
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
from setuptools import setup, find_packages
|
|
2
|
+
|
|
3
|
+
setup(
|
|
4
|
+
name="phpshift",
|
|
5
|
+
version="1.0.0",
|
|
6
|
+
packages=find_packages(),
|
|
7
|
+
install_requires=[
|
|
8
|
+
"clight",
|
|
9
|
+
|
|
10
|
+
],
|
|
11
|
+
entry_points={
|
|
12
|
+
"console_scripts": [
|
|
13
|
+
"phpshift=phpshift.main:main", # Entry point of the app
|
|
14
|
+
],
|
|
15
|
+
},
|
|
16
|
+
package_data={
|
|
17
|
+
"phpshift": [
|
|
18
|
+
"main.py",
|
|
19
|
+
"__init__.py",
|
|
20
|
+
".system/imports.py",
|
|
21
|
+
".system/index.py",
|
|
22
|
+
".system/modules/jobs.py",
|
|
23
|
+
".system/sources/clight.json",
|
|
24
|
+
".system/sources/logo.ico"
|
|
25
|
+
],
|
|
26
|
+
},
|
|
27
|
+
include_package_data=True,
|
|
28
|
+
author="Irakli Gzirishvili",
|
|
29
|
+
author_email="gziraklirex@gmail.com",
|
|
30
|
+
description="Pending",
|
|
31
|
+
long_description=open("README.md").read(),
|
|
32
|
+
long_description_content_type="text/markdown",
|
|
33
|
+
url="",
|
|
34
|
+
classifiers=[
|
|
35
|
+
"Programming Language :: Python :: 3",
|
|
36
|
+
|
|
37
|
+
"Operating System :: OS Independent",
|
|
38
|
+
],
|
|
39
|
+
)
|