Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

pypm install namalizer

How to install namalizer

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install namalizer
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
0.1.1 Available View build log
Windows (64-bit)
0.1.1 Available View build log
Mac OS X (10.5+)
0.1.1 Available View build log
Linux (32-bit)
0.1.1 Available View build log
Linux (64-bit)
0.1.1 Available View build log
New BSD License
Lastest release
version 0.1.1 on Apr 4th, 2011

It allows you to keep PEP8 naming style, using libraries like Twisted or unittest.

Here is example:

#!/usr/bin/python import unittest from namalizer import pep8

class MyTests(unittest.TestCase):
def set_up(self):
self.a = 'blah'
def test_example(self):
self.assert_equal(self.a, 'blah')

pep8(**locals()) # or pep8(MyTests)

System Message: WARNING/2 (<string>, line 21); backlink

Inline strong start-string without end-string.
if __name__ == '__main__':

Namalizer creates aliases for method with wrong names. In this case, it will create aliazes in unittest.TestCase for methods like setUp, assertEqual, etc..

Then, it will see that you created method set_up to override base class's functionality and will create alias setUp for this method, this way when unittest will call setUp, you version will be called.


If you use some library with ugly naming method, this regex will help you to find all places where wrong names are used:

git grep -e '(.|def )[a-z]+[A-Z]'


Fork the project, contribute and send me patches.

Subscribe to package updates

Last updated Apr 4th, 2011

Download Stats

Last month:1

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.