semvec/pypi-packages huggingface dataset:
pachca 0.0.1
Python API client for Pachca chat.
Requires Python: >=3.9

# Pachca

Simple Python API client for Pachca chat (https://pachca.com).

Official API reference: https://crm.pachca.com/dev/getting-started/overview/

```python
>>> from pachca import Pachca
>>> bot = Pachca(access_token='<token>')
>>> chat = bot.create_chat('Name')
>>> message = bot.create_message(chat_id=chat['id'], name='Hello!')
```

See full documentation at [Read the Docs](https://pachca.readthedocs.io)

## Installing Pachca

Pachca is available on PyPI:

```console
$ python -m pip install pachca
```

Pachca supports Python 3.9+.

## Supported Features

- Chat (create, get, update, find, archive, unarchive)
- Member (add, get, update, remove)
- Message (create, get, update, delete)
- Thread (create, get)

Not supported yet:

- Users 
- Reactions
- Buttons
- Export

## API Reference available on [Read the Docs](https://pachca.readthedocs.io)

[Read the Docs](https://pachca.readthedocs.io)

## Development and tests

To develop and run tests you need to:

- Prepare environment
- Register at [Pachca](https://pachca.com) and create new space
- Create test bot and copy `access_token`
- Create admin `access_token` and set permissions scope 
- Create `.env` file with `BOT_ACCESS_TOKEN` and `ADMIN_ACCESS_TOKEN`
- Run tests with `pytest` command

## Documentation

```console
cd ./docs
make html
```

Generated HTML documentation will be in `./docs/build/html`.
udg 0.1.1
Upwind summation-by-parts discontinuous galerkin method for solving PDEs
Requires Python: <3.13,>=3.11

# UDG - Upwind Discontinuous Galerkin Method

[![PyPI version](https://badge.fury.io/py/udg.svg)](https://pypi.org/project/udg/)
[![Python 3.11+](https://img.shields.io/badge/python-3.11+-blue.svg)](https://www.python.org/downloads/)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

A minimal python implementation of the upwind discontinuous galerkin method for solving scalar advection equations.

## Installation

```bash
pip install udg
```

Or with uv:

```bash
uv pip install udg
```

## Quick Start

### Step 1: Run the DGSEM solver (Kopriva et al., 2009)

```bash
python -m udg.cli sem-dg
```

### Step 2: Run the Nodal-DG solver (Hesthaven et al., 2008)

```bash
python -m udg.cli nodal-dg
```

### Step 3: Run the entropy-stable DG solver (Gassner et al., 2013)

```bash
python -m udg.cli entropy-dg
```

### Step 4: Run the upwind summation-by-parts DG solver

```bash
python -m udg.cli upwind-dg
```

## Development

### Setup

```bash
# Install uv
curl -LsSf https://astral.sh/uv/install.sh | sh

# Clone and install
git clone https://github.com/jaisw7/udg.git
cd udg
uv sync --all-extras

# Activate virtual environment
source .venv/bin/activate

# Install pre-commit hooks (optional)
pre-commit install
```

### Code Quality

```bash
# Format code
make format

# Run linting
make lint

# Type checking
make type-check

# Run all checks
make pre-commit
```

## Contributing

Contributions are welcome! Please:

1. Fork the repository
2. Create a feature branch
3. Make your changes with tests
4. Run `make pre-commit` to ensure code quality
5. Submit a pull request

## License

MIT License - See LICENSE file for details

## Disclaimer

This software is for educational and research purposes only.

## Support

For issues, questions, or contributions:

- Open an issue on GitHub
- Check documentation
- Review test examples

## References

1. Kopriva, David A. Implementing spectral methods for partial differential equations: Algorithms for scientists and engineers. Springer Science & Business Media, 2009.
2. Hesthaven, Jan S., and Tim Warburton. Nodal Discontinuous Galerkin Methods: Algorithms, Analysis, and Applications. Springer Science & Business Media, 2008.
3. Gassner, Gregor J. "A skew-symmetric discontinuous Galerkin spectral element discretization and its relation to SBP-SAT finite difference methods." SIAM Journal on Scientific Computing 35.3 (2013): A1233-A1253.

## Results

### DGSEM

![DGSEM](assets/semdg_adv.pdf.png)

### Nodal-DG

![Nodal-DG](assets/nodaldg_adv.pdf.png)

### Entropy-Stable DG

![Entropy-Stable DG](assets/entropydg_adv.pdf.png)

### Upwind DG

![Upwind DG](assets/upwinddg_adv.pdf.png)