Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
64e8064
Fix .be and .pl TLD parsing; add google.be, wp.pl and domena.pl test …
Misiu Mar 26, 2026
160984f
testing and cleanup venv
mboot-github Mar 26, 2026
ab6d3e9
add ruff basics to replace black and pylint
mboot-github Mar 26, 2026
4796071
version 1.20260326.1
mboot-github Mar 26, 2026
3677d34
Update lint.yml (#40)
mboot-github Mar 26, 2026
755c63e
Update pylint.txt (#41)
mboot-github Mar 26, 2026
78e791c
Update lint.yml
mboot-github Mar 26, 2026
17416c8
Merge branch 'master' of github.com:mboot-github/WhoisDomain
mboot-github Mar 26, 2026
d00a84c
fix small mypy issue; no need for new release
mboot-github Mar 26, 2026
70fcfe3
update readme minimal py3.10 now
mboot-github Mar 26, 2026
3509652
add secure.software label
mboot-github Mar 27, 2026
965dc5d
add secure.software label
mboot-github Mar 27, 2026
f8d8a1b
fix ruff CI issue
mboot-github Mar 27, 2026
2a0ad71
Add GitHub Actions CI/CD workflows (#43)
Misiu Mar 27, 2026
31518fc
minimal python version we support is 3.10
mboot-github Mar 27, 2026
afe3a79
minimal python version we support is 3.10
mboot-github Mar 27, 2026
43d7541
[WIP] Update workflow to support all versions and improvements from P…
Misiu Mar 27, 2026
2f8049e
cleanup and split makefiles
mboot-github Mar 27, 2026
89b0ccc
Merge branch 'master' of github.com:mboot-github/WhoisDomain
mboot-github Mar 27, 2026
df8b1dd
Clean up ruff ignore list by fixing underlying violations (#6) (#45)
Misiu Mar 28, 2026
ab70c3e
testing
mboot-github Mar 28, 2026
0ff647b
add py3.14 test
mboot-github Mar 28, 2026
e08d38a
add additional tld's from iana; cleanup tests/*py
mboot-github Mar 28, 2026
370ccfc
another try at utf8
mboot-github Mar 28, 2026
add1cdc
Bump pypa/gh-action-pypi-publish from 1.13.0 to 1.14.0 (#46)
dependabot[bot] Apr 10, 2026
22aadda
cleanup and add more utf8 tld's
mboot-github Apr 10, 2026
9549f36
analizer work to get rdap server
mboot-github Apr 10, 2026
742b34e
format
mboot-github Apr 13, 2026
8495fb9
remove long comment lines
mboot-github Apr 13, 2026
20574b0
remove pylama from toml
mboot-github Apr 18, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
version: 2
updates:
# Keep GitHub Actions up to date
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
labels:
- "dependencies"

# Keep Python dependencies up to date
- package-ecosystem: "pip"
directory: "/"
schedule:
interval: "weekly"
labels:
- "dependencies"
74 changes: 66 additions & 8 deletions .github/workflows/create-release-from-tag.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,77 @@
name: Releases
name: Publish and Release

on:
push:
tags:
- '1.202[34][0-9][0-9].[0-9]'
- "1.20[2-9][0-9][0-9][0-9][0-9][0-9].[0-9]*"

jobs:
permissions:
contents: read

jobs:
build:
name: Build distribution packages
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- name: Set up Python 3.10
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
with:
python-version: "3.10"

- name: Install build dependencies
run: |
python -m pip install --upgrade pip
pip install build hatchling

- name: Build sdist and wheel
run: python -m build

- name: Upload built artifacts
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
with:
name: dist
path: dist/

publish-to-pypi:
name: Publish to PyPI
needs: build
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/whoisdomain
permissions:
contents: write
id-token: write
steps:
- name: Download built artifacts
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with:
name: dist
path: dist/

- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b # v1.14.0

create-github-release:
name: Create GitHub release
needs: build
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v3
- uses: ncipollo/release-action@v1
with:
bodyFile: "README.md"
- name: Check out repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- name: Download built artifacts
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with:
name: dist
path: dist/

- name: Create GitHub release
uses: ncipollo/release-action@339a81892b84b4eeb0f6e744e4574d79d0d9b8dd # v1.21.0
with:
bodyFile: "README.md"
artifacts: "dist/*"
90 changes: 78 additions & 12 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,90 @@
name: "lint"
on: [push, pull_request]
name: "CI"
on:
push:
branches: ["**"]
pull_request:
branches: ["**"]
permissions:
contents: read
jobs:
mypy:
lint:
name: Lint and type-check
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Check out repository
uses: actions/checkout@v4
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- name: Set up Python 3.9
uses: actions/setup-python@v5
- name: Set up Python 3.10
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
with:
python-version: 3.9
python-version: "3.10"

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install mypy tld
python3 -m pip install types-redis
python3 -m pip install types-requests
pip install ruff mypy pylint tld types-redis types-requests python-dateutil

- name: Run mypy
run: mypy --strict *.py whoisdomain
- name: Run ruff format check
run: ruff format --check *.py whoisdomain/

- name: Run ruff lint
run: ruff check *.py whoisdomain/

- name: Run mypy (strict)
run: mypy --strict --no-incremental *.py whoisdomain/

- name: Run pylint
run: pylint --rcfile=.pylintrc whoisdomain/

test:
name: Test on Python ${{ matrix.python-version }}
runs-on: ubuntu-latest
timeout-minutes: 10
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
steps:
- name: Check out repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
with:
python-version: ${{ matrix.python-version }}

- name: Install package
run: |
python -m pip install --upgrade pip
pip install .

- name: Smoke test
run: python -c "import whoisdomain; print(whoisdomain.getVersion())"

build:
name: Build distribution packages
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Check out repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- name: Set up Python 3.10
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
with:
python-version: "3.10"

- name: Install build dependencies
run: |
python -m pip install --upgrade pip
pip install build hatchling

- name: Build sdist and wheel
run: python -m build

- name: Upload built artifacts
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
with:
name: dist
path: dist/
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -78,3 +78,4 @@ out
22
lint.txt
pylint.txt
vtmp/
Loading
Loading