{ "info": { "author": "Vitaliy Shishorin", "author_email": "moskrc@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Natural Language :: Russian", "Programming Language :: Python", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "===================\r\ncbrf_rates\r\n===================\r\n\r\ncbrf_rates - \u044d\u0442\u043e \u043c\u043e\u0434\u0443\u043b\u044c \u0434\u043b\u044f \u0441\u043a\u0430\u0447\u0438\u0432\u0430\u043d\u0438\u044f \u043a\u0443\u0440\u0441\u043e\u0432 \u0432\u0430\u043b\u044e\u0442 \u0441 \u0441\u0430\u0439\u0442\u0430 cbr.ru (\u0426\u0435\u043d\u0442\u0440\u0430\u043b\u044c\u043d\u044b\u0439 \u0431\u0430\u043d\u043a\r\n\u0420\u043e\u0441\u0441\u0438\u0439\u0441\u043a\u043e\u0439 \u0424\u0435\u0434\u0435\u0440\u0430\u0446\u0438\u0438)\r\n\r\n\u041b\u0438\u0446\u0435\u043d\u0437\u0438\u044f MIT.\r\n\r\n\u0417\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438\r\n===========\r\n\r\n* requests >= 2.5.0\r\n* xmltodict >= 0.9.0\r\n\r\n\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430\r\n=========\r\n\r\n\u041a\u0430\u043a \u043e\u0431\u044b\u0447\u043d\u043e::\r\n\r\n $ pip install cbrf_rates\r\n\r\n\u0438\u043b\u0438 ::\r\n\r\n $ easy_install cbrf_rates\r\n\r\n\u0438\u043b\u0438 ::\r\n\r\n $ git clone https://github.com/moskrc/cbrf_rates.git\r\n $ cd cbrf_rates\r\n $ python setup.py install\r\n\r\n\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\r\n=============\r\n\r\n.. code-block:: python\r\n \r\n from cbrf_rates import get_rates\r\n \r\n rates = get_rates()\r\n \r\n print rates['USD']\r\n \r\nOrderedDict([(u'@ID', u'R01235'), (u'NumCode', u'840'), (u'CharCode', u'USD'), (u'Nominal', u'1'), (u'Name', u'\u0414\u043e\u043b\u043b\u0430\u0440 \u0421\u0428\u0410'), (u'Value', 56.8919)])\r\n\r\n.. code-block:: python\r\n \r\n print rates['USD']['Value']\r\n\r\n56.8919\r\n\r\n.. code-block:: python\r\n \r\n print rates['date']\r\n\r\n13.12.2014", "description_content_type": null, "docs_url": null, "download_url": "http://github.com/moskrc/cbrf_rates/archive/master.zip", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/moskrc/cbrf_rates/", "keywords": "cbr cbrf rates money", "license": "MIT license", "maintainer": null, "maintainer_email": null, "name": "cbrf_rates", "package_url": "https://pypi.org/project/cbrf_rates/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/cbrf_rates/", "project_urls": { "Download": "http://github.com/moskrc/cbrf_rates/archive/master.zip", "Homepage": "http://github.com/moskrc/cbrf_rates/" }, "release_url": "https://pypi.org/project/cbrf_rates/1.0.0/", "requires_dist": null, "requires_python": null, "summary": "Grab currency rates from cbr.ru (The Central Bank of the Russian Federation)", "version": "1.0.0" }, "last_serial": 1343361, "releases": { "1.0.0": [] }, "urls": [] }