Permalink
Browse files

License and README.

  • Loading branch information...
1 parent 9614b34 commit d5381784f7a4bfd62028049e91d8cbd6603502b6 @svetlyak40wt committed Apr 4, 2011
Showing with 68 additions and 0 deletions.
  1. +5 −0 .gitignore
  2. +24 −0 LICENSE
  3. +29 −0 README.md
  4. +10 −0 setup.py
View
@@ -0,0 +1,5 @@
+.*.swp
+*.pyc
+MANIFEST
+dist
+build
View
@@ -0,0 +1,24 @@
+Copyright (c) 2011, Alexander Artemenko
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+ * Neither the name of the namalizer nor the
+ names of its contributors may be used to endorse or promote products
+ derived from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY ALEXANDER ARTEMENKO ''AS IS'' AND ANY
+EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL ALEXANDER ARTEMENKO BE LIABLE FOR ANY
+DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
View
@@ -0,0 +1,29 @@
+Namalizer — smart method name normalizer
+========================================
+
+It allows you to keep PEP8 naming style, using libraries like `Twisted` or `unittest`.
+
+Here is example:
+
+ :::python
+ #!/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()
+
View
@@ -6,5 +6,15 @@
description='Normalizes method names according to PEP8.',
author='Alexander Artemenko',
author_email='svetlyak.40wt@gmail.com',
+ license = 'New BSD License',
+ keywords='python library pep8 pep normalizer naming',
+ url = 'http://github.com/svetlyak40wt/namalizer/',
+ classifiers=[
+ 'Development Status :: 4 - Beta',
+ 'Intended Audience :: Developers',
+ 'License :: OSI Approved :: BSD License',
+ 'Programming Language :: Python',
+ 'Topic :: Software Development :: Libraries :: Python Modules',
+ ],
py_modules=['namalizer'],
)

0 comments on commit d538178

Please sign in to comment.