Custom SQL function for making DNS lookups
Project description
datasette-dns
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");
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
datasette-dns-0.1a0.tar.gz
(2.2 kB
view details)
Built Distribution
File details
Details for the file datasette-dns-0.1a0.tar.gz
.
File metadata
- Download URL: datasette-dns-0.1a0.tar.gz
- Upload date:
- Size: 2.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e806c87ea4e612b6f2ddd42f729eceb5e7b888f713812b40d1fef25114af66f |
|
MD5 | 88a20a9082abde3134be422646d27e28 |
|
BLAKE2b-256 | f7d94fbbd98c7fcc8c0e35a97d3dd4c0d61259c9447e32e16010ecff8a1a20b4 |
File details
Details for the file datasette_dns-0.1a0-py3-none-any.whl
.
File metadata
- Download URL: datasette_dns-0.1a0-py3-none-any.whl
- Upload date:
- Size: 2.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6b59101662d61835b87ec34dec2a5f373099d8b85a06eaba5e95c745674ce1e |
|
MD5 | 853f4a57dbc3c22623f7e060b0c60977 |
|
BLAKE2b-256 | 95a96bd59d82115ceb5bdf44a3e2ee9574ebae63f4643264696e33318fa6bd8b |