Metadata-Version: 2.1
Name: objexp
Version: 1.0.2
Summary: List the members in a Object[also Class or Module].
Author-email: Luke Lin <luke.l.lin@hotmail.com>
Project-URL: Homepage, https://github.com/sunrenn/objexp
Keywords: dir,vars,debug
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Win32 (MS Windows)
Classifier: Environment :: Console
Classifier: Natural Language :: Chinese (Simplified)
Classifier: Natural Language :: English
Classifier: Topic :: Software Development :: Documentation
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE.txt

# objexp

a util for python beginner.

objexp is a util to check what members in a object or Class or module imported.


## Installation

You can install objexp from [PyPI](https://pypi.org/project/objexp/):

```bash
pip install objexp
```

The reader is supported on Python 3.7 and above. 

## How to use

There is only 1 function: ox(), with 2 parameters, `savefile`, `ifprint`

savefile: "md", "json" or "both", the result str will be saved into "./objexp.md(.json)", defult value is `None`.

ifprint:　if you dont want to output result on screen, you could give a `false` value to `ifprint`, which defult value is `true`.


```python

from objexp import ox

ox(print,savefile:str,ifprint:bool)

```
It will output the members of function `print` on the screen as below:

```bash
_________________________

<class 'builtin_function_or_method'>

<built-in function print>
_________________________

<class 'NoneType'>
__text_signature__,

<class 'builtin_function_or_method'>
__dir__, __format__, __init_subclass__, __new__, __reduce__, __reduce_ex__, __sizeof__, __subclasshook__,

<class 'method-wrapper'>
__call__, __delattr__, __eq__, __ge__, __getattribute__, __gt__, __hash__, __init__, __le__, __lt__, __ne__, __repr__, __setattr__, __str__,

<class 'module'>
__self__,

<class 'str'>
__doc__, __module__, __name__, __qualname__,

<class 'type'>
__class__,

"\n_________________________\n\n<class 'builtin_function_or_method'>\n\n<built-in function print>\n_________________________\n\n<class 'NoneType'>\n__text_signature__, \n\n<class 'builtin_function_or_method'>\n__dir__, __format__, __init_subclass__, __new__, __reduce__, __reduce_ex__, __sizeof__, __subclasshook__, \n\n<class 'method-wrapper'>\n__call__, __delattr__, __eq__, __ge__, __getattribute__, __gt__, __hash__, __init__, __le__, __lt__, __ne__, __repr__, __setattr__, __str__, \n\n<class 'module'>\n__self__, \n\n<class 'str'>\n__doc__, __module__, __name__, __qualname__, \n\n<class 'type'>\n__class__, \n"

```
