Interface NormalizedProjectName

All Known Implementing Classes:
NormalizedProjectName.Simple

public interface NormalizedProjectName
Normalized python project name from uploading filename.

According to PEP-503 only valid characters in a name are the ASCII alphabet, ASCII numbers, ., -, and _. The name should be lowercased with all runs of the characters ., -, or _ replaced with a single - character.

Implementations of this interface should return normalized project name in value() method.

Since:
0.6
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final class 
    Simple NormalizedProjectName implementation: normalise given name by replacing ., -, or _ with a single - and making all characters lowecase.
  • Method Summary

    Modifier and Type
    Method
    Description
    Python project name.
  • Method Details

    • value

      String value()
      Python project name.
      Returns:
      String value