🚀 DAY 1 OF LAUNCH WEEK: Reachability for Ruby Now in Beta.Learn more →
Socket
Book a DemoInstallSign in
Socket

Underscore

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Underscore

Obfuscating code by changing the variable names to underscores

pipPyPI
Version
0.0.30000001
Maintainers
1

Underscore

Obfuscating code by changing the variable names to underscores

Installation

pip install underscore

Usage

$ _ [file] > _file.py

You can also compile through python

from underscore import _

_(filename, output_filename)

Example

Input
# fib.py

def fib(n):
    a, b = 0, 1
    for i in xrange(n):
        a, b = b, a + b
    return b

print fib(10)
Output
# _fib.py

def _(_):
    (__, ___) = (0, 1)
    for ____ in xrange(_):
    (__, ___) = (___, __ + ___)
    return ___
print _(10)

Tests

nosetests

FAQs

Did you know?

Socket

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.

Install

Related posts