datasette-dns-0.1a1
توضیحات
Custom SQL function for making DNS lookups
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | datasette-dns-0.1a1 |
| نام | datasette-dns |
| نسخه کتابخانه | 0.1a1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Simon Willison |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | https://github.com/simonw/datasette-dns |
| آدرس اینترنتی | https://pypi.org/project/datasette-dns/ |
| مجوز | Apache License, Version 2.0 |
# datasette-dns
[](https://pypi.org/project/datasette-dns/)
[](https://github.com/simonw/datasette-dns/releases)
[](https://github.com/simonw/datasette-dns/actions?query=workflow%3ATest)
[](https://github.com/simonw/datasette-dns/blob/main/LICENSE)
Custom SQL function for making DNS lookups
## Installation
Install this plugin in the same environment as Datasette.
$ datasette install datasette-dns
## Usage
So far the only supported SQL function is:
select dns_txt("oreilly.com");
Try this out in [the live demo](https://datasette-dns-demo.vercel.app/empty?sql=select+dns_txt%28%22oreilly.com%22%29%3B).
## Development
To set up this plugin locally, first checkout the code. Then create a new virtual environment:
cd datasette-dns
python3 -mvenv venv
source venv/bin/activate
Or if you are using `pipenv`:
pipenv shell
Now install the dependencies and tests:
pip install -e '.[test]'
To run the tests:
pytest
نیازمندی
| مقدار | نام |
|---|---|
| - | datasette |
| - | dnspython |
| - | pytest |
| - | pytest-asyncio |
| - | httpx |
| - | pytest-mock |
نحوه نصب
نصب پکیج whl datasette-dns-0.1a1:
pip install datasette-dns-0.1a1.whl
نصب پکیج tar.gz datasette-dns-0.1a1:
pip install datasette-dns-0.1a1.tar.gz