rdegges / python-ipify

The official client library for ipify: A Simple IP Address API.
The Unlicense
138 stars 35 forks source link

import linux_distribution from distro #7

Open adrian-soto opened 5 years ago

adrian-soto commented 5 years ago

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

  1. installs the distro package
  2. imports linux_distribution from distro
  3. upgrades the package version to 1.0.1
yearski commented 4 years ago

I submitted #8 as an alternative solution to the same problem.

SigireddyBalasai commented 1 year ago

i am creating new module with syncronous asyncronous and cli named PyIpify