semvec/pypi-packages huggingface dataset:
jsonatago 0.2.6
Your package description here
Requires Python: >=3.8

# jsonatago: JSONata for Python
jsonatago is a Python library that enables you to evaluate JSONata expressions. This project aims to bring the power and flexibility of JSONata to Python developers.

## Credits
This project uses the Go implementation of JSONata from jsonata-go. All credit for the Go implementation goes to the authors and contributors of jsonata-go.

## Installation
To install jsonatago, you can use pip:

``` bash
pip install jsonatago
```

## Usage
Here's a simple example that demonstrates how to evaluate a JSONata expression:

python
``` python
from jsonatago import Jsonata

JSONATA_TEST_DATA = {
    "Account": {
        "Order": [
            {"Product": [{"Price": 10, "Quantity": 2}, {"Price": 5, "Quantity": 5}]},
            {"Product": [{"Price": 20, "Quantity": 1}, {"Price": 15, "Quantity": 3}]}
        ]
    }
}
expr = Jsonata("$sum(Account.Order.Product.(Price * Quantity))")
print(expr.evaluate(JSONATA_TEST_DATA))
```

This will output the sum of all Price * Quantity for each product in each order.

You can use as well direct method for compilation and evaluation in one step.
python
``` python
from jsonatago import jeval

JSONATA_TEST_DATA = {
    "Account": {
        "Order": [
            {"Product": [{"Price": 10, "Quantity": 2}, {"Price": 5, "Quantity": 5}]},
            {"Product": [{"Price": 20, "Quantity": 1}, {"Price": 15, "Quantity": 3}]}
        ]
    }
}
print(jeval(JSONATA_TEST_DATA,"$sum(Account.Order.Product.(Price * Quantity))"))
```

## Contributing
If you'd like to contribute to this project, please feel free to open an issue or submit a pull request.

## License
This project is licensed under the MIT License. See the LICENSE file for details.
x22220445-custom-apparel-calc 0.0.2
The Custom Apparel Library is a Python library for representing custom apparel with pricing.
Requires Python: >=3.7

# Custom Apparel Library

The Custom Apparel Library is a Python library for representing custom apparel with pricing. It allows users to create instances of custom apparel, set various attributes such as color, size, neck type, sleeve length, design preference, and custom design details, and calculate the total price based on the chosen options.

## Features

- **CustomApparel Class**: The main class representing custom apparel with pricing.
- **Attributes**: Color, size, neck type, sleeve length, design preference, custom design details.
- **Pricing Constants**: Additional pricing factors based on neck type, sleeve length, and design preference.
- **Price Calculation**: Calculate the total price based on the chosen options and quantity.

## Installation

```bash
pip install x22220445-custom-apparel-calc