datasette-block-robots 0.1
pip install datasette-block-robots==0.1
Released:
Datasette plugin that blocks all robots using robots.txt
Navigation
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: Apache License, Version 2.0
- Author: Simon Willison
Project description
datasette-block-robots
Datasette plugin that blocks all robots using robots.txt
Installation
Install this plugin in the same environment as Datasette.
$ pip install datasette-block-robots
Usage
Having installed the plugin, /robots.txt
on your Datasette instance will return the following:
User-agent: *
Disallow: /
Development
To set up this plugin locally, first checkout the code. Then create a new virtual environment:
cd datasette-block-robots
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
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: Apache License, Version 2.0
- Author: Simon Willison
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file datasette-block-robots-0.1.tar.gz
.
File metadata
- Download URL: datasette-block-robots-0.1.tar.gz
- Upload date:
- Size: 2.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
b74ffa2cfdac757593e9cb100141582ec6b258ccd345b2a2c8eb48cfdc7877bc
|
|
MD5 |
7edc937ae152dba617176f8299b82f4d
|
|
BLAKE2b-256 |
2dc7f77e57379aab9dddb5727ed25d82e5088dc2ee0af1bb8c1efbc1f521574d
|
File details
Details for the file datasette_block_robots-0.1-py3-none-any.whl
.
File metadata
- Download URL: datasette_block_robots-0.1-py3-none-any.whl
- Upload date:
- Size: 2.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
434fc2e565b2b469c0e816d945e5520152a34e19d6dca468ec677fdbf1ac2a1f
|
|
MD5 |
e528143762d13a972f19844220ba7f06
|
|
BLAKE2b-256 |
4316341dfa9aa782ff06a605d0f755d8af8bf2ee501b7c8d816a639d158bd55f
|