{ "info": { "author": "Damien Dart", "author_email": "damiendart@pobox.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: Public Domain", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Topic :: Internet :: WWW/HTTP", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "=======\nnfsnapi\n=======\n\nA simple Python package with a couple of functions (and an exception\nclass) that make working with the `NearlyFreeSpeech.NET API`_ easier.\n\n.. _NearlyFreeSpeech.NET API: https://members.nearlyfreespeech.net/wiki/API\n\n``nfsnapi`` supports Python 2.7 and later, and Python 3.2 and later. For\ngeneral usage there are no prerequisites other than a supported version\nof Python, however to test ``nfsnapi`` with Python 3.2 and earlier\nversions the `mock`_ library is required.\n\n.. _mock: https://pypi.python.org/pypi/mock\n\n\nSynopsis\n--------\n\n::\n\n >>> import nfsnapi\n >>> # Replace USERNAME, API_KEY, and so on with actual values.\n >>> nfsnapi.run_request(\"USERNAME\", \"API_KEY\",\n ... \"/account/ACCOUNT_NUMBER/balance\")\n u'10.56'\n >>> nfsnapi.run_request(\"USERNAME\", \"API_KEY\",\n ... \"/dns/DOMAIN/listRRs\", \"type=A\")\n (A bunch of JSON not shown.)\n >>> # And so on...\n\n\nInstallation\n------------\n\nThe usual ``python setup.py install`` dance will install ``nfsnapi`` if\ngrabbing the `source distribution`_. Alternatively, ``nfsnapi`` is\navailable from `PyPI`_ via your Python package manager of choice.\n\n.. _source distribution: https://www.robotinaponcho.net/git/?p=nfsnapi-python.git\n.. _PyPI: https://pypi.python.org/pypi/nfsnapi\n\n\nDocumentation and Testing\n-------------------------\n\nThe ``nfsnapi`` module is heavily documented. Running\n``nfnsapi-tests.py`` will, funnily enough, run some tests. The tests\nrequire a configuration file with API credentials and what-not (see\n``nfnsapi-tests.py``'s docstring for more information), and the `mock`_\nlibrary if testing with Python 3.2 or earlier.\n\n.. _mock: https://pypi.python.org/pypi/mock\n\nThere's support for `Tox`_, which will run the tests on all available\nand supported versions of Python.\n\n.. _Tox: https://testrun.org/tox/latest/\n\n\nLicence\n-------\n\n``nfsnapi`` was written by Damien Dart, . This is\nfree and unencumbered software released into the public domain. For more\ninformation, please refer to the accompanying \"UNLICENCE\" file.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://www.robotinaponcho.net/git/?p=nfsnapi-python.git", "keywords": "nearlyfreespeech nfsn", "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "nfsnapi", "package_url": "https://pypi.org/project/nfsnapi/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/nfsnapi/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://www.robotinaponcho.net/git/?p=nfsnapi-python.git" }, "release_url": "https://pypi.org/project/nfsnapi/0.3.0/", "requires_dist": null, "requires_python": null, "summary": "Stuff to make working with the NearlyFreeSpeech.NET API easier.", "version": "0.3.0" }, "last_serial": 2075120, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "5a0a93e99207eeed81e5df40020abd40", "sha256": "cb71400f60484f105ca3add619548b07b54e1fcc9af718869f7c2e90cb2bc181" }, "downloads": -1, "filename": "nfsnapi-0.1.0.tar.gz", "has_sig": false, "md5_digest": "5a0a93e99207eeed81e5df40020abd40", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4295, "upload_time": "2013-12-03T15:42:52", "url": "https://files.pythonhosted.org/packages/27/50/d0a71c6d4d62936aaee38fe56e197b21df13240f2631e4bc0679342b6280/nfsnapi-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "a32b3ca5149498b46c1cb719bb49f51e", "sha256": "f5375e8771879241aa307be467f8e33992273fa6f27426945684dc392578e7c2" }, "downloads": -1, "filename": "nfsnapi-0.2.0.tar.gz", "has_sig": true, "md5_digest": "a32b3ca5149498b46c1cb719bb49f51e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4563, "upload_time": "2013-12-29T11:53:39", "url": "https://files.pythonhosted.org/packages/28/6a/e7826a738c8bef1374cea22277d3bcad877794266edbcb12cab5a6f52eed/nfsnapi-0.2.0.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "2ba6580683cfd9d4d1f773ead778a984", "sha256": "ec7a6b478b13672f3b6a8ff1e5c42b5d3844e01746c62c62ed1540fa741240f5" }, "downloads": -1, "filename": "nfsnapi-0.3.0.tar.gz", "has_sig": true, "md5_digest": "2ba6580683cfd9d4d1f773ead778a984", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5605, "upload_time": "2016-04-20T23:00:58", "url": "https://files.pythonhosted.org/packages/5c/bb/d090730955432cbec67b58d5834412c235079dbdd8165352c135e3f23efa/nfsnapi-0.3.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "2ba6580683cfd9d4d1f773ead778a984", "sha256": "ec7a6b478b13672f3b6a8ff1e5c42b5d3844e01746c62c62ed1540fa741240f5" }, "downloads": -1, "filename": "nfsnapi-0.3.0.tar.gz", "has_sig": true, "md5_digest": "2ba6580683cfd9d4d1f773ead778a984", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5605, "upload_time": "2016-04-20T23:00:58", "url": "https://files.pythonhosted.org/packages/5c/bb/d090730955432cbec67b58d5834412c235079dbdd8165352c135e3f23efa/nfsnapi-0.3.0.tar.gz" } ] }