
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
This user-friendly debugger simplifies the debugging process by accepting any number of variables and printing their names, values, and line numbers. It also offers options to add search text and include variable type information for enhanced clarity.
Pypi: https://pypi.org/project/here-debugger/
To install the debugger, use:
pip install here-debugger
Print variable names and values.
from here_debugger.debug import here_debug
a = 2
b = "Bibhash"
here_debug(a, b)
Output:
File: <current_file>: Line-4: a = 2 | b = Bibhash |
Add search text:
from here_debugger.debug import here_debug
a = 2
b = "Bibhash"
here_debug(a,b, custom_search_text="Debug-")
Output:
Debug-: File: <current_file>: Line-4: a = 2 | b = Bibhash |
Print variable type information:
from here_debugger.debug import here_debug
a = 2
b = "Bibhash"
c = [2,2]
d = {}
here_debugger(a,b,c,d, custom_search_text="Debug-", include_types=True)
Output: Debug-: File: <current_file>: Line-6: a = 2, type = <class 'int'> | b = Bibhash, type = <class 'str'> | c = [2, 2], type = <class 'list'> | d = {}, type = <class 'dict'> |
Update: Now supports constants:
from here_debugger.debug import here_debug
a = 2
here_debug(a,"Bibhash", custom_search_text="Debug-")
Output:
Debug-: File: <current_file>: Line-4: a = 2 | Bibhash |
FAQs
A user friendly debugger, just like print statement, but much more.
We found that here-debugger demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.