print objects with colored with less info
Project description
pydebugger
==================
print objects with colored with less info
Installing
----------
Install and update using `pip`_:
.. code-block:: text
$ pip install pydebugger
pydebugger supports Python 2 and newer, Python 3 and newer, and PyPy.
.. _pip: https://pip.pypa.io/en/stable/quickstart/
Example
----------------
What does it look like? Here is an example of a simple pydebugger program:
.. code-block:: python
from pydebugger.debug import debug
debug(variable1="data1", debug=True)
And what it looks like when run:
.. code-block:: text
$ python hello.py
2019:04:18~13:20:19:286000 <module> -> variable1: data1 -> TYPE:<type 'str'> -> LEN:5 -> [<FILE DIRECTORY>/test.py] [3] PID:10496
You can set OS Environment DEBUG=1 or DEBUG=True to avoid parameter "debug=True"
.. code-block:: python
from pydebugger.debug import debug
debug(variable1="data1")
or you just run "debug.py" to provider debug server with Client support OS Environment
DEBUG_SERVER=1
DEBUGGER_SERVER=0.0.0.0:50001
Support
------
* Python 2.7 +, Python 3.x
* Windows, Linux
Links
-----
* License: `BSD <https://bitbucket.org/licface/pydebugger/src/default/LICENSE.rst>`_
* Code: https://bitbucket.org/licface/pydebugger
* Issue tracker: https://bitbucket.org/licface/pydebugger/issues
==================
print objects with colored with less info
Installing
----------
Install and update using `pip`_:
.. code-block:: text
$ pip install pydebugger
pydebugger supports Python 2 and newer, Python 3 and newer, and PyPy.
.. _pip: https://pip.pypa.io/en/stable/quickstart/
Example
----------------
What does it look like? Here is an example of a simple pydebugger program:
.. code-block:: python
from pydebugger.debug import debug
debug(variable1="data1", debug=True)
And what it looks like when run:
.. code-block:: text
$ python hello.py
2019:04:18~13:20:19:286000 <module> -> variable1: data1 -> TYPE:<type 'str'> -> LEN:5 -> [<FILE DIRECTORY>/test.py] [3] PID:10496
You can set OS Environment DEBUG=1 or DEBUG=True to avoid parameter "debug=True"
.. code-block:: python
from pydebugger.debug import debug
debug(variable1="data1")
or you just run "debug.py" to provider debug server with Client support OS Environment
DEBUG_SERVER=1
DEBUGGER_SERVER=0.0.0.0:50001
Support
------
* Python 2.7 +, Python 3.x
* Windows, Linux
Links
-----
* License: `BSD <https://bitbucket.org/licface/pydebugger/src/default/LICENSE.rst>`_
* Code: https://bitbucket.org/licface/pydebugger
* Issue tracker: https://bitbucket.org/licface/pydebugger/issues
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pydebugger-0.3.tar.gz
(12.4 kB
view hashes)
Built Distribution
Close
Hashes for pydebugger-0.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 98059146c1853c3e8fb883234b79d598d4b6e6f8e100bc1a8f8416761b7a880b |
|
MD5 | 09ae95eb9cd0cfb505eebd66083dec1f |
|
BLAKE2b-256 | a6724acdd495da7295881b631f1c9e1b7a867a1fd34b45953128bdb44ed99f13 |