semvec/pypi-packages huggingface dataset:
tools-pip-groq 0.1.0
A collection of database and RAG operation tools
Requires Python: >=3.6

# Tools

A Python package for various database and RAG operations.

## Installation

pip install tools_groq_pip

## Features

- Neo4j database RAG tools
- SQL query tools

## Usage

from tools.rag_tools import create_neo4j_db_rag_tool
from tools.sql_tools import create_run_sql_query_tool
xIndices 1.3.6
A xarray based module for computing SST trends, SST variability modes and other atmospheric variability modes
Requires Python: >=3.11

**xIndices: A xarray based module for computing SST trends, SST variability modes and other atmospheric variability modes**

[![PyPi Shield](https://img.shields.io/pypi/v/xIndices)](https://pypi.org/project/xIndices/)

[![Downloads](https://img.shields.io/pepy/dt/xIndices)](https://img.shields.io/pepy/dt/xIndices)

# Overview

**xIndices** is a xarray based Python library for calculating climate variability indices and patterns.
For now, from preprocessing the data to final calculation of indices and patterns, it allows user to directly
calculate without diving into the steps for calculations.
**Key Features:**

* **Load, pre-process and Regrid** Multiple data preprocessing tools are already supported including 
using ESMF defined methods. 

* **Rotated EOF analysis** This also allows user to examine EOF modes (Rotated: Varimax and Promax & Unrotated) 
in user defined regions. Returns the desired number of modes (PCs and EOFs along with their variance explained 
in the data). This comes in handy when one wants to play around EOF patterns in user selected regions and variables.  

* **Various Climate variability modes and warming trend** Right now, we support SST Warming mode, ENSO mode using 
global SST (One can calculate other modes using generaic EOF tool of this package), PDO, AMO, NAO etc. We intend to
add more variability modes.


# Install





Install the xIndices library using pip or conda.

```bash
conda create -n x_indices python=3.11 (OPTIONAL)
conda activate x_indices (If creating the x_indices environment)
conda install -c jiveshdixit -c conda-forge xindices
```

```bash
conda create -n x_indices python=3.11 xesmf (MANDATORY)
conda activate x_indices
pip install xIndices
```

# Update

I have added Lanczos filter, correction for error due to 
latitude ascending, added some more support functions such 
as standardize variable, stack variables, Projectdata onto eofs etc.
Some small bugs has also been addressed, however, they didn't affect 
the accuracy of analysis eralier


# Community & Support

For now we have a Slack community page for comments, suggestions and error reporting. 

[![Community](https://xindices.slack.com)](https://xindices.slack.com)
poetry2rye 0.4.1
A simple tool to migrate your Poetry project to rye
Requires Python: >=3.11

# poetry2rye

A simple tool to migrate your Poetry project to rye.

# Install
```commandline
rye install poetry2rye
```

# Usage
### Migrate
`poetry2rye mig [PATH]`

Migrate path projects to rye.

This command does the following:
- if the project is flat-layout, make it src-layout
- remove poetry.lock
  - this doesn't respect the lock file (at this time)
- change pyproject.toml
  - remove `[tool.poetry]` and `[tool.poetry.*]`
  - make `[project]` from `[tool.poetry]` and `[tool.poetry.*]`
  - change `[build-system]`
  - add `[tool.rye]`
  - add `[tool.hatch.metadata]`

#### Options
- `--ignore-src` : use this flag to ignore creating `src/` directory, so it won't change the project files layout.
- `--virtual` : use this command to consider project as a [virtual project](https://rye.astral.sh/guide/virtual/) (based on rye docs).
> Virtual projects are projects which are themselves not installable Python packages, but that will sync their dependencies. 


See full options with their descriptions with `poetry2rye mig --help` command,


### Get Backup
`poetry2rye get-backup [PATH]`

Options:
- `-n [NUMBER]`: The number of the backup to retrieve. If not specified, the last backup created will be used.
- `-y`: Skip the confirmation prompt.

Retrieve the backup automatically created during migration and replace the project with the backup.

if NUMBER is not specified, the last backup created will be used.

The backup folder is `.__p2r_backup_{project_name}_{number}` format and placed in the same directory as the project directory (which is a child of the project parent directory).

## Dockerfile
Since this tool does not support migration for `Dockerfile` (which is not rational to add), you've to migrate your `Dockerfile` **manually** based on [rye documentation](https://rye.astral.sh/guide/docker/)

# Other
This tool is for personal use and should be used at your own risk. Backups will be made, but we cannot be held responsible for project corruption!

The license is the MIT License.

If you have any bugs, mistakes, feature suggestions, etc., issues and pull requests are welcome.