semvec/pypi-packages huggingface dataset:
CommML 0.1.3
Common ML utilities
Requires Python: >=3.8

# CommML
A community developed ML Library

## Installation
To install the CommML library from pip:
```py
pip install CommML
```

## Example Usage
```py
from CommML.Linear_Models import linear_regression

x = [i for i in range(10)]
y = [2*j for j in x]

model = linear_regression()
model.fit(x,y,epochs=10)
model.predict(40)
```

## **Disclaimer** 
This software is a personal project and is intended for educational and non-commercial purposes only. Any commercial use or redistribution is strictly prohibited.
w1-py-parse 1.0.0
Parser for Texas RRC W-1 data files
Requires Python: >=3.7

# w1_py_parse
        
        A Python parser for Texas RRC W-1 data files.
        
        ## Description
        
        This tool allows for parsing fixed-width data files from the Texas Railroad Commission, specifically handling schema format 01.
        
        ## Installation
        
        ```bash
        pip install w1_py_parse
        ```
        
        ## Usage
        
        ```python
        from w1_py_parse import W1Parser
        
        parser = W1Parser()
        # Parse all schemas (default)
        parser.parse_file("path/to/data.dat")
        
        # Parse specific schemas by name or ID
        # parser.parse_file("path/to/data.dat", schemas=["DAROOT"])
        
        print(parser.records)
        ```
        
        ## Credits
        
        **Made almost entirely with Google DeepMind's Gemini 3 Pro.**
        
        This project serves as a demonstration of the capabilities of advanced AI in software development.
        
        ## Publishing to PyPI
        
        To publish this package to PyPI, run the following commands:
oidc-python 0.1.0
This project developed for intagration OICD in your project
Requires Python: >=3.13

# OICD


# oidc

> version: 0.1.0

This package is designed for use in your application with OIDC.

## Features

- feature 

## Install

pip install oidc

## Use examples

#### API для OICD на библиотеки Sanic

Как пользоваться библиотекой OICD :
Изначально нам необходим редирект на Keycloak

Например, в Sanic мы создаем объект:
Передаем url БД redis и имя Realm

``` python
app.ctx.oidc_client = CreateOIDCClient(config["REDIS_URL"],
                           config['KEYCLOAK_REALM_NAME'])
```

Теперь получаем редирект передаем конфиг: config:dict там переменные
окружения передаем с .env

```python
app.ctx.redirect_uri = app.ctx.oidc_client.get_redirect_uri(config)

```
Пример:
```Python

# Открываем соединение с Redis при старте
@api.before_server_start
async def setup_redis(app, _):
    # Подключаем Redis
    app.ctx.redis = redis.from_url(
        config["REDIS_URL"],
        decode_responses=True
    )

    # Создаём OIDC + PKCE менеджеры на основе redis URL
    createOIDCClient = CreateOIDCClient(config, app.ctx.redis)
    app.ctx.oidc_client = createOIDCClient

# например на маршрут /login
@api.get("/login")
async def auth_login(request):
    return response.redirect(request.app.ctx.redirect_uri)

```


Нас перебрасывает на сервис Keycloak

Авторизируемся

После успешной авторизации мы пропускаем в наше приложение:

```python
@api.get("/callback")
async def auth_callback(request: Request):
    # Достаем код и state
    
    code = request.args.get("code")
    state = request.args.get("state")

    if not code or not state:
        return response.json({"error": "Missing code or state"}, status=400)

    code_verifier = await request.app.ctx.oidc_client.pkce.pop(state)
    
    if not code_verifier:
        return response.json({"error": "Invalid/expired state"}, status=400)

    try:
        tokens = await request.app.ctx.oidc_client.exchange_code(code, code_verifier)
    except Exception as e:
        return response.json(
            {"error": "Token exchange failed", "details": str(e)},
            status=400
        )

    claims = await request.app.ctx.oidc_client.oidc.verify_token(tokens["access_token"])

    await request.app.ctx.oidc_client.save_session(claims["sub"], tokens, claims)

    return response.json({"message": "ok", "user": claims})
```


Для проверки токена и пользователя, мы используем middleware 

Пример:

