4 ms·
Namespaces for the Python Package Index
- apelapan 3y agoThis would be a very welcome addition to Python packaging! Since . is already used for the package-level namespacing and is currently a forbidden character in PYPI package-names, that seems like the perfect separator. Instead of doing `pip install mycorp-foo`, and then `import mycorp.foo`, you'd do `pip install com.mycorp.foo` and have an import statement that matches perfectly!
- di 3y agoPeriods are not prohibited in package names, they're just uncommon (e.g., https://pypi.org/project/zope.sqlalchemy/ https://pypi.org/project/zope.sqlalchemy/)