This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description
Namalizer — smart method name normalizer
========================================

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)


if __name__ == '__main__':
unittest.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.

Migration
---------

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]'

Credits
-------

* Alexander Artemenko <<svetlyak.40wt@gmail.com>> — original author.

Fork the project, contribute and send me patches.
Release History

Release History

0.1.1

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1.0

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
namalizer-0.1.1.tar.gz (2.6 kB) Copy SHA256 Checksum SHA256 Source Apr 4, 2011

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting