{ "info": { "author": "Bor Gonz\u00e1lez-Usach", "author_email": "bgusach@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Topic :: Database", "Topic :: Utilities" ], "description": ".. image:: https://img.shields.io/travis/bgusach/pyconstring/master.svg\n :alt: Travis-CI badge\n :target: https://travis-ci.org/bgusach/pyconstring\n\n\n.. image:: https://readthedocs.org/projects/pyconstring/badge/?version=latest\n :alt: Read the Docs\n :target: http://pyconstring.readthedocs.io/en/latest/?badge=latest\n\npyconstring\n===========\n\nTool to handle connection strings. Offers an easy API that parses and constructs connection strings\nin the form of ``Key=Value;``, as easy as handling a dictionary. Works with both Python 2.7 and 3.x\n\nLicense\n-------\nMIT. See `License File `__.\n\n\nInstall\n-------\n``pyconstring`` is on PyPI ::\n\n pip install pyconstring\n\nor ::\n\n easy_install pyconstring\n\nUsage examples\n--------------\nConstructing a connection string from scratch:\n\n.. code:: python\n\n >>> from pyconstring import ConnectionString\n >>> cs = ConnectionString()\n >>> cs['user'] = 'manuel'\n >>> cs['password'] = '1234'\n >>> print cs.get_string()\n User=manuel;Password=1234;\n\nParsing an already existing string:\n\n.. code:: python\n\n >>> cs = ConnectionString.from_string('key1=value1;key2=value2;')\n >>> cs['key1'] = 'another value'\n >>> cs.get_string()\n u'Key1=another value;Key2=value2;'\n >>> cs['user'] = 'johnny'\n >>> print cs.get_string()\n Key1=another value;Key2=value2;User=johnny;\n\nAutomated escaping when necessary:\n\n.. code:: python\n\n >>> cs = ConnectionString()\n >>> cs['weird=key'] = '\" weird;value '\n >>> print cs.get_string()\n Weird==Key='\" weird;value ';\n\nKey translation:\n\n.. code:: python\n\n >>> cs['key'] = 'value'\n >>> cs.translate({'key': 'clave'})\n >>> print cs.get_string()\n Clave=value;\n\nMore information in the `documentation `__.\n\nIf you find any bug or have any suggestion, feel free to send me an email or open an issue on github.", "description_content_type": null, "docs_url": "https://pythonhosted.org/pyconstring/", "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/bgusach/pyconstring", "keywords": "connection string", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "pyconstring", "package_url": "https://pypi.org/project/pyconstring/", "platform": "", "project_url": "https://pypi.org/project/pyconstring/", "project_urls": { "Homepage": "https://github.com/bgusach/pyconstring" }, "release_url": "https://pypi.org/project/pyconstring/1.0.0/", "requires_dist": null, "requires_python": "", "summary": "Tool to handle connection strings", "version": "1.0.0" }, "last_serial": 3717316, "releases": { "0.3.0": [ { "comment_text": "", "digests": { "md5": "70f8813ffb2d312db20bfae00cad7494", "sha256": "e06a7049a1f7eac090aa6c75319ebca885b3b370d50ac21471d86e2bacc45ec6" }, "downloads": -1, "filename": "pyconstring-0.3.0-py2.7.egg", "has_sig": false, "md5_digest": "70f8813ffb2d312db20bfae00cad7494", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 14599, "upload_time": "2014-12-12T23:59:53", "url": "https://files.pythonhosted.org/packages/26/3d/c8005ee3dc06fb6b272733969c19b15fe721d94f2a148fc1dc95bc0801c4/pyconstring-0.3.0-py2.7.egg" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "b6bf4c94b4d916e5e367f49d0f63577e", "sha256": "611e151a8c96be0c65f436013ae52c8c516c1584192abea96a65a0c71c58f4cb" }, "downloads": -1, "filename": "pyconstring-0.3.1-py2.7.egg", "has_sig": false, "md5_digest": "b6bf4c94b4d916e5e367f49d0f63577e", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 15096, "upload_time": "2014-12-13T00:16:28", "url": "https://files.pythonhosted.org/packages/b5/66/c0f08b5b4837322b43cbb0f4b17a7650718c2b13905b0ae3c5986e8827db/pyconstring-0.3.1-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "824df968cc8436ff0e3440cf49a736ac", "sha256": "3adf75a708dfc6f987b3cbd31a2eb0b6af93b947a47a5449bf42b086f0d10b12" }, "downloads": -1, "filename": "pyconstring-0.3.1.tar.gz", "has_sig": false, "md5_digest": "824df968cc8436ff0e3440cf49a736ac", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6928, "upload_time": "2014-12-13T00:16:15", "url": "https://files.pythonhosted.org/packages/d9/db/c897c136405606e98da65902ceb868cf9219c49b26f14e307263a8394881/pyconstring-0.3.1.tar.gz" } ], "0.3.2": [ { "comment_text": "", "digests": { "md5": "4b1180e25c117873cd03b3c7105f56e2", "sha256": "d5737e02e43899af6b510d7f9dfa22c0034a7b47639b25fc9f494867218d55aa" }, "downloads": -1, "filename": "pyconstring-0.3.2.tar.gz", "has_sig": false, "md5_digest": "4b1180e25c117873cd03b3c7105f56e2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7022, "upload_time": "2014-12-13T12:55:40", "url": "https://files.pythonhosted.org/packages/41/6b/3bb12e999577320c1bcfc6aa11db297adf9167af7d25b8ff5aac279bb8fa/pyconstring-0.3.2.tar.gz" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "5121e21dce0b18d9b39382225e8e1c40", "sha256": "dfe9de732897fc10fcea2529cfafc0901394efddbeeb4e42ab38c477f6df3d0c" }, "downloads": -1, "filename": "pyconstring-0.4.0.tar.gz", "has_sig": false, "md5_digest": "5121e21dce0b18d9b39382225e8e1c40", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7043, "upload_time": "2014-12-13T13:46:54", "url": "https://files.pythonhosted.org/packages/84/20/c01c32d42f26bfb71bd3c578fb427293ca4767c8d359542925b92c8f086f/pyconstring-0.4.0.tar.gz" } ], "0.5.0": [ { "comment_text": "", "digests": { "md5": "6cf69d1e806855440d7a878beb6126b5", "sha256": "c076ef30e2090d14e84060491ed9a507a65a126e072019faba2531d60a473076" }, "downloads": -1, "filename": "pyconstring-0.5.0.tar.gz", "has_sig": false, "md5_digest": "6cf69d1e806855440d7a878beb6126b5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6601, "upload_time": "2015-05-28T20:58:36", "url": "https://files.pythonhosted.org/packages/98/51/517f27488111ec7278228f516278c69bf8355c47b51042a7278856b1ebfa/pyconstring-0.5.0.tar.gz" } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "d94ed9e3958cf228e39a45bf54df464d", "sha256": "e499efbb4a2f6b572ab89665ad4e8c51b7099498681e4713cfed65ffb29bec75" }, "downloads": -1, "filename": "pyconstring-1.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "d94ed9e3958cf228e39a45bf54df464d", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6373, "upload_time": "2018-03-29T15:05:08", "url": "https://files.pythonhosted.org/packages/34/29/73f4016bdedabd5beba65c8caee0673c2303e3ceb06fce0b95551793410c/pyconstring-1.0.0-py2.py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d94ed9e3958cf228e39a45bf54df464d", "sha256": "e499efbb4a2f6b572ab89665ad4e8c51b7099498681e4713cfed65ffb29bec75" }, "downloads": -1, "filename": "pyconstring-1.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "d94ed9e3958cf228e39a45bf54df464d", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6373, "upload_time": "2018-03-29T15:05:08", "url": "https://files.pythonhosted.org/packages/34/29/73f4016bdedabd5beba65c8caee0673c2303e3ceb06fce0b95551793410c/pyconstring-1.0.0-py2.py3-none-any.whl" } ] }