Skip to main content

Are completely arbitrary words better than 1 letter variables? Let's find out together!

Project description

One letter variables thoughtlessly strewed about a codebase annoyed a colleague and an idle thought became this poorly named project.

Uses the AST (and some cool projects like Astor and codegen.py) to quickly mangle / transform your code.

Why not just rename the variable and be done with it?

Excellent question! It’s fun to play at the A.S.T.!

Example usage

..:

$ python -m nato somefile.py > one_letter_variable_free.py

Project details


Download files

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

Source Distribution

nato-1.0.0.tar.gz (2.2 kB view hashes)

Uploaded Source

Built Distribution

nato-1.0.0-py3-none-any.whl (3.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page