{ "info": { "author": "Gerhard Tan", "author_email": "gerhard.gh.ta@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "# Aliyun DDNS\nA dynamic DNS client for Aliyun written in pure Python.\n\n## Install\nDownload and install the `aliyunddns` package for Python.\n```\npip install aliyunddns\n```\n## Usage:\nThere are two ways to pass arguments to the program:\n1. Passing a config file path with `-c` argument.\n2. Specify information using the command line arguments.\n\nNote: when passing a config file, all the other arguments will be ignored.\n\nHere are the full arguments list:\n```cmd\nusage: ddns.py [-h] [-c CONFIG] [--access-key ACCESS_KEY]\n [--secret-key SECRET_KEY] [--domain DOMAIN]\n [--host-record HOST_RECORD] [--line LINE] [--ttl TTL]\n [--log-file LOG_FILE]\n\nAliyun DDNS Client\n\noptional arguments:\n -h, --help show this help message and exit\n -c CONFIG config file path (ignore other arguments)\n --access-key ACCESS_KEY\n access Key Id\n --secret-key SECRET_KEY\n secret Key\n --domain DOMAIN domain name\n --host-record HOST_RECORD\n host record\n --line LINE line \n --ttl TTL TTL\n --log-file LOG_FILE log file path\n```\n## Config\nThe config file format is JSON. Create a config file with extension `.json` and convert the dash in command line arguments to underline.\n\nFor examples:\n```json\n{\n \"access_key\": \"abc\",\n \"secret_key\": \"abc\",\n \"domain\": \"example.com\",\n \"host_record\": \"@\",\n \"line\": \"default\",\n \"ttl\": 600,\n \"log_file\": \"/var/log/ddns/ddns.log\"\n}\n```\n\n## Examples\n1. Specify a config file.\n```cmd\naliyunddns -c config.json\n```\n2. Using command line arguments.\n```cmd\naliyunddns --access-key=abc --secret-key=abc --domain=example.com --log-file=/var/log/ddns/ddns.log\n```", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/koho/aliyunddns", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "aliyunddns", "package_url": "https://pypi.org/project/aliyunddns/", "platform": "", "project_url": "https://pypi.org/project/aliyunddns/", "project_urls": { "Homepage": "https://github.com/koho/aliyunddns" }, "release_url": "https://pypi.org/project/aliyunddns/1.0/", "requires_dist": null, "requires_python": "", "summary": "A dynamic DNS client for Aliyun written in pure Python", "version": "1.0" }, "last_serial": 5792811, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "1cb719eb18ba9ac1ba2bc4728157e195", "sha256": "92cdba7e898efa46c3175e89e9be42540c437a3c11651f1699d6ddf8942d1998" }, "downloads": -1, "filename": "aliyunddns-1.0.tar.gz", "has_sig": false, "md5_digest": "1cb719eb18ba9ac1ba2bc4728157e195", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3961, "upload_time": "2019-09-06T15:23:17", "url": "https://files.pythonhosted.org/packages/4d/89/aa3ad1d517ca5e4188ef56e175371c77622197270692b7db4773eeb92441/aliyunddns-1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "1cb719eb18ba9ac1ba2bc4728157e195", "sha256": "92cdba7e898efa46c3175e89e9be42540c437a3c11651f1699d6ddf8942d1998" }, "downloads": -1, "filename": "aliyunddns-1.0.tar.gz", "has_sig": false, "md5_digest": "1cb719eb18ba9ac1ba2bc4728157e195", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3961, "upload_time": "2019-09-06T15:23:17", "url": "https://files.pythonhosted.org/packages/4d/89/aa3ad1d517ca5e4188ef56e175371c77622197270692b7db4773eeb92441/aliyunddns-1.0.tar.gz" } ] }