mirror of
https://github.com/secynic/ipwhois.git
synced 2025-12-10 00:40:57 -06:00
commit
b8c79c4e90
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -60,7 +60,7 @@ master_doc = 'index'
|
||||
|
||||
# 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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
3
pyproject.toml
Normal file
3
pyproject.toml
Normal file
@ -0,0 +1,3 @@
|
||||
[build-system]
|
||||
requires = ["setuptools", "wheel"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
54
setup.cfg
54
setup.cfg
@ -1,2 +1,56 @@
|
||||
[metadata]
|
||||
name = ipwhois
|
||||
version = 1.3.0
|
||||
author = Philip Hane
|
||||
author_email = secynic@gmail.com
|
||||
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
setup.py
94
setup.py
@ -1,94 +0,0 @@
|
||||
# Filename: setup.py
|
||||
|
||||
from setuptools import setup
|
||||
import io
|
||||
|
||||
NAME = 'ipwhois'
|
||||
VERSION = '1.3.0'
|
||||
AUTHOR = 'Philip Hane'
|
||||
AUTHOR_EMAIL = 'secynic@gmail.com'
|
||||
DESCRIPTION = 'Retrieve and parse whois data for IPv4 and IPv6 addresses.'
|
||||
KEYWORDS = ' '.join([
|
||||
'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'
|
||||
])
|
||||
|
||||
README = io.open(file='README.rst', mode='r', encoding='utf-8').read()
|
||||
CHANGES = io.open(file='CHANGES.rst', mode='r', encoding='utf-8').read()
|
||||
LONG_DESCRIPTION = '\n\n'.join([README, CHANGES])
|
||||
LICENSE = 'BSD'
|
||||
|
||||
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',
|
||||
]
|
||||
|
||||
PACKAGES = ['ipwhois']
|
||||
|
||||
PACKAGE_DATA = {'ipwhois': ['data/*.xml', 'data/*.csv']}
|
||||
|
||||
INSTALL_REQUIRES = ['dnspython', 'ipaddr==2.2.0;python_version<"3.3"',
|
||||
'defusedxml']
|
||||
|
||||
setup(
|
||||
name=NAME,
|
||||
version=VERSION,
|
||||
author=AUTHOR,
|
||||
author_email=AUTHOR_EMAIL,
|
||||
description=DESCRIPTION,
|
||||
keywords=KEYWORDS,
|
||||
long_description=LONG_DESCRIPTION,
|
||||
license=LICENSE,
|
||||
url=URL,
|
||||
download_url=DOWNLOAD_URL,
|
||||
classifiers=CLASSIFIERS,
|
||||
packages=PACKAGES,
|
||||
package_data=PACKAGE_DATA,
|
||||
install_requires=INSTALL_REQUIRES,
|
||||
scripts=['ipwhois/scripts/ipwhois_cli.py',
|
||||
'ipwhois/scripts/ipwhois_utils_cli.py']
|
||||
)
|
||||
Loading…
x
Reference in New Issue
Block a user