{ "info": { "author": "Timothy McFadden", "author_email": "UNKNOWN", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Console", "Environment :: Other Environment", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Topic :: Software Development :: Libraries" ], "description": "|travis ci build state| |rtd state| |Coverage Status| |Version|\n|Downloads|\n\nIntroduction\n------------\n\nPersistent Pineapple provides a simple interface to save settings for\napplications or other modules. The settings file is in the JSON format\nfor simplicty. A slightly modified JSON format is used to allow for\ncomments and other creature features. Please read the \\_json.py file for\nmore details.\n\nDocumentation\n-------------\n\nDocumentation is hosted on\n`persistetpineapple.readthedocs.org `__\n\nInstall\n-------\n\nDownload the tarball and install with ``pip install ``.\n\nUsage\n-----\n\nSee the unit tests for more in-depth examples. Here are the basics:\n\nExample code\n~~~~~~~~~~~~\n\n::\n\n settings = PersistentPineapple('/etc/myapp.json')\n print settings.program_name\n if settings.debug:\n print \"we're in debug mode\"\n settings.debug = False\n\nExample settings file (/etc/myapp.json)\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n::\n\n {\n // App settings ///////////////////////////////////////////////////////////\n\n // Name of the program\n \"program_name\": \"myapp\",\n\n // HTTP POST listener port\n \"port\": 8009,\n\n // Debugging stuff\n \"debug\": true,\n\n // Logging settings\n \"console_log_level\": \"INFO\",\n }\n\n.. |travis ci build state| image:: https://travis-ci.org/JasonAUnrein/Persistent-Pineapple.svg?branch=master\n :target: https://travis-ci.org/JasonAUnrein/Persistent-Pineapple\n.. |rtd state| image:: https://readthedocs.org/projects/persistent-pineapple/badge/?version=latest\n :target: https://readthedocs.org/projects/persistent-pineapple/?badge=latest\n.. |Coverage Status| image:: https://img.shields.io/coveralls/JasonAUnrein/Persistent-Pineapple.svg\n :target: https://coveralls.io/r/JasonAUnrein/Persistent-Pineapple\n.. |Version| image:: https://pypip.in/v/Persistent-Pineapple/badge.png\n :target: https://pypi.python.org/pypi/Persistent-Pineapple\n.. |Downloads| image:: https://pypip.in/d/Persistent-Pineapple/badge.png\n :target: https://pypi.python.org/pypi/Persistent-Pineapple", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/JasonAUnrein/Persistent-Pineapple/releases/Persistent-Pineapple-1.0.0.tar.gz", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/JasonAUnrein/Persistent-Pineapple", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "persistent_pineapple", "package_url": "https://pypi.org/project/persistent_pineapple/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/persistent_pineapple/", "project_urls": { "Download": "https://github.com/JasonAUnrein/Persistent-Pineapple/releases/Persistent-Pineapple-1.0.0.tar.gz", "Homepage": "https://github.com/JasonAUnrein/Persistent-Pineapple" }, "release_url": "https://pypi.org/project/persistent_pineapple/1.0.0/", "requires_dist": null, "requires_python": null, "summary": "JSON Settings", "version": "1.0.0" }, "last_serial": 1328107, "releases": { "0.0.0.1": [], "0.0.0.2": [], "1.0.0": [ { "comment_text": "", "digests": { "md5": "e2979e4346685bad5308fbe1338d157d", "sha256": "62b1db30fae1a5ae72aef2d829b196715b09c4ea235cec85768b1969ff850315" }, "downloads": -1, "filename": "persistent_pineapple-1.0.0.tar.gz", "has_sig": false, "md5_digest": "e2979e4346685bad5308fbe1338d157d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10117, "upload_time": "2014-12-02T13:23:33", "url": "https://files.pythonhosted.org/packages/0d/5a/bbd334446e9ddbdd1794147c006807e674aa8c387b41e585419a57066e7e/persistent_pineapple-1.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e2979e4346685bad5308fbe1338d157d", "sha256": "62b1db30fae1a5ae72aef2d829b196715b09c4ea235cec85768b1969ff850315" }, "downloads": -1, "filename": "persistent_pineapple-1.0.0.tar.gz", "has_sig": false, "md5_digest": "e2979e4346685bad5308fbe1338d157d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10117, "upload_time": "2014-12-02T13:23:33", "url": "https://files.pythonhosted.org/packages/0d/5a/bbd334446e9ddbdd1794147c006807e674aa8c387b41e585419a57066e7e/persistent_pineapple-1.0.0.tar.gz" } ] }