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


Release history Release notifications

This version

1.0.0

Download files

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

Files for nato, version 1.0.0
Filename, size File type Python version Upload date Hashes
Filename, size nato-1.0.0-py3-none-any.whl (3.5 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size nato-1.0.0.tar.gz (2.2 kB) File type Source Python version None Upload date Hashes View hashes

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 DigiCert DigiCert EV certificate StatusPage StatusPage Status page