Skip to content

Commit

Permalink
Merge pull request #66 from pogzyb/release-v1.0.8
Browse files Browse the repository at this point in the history
Release v1.0.8
  • Loading branch information
pogzyb committed Oct 12, 2023
2 parents edc88d9 + f82c82b commit 0be676e
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 11 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion asyncwhois/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"whois_ipv4",
"whois_ipv6",
]
__version__ = "1.0.7"
__version__ = "1.0.8"


def whois_domain(
Expand Down
5 changes: 3 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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]
Expand Down
14 changes: 7 additions & 7 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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"],
Expand Down

0 comments on commit 0be676e

Please sign in to comment.