Skip to main content

Simple python wrapper for the Robtex API.

Project description

https://img.shields.io/pypi/v/robtex_python.svg https://img.shields.io/travis/fhightower/robtex-python.svg https://codecov.io/gh/fhightower/robtex-python/branch/master/graph/badge.svg https://api.codacy.com/project/badge/Grade/8151c710cd704ddeb8575ee6dfbbd96e

Simple python wrapper for the Robtex API .

Installation

Stable release

To install Robtex Python, run this command in your terminal:

pip install robtex-python

This is the preferred method to install the Robtex API wrapper, as it will always install the most recent stable release.

If you don’t have pip installed, this Python installation guide can guide you through the process.

From sources

The sources for Robtex Python can be downloaded from the Github repo.

You can either clone the public repository:

$ git clone git://github.com/fhightower/robtex-python

Or download the tarball:

$ curl  -OL https://github.com/fhightower/robtex-python/tarball/master

Once you have a copy of the source, you can install it with:

$ python3 setup.py install

Usage

Via Python

You can use Robtex Python in a script as follows:

import robtex_python
response = robtex_python.pdns_forward("example.com")

Via Command Line

You can use Robtex Python as a command-line tool as follows:

Usage:
    robtex_python --ip=<ip>
    robtex_python --as=<asn>
    robtex_python --pdns-forward=<hostname>
    robtex_python --pdns-reverse=<ip>
    robtex_python (-h | --help)
    robtex_python --version

Credits

This package was created with Cookiecutter and the fhightower/python-project-template project template.

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

robtex_python-1.2.0.tar.gz (7.2 kB view details)

Uploaded Source

Built Distribution

robtex_python-1.2.0-py2.py3-none-any.whl (5.5 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file robtex_python-1.2.0.tar.gz.

File metadata

  • Download URL: robtex_python-1.2.0.tar.gz
  • Upload date:
  • Size: 7.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for robtex_python-1.2.0.tar.gz
Algorithm Hash digest
SHA256 30f0e15c5accff3b37009a2cdb91aa4e9075c250ba22cb2efb4e2c74b858502a
MD5 d8fa1d476b7880f0567b2fbcf21371e9
BLAKE2b-256 4a5926b967cd13030b787161787e0d3bf1385101df5dabf96d1b02ea97f35b58

See more details on using hashes here.

File details

Details for the file robtex_python-1.2.0-py2.py3-none-any.whl.

File metadata

  • Download URL: robtex_python-1.2.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 5.5 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for robtex_python-1.2.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 81d7cfb198e65dcdb425d105549660a5a8906d4d5edef735f75880cde16b5285
MD5 12c8f642993142c9886a5198335333b0
BLAKE2b-256 dee91323699ec2403e2744fc8b4c34503206032cc3cd9fb92ab572c9d9f1715c

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