semvec/pypi-packages huggingface dataset:
PyCSP-lib 1.4.0.post2
A collection of tools for the Computational Singular Perturbation analysis of chemically reacting flows
Requires Python: >=3

# PyCSP
![Screenshot](logo.png)
A collection of tools based on Computational Singular Perturbation for the analysis of chemically reacting systems. 
Requires cantera >= 3.0, numpy, matplotlib. (for older versions of Cantera, i.e. Cantera>=2.5, download release v1.2.1)

Installation in a new environment called "pycsp" with Anaconda (suggested, oterwise skip to #3):
From PyCSP folder
1) conda create --name pycsp anaconda --file requirements.txt --channel default --channel anaconda --channel cantera
2) conda activate pycsp
3) pip install PyCSP-lib 


Testing:
1) enter the folder tests/
2) run the command "python test_kernel.py"

Several examples are available in the Examples folder to test the functionalities related to:
- exhausted modes (M) 
- tangential stretching rate (TSR)
- CSP and TSR indices (importance indices, amplitude and timescale participatio indices, TSR amplitude/timescale participation indices)

Cantera chem-input files are required (.cti or .yaml, depending on the installed Cantera version). Cantera offers a utility to convert chemkin-format files into cantera-format: https://cantera.org/tutorials/ck2cti-tutorial.html