```python
@api.middleware("request")
async def keycloak_middleware(request: Request):
    auth = request.headers.get("Authorization")
    if not auth:
        request.ctx.user = None
        logger.info(f"User is : {request.ctx.user}")
        return

    token = auth.replace("Bearer ", "")
    request.ctx.user = await (request.app.ctx.oidc_client.get_user_from_token(token))
    
```



## Roadmap

 - [ ] 0.1.0 init

## Develop 

### install

how to install for develop

### structure modules

### add feature

### publish
mydsaaa 0.0.2
A Python package that prints C++ DSA codes
Requires Python: >=3.6

# mydsaaa

This is a Python package to quickly access common DSA codes in C++ language for educational purposes.

## Installation

```bash
pip install mydsaaa
```

## Usage

```python
import dsa

# List available commands
dsa.help()

# Print a specific code
dsa.bubble_sort()

# Print ALL codes
dsa.all()
```
dissec 1.2
Dissect pattern implementation for ElasticSearch
Requires Python: <4.0,>=3.9
Keywords: elasticsearch, dissect, processor, parsing

``dissec`` -- Dissect pattern implementation for ElasticSearch
==============================================================

    He attac, he protec, but most importantly, he dissec.

``dissec`` is a Python module used for implementing string dissection patterns,
compatible with ElasticSearch's `Dissect processor`_.

The project is present at the following locations:

* `Official website and documentation <Website_>`_;
* `Official repository on Gitlab <Gitlab repository_>`_;
* `Official project on PyPI <PyPI project_>`_.

For example, you can dissect a string using this module with the following
snippet:

.. code-block:: python

    from dissec.patterns import Pattern

    pattern = Pattern.parse(
        r'%{clientip} %{ident} %{auth} [%{@timestamp}] \"%{verb} %{request} '
        + r'HTTP/%{httpversion}\" %{status} %{size}',
    )
    result = pattern.dissect(
        r'1.2.3.4 - - [30/Apr/1998:22:00:52 +0000] '
        + r'\"GET /english/venues/cities/images/montpellier/18.gif '
        + r'HTTP/1.0\" 200 3171',
    )
    print(result)

This will print the following, pretty-printed here for readability purposes:

.. code-block:: text

    {'@timestamp': '30/Apr/1998:22:00:52 +0000',
     'auth': '-',
     'clientip': '1.2.3.4',
     'httpversion': '1.0',
     'ident': '-',
     'request': '/english/venues/cities/images/montpellier/18.gif',
     'size': '3171',
     'status': '200',
     'verb': 'GET'}

See `Dissecting a string using dissect patterns`_ for more details on this
usage.

.. _Website: https://dissec.touhey.pro/
.. _Gitlab repository: https://gitlab.com/kaquel/dissec
.. _PyPI project: https://pypi.org/project/dissec/
.. _Dissect processor:
    https://www.elastic.co/guide/en/elasticsearch/reference/current/
    dissect-processor.html
.. _Dissecting a string using dissect patterns:
    https://dissec.touhey.pro/developer-guides/dissect.html
brickbed 0.1.0
Python client for Brickbed - the document database built for distributed edge apps
Requires Python: >=3.10
Keywords: brickbed, database, document, edge, multi-region

# brickbed

Python client for [Brickbed](https://brickbed.com) - the document database built for distributed edge apps.

## Coming Soon

Brickbed is currently on waitlist. Visit [brickbed.com](https://brickbed.com) to get notified when it's ready.

## Installation

```bash
pip install brickbed
# or
uv add brickbed
```

## Usage

```python
from brickbed import createClient

db = createClient(
    endpoint=os.environ["BRICKBED_ENDPOINT"],
    api_key=os.environ["BRICKBED_API_KEY"],
)

# Insert a document
post = await db.collection("posts").insert({
    "title": "Hello World",
    "content": "My first post",
})

# Get a document
fetched = await db.collection("posts").get(post["_id"])

# List documents
result = await db.collection("posts").list(limit=10)
```

## License

MIT
ovo-app 1.0.0a4
Deprecated ovo-app package, use ovo instead

# ⚠️⚠️⚠️ Summary ⚠️⚠️⚠️

⚠️⚠️⚠️ The **`ovo-app` PyPI package is now released directly under `ovo`** ⚠️⚠️⚠️

Please use `pip install ovo` rather than `pip install ovo-app`

https://pypi.org/project/ovo