semvec/pypi-packages huggingface dataset:
docx2markdown-custom 1.0.1
Convert .docx files to Markdown, preserving headings, paragraphs, and tables.
License: MIT
Requires Python: >=3.7

# docx2markdown_custom

Convert .docx files to Markdown, preserving headings, paragraphs, and tables.

## Installation

```sh
pip install docx2markdown_custom 
```

## Usage

```python
from docx2markdown_custom import docx_to_markdown_custom

with open('your_file.docx', 'rb') as f:
    docx_bytes = f.read()

markdown = docx_to_markdown_custom(docx_bytes)
print(markdown)
```

## Features
- Converts headings, paragraphs, and tables from .docx to Markdown
- Handles bold and italic text

## License
MIT
sqlalchemy-memory 0.4.0
In-memory SQLAlchemy 2.0 dialect for blazing‑fast prototyping.
License: MIT
Requires Python: >=3.8
Keywords: sqlalchemy, in-memory database, memory store, prototype, testing, python orm, sqlalchemy dialect, sqlite alternative, lightweight database

# sqlalchemy-memory

[![PyPI - Version](https://img.shields.io/pypi/v/sqlalchemy-memory)](https://pypi.org/project/sqlalchemy-memory/)
[![CI](https://github.com/rundef/sqlalchemy-memory/actions/workflows/ci.yml/badge.svg)](https://github.com/rundef/sqlalchemy-memory/actions/workflows/ci.yml)
[![Documentation](https://app.readthedocs.org/projects/sqlalchemy-memory/badge/?version=latest)](https://sqlalchemy-memory.readthedocs.io/en/latest/)
[![PyPI - Downloads](https://img.shields.io/pypi/dm/sqlalchemy-memory)](https://pypistats.org/packages/sqlalchemy-memory)


**In‑memory SQLAlchemy 2.0 dialect for blazing‑fast prototyping**

A pure‑Python SQLAlchemy 2.0 dialect that runs entirely in RAM.
It avoids typical database I/O and ORM overhead while maintaining full compatibility with the SQLAlchemy 2.0 Core and ORM APIs.
Ideal for rapid prototyping, backtesting engines, simulations.

## Why ?

This project was inspired by the idea of building a **fast, introspectable, no-dependency backend** for SQLAlchemy.

It is useful for:

- Prototyping new applications

- Educational purposes

- Testing ORM logic without spinning up a real database engine

Unlike traditional in-memory solutions like SQLite, `sqlalchemy-memory` fully avoids serialization, connection pooling, and driver overhead, leading to much faster in-memory performance while keeping the familiar SQLAlchemy API.

It is also perfect for **applications that need a lightweight, high-performance store** compatible with SQLAlchemy, such as backtesting engines, simulators, or other tools where you don't want to maintain a separate in-memory layer alongside your database models.

Data is kept purely in RAM and is **volatile**: it is **not persisted across application restarts** and is **cleared when the engine is disposed**.

## Features

- **SQLAlchemy 2.0 support**: ORM & Core expressions, sync & async modes
- **Zero I/O overhead**: pure in‑RAM storage (`dict`/`list` under the hood)
- **Commit/rollback support**
- **Index support**: indexes are recognized and used for faster lookups
- **Lazy query evaluation**: supports generator pipelines and short-circuiting
  - `first()`-style queries avoid scanning the full dataset
  - Optimized for read-heavy workloads and streaming filters

## Benchmark

Curious how `sqlalchemy-memory` stacks up?

[View Benchmark Results](https://sqlalchemy-memory.readthedocs.io/en/latest/benchmarks.html) comparing `sqlalchemy-memory` to `in-memory SQLite`

## Installation

```bash
pip install sqlalchemy-memory
```

## Documentation

[See the official documentation for usage examples](https://sqlalchemy-memory.readthedocs.io/en/latest/)

## Testing

Simply run `make tests`

## License

This project is licensed under the MIT License.
See [LICENSE](LICENSE) for details.
gradpyent 0.9.5
Create color gradients based on list-like input data
License: MIT
Requires Python: >=3.10
Keywords: color, gradient, palette, rgb, visualization

# Gradpyent, a Python Gradient Generator

Gradpyent is a Python package for generating color gradients based on list-like inputs and start/end color values. The generated gradients are ideal for data visualization, user interfaces, or anywhere you want to convert a list of values into a color gradient.

This package allows you to specify colors in a variety of formats including RGB, HTML, and KML, giving you the flexibility to match your specific needs. 

The gradient generation algorithm automatically scales input values outside the range of 0-1, ensuring the generated gradient remains consistent and visually pleasing.

## Table of Contents

- [Installation](#installation)
- [Usage](#usage)
- [Examples](#examples)
- [License](#license)
- [Code Quality](#code-quality)
- [Tests](#tests)

## Installation

You can install Gradpyent directly from PyPI:

```bash
pip install gradpyent
```

## Usage

Basic usage:

```python
from gradpyent.gradient import Gradient

# Define the start and end colors as RGB, HTML, or KML
start_color = 'RGB(255,0,0)'  # Red in RGB
end_color = '#0000ff'  # Blue in HTML

# Instantiate the gradient generator, opacity is optional (only used for KML)
gg = Gradient(gradient_start=start_color, gradient_end=end_color, opacity=1.0)

# Define the input list
input_list = [0, 0.5, 1]

# Generate the gradient
gradient = gg.get_gradient_series(series=input_list, fmt='html')

print(gradient)
```

## Examples

Here are some more examples demonstrating how to use different color formats and list inputs:

- RGB colors:

```python
start_color = 'rgb(255,0,0)'  # Red
end_color = 'rgb(0,0,255)'  # Blue
input_list = [0, 0.5, 1]
```

- HTML colors:

```python
start_color = '#ff0000'  # Red
end_color = '#0000ff'  # Blue
input_list = [0, 0.5, 1]
```

- KML colors:

```python
start_color = 'ff0000ff'  # Red
end_color = 'ffff0000'  # Blue
input_list = [0, 0.5, 1]
```

- Scaling input values:

```python
start_color = 'rgb(255,0,0)'  # Red
end_color = '#0000ff'  # Blue
input_list = [-5, 0, 5, 10]  # Values outside 0-1 range
```

- Jupyter notebook samples:
  - See the `notebooks` directory for more examples

## License
This project is licensed under the terms of the MIT license. See the [LICENSE.md](LICENSE.md) file for details.

## Code Quality
> ruff format src/ tests/
>
> ruff check src/ [--fix]
>

## Tests
> pytest --cov


## Docs
sphinx-apidoc -o docs/ src/gradpyent


### Enjoy the colorful world!