semvec/pypi-packages huggingface dataset:
azure-openai-price-sdk 0.1.0
An SDK to fetch Azure OpenAI model pricing information
Requires Python: >=3.6

# Azure OpenAI Price SDK

This SDK provides an easy-to-use interface to fetch Azure OpenAI pricing data for specific models, deployment types, and locations. It filters relevant pricing details from the Azure and returns token prices for input and output, making it ideal for those who need up-to-date pricing information for Azure OpenAI services.

## Features

- Fetches input and output token prices based on specific model, deployment type, location, and other parameters.
- Easy to integrate and use with minimal setup.

## Installation

To install the package, use `pip` (assuming you have uploaded this SDK to PyPI):

```bash
pip install azure-openai-price-sdk
```

## Usage
Here’s how to use the SDK to fetch Azure OpenAI token prices:

```bash

from azure_openai_price_sdk.price_sdk import AzureOpenAIPriceSDK

# Initialize the SDK with required parameters
sdk = AzureOpenAIPriceSDK(
    model_name="o1 preview",
    deployment_type="regional",
    location="US East 2",
    version_date=None,  # Optional, specify if needed
    cache=True          # Optional, set to True for cached versions
)

# Get the input and output token prices
input_price, output_price = sdk.get_prices()
print(f"Input unit price: ${input_price} per 1K tokens")
print(f"Output unit price: ${output_price} per 1K tokens")
```

## Parameters
- model_name (str): The name of the OpenAI model (e.g., "o1 preview").
- deployment_type (str): The deployment type, such as "regional" or "global".
- location (str): The Azure region (e.g., "US East 2").
- version_date (str, optional): The specific version date(e.g. if version date is 2024-08-06, provide 0806), if applicable.
- cache (bool, optional): Whether to look for cached versions (default is False).


## Development and Contribution
1. Clone the repository:
```bash
git clone https://github.com/your-username/azure-openai-price-sdk.git
```
2. Install dependencies:
```bash
pip install -r requirements.txt
```

3. Run tests:
```bash
pytest tests/
```

## License

This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.

## Contributions are welcome! Please create a pull request or open an issue if you find bugs or have suggestions.
chicoasen 0.1.0
Una librería Python para manejo de archivos y bases de datos PostgreSQL
Requires Python: >=3.7

# Chicoasen

Chicoasen es una librería Python para el manejo de archivos y bases de datos PostgreSQL. Proporciona utilidades para análisis de datos, manejo de archivos y operaciones de base de datos.

## Instalación

```bash
pip install chicoasen
```

## Uso

```python
from chicoasen import archivos, PostgresDB

# Ejemplo de manejo de archivos
config = archivos.config()
path = "ruta/a/tu/archivo.csv"
archivos.validar_carga_muestra(path, config)

# Ejemplo de base de datos
db = PostgresDB(
    host='localhost',
    port=5432,
    dbname='tu_base_datos',
    user='tu_usuario',
    password='tu_contraseña'
)
bases_datos = db.obtener_bases_de_datos()
print(bases_datos)
```