{
"info": {
"author": "Ivan Habunek",
"author_email": "ivan@habunek.com",
"bugtrack_url": null,
"classifiers": [
"Development Status :: 4 - Beta",
"Environment :: Console",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7"
],
"description": "HNB Exchange Rate CLI\n=====================\n\nDisplays exchange rates for Croatian Kuna (HRK) from the Croatian National Bank\n(HNB). Data is fetched from http://hnbex.eu/. Thanks to `Good Code\n`_ for providing this service.\n\n\n.. image:: https://img.shields.io/badge/author-%40ihabunek-blue.svg?maxAge=3600&style=flat-square\n :target: https://mastodon.social/@ihabunek\n.. image:: https://img.shields.io/github/license/ihabunek/hnbex-cli.svg?maxAge=3600&style=flat-square\n :target: https://opensource.org/licenses/GPL-3.0\n.. image:: https://img.shields.io/pypi/v/hnbex-cli.svg?maxAge=3600&style=flat-square\n :target: https://pypi.python.org/pypi/hnbex-cli\n\nInstallation\n------------\n\nRequires **Python 3.3** or greater.\n\nDrawing charts requires [gnuplot](http://www.gnuplot.info/).\n\n>From APT package repository\n~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\nThis works for Debian, Ubuntu and other derivatives.\n\nThe repo is signed with my `keybase.io `_ key.\n\n.. code-block::\n\n echo \"deb http://bezdomni.net/packages/ ./\" | sudo tee /etc/apt/sources.list.d/bezomni.list\n curl https://keybase.io/ihabunek/pgp_keys.asc | sudo apt-key add -\n\n sudo apt update\n sudo apt install python3-hnbex-cli\n\n>From Python Package Index\n~~~~~~~~~~~~~~~~~~~~~~~~~\n\nPreferably install into a virtual environment.\n\n.. code-block::\n\n pip install hnbex-cli\n\n\nUsage\n-----\n\nCommands:\n\n* ``daily`` - Show daily exchange rates for all currencies\n* ``range`` - Show exchange rates for a single currency in the given date range\n* ``chart`` - Draw exchange rate chart for a single currency\n* ``convert`` - Convert between currencies\n\nDaily\n~~~~~\n\nShow rates for all currencies on a given date (if not given, date defaults to today):\n\n.. code-block::\n\n $ hnbex daily 2017-07-03\n\n.. code-block::\n\n HNB exchange rates on 2017-07-03\n\n Currency Unit Buying Median Selling\n -------- ---- -------- -------- --------\n AUD 1 4.974959 4.989929 5.004899\n CAD 1 4.984697 4.999696 5.014695\n CZK 1 0.281550 0.282397 0.283244\n DKK 1 0.993132 0.996120 0.999108\n HUF 100 2.390306 2.397498 2.404690\n JPY 100 5.783341 5.800743 5.818145\n NOK 1 0.772153 0.774476 0.776799\n SEK 1 0.764812 0.767113 0.769414\n CHF 1 6.756313 6.776643 6.796973\n GBP 1 8.410575 8.435883 8.461191\n USD 1 6.474949 6.494432 6.513915\n EUR 1 7.385326 7.407549 7.429772\n PLN 1 1.748834 1.754096 1.759358\n\n\nRange\n~~~~~\n\nShow rates for a single currency, for range of days (if dates not given defaults to last 30 days):\n\n.. code-block::\n\n hnbex range usd 2017-07-03 2017-06-20\n\n.. code-block::\n\n HNB exchange rates for USD from 2017-06-20 to 2017-07-03\n\n Date Unit Buying Median Selling Diff\n ---------- ---- -------- -------- -------- ------\n 2017-06-20 1 6.583721 6.603532 6.623343\n 2017-06-21 1 6.615151 6.635056 6.654961 +0.48%\n 2017-06-22 1 6.628631 6.648577 6.668523 +0.20%\n 2017-06-23 1 6.628631 6.648577 6.668523 0.00%\n 2017-06-24 1 6.617416 6.637328 6.657240 -0.17%\n 2017-06-25 1 6.617416 6.637328 6.657240 0.00%\n 2017-06-26 1 6.617416 6.637328 6.657240 0.00%\n 2017-06-27 1 6.605447 6.625323 6.645199 -0.18%\n 2017-06-28 1 6.560526 6.580267 6.600008 -0.68%\n 2017-06-29 1 6.500769 6.520330 6.539891 -0.91%\n 2017-06-30 1 6.470754 6.490225 6.509696 -0.46%\n 2017-07-01 1 6.474949 6.494432 6.513915 +0.06%\n 2017-07-02 1 6.474949 6.494432 6.513915 0.00%\n 2017-07-03 1 6.474949 6.494432 6.513915 0.00%\n\nChart\n~~~~~\n\nThis command requires [gnuplot](http://www.gnuplot.info/) to be installed.\n\nDraw a chart of exchange rate movement for range of days (if dates not given defaults to last 30 days):\n\n.. code-block::\n\n hnbex chart usd\n\n.. code-block::\n\n USD Exchange Rates\n\n 6.42 +-+--+-+-+-+--+-+-+-+--+-+-+-+--+-+-+--+-+-+-+--+-+-+-+--+-+-+-+--+-+\n | + + + x*x*x** + |\n 6.4 +-+ * +-+\n 6.38 +-+ x*x* * x +-+\n | x**x * x**x * |\n 6.36 +-+ * * * * +-+\n | * x*x**x x*x x*x\n 6.34 +-+ * * **+-+\n | x x |\n 6.32 +-+ * +-+\n 6.3 +-+ * +-+\n | x |\n 6.28 +-+ x * +-+\n x*x**x*x* ** * |\n 6.26 +-+ x* * * * +-+\n 6.24 +-+ x** * * * +-+\n | * x*x**x + + + |\n 6.22 +-+--+-+-+-+--x-+-+-+--+-+-+-+--+-+-+--+-+-+-+--+-+-+-+--+-+-+-+--+-+\n 09/21 09/28 10/05 10/12\n Date\n\nAlso supports graphical charts:\n\n.. code-block::\n\n hnbex chart usd --template qt\n\nWhich displays the chart:\n\n.. image:: ./chart_qt.png\n\n\nConvert\n~~~~~~~\n\nConvert between HRK and anouther currency:\n\n.. code-block::\n\n $ hnbex convert 150 hrk usd\n\n.. code-block::\n\n 150.0 HRK = 23.82 USD\n\n Using the median rate 1 USD = 6.296589 HRK defined on 2017-08-21\n\nWhen converting to HRK, the target currency can be ommited:\n\n.. code-block::\n\n $ hnbex convert 500 jpy\n\n.. code-block::\n\n 500.0 JPY = 28.85 HRK\n\n Using the median rate 100 JPY = 5.769743 HRK defined on 2017-08-21\n\nIf ``--value-only`` or ``-v`` option is used, only the resulting value will be output.\n\n.. code-block::\n\n $ hnbex convert 500 jpy\n\n.. code-block::\n\n 28.85\n\nThe resulting value is rounded to 2 decimal places by default but can be changed by using the ``-p`` or ``--precision`` option:\n\n.. code-block::\n\n $ hnbex convert 500 jpy -p 10\n\n.. code-block::\n\n 28.8487150000\n\nLicense\n-------\n\nCopyright \u00a9 2017 Ivan Habunek \n\nLicensed under the GPLv3: http://www.gnu.org/licenses/gpl-3.0.html\n\n\n",
"description_content_type": null,
"docs_url": null,
"download_url": "",
"downloads": {
"last_day": -1,
"last_month": -1,
"last_week": -1
},
"home_page": "https://github.com/ihabunek/hnbex/",
"keywords": "hnb exchange rate currency",
"license": "GPLv3",
"maintainer": "",
"maintainer_email": "",
"name": "hnbex-cli",
"package_url": "https://pypi.org/project/hnbex-cli/",
"platform": "",
"project_url": "https://pypi.org/project/hnbex-cli/",
"project_urls": {
"Homepage": "https://github.com/ihabunek/hnbex/"
},
"release_url": "https://pypi.org/project/hnbex-cli/0.5.1/",
"requires_dist": null,
"requires_python": ">=3.3",
"summary": "CLI tool for displaying exchange rates for Croatian Kuna",
"version": "0.5.1"
},
"last_serial": 3250012,
"releases": {
"0.3.0": [
{
"comment_text": "",
"digests": {
"md5": "f9d72c642d4ad1372f85c532c6d32c02",
"sha256": "c76adb965f935d255342f707589df194b0aeb7b72a05ecdc909c7e50227100c3"
},
"downloads": -1,
"filename": "hnbex_cli-0.3.0-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "f9d72c642d4ad1372f85c532c6d32c02",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": ">=3.3",
"size": 9385,
"upload_time": "2017-08-21T11:20:29",
"url": "https://files.pythonhosted.org/packages/c9/a0/fefe1debb9dba60e3a75ef8fe7e353d448a2ec87ba742ab4e22c765401fc/hnbex_cli-0.3.0-py2.py3-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "e9084cf5b0dd6bf8269d3c14de4d5f94",
"sha256": "4d3606c26d7aa3e2b263ef6fe69381189d5e8b451a63c327b51f77d59a04489b"
},
"downloads": -1,
"filename": "hnbex-cli-0.3.0.tar.gz",
"has_sig": false,
"md5_digest": "e9084cf5b0dd6bf8269d3c14de4d5f94",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.3",
"size": 5975,
"upload_time": "2017-08-21T11:20:30",
"url": "https://files.pythonhosted.org/packages/5f/3c/43c6142ae3da1f803afdde7e94af0abd74792e3a328ccae15326ff2240a0/hnbex-cli-0.3.0.tar.gz"
}
],
"0.4.0": [
{
"comment_text": "",
"digests": {
"md5": "6794e23a39f1190a67edd68e356589b7",
"sha256": "2bb08b59ed9514ff839c62ab5ee59cc63179244fde98023ad0e3b2f29d341b8b"
},
"downloads": -1,
"filename": "hnbex_cli-0.4.0-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "6794e23a39f1190a67edd68e356589b7",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": ">=3.3",
"size": 9760,
"upload_time": "2017-08-21T12:50:01",
"url": "https://files.pythonhosted.org/packages/e6/17/79a558e831acd6cead03237c9a4aa5f3ab62cfeb1a2808550064aafe50d9/hnbex_cli-0.4.0-py2.py3-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "3787c7e2db7afc36891c4af6927dd3f9",
"sha256": "19739d7fcdd230fb50c107925e6d9b1fe329790d86366e355cb22a314f691eda"
},
"downloads": -1,
"filename": "hnbex-cli-0.4.0.tar.gz",
"has_sig": false,
"md5_digest": "3787c7e2db7afc36891c4af6927dd3f9",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.3",
"size": 6369,
"upload_time": "2017-08-21T12:50:03",
"url": "https://files.pythonhosted.org/packages/83/1c/c349fb8e9b3a1206af33c00c731cd88c9610654dc75c79dc4a6da29e0240/hnbex-cli-0.4.0.tar.gz"
}
],
"0.5.0": [
{
"comment_text": "",
"digests": {
"md5": "ad2239c9dedeab31954829774786fba0",
"sha256": "e68ab4ad6b2b41d14ba7c57aa599699ae2158310bdab22adc74333bf2a59992f"
},
"downloads": -1,
"filename": "hnbex_cli-0.5.0-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "ad2239c9dedeab31954829774786fba0",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": ">=3.3",
"size": 11737,
"upload_time": "2017-10-14T12:30:38",
"url": "https://files.pythonhosted.org/packages/0f/04/66e5167c98a01d2ba9ac82bede3d99545eae36480dbf7b521cb1468d9c85/hnbex_cli-0.5.0-py2.py3-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "a8a6942b9a96fddebf2be6de14a45ef5",
"sha256": "7541516fad682da5a2d47899ea3d0ba919e004e87a7859087bafc2b193c8c1d5"
},
"downloads": -1,
"filename": "hnbex-cli-0.5.0.tar.gz",
"has_sig": false,
"md5_digest": "a8a6942b9a96fddebf2be6de14a45ef5",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.3",
"size": 7809,
"upload_time": "2017-10-14T12:30:40",
"url": "https://files.pythonhosted.org/packages/ab/78/f823bd71cb01d1b52c9e52c4dcf5f2fdd7d360fe67d2dbf7259e18472bfa/hnbex-cli-0.5.0.tar.gz"
}
],
"0.5.1": [
{
"comment_text": "",
"digests": {
"md5": "69a66029a587cca62ba41e4ad3617549",
"sha256": "5ae63b9bf64bccab8fca8e5ad006a9118e21a7e89acb826a2ab9458c983a0464"
},
"downloads": -1,
"filename": "hnbex_cli-0.5.1-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "69a66029a587cca62ba41e4ad3617549",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": ">=3.3",
"size": 12606,
"upload_time": "2017-10-14T12:44:22",
"url": "https://files.pythonhosted.org/packages/8f/e3/ef5ff6a6d2435d2b2f64644b34e7532c3fb48f9f11956a16db8edfd19468/hnbex_cli-0.5.1-py2.py3-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "a91c1fa050b12aeb70f2b2d5b5839034",
"sha256": "8b11d0ae628eb2b3c2bc2f8912db694adbb5cf4f3d740e61d0cc5ac31b49d1b9"
},
"downloads": -1,
"filename": "hnbex-cli-0.5.1.tar.gz",
"has_sig": false,
"md5_digest": "a91c1fa050b12aeb70f2b2d5b5839034",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.3",
"size": 8157,
"upload_time": "2017-10-14T12:44:24",
"url": "https://files.pythonhosted.org/packages/45/58/a89570bd836525c88201ed9065665164a758a4ca988207588b31093e20d3/hnbex-cli-0.5.1.tar.gz"
}
]
},
"urls": [
{
"comment_text": "",
"digests": {
"md5": "69a66029a587cca62ba41e4ad3617549",
"sha256": "5ae63b9bf64bccab8fca8e5ad006a9118e21a7e89acb826a2ab9458c983a0464"
},
"downloads": -1,
"filename": "hnbex_cli-0.5.1-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "69a66029a587cca62ba41e4ad3617549",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": ">=3.3",
"size": 12606,
"upload_time": "2017-10-14T12:44:22",
"url": "https://files.pythonhosted.org/packages/8f/e3/ef5ff6a6d2435d2b2f64644b34e7532c3fb48f9f11956a16db8edfd19468/hnbex_cli-0.5.1-py2.py3-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "a91c1fa050b12aeb70f2b2d5b5839034",
"sha256": "8b11d0ae628eb2b3c2bc2f8912db694adbb5cf4f3d740e61d0cc5ac31b49d1b9"
},
"downloads": -1,
"filename": "hnbex-cli-0.5.1.tar.gz",
"has_sig": false,
"md5_digest": "a91c1fa050b12aeb70f2b2d5b5839034",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.3",
"size": 8157,
"upload_time": "2017-10-14T12:44:24",
"url": "https://files.pythonhosted.org/packages/45/58/a89570bd836525c88201ed9065665164a758a4ca988207588b31093e20d3/hnbex-cli-0.5.1.tar.gz"
}
]
}