python-ipify
python-ipify copied to clipboard
import linux_distribution from distro
As it turns out, python3.8+ no longer ships with the linux_distribution
function in the platform
module (see https://bugs.python.org/issue28167). The docs recommend instead to use the homonym function from the distro
package. This pull request
- installs the
distro
package - imports
linux_distribution
fromdistro
- upgrades the package version to 1.0.1
I submitted #8 as an alternative solution to the same problem.
i am creating new module with syncronous asyncronous and cli named PyIpify