Skip to main content

NATO

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

Metadata

Release files for nato 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nato 1.0.0
File Size Uploaded Provenance Actions
nato-1.0.0.tar.gz 2.2 kB Without provenance Details for nato-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for nato 1.0.0
File Interpreter ABI Platform Actions
nato-1.0.0-py3-none-any.whl Python 3 none any Details for nato-1.0.0-py3-none-any.whl

Total release size: 5.7 kB

Release files / nato-1.0.0.tar.gz

Download URL nato-1.0.0.tar.gz
Size 2.2 kB
Tags Source
SHA-256 checksum
How to use checksums
011e64b8c503bd845b7d27b9d1cd87544c22246dc10f22e739b470404e182df2
BLAKE2b-256 checksum
How to use checksums
13f2d6e07c07142b0c015f3f17fdcc3d61c06f68f0fed3e84dae9cdab7f89259
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/3.7.1

Release files / nato-1.0.0-py3-none-any.whl

Download URL nato-1.0.0-py3-none-any.whl
Size 3.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
43d151cf0af41f87dcfebbdf1edeef9b383f64daab1cc13cc9a1653e54bb9e27
BLAKE2b-256 checksum
How to use checksums
14ff188fde3fa09594fdf536c5cd15a372075e77409c099cd65ccbb8fca4b80c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/3.7.1

Security for nato 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page