Skip to content
This repository has been archived by the owner on Feb 27, 2023. It is now read-only.

Latest commit

 

History

History
60 lines (47 loc) · 1.64 KB

README.md

File metadata and controls

60 lines (47 loc) · 1.64 KB

ShortPrint, the module to help you understand your data in an instant

GitHub Workflow Status Documentation Status CodeQL GitHub last commit wakatime

How to use Shortprint

For more information, you can check our documentation here: Documentation

First, you need to install our module

pip install shortprint

Then, you simply need to do the following in your code:

from shortprint import shortprint

from requests import Request
your_object = Request()

# Print a preview of the result of you function
# Without having hundred lines filled with text

shortprint(your_object)

And the result could be the following:

===== Shortprinting =====
Shortprinting the variable located at the following location:
File: test.py, at line 10
Variable Name: 'your_object'
=========================
requests.models.Request(
  auth: None
  cookies: None
  data: List[]
  files: List[]
  headers: Dict[]
  hooks: Dict[
    (1) str: List[]
  ]
  json: None
  method: None
  params: Dict[]
  url: None
)

How to contribute

  1. Clone the repository
  2. Run the make install-dev command to install the development dependencies
  3. Enjoy !