libraries.io
                                
                                
                                
                                    libraries.io copied to clipboard
                            
                            
                            
                        PyPi package name: redirect dash / minus ↔ underscore
In pypi, some package names containing a dash / minus are redirected to the same link with underscores, and some the other way around, in libraries.io this is not reflected, it would be nice to not reach a 404 over this.
Examples:
- minus → underscore: https://pypi.org/project/semantic-version/ → https://pypi.org/project/semantic_version/
 - underscore → minus: https://pypi.org/project/universal_analytics_python/ → https://pypi.org/project/universal-analytics-python/
 
Another example: https://libraries.io/api/pypi/facebook_business vs https://libraries.io/api/pypi/facebook-business
It seems like originally the package was called facebook_business but then was renamed to facebook-business. PyPI API says so: https://pypi.org/pypi/facebook_business/json
And it seems like Libraries.io just stopped updating facebook_business package without handling renaming.