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 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page