commit d2954a7c060848f89655059828e2dbc78e19eb70 Author: Dmitry Vinogradov Date: Tue Apr 14 21:42:11 2026 +0300 initial commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..602648c --- /dev/null +++ b/.gitignore @@ -0,0 +1,21 @@ +__pycache__/ +*.py[cod] +*.egg-info/ +*.egg +build/ +dist/ +.eggs/ + +.venv/ +venv/ +env/ + +.pytest_cache/ +.coverage +htmlcov/ +.tox/ + +.idea/ +.vscode/ +*.swp +.DS_Store diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..759872d --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2025 Your Name + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md new file mode 100644 index 0000000..bad35ce --- /dev/null +++ b/README.md @@ -0,0 +1,5 @@ +# RKN Block Checker + +Diagnose RKN/TSPU internet blocks layer by layer. + +WIP. diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..88cc3cf --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,28 @@ +[build-system] +requires = ["setuptools>=68", "wheel"] +build-backend = "setuptools.build_meta" + +[project] +name = "rkn-block-checker" +version = "0.1.0" +description = "Diagnose RKN/TSPU internet blocks layer by layer (DNS, TCP, TLS, HTTP)." +readme = "README.md" +license = { text = "MIT" } +requires-python = ">=3.10" +authors = [{ name = "Your Name" }] +dependencies = [ + "requests>=2.31", +] + +[project.optional-dependencies] +dev = [ + "pytest>=7.4", + "pytest-cov>=4.1", +] + +[project.scripts] +rkn-check = "rkn_checker.cli:main" + +[tool.setuptools.packages.find] +include = ["rkn_checker*"] +exclude = ["tests*"] diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..535409c --- /dev/null +++ b/requirements.txt @@ -0,0 +1 @@ +requests>=2.31 diff --git a/rkn_checker/__init__.py b/rkn_checker/__init__.py new file mode 100644 index 0000000..3dc1f76 --- /dev/null +++ b/rkn_checker/__init__.py @@ -0,0 +1 @@ +__version__ = "0.1.0" diff --git a/tests/__init__.py b/tests/__init__.py new file mode 100644 index 0000000..e69de29