Registration Data Access Protocol tools
Project description
rdap
Registration Data Access Protocol tools
Installation
pip install rdap
Usage
usage: rdap [-h] [--debug] [--home HOME] [--verbose] [--quiet] [--version] [--output-format OUTPUT_FORMAT] [--show-requests] [--parse] [--rir] [--write-bootstrap-data] query [query ...]
rdap
positional arguments:
query
options:
-h, --help show this help message and exit
--debug enable extra debug output
--home HOME specify the home directory, by default will check in order: $RDAP_HOME, ./.rdap, /home/grizz/.rdap, /home/grizz/.config/rdap
--verbose enable more verbose output
--quiet no output at all
--version show program's version number and exit
--output-format OUTPUT_FORMAT
output format (yaml, json, text)
--show-requests show all requests
--parse parse data into object before display
--rir display rir
--write-bootstrap-data
write bootstrap data for type (as query)
Config file
The client uses the --home
option to point to a directory, by default will check in order: $RDAP_HOME
, ./.rdap
, ~/.rdap
, ~/.config/rdap
The directory should have a config.yaml
file in it, defaults shown below.
rdap:
# URL to bootstrap the initial request off
bootstrap_url: https://rdap.db.ripe.net/
# boolean to use data from bootstrap_data_url instead of a bootstrap server
self_bootstrap: False
# url to load bootstrap data from
bootstrap_data_url: "https://data.iana.org/rdap/"
# length of time in hours to keep bootstrap data
bootstrap_cache_ttl: 25
# how to format the output
output_format: yaml
# API key for use at rdap.lacnic.net
lacnic_apikey: None
# role types to recursively query when processing
recurse_roles: ["administrative", "technical"]
# HTTP request timeout in seconds, used for both connect and read
timeout: 0.5
License
Copyright 2016-2024 20C, LLC
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this softare except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
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
Built Distribution
File details
Details for the file rdap-1.6.0.tar.gz
.
File metadata
- Download URL: rdap-1.6.0.tar.gz
- Upload date:
- Size: 123.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6764319342846334e46808755921501de05bb07f4d95838008fb19c2f33d9ee8 |
|
MD5 | 1ff34b8699b3e7f4528794aa8e2a0332 |
|
BLAKE2b-256 | 10cd059e3eebf25c5c2249f8c6c9870b3339e48d6a79da67975a22fb13633045 |
File details
Details for the file rdap-1.6.0-py3-none-any.whl
.
File metadata
- Download URL: rdap-1.6.0-py3-none-any.whl
- Upload date:
- Size: 30.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9fbe9aa84941b67db30261b57c842b29d456898bf1f1186df395461f5548d07f |
|
MD5 | f117d571f79d7f4a490279ed671f9e37 |
|
BLAKE2b-256 | 2ffeea8281109877017754caed68922979843a07af7f491c912809bda727c577 |