From f82c82b981174a63d5d9da7c2da5251c0a40ca82 Mon Sep 17 00:00:00 2001 From: Joe Obarzanek Date: Thu, 12 Oct 2023 13:18:34 -0400 Subject: [PATCH] Update description --- README.md | 2 +- setup.cfg | 5 +++-- setup.py | 14 +++++++------- 3 files changed, 11 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index d522301..78b67d7 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ [![codecov](https://codecov.io/gh/pogzyb/asyncwhois/branch/main/graph/badge.svg?token=Q4xtgezXGX)](https://codecov.io/gh/pogzyb/asyncwhois) [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black) -`asyncwhois` | Async-friendly Python library for WHOIS and RDAP queries. +`asyncwhois` | Python utility for querying and parsing WHOIS information for Domains, IPv4s, IPv6s, and AS numbers. #### Quickstart diff --git a/setup.cfg b/setup.cfg index 2935851..c010626 100644 --- a/setup.cfg +++ b/setup.cfg @@ -4,7 +4,7 @@ name = asyncwhois version = attrs: asyncwhois.__version__ author = Joseph Obarzanek author_email = pogzyb@umich.edu -description = asyncio-friendly Python module for performing WHOIS and RDAP queries for any domain +description = Python utility for querying and parsing WHOIS information for Domains, IPv4s, IPv6s, and AS numbers long_description = file: README.md long_description_content_type = text/markdown url = https://github.com/pogzyb/asyncwhois @@ -17,10 +17,11 @@ classifiers = Topic :: Security License :: OSI Approved :: MIT License Programming Language :: Python :: 3 - 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 :: Only [options] diff --git a/setup.py b/setup.py index 5d194d9..da6c9a4 100644 --- a/setup.py +++ b/setup.py @@ -11,24 +11,24 @@ def get_version(location: str) -> str: with open((base_dir / location).absolute().resolve()) as file: for line in file.readlines(): - if line.startswith('__version__'): - return line.split(' = ')[-1].strip().replace("\"", "") + if line.startswith("__version__"): + return line.split(" = ")[-1].strip().replace('"', "") else: - raise RuntimeError('Unable to find version string.') + raise RuntimeError("Unable to find version string.") setuptools.setup( name="asyncwhois", - version=get_version('asyncwhois/__init__.py'), + version=get_version("asyncwhois/__init__.py"), author="Joseph Obarzanek", author_email="pogzyb@umich.edu", - description="asyncio-friendly Python module for WHOIS and RDAP queries.", + description="Python utility for querying and parsing WHOIS information for Domains, IPv4s, IPv6s, and AS numbers.", long_description=long_description, license="MIT", install_requires=[ "python-socks[asyncio]>=2.0.2", "tldextract>=2.2.0", - "whodap>=0.1.4" + "whodap>=0.1.4", ], classifiers=[ "Environment :: Web Environment", @@ -45,7 +45,7 @@ def get_version(location: str) -> str: "Topic :: Internet :: WWW/HTTP", "Topic :: Software Development", "Topic :: Security", - "Framework :: AsyncIO" + "Framework :: AsyncIO", ], url="https://github.com/pogzyb/asyncwhois", packages=["asyncwhois"],