semvec/pypi-packages huggingface dataset:
phs-poly 0.2.3
PHS+poly approximation procedures
License: MIT
Requires Python: >=3.9
Keywords: approximation, RBF-FD, meshfree

# phs_poly

Procedures for generating **RBF-FD weights** for derivative calculations.  
Currently only **PHS + poly** approximations in 2-d are supported.

---

## Installation

To install use,

```
pip install phs_poly
```

Requirements_
- A Fortran compiler (e.g. `gfortran` or `flang`)
- A LAPACK library (e.g. OpenBLAS, Accelerate, ArmPL)
- NumPy

## Quickstart

```python
import phs_poly

# ... set x- and y-coordinates, initialize work and coeff arrays ...

ierr = phs_poly.phs3_poly2(n,x,y,coeffs,ldc,wrk,iwrk)

# First derivatives weights
wx = coeffs[0:n,0] 
wy = coeffs[0:n,1]

# Second derivative weights
wxx = coeffs[0:n,2] 
wxy = coeffs[0:n,3]
wyy = coeffs[0:n,4]
```

## Features

* RBF-FD weights for derivative operators
* PHS + poly based approximation
* Designed for 2-d problems

![Approximation of scattered function](./taylor_mesh.png)
‚ 
## License

This project is licensed under the MIT License. See [LICENSE](./LICENSE) for details.
ecs-service 0.1.0
Reusable CDK construct for an ECS Service
License: MIT
Requires Python: >=3.9

# aws_cdk-ecs-service

A reusable AWS CDK module for deploying an ECS Service with advanced deployment and load balancing options.

## Features

- Deploys an ECS Service using CloudFormation via AWS CDK
- Supports custom deployment configuration and circuit breaker
- Integrates with existing ECS Cluster and Target Group via CloudFormation exports
- Outputs ECS Service Name, ARN, and ID

## Installation
``` pip install ecs_service  ```

## Usage

### Prerequisites

- Python 3.8+
- AWS CDK v2
- Install dependencies:
  ```
  pip install aws-cdk-lib constructs pytest
  ```

### Example

```python
from aws_cdk import App, Stack
from ecs_service.ecs_service_stack import ECSServiceStack

app = App()
stack = Stack(app, "MyStack")

ECSServiceStack(
    scope=stack,
    id="ECSService",
    ecs_stack_name="MyStack",
    desired_count=2,
    task_definition_arn="arn:aws:ecs:region:account-id:task-definition/my-task-def",
    health_check_grace_period_seconds=60,
    container_port=80,
    target_group_arn="arn:aws:elasticloadbalancing:region:account-id:targetgroup/my-tg/1234567890abcdef",
    containername="my-container",
    maximum_percent=200,
    minimum_healthy_percent=100
)
```

### Testing

Unit tests are provided using `pytest` and `aws_cdk.assertions`.

To run tests:
```
pytest
```

### Logical IDs

Logical IDs generated by AWS CDK are random and may change between synths. Use resource outputs and exports for stable references.

## Project Structure

```
src/
  ecs_service/
    ecs_service_stack.py
tests/
  test_ecs_service.py
README.md