FluidFoam (https://github.com/fluiddyn/fluidfoam) is suggested as a direct interface with openFOAM data.

# Warning
Datasets in the tsrAnalysis example folder are quite heavy. Due to limited github bandwidth, it may happen that "flamelet_state.dat" and "flamelet_rhsDiff.dat" are not correctly checked out. In that case, please write me an e-mail (riccardo.malpicagalassi [at] uniroma1.it). I will send you the files.

# Documentation
Can be found in the /documentation folder

# How to cite?
This code has an associated publication. In addition to mentioning this GitHub repository (see below), I would be grateful if you could cite the publication: 
- Malpica Galassi, R., PyCSP: a Python package for the analysis and simplification of chemically reacting systems based on Computational Singular Perturbation, Computer Physics Communications, 2022, https://doi.org/10.1016/j.cpc.2022.108364.
(https://www.sciencedirect.com/science/article/pii/S0010465522000832)

BibTex citation of this publication:
```bibtex
@article{MALPICAGALASSI2022108364,
title = {PyCSP: a Python package for the analysis and simplification of chemically reacting systems based on Computational Singular Perturbation},
journal = {Computer Physics Communications},
pages = {108364},
year = {2022},
issn = {0010-4655},
doi = {https://doi.org/10.1016/j.cpc.2022.108364},
url = {https://www.sciencedirect.com/science/article/pii/S0010465522000832},
author = {Riccardo {Malpica Galassi}}
}

```
datafix 0.0.1
descr
Requires Python: >=3.4
Keywords: dcc, app, application, pipeline

# Still Work in Progress! early version

Use Datafix to create a validation pipeline to ensure correct data, and help the user find & clean up bad data.  
Great for asset validation in a game-dev pipeline.

worflow:
1. collect datanodes (e.g. meshes, materials, textures)
2. validate your DataNodes, saving the validation outcome (SUCCESS, WARN, FAIL) in resultNodes
3. create a report, or use UI to see the outcome.

features:
- all nodes are linked to easily query each other for advanced pipelines.
- modular to enable reusable nodes for multiple pipelines. or reuse actions between nodes.
- support headless mode, completely de-coupled from the UI
- open source, easy to extend.
- dcc-independent. can run in any app, or standalone.


|Console |UI |
|--|--|
![image](https://github.com/user-attachments/assets/27622962-97ca-45f7-9784-47fda764a7f2) |![image](https://github.com/user-attachments/assets/2fd3e1d9-e92f-496e-961f-0efbfc763309) |
nettigo-air-monitor 5.0.0
Python wrapper for getting air quality data from Nettigo Air Monitor devices.
Requires Python: >=3.12

[![GitHub Release][releases-shield]][releases]
[![PyPI][pypi-releases-shield]][pypi-releases]
[![PyPI - Downloads][pypi-downloads]][pypi-statistics]
[![Buy me a coffee][buy-me-a-coffee-shield]][buy-me-a-coffee]
[![PayPal_Me][paypal-me-shield]][paypal-me]
[![Revolut.Me][revolut-me-shield]][revolut-me]

# nettigo-air-monitor

Python wrapper for getting air quality data from Nettigo Air Monitor devices.

[Sensor.Community firmware](https://github.com/opendata-stuttgart/sensors-software) is also supported.


## How to use package

```python
"""An example of using Nettigo Air Monitor package."""
import asyncio
import logging

from aiohttp import ClientConnectorError, ClientError, ClientSession
from tenacity import RetryError

from nettigo_air_monitor import (
    ApiError,
    AuthFailedError,
    ConnectionOptions,
    InvalidSensorDataError,
    NettigoAirMonitor,
)

logging.basicConfig(level=logging.DEBUG)

HOST = "nam"
USERNAME = "user"
PASSWORD = "password"


async def main() -> None:
    """Run main function."""
    options = ConnectionOptions(host=HOST, username=USERNAME, password=PASSWORD)

    async with ClientSession() as websession:
        nam = await NettigoAirMonitor.create(websession, options)

        try:
            data = await nam.async_update()
        except (
            TimeoutError,
            ApiError,
            AuthFailedError,
            ClientConnectorError,
            ClientError,
            InvalidSensorDataError,
            RetryError,
        ) as error:
            print(f"Error: {error}")
        else:
            print(f"Firmware: {nam.software_version}")
            print(f"MAC address: {nam.mac}")
            print(f"Latitude: {nam.latitude}, Longitude: {nam.longitude}")
            print(f"Data: {data}")


loop = asyncio.new_event_loop()
loop.run_until_complete(main())
loop.close()

```

[releases]: https://github.com/bieniu/nettigo-air-monitor/releases
[releases-shield]: https://img.shields.io/github/release/bieniu/nettigo-air-monitor.svg?style=popout
[pypi-releases]: https://pypi.org/project/nettigo-air-monitor/
[pypi-statistics]: https://pepy.tech/project/nettigo-air-monitor
[pypi-releases-shield]: https://img.shields.io/pypi/v/nettigo-air-monitor
[pypi-downloads]: https://pepy.tech/badge/nettigo-air-monitor/month
[buy-me-a-coffee-shield]: https://img.shields.io/static/v1.svg?label=%20&message=Buy%20me%20a%20coffee&color=6f4e37&logo=buy%20me%20a%20coffee&logoColor=white
[buy-me-a-coffee]: https://www.buymeacoffee.com/QnLdxeaqO
[paypal-me-shield]: https://img.shields.io/static/v1.svg?label=%20&message=PayPal.Me&logo=paypal
[paypal-me]: https://www.paypal.me/bieniu79
[revolut-me-shield]: https://img.shields.io/static/v1.svg?label=%20&message=Revolut&logo=revolut
[revolut-me]: https://revolut.me/maciejbieniek
cf-dns-edit 0.2.5
TUI to edit DNS records for cloudflare domains
Requires Python: >=3.11

# cf-dns

Simple TUI to edit DNS records for cloudflare managed domains 

## Installation

Using pip:

```bash
pip install cf-dns-edit
```

Using uv:

```bash
uv tool install cf-dns-edit
```

## Usage

After installing, simply run

```bash
cf-dns-edit
```

## Setup

To get your API token, head over to [this page](https://dash.cloudflare.com/profile/api-tokens).

In "API Tokens" click "Create Token".

![alt text](images/image-3.png)

Scroll down and click "Create Custom Token".

![alt text](images/image-4.png)

Give it a name and then in "Permissions" add the following:

![alt text](images/image.png)

* Zone.DNS.Read
* Zone.DNS.Write
* Zone.Zone.Read

Scroll down to "Continue to summary" and click it:

![alt text](images/image-1.png)

Then click "Create Token":

![alt text](images/image-2.png)

Copy the token.

Launch the program and then just paste in your key!

## FAQ

### Q: I am unable to paste in my key!

A: Set an environment variable named `CLOUDFLARE_API_TOKEN` to your key and rerun it

> How to set the environment variable:
>
> * Windows: `set CLOUDFLARE_API_TOKEN=token`
> * Linux/MacOS: `export CLOUDFLARE_API_TOKEN=token`