Requirements

Here is the list of requirements:

  • Python 3.6.2+ && Python < 4
  • colorama

Python 3.6.8+ && Python < 4

The specification 3.6.8+ is because we test domain2idna (daily) in all version from 3.6.8. Otherwise, more semantically, domain2idna is written for all Python 3.6+ version.

colorama

As we want to add some coloration, we choose colorama for the job as it offers a portable awesome solution.

Get and install domain2idna

Using pip

Choose your repository, install and enjoy domain2idna!

From PyPi

$ pip3 install --user domain2idna

Note

We recommend the --user flag which installs the required dependencies at the user level. More information about it can be found on pip documentation.

Warning

We do not recommend the --user flag when using domain2idna into containers like - for example - Travis CI.

From GitHub

$ pip3 install --user git+https://github.com/PyFunceble/domain2idna.git@master#egg=domain2idna

Note

We recommend the --user flag which installs the required dependencies at the user level. More information about it can be found on pip documentation.

Warning

We do not recommend the --user flag when using domain2idna into containers like - for example - Travis CI.

Using conda

$ conda install -c pyfunceble domain2idna

Pure Python method

Execute the following and enjoy domain2idna!

We clone the repository.

$ git clone https://github.com/PyFunceble/domain2idna.git

We move to the cloned directory.

$ cd domain2idna

We test the package before installating.

$ python3 setup.py test

We install domain2idna.

$ python3 setup.py install --user

Note

We recommend the --user flag which installs the required dependencies at the user level. More information about it can be found on pip documentation.

Warning

We do not recommend the --user flag when using domain2idna into containers like - for example - Travis CI.

First steps

Make sure that you can run the following without any issue and enjoy domain2idna!!

$ domain2idna --version