semvec/pypi-packages huggingface dataset:
basalam.backbone-api 0.2.6
Python OpenApi Utilities for FastAPI
Requires Python: >=3.6

# backbone-api
OpenAPI request and response models

#### Installation & Upgrade

```shell
pip install basalam.backbone-api
```

#### TODO List
- [ ] Add Message Toast Field
- [ ] Add Pagination Query Params Dependency

#### Usage Example

```python
import uvicorn
from fastapi import APIRouter
from fastapi import FastAPI
from pydantic import BaseModel

from basalam.backbone_api.responses import (
    ForbiddenResponse,
    NotFoundResponse,
    UnauthorizedResponse,
    UnprocessableContentResponse,
    BulkResponse, ConflictResponse
)

app = FastAPI()


class User(BaseModel):
    id: int
    name: str


router = APIRouter(responses={
    401: {"model": UnauthorizedResponse},
    403: {"model": ForbiddenResponse},
    404: {"model": NotFoundResponse},
    409: {"model": ConflictResponse},
    422: {"model": UnprocessableContentResponse}
})


@router.get("/", response_model=BulkResponse[User])
async def root():
    ls = [
        User(id=1, name="John Doe"),
        User(id=2, name="Jane Boe")
    ]
    return BulkResponse(data=ls).as_json_response()

app.include_router(router)
if __name__=="__main__":
    uvicorn.run(app, host="localhost", port=8000)
```
### Using Exceptions
in app.py

```python
from fastapi import FastAPI
from basalam.backbone_api.exceptions.client_error.handlers import client_error_exception_handler
from basalam.backbone_api.exceptions.client_error import (
    ClientErrorException,
    ForbiddenException,
    UnauthorizedException,
    ConflictException,
    NotFoundException,
    UnprocessableEntityException
)

app = FastAPI()

exception_handlers = {
    ClientErrorException: client_error_exception_handler,
    ForbiddenException: client_error_exception_handler,
    UnauthorizedException: client_error_exception_handler,
    ConflictException: client_error_exception_handler,
    NotFoundException: client_error_exception_handler,
    UnprocessableEntityException: client_error_exception_handler,
}

...

```
If you raise any of these exceptions everywhere in you FastAPI project FastAPI will return a client error response
based on the excpetion.

### Example Usage

```python
def view_or_somthing_else():
    raise ForbiddenException()
```
#### Credits
This project was inspired by the work of [Mr.MohammadAli Soltanipoor](https://github.com/soltanipoor) on OpenAPI.
moviesdk 0.0.2
Un SDK Python pour accéder à l’API MovieLens (Data Analysts friendly)
Requires Python: >=3.12

# MovieLens SDK - `moviesdk`

Un SDK Python simple pour interagir avec l’API REST MovieLens. Il est conçu pour les **Data Analysts** et **Data Scientists**, avec une prise en charge native de **Pydantic**, **dictionnaires** et **DataFrames Pandas**.

[![PyPI version](https://badge.fury.io/py/moviesdk.svg)](https://badge.fury.io/py/moviesdk)
[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT)

---

## Installation

```bash
pip install moviesdk
```

---

## Configuration

```python
from moviesdk import MovieClient, MovieConfig

# Configuration avec l’URL de votre API (Render ou locale)
config = MovieConfig(movie_base_url="https://movielens-api-rmr7.onrender.com")
client = MovieClient(config=config)
```

---

## Tester le SDK

### 1. Health check

```python
client.health_check()
# Retourne : {"status": "ok"}
```

### 2. Récupérer un film

```python
movie = client.get_movie(1)
print(movie.title)
```

### 3. Liste de films au format DataFrame

```python
df = client.list_movies(limit=5, output_format="pandas")
print(df.head())
```

---

## Modes de sortie disponibles

Toutes les méthodes de liste (`list_movies`, `list_ratings`, etc.) peuvent retourner :

- des objets **Pydantic** (défaut)
- des **dictionnaires**
- des **DataFrames Pandas**

Exemple :

```python
client.list_movies(limit=10, output_format="dict")
client.list_ratings(limit=10, output_format="pandas")
```

---

## Tester en local

Vous pouvez aussi utiliser une API locale :

```python
config = MovieConfig(movie_base_url="http://localhost:8000")
client = MovieClient(config=config)
```

---

## Public cible

- Data Analysts
- Data Scientists
- Étudiants et curieux en Data
- Développeurs Python

---

## Licence

MIT License

---

## Liens utiles

- API Render : [https://movielens-api-rmr7.onrender.com](https://movielens-api-rmr7.onrender.com)
- PyPI : [https://pypi.org/project/moviesdk](https://pypi.org/project/moviesdk)
gramLib 1.0.1
libraly in create database in gram
Requires Python: >=3.6

new libraly 

Рђctive metods


вЂў  gram = GramDatabase(GRAMBASE): Creates an instance of the GramDatabase class.
вЂў  gram.create_table(kwargs): Creates a new database file or updates an existing one.
вЂў  gram.open_table(): Opens an existing database file for modification.
вЂў  gram.closeSave_table(): Closes the database file and saves the changes.
вЂў  gram.delete_table(): Deletes the database file.
вЂў  gram.delete_key(key): Deletes a specific key from the database.
вЂў  gram.create_key(key, value): Adds a new key-value pair to the database.
branchconflicts 0.1.6
Find conflicted files between two branches.

# Merge base conflicts
## Information
- This is a python library that helps you find files that were changed in both **branchA** and **branchB**.

## Usage
- Inside the library there are many functions made for the functionality to work and be clean
- The main function you should be using is **find_conflicts(...)**

### find_conflicts()
- The function accesses GitHub repository from GitHub REST API and finds the branchA
- Goes through the local repository to find the branchB
- Compares the two branches since their merge base and returns the conflicted files
#### Parameters
1) repo_owner - username of GitHub user whose repository you will be finding conflicts in
2) repo_name - name of the repository
3) access_token - if the repository is empty the library needs token for authentication
4) local_repo_path - path to the cloned repository where local branch is located
5) branch_a - remote branch name on GitHub
6) branch_b - local branch name

