Skip to content
Switch branches/tags
Go to file
Python 2.7 went end of life at the end of 2019. It is no longer
receiving updates including for security issues.

Removing Python 2.7 support reduces testing resources and removes the
need to maintain compatibility shims.

- Remove unnecessary dependencies six and ipaddress.
- Remove unnecessary test dependencies: mock, more-itertools.
- Unpin random2 test dependency.
- Run pyupgrade to cleanup syntax.

As the project no longer supports Python 2, the wheel should no longer
be designated as "universal" and so setup.cfg has been updated. The
wheel can continue to be built for Python 3 only.

Fixes #1063

Co-authored-by: Flavio Curella <>
4 contributors

Users who have contributed to this file

@fcurella @mdxs @jdufresne @illia-v

Coding Style

Lines length should not exceed 120 characters. Please use trailing commas.

You can find our complete flake8 configuration in the tox.ini file.

Data Sets

For each data set, please provide a comment with reference to the source and/or origin of the data.

We only accept new data if it's coming from statistical sources, such as census or government institutions. This include names and their distribution.

Name Lists

When you have long lists of names, please order them alphabetically. Keep the lines length as close as possible to 120 characters, without exceeding the limit.