Skip to content

Latest commit

 

History

History
42 lines (24 loc) · 1.24 KB

README.md

File metadata and controls

42 lines (24 loc) · 1.24 KB

datasette-dns

PyPI Changelog Tests 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.

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