Skip to content

Commit

Permalink
Merge pull request #332 from secynic/dev
Browse files Browse the repository at this point in the history
v1.3.0
  • Loading branch information
secynic authored Oct 15, 2024
2 parents 4e567d4 + 3c06ebe commit b8c79c4
Show file tree
Hide file tree
Showing 18 changed files with 72 additions and 109 deletions.
2 changes: 1 addition & 1 deletion LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2013-2020 Philip Hane
Copyright (c) 2013-2024 Philip Hane
All rights reserved.

Redistribution and use in source and binary forms, with or without
Expand Down
2 changes: 1 addition & 1 deletion ipwhois/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2013-2020 Philip Hane
# Copyright (c) 2013-2024 Philip Hane
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
Expand Down
2 changes: 1 addition & 1 deletion ipwhois/asn.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2013-2020 Philip Hane
# Copyright (c) 2013-2024 Philip Hane
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
Expand Down
2 changes: 1 addition & 1 deletion ipwhois/docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@

# General information about the project.
project = 'ipwhois'
copyright = '2013-2020, Philip Hane'
copyright = '2013-2024, Philip Hane'

# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
Expand Down
2 changes: 1 addition & 1 deletion ipwhois/exceptions.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2013-2020 Philip Hane
# Copyright (c) 2013-2024 Philip Hane
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
Expand Down
2 changes: 1 addition & 1 deletion ipwhois/hr.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2013-2020 Philip Hane
# Copyright (c) 2013-2024 Philip Hane
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
Expand Down
2 changes: 1 addition & 1 deletion ipwhois/ipwhois.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2013-2020 Philip Hane
# Copyright (c) 2013-2024 Philip Hane
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
Expand Down
2 changes: 1 addition & 1 deletion ipwhois/net.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2013-2020 Philip Hane
# Copyright (c) 2013-2024 Philip Hane
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
Expand Down
2 changes: 1 addition & 1 deletion ipwhois/nir.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2013-2020 Philip Hane
# Copyright (c) 2013-2024 Philip Hane
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
Expand Down
2 changes: 1 addition & 1 deletion ipwhois/rdap.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2013-2020 Philip Hane
# Copyright (c) 2013-2024 Philip Hane
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
Expand Down
2 changes: 1 addition & 1 deletion ipwhois/scripts/docs/generate_examples.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2013-2020 Philip Hane
# Copyright (c) 2013-2024 Philip Hane
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
Expand Down
2 changes: 1 addition & 1 deletion ipwhois/scripts/ipwhois_cli.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2013-2020 Philip Hane
# Copyright (c) 2013-2024 Philip Hane
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
Expand Down
2 changes: 1 addition & 1 deletion ipwhois/scripts/ipwhois_utils_cli.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2013-2020 Philip Hane
# Copyright (c) 2013-2024 Philip Hane
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
Expand Down
2 changes: 1 addition & 1 deletion ipwhois/utils.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2013-2020 Philip Hane
# Copyright (c) 2013-2024 Philip Hane
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
Expand Down
2 changes: 1 addition & 1 deletion ipwhois/whois.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2013-2020 Philip Hane
# Copyright (c) 2013-2024 Philip Hane
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
Expand Down
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
54 changes: 54 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,2 +1,56 @@
[metadata]
name = ipwhois
version = 1.3.0
author = Philip Hane
author_email = [email protected]
license = BSD
description = Retrieve and parse whois data for IPv4 and IPv6 addresses.
long_description = file: README.rst, CHANGES.rst
long_description_content_type = text/x-rst
keywords =
Python, WHOIS, RWhois, Referral Whois, ASN, IP Address, IP, IPv4, IPv6,
IETF, REST, Arin, Ripe, Apnic, Lacnic, Afrinic, NIC, National Information
Center, RDAP, RIR, Regional Internet Registry, NIR, National Internet
Registry, ASN origin, Origin
url = https://github.com/secynic/ipwhois
download_url = https://github.com/secynic/ipwhois/tarball/master
classifiers =
Development Status :: 5 - Production/Stable
Intended Audience :: Developers
Intended Audience :: Information Technology
Intended Audience :: Science/Research
License :: OSI Approved :: BSD License
Operating System :: OS Independent
Programming Language :: Python
Programming Language :: Python :: 2
Programming Language :: Python :: 2.7
Programming Language :: Python :: 3
Programming Language :: Python :: 3.4
Programming Language :: Python :: 3.5
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Topic :: Internet
Topic :: Software Development

[options]
packages = ipwhois, ipwhois.scripts
install_requires =
dnspython
ipaddr==2.2.0;python_version<"3.3"
defusedxml

[options.entry_points]
console_scripts =
ipwhois_cli = ipwhois.scripts.ipwhois_cli:main
ipwhois_utils_cli = ipwhois.scripts.ipwhois_utils_cli:main

[options.package_data]
ipwhois = data/*.xml; data/*.csv

[bdist_wheel]
universal=1
94 changes: 0 additions & 94 deletions setup.py

This file was deleted.

0 comments on commit b8c79c4

Please sign in to comment.