KYGnus Logo

๐Ÿ’ป Laptop Inventory

{{ laptops|length }} laptops loaded {% if uploaded_file %} ยท ๐Ÿ“„ {{ uploaded_file }}{% endif %}
{% with messages = get_flashed_messages(with_categories=true) %} {% if messages %} {% for category, message in messages %}
{{ 'โœ…' if category == 'success' else 'โš ๏ธ' }} {{ message }}
{% endfor %} {% endif %} {% endwith %}
๐Ÿ’ป
{{ laptops|length }}
Total Laptops
๐Ÿท๏ธ
{{ laptops|map(attribute='brand')|unique|list|length }}
Unique Brands
๐Ÿง 
{{ laptops|map(attribute='cpu')|reject('eq', 0)|list|length }}
With CPU Data
๐ŸŽฎ
{{ laptops|selectattr('gpu', 'gt', 0)|list|length }}
With Dedicated GPU
๐ŸŽฏ Get Recommendations ๐Ÿ“ค Upload New File
{% for laptop in laptops %} {% endfor %}
# Brand Model CPU RAM Storage GPU Display Battery
{{ loop.index }} {{ laptop.brand }} {{ laptop.model }}
{% if laptop.cpu_name %} {{ laptop.cpu_name }} {% else %} Unknown {% endif %} {% if laptop.cpu > 0 %} Tier i{{ laptop.cpu|int }} {% endif %}
{% if laptop.ram > 0 %} {{ laptop.ram }} GB {% if laptop.ram_type %} {{ laptop.ram_type }} {% endif %} {% else %} N/A {% endif %}
{% if laptop.storage_display %} {% set parts = laptop.storage_display.split(' / ') %}
{% for part in parts %} {% if part and part|lower not in ['no hdd', 'no ssd', ''] %} {{ part }} {% endif %} {% endfor %}
{% elif laptop.storage > 0 %} {{ laptop.storage }} GB {% else %} N/A {% endif %}
{% if laptop.gpu and laptop.gpu > 0 %} {{ laptop.gpu }} GB Dedicated {% else %} Integrated {% endif %}
{% if laptop.display %} {{ laptop.display }}" {% endif %} {% if laptop.ghz %} {{ laptop.ghz }} {% endif %}
{% if laptop.battery %} {{ laptop.battery }} {% else %} โ€” {% endif %}