Skip to main content

formatvalue(value) function - required for inspect.formatargspec, inspect.formatargvalues

Project description


$ [sudo] pip install formatvalue


>>> from formatvalue import formatvalue

>>> formatvalue(value)


>>> formatvalue(None)

>>> formatvalue("value")

>>> class CLS(object): pass
>>> formatvalue(CLS)

>>> formatvalue(CLS())
'=<__main__.CLS instance>'

>>> formatvalue(formatvalue)

### Sources

+   [`formatvalue.f_bool(value)`](
+   [`formatvalue.f_cls(value)`](
+   [`formatvalue.f_filehandler(value)`](
+   [`formatvalue.f_func(value)`](
+   [`formatvalue.f_instance(value)`](
+   [`formatvalue.f_none(value)`](
+   [`formatvalue.f_regex(value)`](
+   [`formatvalue.f_str(value)`](
+   [`formatvalue.formatvalue(value)`](
+   [`formatvalue.isfilehandler(obj)`](
+   [`formatvalue.isregex(obj)`](

Project details

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
formatvalue-1.0.3.tar.gz (1.9 kB) Copy SHA256 hash SHA256 Source None May 16, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page