#### Return value
- A list of strings (names of conflicted files)
trip-pay-sdk-payment 0.0.4
Wink Payment API
Keywords: OpenAPI, OpenAPI-Generator, Wink Payment API

    A programmatic way to create bookings, receive reactive and disburse funds globally.  ## APIs Not every integrator needs every APIs. For that reason, we have separated APIs into context.  - [Affiliate](/affiliate): All APIs related to selling travel inventory as an affiliate. - [Analytics](/analytics): All APIs related to tracking metrics across a wide variety of data source segments including, more entertaining, leaderboard metrics. - [Booking](/booking): All APIs related to creating platform bookings. - [Channel Manager](/channel-manager): All APIs related to channel managers who want to integrate with our platform. - [Extranet](/extranet): All APIs related to managing travel inventory and suppliers. - [Inventory](/inventory): All APIs related to retrieve known travel inventory as it was found using the Lookup API.. - [Lookup](/lookup): All APIs related to locating inventory by region, locale and property flags. - [Reference](/reference): All APIs related to retrieving platform-supported taxonomies. - [TripPay](/reactive): All APIs related to TripPay account management, booking, mapping and integration features.  ## SDKs We are actively working on supporting the most used languages out there. If you don&#39;t see your language here, reach out to us with a request to officially add your language. In the meantime, if you want to roll your own SDK, you can do so by downloading the OpenAPI spec and using one of the many available OpenAPI generators available: [https://openapi-generator.tech/docs/generators](https://openapi-generator.tech/docs/generators).  - Java SDK [https://github.com/wink-travel/trip-pay-sdk-java](https://github.com/wink-travel/trip-pay-sdk-java)  # Usage These features are made available to you via a [REST API](https://en.wikipedia.org/wiki/Representational_state_transfer). This API is language agnostic. We will link to SDKs for the most popular programming languages on this page as they become available.  ## Versioning We chose to version our endpoints in a way that we hope affects your integration with us the least. You request the version of our API you wish to work with via the &#x60;Wink-Version&#x60; header. When it&#39;s time for you to upgrade, you only have to change the version number to get access to our updated endpoints.  ## Release history - Follow updates on Github: https://github.com/wink-travel/wink-sdk-java/blob/master/CHANGELOG.md
ruon 0.0.2.post1
Implement some data structures and algorithms used in Rust for Python
Requires Python: >=3.0

# ruon

![Downloads](https://img.shields.io/pypi/dm/ruon.svg?style=flat)

# Installation

```python
# With pip.
pip install ruon

# Or pipx.
pipx install ruon

# Or uv
uv pip install ruon
```