Name | rdap JSON |
Version |
1.5.1
JSON |
| download |
home_page | https://github.com/20c/rdap |
Summary | Registration Data Access Protocol tools |
upload_time | 2024-03-25 13:47:24 |
maintainer | None |
docs_url | None |
author | 20C |
requires_python | <4.0,>=3.8 |
license | Apache-2.0 |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# rdap
[![PyPI](https://img.shields.io/pypi/v/rdap.svg?maxAge=3600)](https://pypi.python.org/pypi/rdap)
[![PyPI](https://img.shields.io/pypi/pyversions/rdap.svg?maxAge=3600)](https://pypi.python.org/pypi/rdap)
[![tests](https://github.com/20c/rdap/actions/workflows/tests.yml/badge.svg)](https://github.com/20c/rdap/actions/workflows/tests.yml)
[![Codecov](https://img.shields.io/codecov/c/github/20c/rdap/master.svg?maxAge=3600)](https://codecov.io/github/20c/rdap)
Registration Data Access Protocol tools
## Installation
```sh
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.
```yaml
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.
Raw data
{
"_id": null,
"home_page": "https://github.com/20c/rdap",
"name": "rdap",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0,>=3.8",
"maintainer_email": null,
"keywords": null,
"author": "20C",
"author_email": "code@20c.com",
"download_url": "https://files.pythonhosted.org/packages/bd/eb/ea040f2633e073152e30622c8f6570e22ff496f59d6f2193f02a81094de7/rdap-1.5.1.tar.gz",
"platform": null,
"description": "\n# rdap\n\n[![PyPI](https://img.shields.io/pypi/v/rdap.svg?maxAge=3600)](https://pypi.python.org/pypi/rdap)\n[![PyPI](https://img.shields.io/pypi/pyversions/rdap.svg?maxAge=3600)](https://pypi.python.org/pypi/rdap)\n[![tests](https://github.com/20c/rdap/actions/workflows/tests.yml/badge.svg)](https://github.com/20c/rdap/actions/workflows/tests.yml)\n[![Codecov](https://img.shields.io/codecov/c/github/20c/rdap/master.svg?maxAge=3600)](https://codecov.io/github/20c/rdap)\n\n\nRegistration Data Access Protocol tools\n\n## Installation\n\n```sh\npip install rdap\n```\n\n\n## Usage\n\n```\nusage: rdap [-h] [--debug] [--home HOME] [--verbose] [--quiet] [--version] [--output-format OUTPUT_FORMAT] [--show-requests] [--parse] [--rir] [--write-bootstrap-data] query [query ...]\n\nrdap\n\npositional arguments:\n query\n\noptions:\n -h, --help show this help message and exit\n --debug enable extra debug output\n --home HOME specify the home directory, by default will check in order: $RDAP_HOME, ./.rdap, /home/grizz/.rdap, /home/grizz/.config/rdap\n --verbose enable more verbose output\n --quiet no output at all\n --version show program's version number and exit\n --output-format OUTPUT_FORMAT\n output format (yaml, json, text)\n --show-requests show all requests\n --parse parse data into object before display\n --rir display rir\n --write-bootstrap-data\n write bootstrap data for type (as query)\n```\n\n\n## Config file\n\nThe client uses the `--home` option to point to a directory, by default will check in order: `$RDAP_HOME`, `./.rdap`, `~/.rdap`, `~/.config/rdap`\n\nThe directory should have a `config.yaml` file in it, defaults shown below.\n\n```yaml\nrdap:\n # URL to bootstrap the initial request off\n bootstrap_url: https://rdap.db.ripe.net/\n # boolean to use data from bootstrap_data_url instead of a bootstrap server\n self_bootstrap: False\n # url to load bootstrap data from\n bootstrap_data_url: \"https://data.iana.org/rdap/\"\n # length of time in hours to keep bootstrap data\n bootstrap_cache_ttl: 25\n # how to format the output\n output_format: yaml\n # API key for use at rdap.lacnic.net\n lacnic_apikey: None\n # role types to recursively query when processing\n recurse_roles: [\"administrative\", \"technical\"]\n # HTTP request timeout in seconds, used for both connect and read\n timeout: 0.5\n```\n\n\n### License\n\nCopyright 2016-2024 20C, LLC\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this softare except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n",
"bugtrack_url": null,
"license": "Apache-2.0",
"summary": "Registration Data Access Protocol tools",
"version": "1.5.1",
"project_urls": {
"Homepage": "https://github.com/20c/rdap",
"Repository": "https://github.com/20c/rdap"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "eb5dd7ac71555223afb8411fbaa4e4fb718c6c9d89347c79909f1f73adcb2406",
"md5": "c8c8f46944fd51f492cc40dfe67635e4",
"sha256": "0f97e4f976a4384e6c9c9ece1674a9da9cb46959aab610fe28ec751bb856864e"
},
"downloads": -1,
"filename": "rdap-1.5.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "c8c8f46944fd51f492cc40dfe67635e4",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.8",
"size": 16353,
"upload_time": "2024-03-25T13:47:17",
"upload_time_iso_8601": "2024-03-25T13:47:17.049020Z",
"url": "https://files.pythonhosted.org/packages/eb/5d/d7ac71555223afb8411fbaa4e4fb718c6c9d89347c79909f1f73adcb2406/rdap-1.5.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "bdebea040f2633e073152e30622c8f6570e22ff496f59d6f2193f02a81094de7",
"md5": "9ff1a2b2e33299d503291c29af81f8cd",
"sha256": "2eda55e2ebb9e471835929d68b0059d2fa81842081f3fc1fbbc9dd2e984f26c5"
},
"downloads": -1,
"filename": "rdap-1.5.1.tar.gz",
"has_sig": false,
"md5_digest": "9ff1a2b2e33299d503291c29af81f8cd",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.8",
"size": 14968,
"upload_time": "2024-03-25T13:47:24",
"upload_time_iso_8601": "2024-03-25T13:47:24.186620Z",
"url": "https://files.pythonhosted.org/packages/bd/eb/ea040f2633e073152e30622c8f6570e22ff496f59d6f2193f02a81094de7/rdap-1.5.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-03-25 13:47:24",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "20c",
"github_project": "rdap",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"tox": true,
"lcname": "rdap"
}