Skip to main content

Print __dir__ in a readable format

Project description

ordir

A utility to print dir() in a readable format.

Usage

>>> from ordir import ordir
>>> import requests

>>> page = requests.get("https://cnn.com")

>>> ordir(page)
__attrs__
__bool__
__class__
__delattr__
__dict__
__dir__
__doc__
__enter__
__eq__
__exit__
__format__
__ge__
__getattribute__
__getstate__
__gt__
__hash__
__init__
__init_subclass__
__iter__
__le__
__lt__
__module__
__ne__
__new__
__nonzero__
__reduce__
__reduce_ex__
__repr__
__setattr__
__setstate__
__sizeof__
__str__
__subclasshook__
__weakref__
_content
_content_consumed
_next
apparent_encoding
close
connection
content
cookies
elapsed
encoding
headers
history
is_permanent_redirect
is_redirect
iter_content
iter_lines
json
links
next
ok
raise_for_status
raw
reason
request
status_code
text
url

https://stackoverflow.com/a/19703412

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for ordir, version 1.0.1
Filename, size File type Python version Upload date Hashes
Filename, size ordir-1.0.1-py3-none-any.whl (1.7 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size ordir-1.0.1.tar.gz (1.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page