Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

Client to connect to and manage DNS entries registered with VentraIP

Project description

# VentraIP VIP Client

A Python 3.6 compatible library to manage DNS entries registered with VentraIP.

## Installation
### Production

```bash
pip install ventraip-vip-client
```

### Development

```bash
git clone git@github.com:cmbrad/ventraip-vip-client.git
pip install -e .
```

## Usage

### CLI

```bash
# View help for the CLI
ventraip --help

# List all domains
ventraip -u myusername -p mypassword list

# Add a domain
ventraip -u myusername -p mypassword add myhost example.com 127.0.0.1 3600 A

# Delete a domain
ventraip -u myusername -p mypassword rm myhost example.com A
```

### Library
```python
from ventraip import VipClient
vip_client = VipClient()
vip_client.login(email='your email/username', password='your password')

# Fetch all domains associated with the account
domains = vip_client.domains()
for domain in domains:
# Fetch all records associated with the domain
dns_records = vip_client.dns_records(domain.internal_id)

# For each record, delete it (DANGEROUS!!!)
for dns_record in dns_records:
vip_client.remove_dns_record(domain_id=domain.internal_id, dns_record_id=dns_record.internal_id)
```

## Deploying

```bash
rm -Recurse -Force dist
python setup.py sdist bdist_wheel
twine upload dist/*
```

## Disclaimer

I have no relation to the VentraIP company and any use of this software is not endorsed by them in any way.


Project details


Release history Release notifications

This version
History Node

0.4.0

History Node

0.3.0

History Node

0.2.3

History Node

0.1.1

History Node

0.1.0

History Node

0.0.2

History Node

0.0.1

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
ventraip_vip_client-0.4.0-py3-none-any.whl (7.8 kB) Copy SHA256 hash SHA256 Wheel py3 Mar 31, 2018
ventraip-vip-client-0.4.0.tar.gz (5.1 kB) Copy SHA256 hash SHA256 Source None Mar 31, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page