semvec/pypi-packages huggingface dataset:
spychart 1.0.0
A Python library for Statistical Process Control (SPC) analytics.
Requires Python: >=3.10

<p align="left">
  <img src="https://github.com/Somerset-NHS-FT-DS-Improvement/spyc/blob/main/images/data_science_logo.jpg?raw=true" alt="SFT Data Science Logo" width="50" height="90"/>
</p>

# spychart

spychart is a Python library for Statistical Process Control (SPC), developed to support analytics at Somerset Foundation Trust. It provides a centralised and flexible framework for monitoring healthcare time series data.

The package supports a range of SPC chart types (including X, moving range, and p-charts) and can be extended further with custom functions. It supports multiple changepoints, allowing control line re-calculation following system changes (e.g., ward reconfigurations). spychart can also account for seasonal variation by calculating separate control limits for each seasonal period, negating the need to separate data into multiple charts.

## Installation

To install spychart using pip:

```bash
pip install spychart
```

## Simple Usage

```python
from spychart import SPC, spc_functions, spc_plots

# Instantiate SPC object
spc_example = SPC(data_in=df, # df is a Pandas.DataFrame (with DateTimeIndex)
                  target_col="value") # column name in data_in

# Process changepoint
spc_example.add_process_change_date(
    change_date="2020-08-01"
)

# Calculating control lines and storing results in a Pandas DataFrame
example_data = spc_example.calculate_spc(
    spc_calc_func=spc_functions.x_chart,  # importing X-chart
    rule_1=True) # SPC rules bool

# Pass in dataframe to create SPC chart
fig, ax = spc_plots.seaborn_chart(example_data)
```

<img src="https://github.com/Somerset-NHS-FT-DS-Improvement/spyc/blob/main/images/xchart_example.png?raw=true" width="100%" />

_For more examples, refer to the [Example Notebook](https://github.com/Somerset-NHS-FT-DS-Improvement/spyc/blob/main/example_notebook.ipynb)_

## Contributing

Pull requests are welcome. Otherwise, feel free to open an issue to discuss changes you would like to make.
sendmate-python 0.1.0
SendMate Python SDK for payment processing and wallet management
Requires Python: >=3.8
Keywords: payments, mpesa, mpesa api, card payments, visa, mastercard, payments kenya, mpesa stk-push, stk push, sendmate, airtime

# SendMate Python SDK

A Python SDK for the SendMate payment processing and wallet management API.

## Installation

```bash
pip install sendmate-python
```

## Usage

```python
from sendmate import SendMate, Currency, PaymentType

# Initialize the client
client = SendMate(api_key="your_api_key")  # Or set SENDMATE_API_KEY environment variable

# Create a checkout session
checkout = client.create_checkout(
    amount=100.00,
    currency=Currency.USD,
    payment_type=PaymentType.CARD,
    customer_email="customer@example.com",
    customer_name="John Doe"
)

# Get checkout URL
print(f"Checkout URL: {checkout['checkout_url']}")

# Check transaction status
status = client.get_transaction_status("transaction_id")
print(f"Transaction status: {status}")
```

## Features

- Payment processing
- Checkout session management
- Transaction status tracking
- Type-safe API with Pydantic models
- Environment-based configuration

## Development

1. Clone the repository
2. Install dependencies:
   ```bash
   pip install -r requirements.txt
   ```
3. Run tests:
   ```bash
   pytest
   ```

## Publishing to PyPI

1. Build the package:
   ```bash
   python setup.py sdist bdist_wheel
   ```

2. Upload to PyPI:
   ```bash
   twine upload dist/*
   ```

## License

MIT License
project-rigor-pomodoro 0.1
A Pomodoro Timer for Project RIGOR
Requires Python: >=3.10


# Project RIGOR - Pomodoro Timer

* [Project IGOR](https://github.com/UrbanCircles/igor/tree/main)
* [Project RIGOR](https://github.com/jarvick257/rigor)
* [Pomodoro Technique](https://en.wikipedia.org/wiki/Pomodoro_Technique)