rdap


Namerdap JSON
Version 1.2.2 PyPI version JSON
download
home_pagehttps://github.com/20c/rdap
SummaryRegistration Data Access Protocol tools
upload_time2021-01-24 06:57:32
maintainer
docs_urlNone
author20C
requires_python>=3.6,<4.0
licenseApache-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/workflows/tests/badge.svg)](https://github.com/20c/rdap)
[![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

```sh
usage: rdap [-h] [--debug] [--home HOME] [--verbose] [--quiet] [--version] [--output-format OUTPUT_FORMAT] [--show-requests] [--parse]
            [--write-bootstrap-data]
            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/$USER/.rdap,
                        /home/$USER/.config/rdap
  --verbose             enable more verbose output
  --quiet               no output at all
  --version             show 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
  --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 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": "",
    "docs_url": null,
    "requires_python": ">=3.6,<4.0",
    "maintainer_email": "",
    "keywords": "",
    "author": "20C",
    "author_email": "code@20c.com",
    "download_url": "https://files.pythonhosted.org/packages/9d/0d/3fb8db7a5707767bf8b5770c06234108c24dda5e97c0d649f28c0b0dbac3/rdap-1.2.2.tar.gz",
    "platform": "",
    "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/workflows/tests/badge.svg)](https://github.com/20c/rdap)\n[![Codecov](https://img.shields.io/codecov/c/github/20c/rdap/master.svg?maxAge=3600)](https://codecov.io/github/20c/rdap)\n\nRegistration Data Access Protocol tools\n\n## Installation\n\n```sh\npip install rdap\n```\n\n\n## Usage\n\n```sh\nusage: rdap [-h] [--debug] [--home HOME] [--verbose] [--quiet] [--version] [--output-format OUTPUT_FORMAT] [--show-requests] [--parse]\n            [--write-bootstrap-data]\n            query [query ...]\n\nrdap\n\npositional arguments:\n  query\n\noptional arguments:\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/$USER/.rdap,\n                        /home/$USER/.config/rdap\n  --verbose             enable more verbose output\n  --quiet               no output at all\n  --version             show 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  --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 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.2.2",
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "d590c53c9c94cbeb5c99224861b9a8a4",
                "sha256": "40863834b1d0b96dab3d9d446150354193c26d2ee94e94a8a109448618e3f880"
            },
            "downloads": -1,
            "filename": "rdap-1.2.2-py3-none-any.whl",
            "has_sig": true,
            "md5_digest": "d590c53c9c94cbeb5c99224861b9a8a4",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6,<4.0",
            "size": 14245,
            "upload_time": "2021-01-24T06:57:31",
            "upload_time_iso_8601": "2021-01-24T06:57:31.191446Z",
            "url": "https://files.pythonhosted.org/packages/13/bf/fff2020e8bd4fadceb896f161594590a95d7382fd9c39e844da8c7c42d56/rdap-1.2.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "6c181fcd07db3252b84d89dc718df707",
                "sha256": "cc07ec6f145d667014b142d47018b7bd00c1b739fa9b8216c0354e703f8dae87"
            },
            "downloads": -1,
            "filename": "rdap-1.2.2.tar.gz",
            "has_sig": true,
            "md5_digest": "6c181fcd07db3252b84d89dc718df707",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6,<4.0",
            "size": 13757,
            "upload_time": "2021-01-24T06:57:32",
            "upload_time_iso_8601": "2021-01-24T06:57:32.823234Z",
            "url": "https://files.pythonhosted.org/packages/9d/0d/3fb8db7a5707767bf8b5770c06234108c24dda5e97c0d649f28c0b0dbac3/rdap-1.2.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2021-01-24 06:57:32",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": null,
    "github_project": "20c",
    "error": "Could not fetch GitHub repository",
    "lcname": "rdap"
}
        
20C
Elapsed time: 0.21503s