{ "info": { "author": "Anand B Pillai", "author_email": "anandpillai@letterboxes.org", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Topic :: Software Development :: Libraries", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "About\n-----\n\nThis is a fork of \"python replacement for java.util.Properties\" recipe on ASPN:\nhttp://code.activestate.com/recipes/496795/ The project is maintained by Anand B Pillai\nanandpillai@letterboxes.org, anand@anvetsu.com .\n\nLicense\n-------\n\nThe code is re-licensed under MIT License. See ``LICENSE`` file for more details.\n\nWhat this is\n------------\n\nThis module is designed to be a python equivalent to the\n``java.util.Properties ``\\ \\_\nclass.\n\nCurrently, the basic input/output methods are supported.\n\nFundamentally, this module is designed so that users can easily parse and manipulate Java Properties\nfiles - that's it. There's a fair number of us pythonistas who work in multi-language shops, and\nconstantly writing your own parsing mechanism is just painful. Not to mention Java guys are\nnotoriously unwilling to use anything which is cross-language for configuration, unless it's XML,\nwhich is a form of self-punishment. :)\n\nPython support\n--------------\n\nThe module is cross Python2 and Python3 compatible.\n\nThis module has basic support for Python3. It means the tests should pass under any version of\nPython3 though it has been tested only for versions >= Python 3.6.6.\n\nDue to the changes for Python3, this should work under any Python2 version >= Python 2.7.\n\nCaveats\n-------\n\nThe code still uses Python2 type strings inside. In other words proper unicode support is still\nmissing.\n\nPlans\n-----\n\nHere is a plan for the current version which runs under Python2 in approximate decreasing priority\norder.\n\n1. Keep/maintain blank lines and comments found in the original file\n2. Add unicode support\n3. Provide python property access on top of direct dictionary get/set\n4. Make the module compatible with the new methods in latest J2SE.\n\nUsage\n-----\n\n::\n\n from pyjavaproperties import Properties\n p = Properties()\n p.load(open('test.properties'))\n p.list()\n print p\n print p.items()\n print p['name3']\n p['name3'] = 'changed = value'\n print p['name3'] \n p['new key'] = 'new value'\n p.store(open('test2.properties','w'))\n\nSee also the Properties.list() method, which will return an iterator over the property keys\n\nTests\n-----\n\n::\n\n $ python pyjavaproperties_test.py\n\nChanges & News\n--------------\n\nversion 0.7\n-----------\n\n- Setup.py for release 0.7.\n- Created CHANGELOG.txt\n- Updated README.md showing tests, changes section and updates to author etc.\n- Relicensed to MIT from PSF.\n- Rewrote N.B's patch to relicense repo under MIT.\n- Basic python3 support plus python2/3 cross compatibility.\n- Absorbing TODO in README.md.\n- README => README.md.\n- Added support for referenced properties.\n- Added tests for referenced properties and saving as well.\n- Minor tweaks in code.\n- Code moved to new git repo.\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://bitbucket.org/skeptichacker/pyjavaproperties/", "keywords": "", "license": "MIT License", "maintainer": "", "maintainer_email": "", "name": "pyjavaproperties", "package_url": "https://pypi.org/project/pyjavaproperties/", "platform": "", "project_url": "https://pypi.org/project/pyjavaproperties/", "project_urls": { "Homepage": "https://bitbucket.org/skeptichacker/pyjavaproperties/" }, "release_url": "https://pypi.org/project/pyjavaproperties/0.7/", "requires_dist": null, "requires_python": "", "summary": "Python replacement for java.util.Properties.", "version": "0.7" }, "last_serial": 4739231, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "af9625deee8a70bcef5f0aa5dbffc802", "sha256": "f6faae1dcf2da9474409ffbf4363f574b28fc8f419a710a5223602d8d2cb8b04" }, "downloads": -1, "filename": "pyjavaproperties-0.1.tar.gz", "has_sig": false, "md5_digest": "af9625deee8a70bcef5f0aa5dbffc802", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6004, "upload_time": "2008-10-11T12:57:53", "url": "https://files.pythonhosted.org/packages/30/e4/a5d0c7fec0ff9ca2b0fc73e1cacaac4678690b33fc1ef1a0916e6e551c6e/pyjavaproperties-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "154a32267d34fd42ef6ee6545701b8c4", "sha256": "242fe859ca190540ab630ed5384a2f3df66d760a426dabe3b4d14753d12d085c" }, "downloads": -1, "filename": "pyjavaproperties-0.2.tar.gz", "has_sig": false, "md5_digest": "154a32267d34fd42ef6ee6545701b8c4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6398, "upload_time": "2008-10-24T13:54:39", "url": "https://files.pythonhosted.org/packages/c7/21/74e878e2fae5008a9fbf9a4424df29257c7c04694d5d2c7652449cf29c97/pyjavaproperties-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "81f450874b6bd16ccba51d2247be0aed", "sha256": "7a894ab5651f73352bc25b0bf7cf7b911d5de88d7ea684b8707c0f7fea2c7fd1" }, "downloads": -1, "filename": "pyjavaproperties-0.3.tar.gz", "has_sig": false, "md5_digest": "81f450874b6bd16ccba51d2247be0aed", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6474, "upload_time": "2008-10-24T14:05:03", "url": "https://files.pythonhosted.org/packages/cc/60/a11b4b0926de4868887303f4d013750623b1fef8815c57f19e3063bb786c/pyjavaproperties-0.3.tar.gz" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "ea877c33bfa0b1537f5d52efb1b29b14", "sha256": "748d424f399cf93d372a954624ebacff0e907d86f68f6a3e6a79df1fc93f8518" }, "downloads": -1, "filename": "pyjavaproperties-0.4.tar.gz", "has_sig": false, "md5_digest": "ea877c33bfa0b1537f5d52efb1b29b14", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6661, "upload_time": "2010-06-16T15:53:20", "url": "https://files.pythonhosted.org/packages/c3/54/7a6b787d012e6b5cea0349fa05e90560614908a29d758862230754885c16/pyjavaproperties-0.4.tar.gz" } ], "0.5": [ { "comment_text": "", "digests": { "md5": "aca5fd591449ff94a37740c64b272214", "sha256": "9ec2ec1b3612b851172aaa4135a8ad9afd1857af5ec88ba0fc196854a209ee20" }, "downloads": -1, "filename": "pyjavaproperties-0.5.tar.gz", "has_sig": false, "md5_digest": "aca5fd591449ff94a37740c64b272214", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6990, "upload_time": "2010-06-16T20:55:15", "url": "https://files.pythonhosted.org/packages/31/7a/f7f7bd0e1f2bd0f56b8d1fc74e26f90ef5d2ace2105dfaeb96acf0d46e0d/pyjavaproperties-0.5.tar.gz" } ], "0.6": [ { "comment_text": "", "digests": { "md5": "e459c21668937a06335e3a2ed77efa22", "sha256": "c7e801c0d93cf65cde3c733a987117771beca23603cd2bcf6eb99ac7ce91f3c7" }, "downloads": -1, "filename": "pyjavaproperties-0.6.tar.gz", "has_sig": false, "md5_digest": "e459c21668937a06335e3a2ed77efa22", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7044, "upload_time": "2011-04-20T04:12:05", "url": "https://files.pythonhosted.org/packages/4f/dd/f1484f133392083cd9c13ca94ee882b382d08df8ab12b975781e9c562811/pyjavaproperties-0.6.tar.gz" } ], "0.7": [ { "comment_text": "", "digests": { "md5": "5bc5ee17769558b2560553f8cce691d1", "sha256": "4bd540d0624190a7f749210920e67dbeb125b220fc5802805077958d8e55f8ed" }, "downloads": -1, "filename": "pyjavaproperties-0.7-py3-none-any.whl", "has_sig": false, "md5_digest": "5bc5ee17769558b2560553f8cce691d1", "packagetype": "bdist_wheel", "python_version": "3.7", "requires_python": null, "size": 7800, "upload_time": "2019-01-25T09:23:33", "url": "https://files.pythonhosted.org/packages/80/95/d9ebdcbefd05d1bd755467b32135b2bfebda06045631dca1f17569e40406/pyjavaproperties-0.7-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c8382eb5f6565b8ebca7b874f1b90d69", "sha256": "adb59893874ee14f12f9e9054fdd3e9383eb0071c22c596a377bf7585ef0ea85" }, "downloads": -1, "filename": "pyjavaproperties-0.7.tar.gz", "has_sig": false, "md5_digest": "c8382eb5f6565b8ebca7b874f1b90d69", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8141, "upload_time": "2019-01-25T09:22:49", "url": "https://files.pythonhosted.org/packages/0a/5a/af92ac36c3e9b8c684fddfbdcf39ffe7d4b39439bc9b60fd88b2c3bfd244/pyjavaproperties-0.7.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "5bc5ee17769558b2560553f8cce691d1", "sha256": "4bd540d0624190a7f749210920e67dbeb125b220fc5802805077958d8e55f8ed" }, "downloads": -1, "filename": "pyjavaproperties-0.7-py3-none-any.whl", "has_sig": false, "md5_digest": "5bc5ee17769558b2560553f8cce691d1", "packagetype": "bdist_wheel", "python_version": "3.7", "requires_python": null, "size": 7800, "upload_time": "2019-01-25T09:23:33", "url": "https://files.pythonhosted.org/packages/80/95/d9ebdcbefd05d1bd755467b32135b2bfebda06045631dca1f17569e40406/pyjavaproperties-0.7-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c8382eb5f6565b8ebca7b874f1b90d69", "sha256": "adb59893874ee14f12f9e9054fdd3e9383eb0071c22c596a377bf7585ef0ea85" }, "downloads": -1, "filename": "pyjavaproperties-0.7.tar.gz", "has_sig": false, "md5_digest": "c8382eb5f6565b8ebca7b874f1b90d69", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8141, "upload_time": "2019-01-25T09:22:49", "url": "https://files.pythonhosted.org/packages/0a/5a/af92ac36c3e9b8c684fddfbdcf39ffe7d4b39439bc9b60fd88b2c3bfd244/pyjavaproperties-0.7.tar.gz" } ] }