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

marcoboucas/shortprint

Repository files navigation

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 !

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •