IL-2 FB Regiments
This is a Python library for accessing regiments of IL-2 Forgotten Battles flight simulator.
Information about regiments was extracted directry from SFS archive named files.sfs.
Data in il2fb/regiments/data directory contains the following files:
Filename |
Original path |
|---|---|
regShort_en.properties |
files.sfs/i18n/regShort.properties |
regShort_ru.properties |
files.sfs/i18n/regShort_ru.properties |
regInfo_en.properties |
files.sfs/i18n/regInfo.properties |
regInfo_ru.properties |
files.sfs/i18n/regInfo_ru.properties |
regiments.ini |
files.sfs/PaintSchemes/regiments.ini |
- NOTE:
regShort.properties was renamed to regShort_en.properties. regInfo.properties was renamed to regInfo_en.properties. These names must be retained for localization sanity!
Do not edit or resave the contents of files in this directory manually! Instead, extract files from SFS archive and replace current ones with them.
Usage
from il2fb.regiments import Regiments
regiment = Regiments.get_by_code_name("USN_VT_9B")
print(regiment.code_name)
# USN_VT_9B
print(regiment.air_force.verbose_name)
# USN
print(regiment.verbose_name)
# VT-9 USS Essex CV-9
print(regiment.help_text)
# US Navy Torpedo Squadron 9 USS Essex CV-9
Human-readable messages are sensitive to current language:
from verboselib import use_language
from il2fb.regiments import Regiments
regiment = Regiments.get_by_code_name("890DBAP")
print(regiment.verbose_name)
# 890th "Bryansk" AP DD
print(regiment.help_text)
# 890th "Bryansk" AP DD
use_language('ru')
print(regiment.verbose_name)
# 890-й Брянский АП ДД
print(regiment.help_text)
# 890-й Брянский Авиационный Полк Дальнего Действия
Metadata
Release files for il2fb-regiments 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| il2fb-regiments-1.0.1.tar.gz | 98.4 kB | Without provenance | Details for il2fb-regiments-1.0.1.tar.gz |
Release files / il2fb-regiments-1.0.1.tar.gz
| Download URL | il2fb-regiments-1.0.1.tar.gz |
|---|---|
| Size | 98.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5d370508ba66e3cce8f0690905874e9cce55a3324c675e949648e570819132e6
|
|
BLAKE2b-256 checksum How to use checksums |
32849c752ca8de47bc6bf18e240e1029c8d5b8332f1f00c42048bbcd03c4339e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for il2fb-regiments 1.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.