Did I find the right examples for you? yes no

All Samples(4)  |  Call(2)  |  Derive(0)  |  Import(2)
Normalize a python package name 

        def normalize_name(name):
    """ Normalize a python package name """
    return name.lower().replace('-', '_')
        


src/p/y/pypicloud-0.2.4/pypicloud/models.py   pypicloud(Download)
 
from .compat import total_ordering
from .util import normalize_name
 
 
    def __init__(self, name, version, filename, last_modified=None, **kwargs):
        self.name = normalize_name(name)
        self.version = version
        self.filename = filename
        if last_modified is not None:

src/p/y/pypicloud-HEAD/pypicloud/models.py   pypicloud(Download)
 
from .compat import total_ordering
from .util import normalize_name
 
 
    def __init__(self, name, version, filename, last_modified=None, **kwargs):
        self.name = normalize_name(name)
        self.version = version
        self.filename = filename
        if last_modified is not None: