Skip to main content

DNS and IP management Python CLI client

Project description

ndcli

This is ndcli, the CLI client for DIM.

Linux (.deb, .rpm)

Packages are available on github.

Installation in venv

Thanks to almueller for providing this.

Create virtualenv

virtualenv -p python3 $HOME/ndcli

Download

curl https://github.com/1and1/dim/releases/download/ndcli-5.0.2/ndcli-src-5.0.2.tar.gz -o ndcli-src-5.0.2.tar.gz
curl https://github.com/1and1/dim/releases/download/dimclient-1.0.1/dimclient-src-1.0.1.tar.gz -o dimclient-src-1.0.1.tar.gz

Extract

tar xcf dimclient-src-1.0.1.tar.gz
tar xcf ndcli-src-5.0.2.tar.gz

Install

ndcli/bin/pip3 install dnspython
ndcli/bin/pip3 install dimclient-1.0.1/
ndcli/bin/pip3 install ndcli-5.0.2

Add bash completion

echo "complete -C ndcli ndcli" >> .bash_profile

Cleanup

rm -rf dimclient* && rm -rf ndcli-5.0.2/ && rm -rf dimclient-src-1.0.1.tar.gz && rm -rf ndcli-src-5.0.2.tar.gz

Add to path

echo "export PATH=\""\$PATH:$HOME/ndcli/bin"\"" >> .bash_profile

Configure (ENSURE to set username to your InsideNET/IonosCore Username)

cat > ~/.ndclirc << EOF
server=https://dim.svc.1u1.it/dim
username=$USER
layer3domain=default
EOF

1st login

ndcli login

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

dimclient_cli-5.0.2rc1.tar.gz (33.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dimclient_cli-5.0.2rc1-py3-none-any.whl (33.8 kB view details)

Uploaded Python 3

File details

Details for the file dimclient_cli-5.0.2rc1.tar.gz.

File metadata

  • Download URL: dimclient_cli-5.0.2rc1.tar.gz
  • Upload date:
  • Size: 33.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.11.9

File hashes

Hashes for dimclient_cli-5.0.2rc1.tar.gz
Algorithm Hash digest
SHA256 ab03125d94829a100d7e74583cff028bd28a840979f2a5d3b0afb688365da367
MD5 b168aa6e38f46b6e75bb4fba10ec98d7
BLAKE2b-256 6c7f0421f1440e1135a11ea3f150c645fa74dde9201f53e305e71f702a7af585

See more details on using hashes here.

File details

Details for the file dimclient_cli-5.0.2rc1-py3-none-any.whl.

File metadata

File hashes

Hashes for dimclient_cli-5.0.2rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 00127959159a6bdb182facc72f934f1f4b62c0b8fbd247bcd6229f158fcaf412
MD5 b3853687bad0dac5dec84eb21a97efaa
BLAKE2b-256 7ae1cf50b4338500a5935d58682763696221268230e1b07b73c118e25a75d412

See more details on using hashes here.

Supported by

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