Metadata-Version: 2.4
Name: textile-quote-engine-x24329274
Version: 0.1.0
Summary: Validated wholesale textile quotation and weight calculations
Project-URL: Homepage, https://pypi.org/project/textile-quote-engine-x24329274/
Author: x24329274
License: MIT License
        
        Copyright (c) 2026 x24329274
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
License-File: LICENSE
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Python: >=3.10
Description-Content-Type: text/markdown

# Textile Quote Engine

`textile-quote-engine-x24329274` provides reusable, deterministic calculations
for wholesale fabric quotations. It validates fabric dimensions and commercial
inputs, calculates required area and estimated weight, applies waste,
finish/rush surcharges and volume discounts, and returns an itemised result.

```python
from textile_quote_engine import FabricQuoteCalculator, FabricQuoteRequest

request = FabricQuoteRequest(
    fabric_type="Cotton Twill",
    price_per_sqm="8.50",
    length_m="50",
    width_m="1.5",
    quantity=10,
    gsm="220",
    waste_percentage="5",
    finish="waterproof",
)

quote = FabricQuoteCalculator().calculate(request)
print(quote.total)
```

All monetary and measurement calculations use `decimal.Decimal` to avoid
binary floating-point rounding surprises.
