Skip to content

Returns the correct writing of a compound name, respecting the first letters of the names in upper case.

License

Notifications You must be signed in to change notification settings

sxslex/capitalize-name

Repository files navigation

capitalize-name

https://travis-ci.org/sxslex/capitalize-name.svg?branch=master

Returns the correct writing of a compound name, respecting the first letters of the names in upper case. Passes all original unittests.

Usage in python

>>> import capitalize_name
>>> capitalize_name.capitalize('AV. DOM PEDRO DE ALMEIDA I')
'Av. Dom Pedro de Almeida I'

Usage in command line

$ capitalizename "AV. DOM PEDRO DE ALMEIDA I"
Av. Dom Pedro de Almeida I

Installation

Use pip or easy_install:

$ pip install capitalize-name

Development

Use py.test to run unittests

About

Returns the correct writing of a compound name, respecting the first letters of the names in upper case.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages