Skip to main content

Registration Data Access Protocol tools

Project description

# rdap

[![PyPI](https://img.shields.io/pypi/v/rdap.svg?maxAge=3600)](https://pypi-hypernode.com/pypi/rdap)
[![PyPI](https://img.shields.io/pypi/pyversions/rdap.svg?maxAge=3600)](https://pypi-hypernode.com/pypi/rdap)
[![Travis CI](https://img.shields.io/travis/20c/rdap.svg?maxAge=3600)](https://travis-ci.org/20c/rdap)
[![Codecov](https://img.shields.io/codecov/c/github/20c/rdap/master.svg?maxAge=3600)](https://codecov.io/github/20c/rdap)
[![Requires.io](https://img.shields.io/requires/github/20c/rdap.svg?maxAge=3600)](https://requires.io/github/20c/rdap/requirements)

Registration Data Access Protocol tools

## Installation

```sh
pip install rdap
```


## Usage

```sh
usage: rdap [-h] [--debug] [--home HOME] [--verbose] [--quiet] [--version]
[--output-format OUTPUT_FORMAT] [--show-requests]
query [query ...]

rdap

positional arguments:
query

optional arguments:
-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
```


## Config file

The client uses the `--home` option to point to a directory, which should have a `config.yaml` file in it, defaults shown below.

```yaml
rdap:
# URL to bootstrap the initial request off
bootstrap_url: https://rdap.db.ripe.net/
# 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"]
```


### License

Copyright 2016 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rdap-0.2.0.tar.gz (10.3 kB view details)

Uploaded Source

File details

Details for the file rdap-0.2.0.tar.gz.

File metadata

  • Download URL: rdap-0.2.0.tar.gz
  • Upload date:
  • Size: 10.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.1 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/2.7.5

File hashes

Hashes for rdap-0.2.0.tar.gz
Algorithm Hash digest
SHA256 03d47eca13528423100a3265d9edb38366726f008fc59a0d40227cae09690e45
MD5 a9d23d0052afaae47555fbf9fb634a59
BLAKE2b-256 9d65783e60bde5856ed72430a256678030ee6d34209304ef92d9bc77d5c3d9fc

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page