On 2020 Jun 26, at 15:50, David Mathog <dmat...@gmail.com> wrote:

> Still, how common is that?  Can anybody offer an estimate about what
> fraction of packages use different names like that?

Scanning through the wheelodex.org database (specifically, a dump from earlier 
this week) finds 32,517 projects where the wheel DOES NOT contain a top-level 
module of the same name as the project (after correcting for differences in 
case and hyphen vs. underscore vs. period) and 74,073 projects where the wheel 
DOES contain a module of the same name.  (5,417 projects containing no modules 
were excluded.)  Note that a project named "foo-bar" containing a namespace 
package "foo/bar" is counted in the former group.

Of the 32,517 non-matching projects, 7,117 were Odoo projects with project 
names of the form "odoo{version}_addon_{foo}" containing namespace modules of 
the form "odoo/addons/{foo}", and 3,175 were Django projects with project names 
of the form "django_{foo}" containing packages named just "{foo}".  No other 
major patterns seem to stand out.

-- John Wodder
--
Distutils-SIG mailing list -- distutils-sig@python.org
To unsubscribe send an email to distutils-sig-le...@python.org
https://mail.python.org/mailman3/lists/distutils-sig.python.org/
Message archived at 
https://mail.python.org/archives/list/distutils-sig@python.org/message/V445KCPLKMEVSSEAKX776DMNSPL76JRR/

Reply via email to