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");
Try this out in the live demo.
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.1a1.tar.gz
(2.3 kB
view details)
Built Distribution
File details
Details for the file datasette-dns-0.1a1.tar.gz
.
File metadata
- Download URL: datasette-dns-0.1a1.tar.gz
- Upload date:
- Size: 2.3 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 | 833d828ad0710d1157bebafb2b00768a86e16349052ca7fc865832e72954c9f0 |
|
MD5 | 45c84f25dca8abf9c53a54d6ba422344 |
|
BLAKE2b-256 | 56bd1bc94c36d6c1d3bdaae5e9fc579683e95b816f29e1a891da33d1bf60748e |
File details
Details for the file datasette_dns-0.1a1-py3-none-any.whl
.
File metadata
- Download URL: datasette_dns-0.1a1-py3-none-any.whl
- Upload date:
- Size: 2.4 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 | 0bacadadecdf1648edc790ede519044d95ad603336bfe72e29fb59353514f9ba |
|
MD5 | e1352c8820e776c428d49b781fa2b6de |
|
BLAKE2b-256 | d9f449e165bf6cca7f7bcfd10b4d648ebde68111d3853947b9b4021b42a3cf33 |