objxp 1__tar.gz → 1.0.4__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.
- {objxp-1 → objxp-1.0.4}/PKG-INFO +1 -1
- {objxp-1 → objxp-1.0.4}/pyproject.toml +1 -1
- {objxp-1 → objxp-1.0.4}/src/objxp/__init__.py +13 -3
- {objxp-1 → objxp-1.0.4}/src/objxp.egg-info/PKG-INFO +1 -1
- {objxp-1 → objxp-1.0.4}/LICENSE +0 -0
- {objxp-1 → objxp-1.0.4}/README.md +0 -0
- {objxp-1 → objxp-1.0.4}/setup.cfg +0 -0
- {objxp-1 → objxp-1.0.4}/setup.py +0 -0
- {objxp-1 → objxp-1.0.4}/src/objxp/__main__.py +0 -0
- {objxp-1 → objxp-1.0.4}/src/objxp.egg-info/SOURCES.txt +0 -0
- {objxp-1 → objxp-1.0.4}/src/objxp.egg-info/dependency_links.txt +0 -0
- {objxp-1 → objxp-1.0.4}/src/objxp.egg-info/entry_points.txt +0 -0
- {objxp-1 → objxp-1.0.4}/src/objxp.egg-info/top_level.txt +0 -0
- {objxp-1 → objxp-1.0.4}/tests/test.py +0 -0
- {objxp-1 → objxp-1.0.4}/tests/test_ox.py +0 -0
{objxp-1 → objxp-1.0.4}/PKG-INFO
RENAMED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import os
|
|
2
2
|
import json
|
|
3
|
+
import sys
|
|
3
4
|
import shutil
|
|
4
5
|
from typing import Literal, Optional, Union
|
|
5
6
|
|
|
@@ -69,6 +70,7 @@ def title_case(content: str, level: int = 1, outputType: str = "screen") -> str:
|
|
|
69
70
|
else:
|
|
70
71
|
# For markdown output
|
|
71
72
|
return "\n "+typename+" mmembers:\n"
|
|
73
|
+
|
|
72
74
|
def ox(
|
|
73
75
|
theobj: object="test",
|
|
74
76
|
ifprint = True,
|
|
@@ -217,10 +219,8 @@ def ox(
|
|
|
217
219
|
|
|
218
220
|
return result_content_text_md
|
|
219
221
|
|
|
220
|
-
|
|
221
222
|
# vars() is alternative to dirs(), or locals()
|
|
222
223
|
|
|
223
|
-
|
|
224
224
|
def what_is_vars():
|
|
225
225
|
locals = vars().copy()
|
|
226
226
|
for kk,vv in locals.items():
|
|
@@ -255,6 +255,16 @@ def what_is_vars():
|
|
|
255
255
|
|
|
256
256
|
|
|
257
257
|
"""
|
|
258
|
+
|
|
259
|
+
|
|
260
|
+
def hlp(objtgt,mdff=""):
|
|
261
|
+
mdff = "./tmp.md" if mdff == "" else mdff
|
|
262
|
+
out = sys.stdout
|
|
263
|
+
sys.stdout = open(mdff, 'w')
|
|
264
|
+
help(objtgt)
|
|
265
|
+
sys.stdout.close()
|
|
266
|
+
sys.stdout = out
|
|
267
|
+
|
|
258
268
|
|
|
259
269
|
if __name__=="__main__":
|
|
260
|
-
|
|
270
|
+
help(100)
|
{objxp-1 → objxp-1.0.4}/LICENSE
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{objxp-1 → objxp-1.0.4}/setup.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|