# How to install
The libary is avilable at [pypi.org](https://pypi.org/project/pip/)
```pip install ipv64```
or
```python -m pip install ipv64```
# How to update
```pip install ipv64 --upgrade```
or
```python -m pip install ipv64 --upgrade```
# How to run
## INFO
The Script did __NOT__ run in a loop, you need to run it manually.
The Script is __NOT__ able to handle praefix - only the main domain can be updated
## Windows
Update A and AAAA record if possible
```python -m ipv64 -d YOUR_DOMAIN.ipv64.net -k ACCOUNT_UPDATE_TOKEN -t TYPE```
## Linux
Update A and AAAA record if possible
```/usr/bin/python3 -m ipv64 -d YOUR_DOMAIN.ipv64.net -k ACCOUNT_UPDATE_TOKEN -t TYPE```
### run with cron
#### check every minute with cron
```* * * * * /usr/bin/python3 -m ipv64 -d YOUR_DOMAIN.ipv64.net -uh ACCOUNT_UPDATE_TOKEN -d DISCORD_WEBHOOK```
#### check every 30 seconds with cron
```
* * * * * /usr/bin/python3 -m ipv64 -d YOUR_DOMAIN.ipv64.net -k ACCOUNT_UPDATE_TOKEN -t TYPE
* * * * * sleep 30; /usr/bin/python3 -m ipv64 -d YOUR_DOMAIN.ipv64.net -k ACCOUNT_UPDATE_TOKEN -t TYPE
```
# Help
```python ipv64.py --help
usage: ipv64.py [-h] -d DOMAIN -k KEY -t TYPE
Update the IP for a domain on ipv64.net
options:
-h, --help show this help message and exit
-d DOMAIN, --domain DOMAIN The domain to update (e.g. test.ipv64.net)
-k KEY, --key KEY Your ipv64 Account Update Token
-t TYPE, --type TYPE The Update Type (A or AAAA)```
Raw data
{
"_id": null,
"home_page": "https://github.com/syncip/ipv64",
"name": "ipv64",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "ipv64,dyndns,updater",
"author": "R60",
"author_email": "pypi.nmvk0@getrekt.win",
"download_url": "https://files.pythonhosted.org/packages/65/8d/b3e114cabbe28006a4722d55392d4e729a073868902acf005b95825dfc22/ipv64-0.5.3.tar.gz",
"platform": null,
"description": "# How to install\r\nThe libary is avilable at [pypi.org](https://pypi.org/project/pip/)\r\n\r\n```pip install ipv64```\r\nor\r\n```python -m pip install ipv64```\r\n\r\n# How to update\r\n```pip install ipv64 --upgrade```\r\nor\r\n```python -m pip install ipv64 --upgrade```\r\n\r\n# How to run\r\n## INFO\r\nThe Script did __NOT__ run in a loop, you need to run it manually.\r\nThe Script is __NOT__ able to handle praefix - only the main domain can be updated\r\n\r\n## Windows\r\nUpdate A and AAAA record if possible \r\n```python -m ipv64 -d YOUR_DOMAIN.ipv64.net -k ACCOUNT_UPDATE_TOKEN -t TYPE```\r\n\r\n## Linux\r\nUpdate A and AAAA record if possible \r\n```/usr/bin/python3 -m ipv64 -d YOUR_DOMAIN.ipv64.net -k ACCOUNT_UPDATE_TOKEN -t TYPE```\r\n\r\n### run with cron\r\n#### check every minute with cron\r\n```* * * * * /usr/bin/python3 -m ipv64 -d YOUR_DOMAIN.ipv64.net -uh ACCOUNT_UPDATE_TOKEN -d DISCORD_WEBHOOK```\r\n#### check every 30 seconds with cron\r\n```\r\n* * * * * /usr/bin/python3 -m ipv64 -d YOUR_DOMAIN.ipv64.net -k ACCOUNT_UPDATE_TOKEN -t TYPE\r\n* * * * * sleep 30; /usr/bin/python3 -m ipv64 -d YOUR_DOMAIN.ipv64.net -k ACCOUNT_UPDATE_TOKEN -t TYPE\r\n```\r\n\r\n# Help\r\n```python ipv64.py --help\r\nusage: ipv64.py [-h] -d DOMAIN -k KEY -t TYPE\r\n\r\nUpdate the IP for a domain on ipv64.net\r\n\r\noptions:\r\n -h, --help show this help message and exit\r\n -d DOMAIN, --domain DOMAIN The domain to update (e.g. test.ipv64.net)\r\n -k KEY, --key KEY Your ipv64 Account Update Token\r\n -t TYPE, --type TYPE The Update Type (A or AAAA)```\r\n",
"bugtrack_url": null,
"license": "",
"summary": "Updater for ipv64.net",
"version": "0.5.3",
"project_urls": {
"Homepage": "https://github.com/syncip/ipv64"
},
"split_keywords": [
"ipv64",
"dyndns",
"updater"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "658db3e114cabbe28006a4722d55392d4e729a073868902acf005b95825dfc22",
"md5": "328a244784a3a9c4d65b8e9ea0b645bd",
"sha256": "3cee6892a9f15ed1b69b39c7931e0a2fc4d89f7f23a02bc0a3756a36c8fa33e6"
},
"downloads": -1,
"filename": "ipv64-0.5.3.tar.gz",
"has_sig": false,
"md5_digest": "328a244784a3a9c4d65b8e9ea0b645bd",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4307,
"upload_time": "2023-05-18T11:18:37",
"upload_time_iso_8601": "2023-05-18T11:18:37.888912Z",
"url": "https://files.pythonhosted.org/packages/65/8d/b3e114cabbe28006a4722d55392d4e729a073868902acf005b95825dfc22/ipv64-0.5.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-05-18 11:18:37",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "syncip",
"github_project": "ipv64",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [],
"lcname": "ipv64"
}