{ "info": { "author": "Alexander Oblovatniy", "author_email": "oblovatniy@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Software Development :: Libraries" ], "description": "IL-2 FB Regiments\n=================\n\n|pypi_package| |pypi_downloads| |python_versions| |license|\n\n|unix_build| |windows_build| |coverage_status|\n\nThis is a Python library for accessing regiments of IL-2 Forgotten Battles\nflight simulator.\n\nInformation about regiments was extracted directry from SFS archive named\n``files.sfs``.\n\nData in ``il2fb/regiments/data`` directory contains the following files:\n\n======================= ======================================\nFilename Original path\n======================= ======================================\nregShort_en.properties files.sfs/i18n/regShort.properties\nregShort_ru.properties files.sfs/i18n/regShort_ru.properties\nregInfo_en.properties files.sfs/i18n/regInfo.properties\nregInfo_ru.properties files.sfs/i18n/regInfo_ru.properties\nregiments.ini files.sfs/PaintSchemes/regiments.ini\n======================= ======================================\n\n **NOTE**:\n ``regShort.properties`` was renamed to ``regShort_en.properties``.\n ``regInfo.properties`` was renamed to ``regInfo_en.properties``.\n These names **must** be retained for localization sanity!\n\n**Do not** edit or resave the contents of files in this directory manually!\nInstead, extract files from ``SFS`` archive and replace current ones with them.\n\n\nUsage\n-----\n\n.. code-block:: python\n\n from il2fb.regiments import Regiments\n\n regiment = Regiments.get_by_code_name(\"USN_VT_9B\")\n\n print(regiment.code_name)\n # USN_VT_9B\n\n print(regiment.air_force.verbose_name)\n # USN\n\n print(regiment.verbose_name)\n # VT-9 USS Essex CV-9\n\n print(regiment.help_text)\n # US Navy Torpedo Squadron 9 USS Essex CV-9\n\nHuman-readable messages are sensitive to current language:\n\n.. code-block:: python\n\n from verboselib import use_language\n from il2fb.regiments import Regiments\n\n regiment = Regiments.get_by_code_name(\"890DBAP\")\n\n print(regiment.verbose_name)\n # 890th \"Bryansk\" AP DD\n\n print(regiment.help_text)\n # 890th \"Bryansk\" AP DD\n\n use_language('ru')\n\n print(regiment.verbose_name)\n # 890-\u0439 \u0411\u0440\u044f\u043d\u0441\u043a\u0438\u0439 \u0410\u041f \u0414\u0414\n\n print(regiment.help_text)\n # 890-\u0439 \u0411\u0440\u044f\u043d\u0441\u043a\u0438\u0439 \u0410\u0432\u0438\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0439 \u041f\u043e\u043b\u043a \u0414\u0430\u043b\u044c\u043d\u0435\u0433\u043e \u0414\u0435\u0439\u0441\u0442\u0432\u0438\u044f\n\n\n.. |unix_build| image:: http://img.shields.io/travis/IL2HorusTeam/il2fb-regiments.svg?style=flat&branch=master\n :target: https://travis-ci.org/IL2HorusTeam/il2fb-regiments\n\n.. |windows_build| image:: https://ci.appveyor.com/api/projects/status/rotwhute4uu9bin9/branch/master?svg=true\n :target: https://ci.appveyor.com/project/oblalex/il2fb-regiments\n :alt: Build status of the master branch on Windows\n\n.. |coverage_status| image:: https://codecov.io/github/IL2HorusTeam/il2fb-regiments/coverage.svg?branch=master\n :target: https://codecov.io/github/IL2HorusTeam/il2fb-regiments?branch=master\n :alt: Test coverage\n\n.. |pypi_package| image:: http://img.shields.io/pypi/v/il2fb-regiments.svg?style=flat\n :target: http://badge.fury.io/py/il2fb-regiments/\n :alt: Version of PyPI package\n\n.. |pypi_downloads| image:: http://img.shields.io/pypi/dm/il2fb-regiments.svg?style=flat\n :target: https://crate.io/packages/il2fb-regiments/\n :alt: Number of downloads of PyPI package\n\n.. |python_versions| image:: https://img.shields.io/badge/Python-2.7,3.4,3.5,3.6-brightgreen.svg?style=flat\n :alt: Supported versions of Python\n\n.. |license| image:: https://img.shields.io/badge/license-LGPLv3-blue.svg?style=flat\n :target: https://github.com/IL2HorusTeam/il2fb-regiments/blob/master/LICENSE\n :alt: Package license\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/IL2HorusTeam/il2fb-regiments", "keywords": "il2", "license": "LGPLv3", "maintainer": "", "maintainer_email": "", "name": "il2fb-regiments", "package_url": "https://pypi.org/project/il2fb-regiments/", "platform": "any", "project_url": "https://pypi.org/project/il2fb-regiments/", "project_urls": { "Homepage": "https://github.com/IL2HorusTeam/il2fb-regiments" }, "release_url": "https://pypi.org/project/il2fb-regiments/1.0.1/", "requires_dist": null, "requires_python": "", "summary": "Access regiments of IL-2 Forgotten Battles flight simulator.", "version": "1.0.1" }, "last_serial": 3027119, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "fcb6a066ccc90e59bb9b893bda7ed120", "sha256": "cd3ac134a0ae90cada6605cd593141a8f254ec2a28d9db666dd6f105023e073d" }, "downloads": -1, "filename": "il2fb-regiments-1.0.0.tar.gz", "has_sig": false, "md5_digest": "fcb6a066ccc90e59bb9b893bda7ed120", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 100634, "upload_time": "2016-10-14T15:44:12", "url": "https://files.pythonhosted.org/packages/2f/95/abf15279a784c77e58dbdf05d905004202e90ecd775ed83edc35748a001d/il2fb-regiments-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "490d1b2f7570c59bc4e72914d5134518", "sha256": "5d370508ba66e3cce8f0690905874e9cce55a3324c675e949648e570819132e6" }, "downloads": -1, "filename": "il2fb-regiments-1.0.1.tar.gz", "has_sig": false, "md5_digest": "490d1b2f7570c59bc4e72914d5134518", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 98367, "upload_time": "2017-07-16T20:06:41", "url": "https://files.pythonhosted.org/packages/32/84/9c752ca8de47bc6bf18e240e1029c8d5b8332f1f00c42048bbcd03c4339e/il2fb-regiments-1.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "490d1b2f7570c59bc4e72914d5134518", "sha256": "5d370508ba66e3cce8f0690905874e9cce55a3324c675e949648e570819132e6" }, "downloads": -1, "filename": "il2fb-regiments-1.0.1.tar.gz", "has_sig": false, "md5_digest": "490d1b2f7570c59bc4e72914d5134518", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 98367, "upload_time": "2017-07-16T20:06:41", "url": "https://files.pythonhosted.org/packages/32/84/9c752ca8de47bc6bf18e240e1029c8d5b8332f1f00c42048bbcd03c4339e/il2fb-regiments-1.0.1.tar.gz" } ] }