dumpit-0.6.0
توضیحات
Print python objects like a boss
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | dumpit-0.6.0 |
| نام | dumpit |
| نسخه کتابخانه | 0.6.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Ivan Arar |
| ایمیل نویسنده | ivan.arar@gmail.com |
| آدرس صفحه اصلی | https://github.com/arrrlo/dumpit |
| آدرس اینترنتی | https://pypi.org/project/dumpit/ |
| مجوز | MIT |
# dumpit
## List all python object attributes with descriptions
[](https://badge.fury.io/py/dumpit)
[](https://travis-ci.com/arrrlo/dumpit)
[](https://www.codacy.com/app/arrrlo/dumpit?utm_source=github.com&utm_medium=referral&utm_content=arrrlo/dumpit&utm_campaign=Badge_Grade)







### Installation
```
pip install dumpit
```
### Usage
```python
from dumpit import pdumpit, fdumpit
my_object = ...
# Print object to standard output
pdumpit(my_object)
#Print object to standard output in vertical view
pdumpit(my_object, view_='vertical') # vertical | table
# Export object to string as text
my_var = fdumpit(my_object)
# Disable colors in terminal output
pdumpit(my_object, colors=False) # False | terminal
# Enable colors in string output
my_var = fdumpit(my_object, colors='terminal')
# Show dunder methods (magic methods)
pdumpit(my_object, all_=True)
```
# Changelog
## 0.6.0
#### Fixed in 0.6.0
- all_ parameter default value is now False
- code formatting
## 0.5.0
#### Fixed in 0.5.0
- Python 3 compatibility
## 0.4.2
#### Fixed in 0.4.2
- Dependency version changed: Click 6.7 -> Click 7.0
## 0.4.1
#### Fixed in 0.4.1
- Dunder methods description formatting and new lines.
## 0.4.0
#### Added in 0.4.0
- Descriptions for every objects attribute.
- Separate dunders from other attributes.
## 0.3.0
#### Added in 0.3.0
- Analyse is now view.
- Table view support: Print object contents in table view in terminal.
- Warnings: Prints warnings in terminal if unknown coloring or view is used.
## 0.2.0
#### Added 0.2.0
- Coloring support: Terminal colors for object attributes.
نیازمندی
| مقدار | نام |
|---|---|
| ~=7.0 | click |
| ~=1.1.0 | termcolor |
| ==3.1.0 | terminaltables |
نحوه نصب
نصب پکیج whl dumpit-0.6.0:
pip install dumpit-0.6.0.whl
نصب پکیج tar.gz dumpit-0.6.0:
pip install dumpit-0.6.0.tar.gz