Skip to main content

extend-noip

Code style: blackLicense: MITPyPI version

Extend dns expiry date on noip.com

Automate dns/domain on noip.com

中文读我.md

  • Fork this repo.
  • Set the resultant repo Secrets: NOIP_USERNAME's value to your-noip-username/email, NOIP_PASSWORD's value to your-noip-password
  • [Optionally] Change crontab in line 6 of .github/workflows/schedule-extend-noip.yml to your like. (This online crontab editor may come handy https://crontab.guru/#0_0_/9__*)

Installtion

pip install extend-noip

or clone https://github.com/ffreemt/extend-noip and install from the repo.

Usage

Supply noip username and password from the command line:

python -m extend-noip -u your_noip_username -p password

or use directly the extend-noip script:

extend-noip -u your_noip_username -p password

Use environment variables NOIP_USERNAME and NOIP_PASSWORD

  • Set username/password from the command line:
    set NOIP_USERNAME=your_noip_username  # export in Linux or iOS
    set NOIP_PASSWORD=password
    
  • Or set username/password in .env, e.g.,
    # .env
    NOIP_USERNAME=your_noip_username
    NOIP_USERNAME=password
    

Run extend-noip or python -m extend_noip:

extend-noip

or

python -m extend_noip

Check information only

extend-noip -i

or

python -m extend_noip -i

Print debug info

extend-noip -d

or

python -m extend_noip -d

Brief Help

extend-noip --helpshort

or

python -m extend_noip --helpshort

Turn off Headless Mode (Show the browser in action)

You can configure NOIP_HEADFUL, NOIP_DEBUG and NOIP_PROXY in the .env file in the working directory or any of its parent directoreis. For example,

# .env
NOIP_HEADFUL=1
NOIP_DEBUG=true
# NOIP_PROXY

Automation via Github Actions

It's straightforward to setup extend-noip to run via Github Actions, best with an infrequent crontab.

  • Fork this repo
  • Setup Actions secrets via Settings/Add repository secrets:
Name Value
NOIP_USERNAME: your_noip_username
NOIP_PASSWORD: your_noip_password

For example, in .github/workflows/schedule-extend-noip.yml

name: schedule-extend-noip

on:
  push:
  schedule:
    - cron: '10,40 3 */9 * *'
...
setup, e.g. pip install -r requirements.txt or
poetry install --no-dev
...

      - name: Testrun
        env:
          NOIP_USERNAME: ${{ secrets.NOIP_USERNAME }}
          NOIP_PASSWORD: ${{ secrets.NOIP_PASSWORD }}
        run: |
          python -m extend_noip -d -i

Download files

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

Source Distribution

extend-noip-0.1.1.tar.gz (10.9 kB view details)

Uploaded Source

Built Distribution

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

extend_noip-0.1.1-py3-none-any.whl (13.5 kB view details)

Uploaded Python 3

File details

Details for the file extend-noip-0.1.1.tar.gz.

File metadata

  • Download URL: extend-noip-0.1.1.tar.gz
  • Upload date:
  • Size: 10.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.5 CPython/3.7.2 Windows/10

File hashes

Hashes for extend-noip-0.1.1.tar.gz
Algorithm Hash digest
SHA256 ed87e6362229cdff523badbb9064598ec04c46d5d43cb918ec28577c038f3b5c
MD5 81a9d06a4123cf24a57e32cc4cb17de4
BLAKE2b-256 b161197fef7a6edd553880e6effe89875bf049936e4490624c69852009cbbe38

See more details on using hashes here.

File details

Details for the file extend_noip-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: extend_noip-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 13.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.5 CPython/3.7.2 Windows/10

File hashes

Hashes for extend_noip-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 74739e2f34fbe893d4455c6bc2393bff6bdaa449db887d7d0d4cc406f71422a1
MD5 164e1e6ab527a9c72841084537432c44
BLAKE2b-256 44b11220260fba42518ad183cbaea30ab6b8a449c44ee9bef5fb681539d66117

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 files

0.1.0

2 files

Supported by

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