{ "info": { "author": "Gabriel Hearot", "author_email": "gabriel@hearot.it", "bugtrack_url": null, "classifiers": [], "description": "HER, a new Text Format |Build Status|\n=====================================\n\nSearch informations about the Syntax and Types using the `Wiki\nsection`_.\n\nContent table\n-------------\n\n- `What\u2019s HER?`_\n- `Why shall I use HER?`_\n- `Why HER?`_\n- **Python Module**\n\n - `Installation`_\n - `Import Module`_\n - `Encode a Dictionary`_\n - `Decode a String`_\n - `HER class`_\n - `Documentation`_\n\nWhat\u2019s HER?\n-----------\n\nHER is text format, like XML/Json. The difference is that HER is easier\nthan others. Just see:\n\n::\n\n - Category -\n >> Array[]\n * Array[] = \"Umh, that's pretty good!\"\n\nWhy shall I use HER?\n--------------------\n\nAs I said before, HER is **simple** and **easy to use**. You can pass\ninformations, or better, store informations\\* and document them.\n\nFeel the difference:\n\n**XML:**\n\n.. code:: xml\n\n \n Merry christmas!\n Spam, Python, Eggs\n \n\n**HER:**\n\n::\n\n - Christmas -\n >> Greetings[]\n * Greetings[] = \"Merry christmas!\"\n * Greetings[] = \"Spam, Python, Eggs\"\n\nPython Module\n=============\n\nInstallation\n------------\n\nYou can easily install that module using `pip`_:\n\n.. code:: bash\n\n pip install her\n\nOr, if you want to upgrade the module:\n\n.. code:: bash\n\n pip install --upgrade her\n\nImport Module\n-------------\n\nYou must use ``import her`` to import all the HER module.\n\n.. code:: python\n\n import her\n ...\n\nEncode a Dictionary\n-------------------\n\nJust use the ``encode`` function.\n\n.. code:: python\n\n from her import encode\n her = encode({'Category':{'hello world':True}})\n print(her)\n\nOutput:\n\n::\n\n - Category -\n * hello world = True\n\nDecode a String\n---------------\n\nJust use the ``decode`` function.\n\n.. code:: python\n\n from her import decode\n dictionary = decode(\"- Category -\\n * hello world = True\")\n print(dictionary)\n\nOutput:\n\n::\n\n {'Category':{'hello world':True}}\n\nHER class\n---------\n\nYou can use the ``HER`` class to call less\n``encode`` & ``decode`` functions and optimize\nyour codebase. It updates all its attributes\nautomatically.\n\n.. code:: python\n\n x = her.HER()\n x.value = {\"foo\": {\"lol\": 1}}\n print(repr(x.representation)) # Output: '- foo -\\n * lol = 1'\n\nYou can also pass a parameter (*dict* or *str*):\n\n.. code:: python\n\n x = her.HER('- foo -\\n * lol = 1')\n print(x.value) # Output: {\"foo\": {\"lol\": 1}}\n\n y = her.HER({\"foo\": {\"lol\": 1}})\n print(repr(x.representation)) # Output: '- foo -\\n * lol = 1'\n\n\n.. _Wiki section: https://github.com/hearot/HER/wiki\n.. _What\u2019s HER?: #whats-her\n.. _Why shall I use HER?: #why-shall-i-use-her\n.. _Why HER?: #why-her\n.. _Installation: #installation\n.. _Import Module: #import-module\n.. _Encode a Dictionary: #encode-a-dictionary\n.. _Decode a String: #decode-a-string\n.. _HER class: #her-class\n.. _Documentation: http://her.readthedocs.org\n.. _pip: https://pypi.org/project/pip/\n\n.. |Build Status| image:: https://travis-ci.org/hearot/HER.svg?branch=master\n :target: https://travis-ci.org/hearot/HER", "description_content_type": "", "docs_url": null, "download_url": "https://github.com/hearot/HER/archive/v1.5.0.tar.gz", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/hearot/HER", "keywords": "python,her", "license": "", "maintainer": "", "maintainer_email": "", "name": "her", "package_url": "https://pypi.org/project/her/", "platform": "", "project_url": "https://pypi.org/project/her/", "project_urls": { "Download": "https://github.com/hearot/HER/archive/v1.5.0.tar.gz", "Homepage": "https://github.com/hearot/HER" }, "release_url": "https://pypi.org/project/her/1.5.0/", "requires_dist": null, "requires_python": "", "summary": "A new file format", "version": "1.5.0" }, "last_serial": 4931940, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "991f15c93695969c0521a133abad6274", "sha256": "b6df8b80b21a74fcdd3e4763d549b15110db4e18ecdff45bd82c3e4564b9266e" }, "downloads": -1, "filename": "her-1.0.0.tar.gz", "has_sig": false, "md5_digest": "991f15c93695969c0521a133abad6274", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1979, "upload_time": "2017-12-22T22:58:06", "url": "https://files.pythonhosted.org/packages/f9/f2/c3605fc0084336e91f1c61c2c7fc4d80de713db3aa7290fef5fd99608e39/her-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "4a17a954f5559ca6e10a6e33ffb0509e", "sha256": "c569ca77cb70ebd22b1253d77f056d5eceb7107c9cebeb8ab02876a7be5c4627" }, "downloads": -1, "filename": "her-1.0.1.tar.gz", "has_sig": false, "md5_digest": "4a17a954f5559ca6e10a6e33ffb0509e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3077, "upload_time": "2017-12-23T12:31:42", "url": "https://files.pythonhosted.org/packages/ff/75/1db69b6eafc04b9fd135c8952fbffec0751e11800e3aaac0e07c4e531b1b/her-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "158e7c96ae38699ba9219941f35b1a47", "sha256": "3f8e16efd2fd33b04611ff22e1b098b70dbbd43e7bc90a28fc2251f7a50cba93" }, "downloads": -1, "filename": "her-1.0.2.tar.gz", "has_sig": false, "md5_digest": "158e7c96ae38699ba9219941f35b1a47", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3079, "upload_time": "2017-12-23T12:36:52", "url": "https://files.pythonhosted.org/packages/49/3c/509e0d59b2b3ebe0a4f8ad4b845763c1fe6f555bb7516ffd33930249cec5/her-1.0.2.tar.gz" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "735ff019d687e9c84b6d8045c04692c7", "sha256": "dd52cf857657cfd592112771762bdfb633110dc2d4c822d637e4efafd9056ea2" }, "downloads": -1, "filename": "her-1.0.3.tar.gz", "has_sig": false, "md5_digest": "735ff019d687e9c84b6d8045c04692c7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4242, "upload_time": "2017-12-23T12:53:23", "url": "https://files.pythonhosted.org/packages/96/69/fd264fa1b29989b2181d2b524602ef768b4d2a5280b81c415e687ff05c8d/her-1.0.3.tar.gz" } ], "1.0.4": [ { "comment_text": "", "digests": { "md5": "ffdc6aa5ecab05b18194dc3f093f4063", "sha256": "8cce8c0423853a8d21cc05302a7c69fabeb35b799a4f2751aaa66d0427c63ed2" }, "downloads": -1, "filename": "her-1.0.4.tar.gz", "has_sig": false, "md5_digest": "ffdc6aa5ecab05b18194dc3f093f4063", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4284, "upload_time": "2017-12-23T12:59:31", "url": "https://files.pythonhosted.org/packages/1d/ef/ea933aee5d314546ff6e191f32b2cc3e848f6f3edf5086e90ee45173bc63/her-1.0.4.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "326519eee61a702a282a6a9a02d09c47", "sha256": "f787c6f47f6a1df70d5b74908f1914411e24f28342a63c982a16dd88f1c635db" }, "downloads": -1, "filename": "her-1.1.0.tar.gz", "has_sig": false, "md5_digest": "326519eee61a702a282a6a9a02d09c47", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5049, "upload_time": "2017-12-23T17:37:28", "url": "https://files.pythonhosted.org/packages/e5/0e/29eb730537b168e818a8bc0509521bad732e73e345ea7bb99648aba389bd/her-1.1.0.tar.gz" } ], "1.1.1": [ { "comment_text": "", "digests": { "md5": "a0ee37ace2ab8b04804d9cbcd046b020", "sha256": "e07f89c30fd0c7e47ffcf256e97e751ec013ca170f71ba4cb275038c1023c494" }, "downloads": -1, "filename": "her-1.1.1.tar.gz", "has_sig": false, "md5_digest": "a0ee37ace2ab8b04804d9cbcd046b020", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3828, "upload_time": "2017-12-28T22:59:57", "url": "https://files.pythonhosted.org/packages/c3/21/68fd271082f8b0b73926045710caad41c14df4b70688463410083e55f23d/her-1.1.1.tar.gz" } ], "1.1.2": [ { "comment_text": "", "digests": { "md5": "5f58bdaf8732d6ef53eef79fe756aaac", "sha256": "3186dd848efe2f3e771d35e0994302f9b4b613b887287467a2cfe182db0fb21b" }, "downloads": -1, "filename": "her-1.1.2.tar.gz", "has_sig": false, "md5_digest": "5f58bdaf8732d6ef53eef79fe756aaac", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5114, "upload_time": "2017-12-28T23:03:04", "url": "https://files.pythonhosted.org/packages/95/a5/c3b3e42919522a4a00c0a6724b8ba9a969e53b92d32ccab0d6ce01605ca9/her-1.1.2.tar.gz" } ], "1.1.3": [ { "comment_text": "", "digests": { "md5": "3f794d15e01701f4fb9d022874b78f15", "sha256": "3b67fd911f87dbe5ec82ad22008c374d101d678af1359ebd6db55db876b55a51" }, "downloads": -1, "filename": "her-1.1.3.tar.gz", "has_sig": false, "md5_digest": "3f794d15e01701f4fb9d022874b78f15", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5486, "upload_time": "2017-12-28T23:16:37", "url": "https://files.pythonhosted.org/packages/50/85/02a7a18e6ca9b1a8a72e4314768ae0f5bc4cf71ef8fabd132fd26fe6483a/her-1.1.3.tar.gz" } ], "1.2": [ { "comment_text": "", "digests": { "md5": "c292ded4d6928942c71043c653027695", "sha256": "097777a7763cfcaef2f320843a2d45dfcf3f53470836a7b8a1a93c0e6223b4a7" }, "downloads": -1, "filename": "her-1.2.tar.gz", "has_sig": false, "md5_digest": "c292ded4d6928942c71043c653027695", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5362, "upload_time": "2018-02-11T17:47:43", "url": "https://files.pythonhosted.org/packages/04/90/5fce43f540e75813a3f1e185db8ae4fe0331c8b8334f1c65583c9882f09f/her-1.2.tar.gz" } ], "1.3.0": [ { "comment_text": "", "digests": { "md5": "f4ba74689bb60097409727208f9ec62f", "sha256": "4d383a62a9d3d2bd4daf22ebad23066ebcf957b8b9b4ebdf81f8fcad739f7fd9" }, "downloads": -1, "filename": "her-1.3.0.tar.gz", "has_sig": false, "md5_digest": "f4ba74689bb60097409727208f9ec62f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2860, "upload_time": "2018-04-16T19:26:29", "url": "https://files.pythonhosted.org/packages/67/a7/ddb3c8edd2b76a2d2d75b76224328a355925359106bb650220074f6a3711/her-1.3.0.tar.gz" } ], "1.3.1": [ { "comment_text": "", "digests": { "md5": "58b9f4a51d154917cb0b23c844d964fd", "sha256": "9eb91d6a44224d8db6267e6406a46fb9faf326b0f86ddbf7cc4429dde93a2640" }, "downloads": -1, "filename": "her-1.3.1.tar.gz", "has_sig": false, "md5_digest": "58b9f4a51d154917cb0b23c844d964fd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3314, "upload_time": "2018-04-22T09:32:57", "url": "https://files.pythonhosted.org/packages/56/03/d6b79af968f25983b5effb534a0e643e5f537536a4d0960733331d70de0c/her-1.3.1.tar.gz" } ], "1.3.2": [ { "comment_text": "", "digests": { "md5": "d10a8ac47659977e9e48b90fd3b9f04c", "sha256": "43ed8234fc6d5db236081bdcb2bec7685128a5c78f4c874e9066b35e10b596d3" }, "downloads": -1, "filename": "her-1.3.2.tar.gz", "has_sig": false, "md5_digest": "d10a8ac47659977e9e48b90fd3b9f04c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6025, "upload_time": "2018-04-22T09:46:51", "url": "https://files.pythonhosted.org/packages/90/11/f6372e581fc8e919ebcabb2b7a4a0024dc2b1f6b2a7b51e156910ddd6b11/her-1.3.2.tar.gz" } ], "1.4.0": [ { "comment_text": "", "digests": { "md5": "afb7e621a36eccacf5ef471b92c88d38", "sha256": "7678fc57fcabc091f96c3c93dfcc7253b5533a787ab7f9724fd371715535af2b" }, "downloads": -1, "filename": "her-1.4.0.tar.gz", "has_sig": false, "md5_digest": "afb7e621a36eccacf5ef471b92c88d38", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4867, "upload_time": "2018-11-01T09:51:38", "url": "https://files.pythonhosted.org/packages/97/77/71a826bc594d97b29a8cb8c2d4d650a251a1281f27002c4979fcf91849fb/her-1.4.0.tar.gz" } ], "1.5.0": [ { "comment_text": "", "digests": { "md5": "ef867ea74a4b37a1b72afa7d908b5aa9", "sha256": "d2b50160f405a5d291ae3d9f1103c057df0467751524554653deff46c4438057" }, "downloads": -1, "filename": "her-1.5.0.tar.gz", "has_sig": false, "md5_digest": "ef867ea74a4b37a1b72afa7d908b5aa9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4768, "upload_time": "2019-03-12T21:21:35", "url": "https://files.pythonhosted.org/packages/ab/f1/4522bd18e19c0ce170f1b0e332bc7b08b5dc50eb42aeb443a3879d9d7d94/her-1.5.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ef867ea74a4b37a1b72afa7d908b5aa9", "sha256": "d2b50160f405a5d291ae3d9f1103c057df0467751524554653deff46c4438057" }, "downloads": -1, "filename": "her-1.5.0.tar.gz", "has_sig": false, "md5_digest": "ef867ea74a4b37a1b72afa7d908b5aa9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4768, "upload_time": "2019-03-12T21:21:35", "url": "https://files.pythonhosted.org/packages/ab/f1/4522bd18e19c0ce170f1b0e332bc7b08b5dc50eb42aeb443a3879d9d7d94/her-1.5.0.tar.gz" } ] }