Skip to contents

Perform package name formatting as PyPI is case insensitive and long runs of underscore, period, and hyphens are not recognized (- is same as –).

Usage

normalize_pypi_pkg(pkg_name)

Arguments

pkg_name

Character vector of package names.

Value

Character vector of normalized PyPI package names

Examples

normalize_pypi_pkg(c('Dask', 'TenSorFlow'))
#> [1] "dask"       "tensorflow"