$29 GRAYBYTE WORDPRESS FILE MANAGER $20

SERVER : vnpttt-amd7f72-h1.vietnix.vn #1 SMP Fri May 24 12:42:50 UTC 2024
SERVER IP : 103.200.23.149 | ADMIN IP 216.73.216.22
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/opt/cloudlinux/venv/bin/

HOME
Current File : /opt/cloudlinux/venv/bin//get_objgraph
#!/opt/cloudlinux/venv/bin/python3
#
# Author: Mike McKerns (mmckerns @caltech and @uqfoundation)
# Copyright (c) 2008-2016 California Institute of Technology.
# Copyright (c) 2016-2023 The Uncertainty Quantification Foundation.
# License: 3-clause BSD.  The full license text is available at:
#  - https://github.com/uqfoundation/dill/blob/master/LICENSE
"""
display the reference paths for objects in ``dill.types`` or a .pkl file

Notes:
    the generated image is useful in showing the pointer references in
    objects that are or can be pickled.  Any object in ``dill.objects``
    listed in ``dill.load_types(picklable=True, unpicklable=True)`` works.

Examples::

    $ get_objgraph ArrayType
    Image generated as ArrayType.png
"""

import dill as pickle
#pickle.debug.trace(True)
#import pickle

# get all objects for testing
from dill import load_types
load_types(pickleable=True,unpickleable=True)
from dill import objects

if __name__ == "__main__":
    import sys
    if len(sys.argv) != 2:
        print ("Please provide exactly one file or type name (e.g. 'IntType')")
        msg = "\n"
        for objtype in list(objects.keys())[:40]:
            msg += objtype + ', '
        print (msg + "...")
    else:
        objtype = str(sys.argv[-1])
        try:
            obj = objects[objtype]
        except KeyError:
            obj = pickle.load(open(objtype,'rb'))
            import os
            objtype = os.path.splitext(objtype)[0]
        try:
            import objgraph
            objgraph.show_refs(obj, filename=objtype+'.png')
        except ImportError:
            print ("Please install 'objgraph' to view object graphs")


# EOF

Current_dir [ NOT WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
14 Aug 2025 9.24 PM
root / root
0755
Activate.ps1
8.821 KB
17 Apr 2025 8.10 PM
root / root
0644
activate
1.651 KB
17 Apr 2025 8.10 PM
root / root
0644
activate.csh
0.894 KB
17 Apr 2025 8.10 PM
root / root
0644
activate.fish
2.14 KB
17 Apr 2025 8.10 PM
root / root
0644
alembic
0.224 KB
17 Apr 2025 8.10 PM
root / root
0755
chardetect
0.231 KB
17 Apr 2025 8.10 PM
root / root
0755
cl_sysctl
4.512 KB
15 Sep 2025 6.05 PM
root / root
0755
clcpapi
3.643 KB
15 Sep 2025 6.05 PM
root / root
0755
coverage
0.226 KB
17 Apr 2025 8.10 PM
root / root
0755
coverage-3.11
0.226 KB
17 Apr 2025 8.10 PM
root / root
0755
coverage3
0.226 KB
17 Apr 2025 8.10 PM
root / root
0755
cpanel-dbmapping
3.833 KB
15 Sep 2025 6.05 PM
root / root
0755
da_suid_caller.py
0.67 KB
15 Sep 2025 6.05 PM
root / root
0644
detect-requirements
0.232 KB
17 Apr 2025 8.10 PM
root / root
0755
dodgy
0.219 KB
17 Apr 2025 8.10 PM
root / root
0755
epylint
0.229 KB
17 Apr 2025 8.10 PM
root / root
0755
f2py
0.227 KB
17 Apr 2025 8.10 PM
root / root
0755
f2py3
0.227 KB
17 Apr 2025 8.10 PM
root / root
0755
f2py3.11
0.227 KB
17 Apr 2025 8.10 PM
root / root
0755
flake8
0.225 KB
17 Apr 2025 8.10 PM
root / root
0755
futurize
0.226 KB
17 Apr 2025 8.10 PM
root / root
0755
get_gprof
1.841 KB
17 Apr 2025 8.10 PM
root / root
0755
get_objgraph
1.628 KB
17 Apr 2025 8.10 PM
root / root
0755
isort
0.22 KB
17 Apr 2025 8.10 PM
root / root
0755
isort-identify-imports
0.253 KB
17 Apr 2025 8.10 PM
root / root
0755
jsonschema
0.224 KB
17 Apr 2025 8.10 PM
root / root
0755
lvestats_config_reader.py
1.118 KB
30 May 2025 5.30 PM
root / root
0644
mako-render
0.224 KB
17 Apr 2025 8.10 PM
root / root
0755
normalizer
0.254 KB
17 Apr 2025 8.10 PM
root / root
0755
pasteurize
0.228 KB
17 Apr 2025 8.10 PM
root / root
0755
pip
0.231 KB
17 Apr 2025 8.10 PM
root / root
0755
pip3
0.231 KB
17 Apr 2025 8.10 PM
root / root
0755
pip3.11
0.231 KB
17 Apr 2025 8.10 PM
root / root
0755
plesk_suid_caller.py
0.884 KB
15 Sep 2025 6.05 PM
root / root
0644
prospector
0.224 KB
17 Apr 2025 8.10 PM
root / root
0755
py.test
0.231 KB
17 Apr 2025 8.10 PM
root / root
0755
pycodestyle
0.223 KB
17 Apr 2025 8.10 PM
root / root
0755
pydocstyle
0.224 KB
17 Apr 2025 8.10 PM
root / root
0755
pyflakes
0.222 KB
17 Apr 2025 8.10 PM
root / root
0755
pylint
0.228 KB
17 Apr 2025 8.10 PM
root / root
0755
pylint-config
0.243 KB
17 Apr 2025 8.10 PM
root / root
0755
pyreverse
0.233 KB
17 Apr 2025 8.10 PM
root / root
0755
pysemver
0.22 KB
17 Apr 2025 8.10 PM
root / root
0755
pytest
0.231 KB
17 Apr 2025 8.10 PM
root / root
0755
python
15.586 KB
23 Jun 2025 10.48 PM
root / 996
0755
python3
15.586 KB
23 Jun 2025 10.48 PM
root / 996
0755
python3.11
15.586 KB
23 Jun 2025 10.48 PM
root / 996
0755
raven
0.229 KB
17 Apr 2025 8.10 PM
root / root
0755
symilar
0.229 KB
17 Apr 2025 8.10 PM
root / root
0755
tap
0.218 KB
17 Apr 2025 8.10 PM
root / root
0755
tappy
0.218 KB
17 Apr 2025 8.10 PM
root / root
0755
undill
0.589 KB
17 Apr 2025 8.10 PM
root / root
0755
virtualenv
0.248 KB
17 Apr 2025 8.10 PM
root / root
0755

GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME
Static GIF