semvec/pypi-packages huggingface dataset:
dataframe2image 0.2.0
Convert pandas DataFrame to beautiful table images with automatic Chinese font support
Requires Python: >=3.8
Keywords: pandas, dataframe, table, image, screenshot

# dataframe2image

Convert pandas DataFrame to beautiful table images.

## Features

- Convert pandas DataFrame to high-quality table images
- Beautiful, customizable styling with CSS
- Support for various image formats (PNG, JPEG, WebP)
- Responsive table design
- Easy to use API

## Installation

```bash
pip install dataframe2image
```

After installation, you need to install Playwright browsers:

```bash
playwright install chromium
```

## Quick Start

```python
import pandas as pd
from dataframe2image import df_to_image

# Create a sample DataFrame
df = pd.DataFrame({
    'Name': ['Alice', 'Bob', 'Charlie', 'Diana'],
    'Age': [25, 30, 35, 28],
    'City': ['New York', 'London', 'Tokyo', 'Paris'],
    'Salary': [50000, 60000, 70000, 55000]
})

# Convert to image
df_to_image(df, output_path='table.png')
```

## Advanced Usage

```python
from dataframe2image import df_to_image, TableStyle

# Custom styling
style = TableStyle(
    theme='dark',
    font_family='Arial',
    font_size=14,
    border_color='#333',
    header_bg_color='#4CAF50',
    row_bg_colors=['#f9f9f9', '#ffffff']
)

df_to_image(
    df, 
    output_path='styled_table.png',
    style=style,
    width=800,
    height=600
)
```

## API Reference

### `df_to_image(df, output_path, style=None, width=None, height=None, format='png')`

Convert a pandas DataFrame to an image.

**Parameters:**
- `df` (pandas.DataFrame): The DataFrame to convert
- `output_path` (str): Path where the image will be saved
- `style` (TableStyle, optional): Custom styling options
- `width` (int, optional): Image width in pixels
- `height` (int, optional): Image height in pixels (auto if not specified)
- `format` (str): Image format ('png', 'jpeg', 'webp')

### `TableStyle`

Customization options for table appearance.

**Parameters:**
- `theme` (str): Theme name ('light', 'dark', 'minimal')
- `font_family` (str): Font family name
- `font_size` (int): Font size in pixels
- `border_color` (str): Border color (CSS color)
- `header_bg_color` (str): Header background color
- `row_bg_colors` (list): Alternating row background colors

## License

MIT License
etils 1.13.0
Collection of common python utils
Requires Python: >=3.10
Keywords: utils, jax, tensorflow, tf, machine learning, deep learning

# Etils

[![Unittests](https://github.com/google/etils/actions/workflows/pytest_and_autopublish.yml/badge.svg)](https://github.com/google/etils/actions/workflows/pytest_and_autopublish.yml)
[![PyPI version](https://badge.fury.io/py/etils.svg)](https://badge.fury.io/py/etils)
[![Documentation Status](https://readthedocs.org/projects/etils/badge/?version=latest)](https://etils.readthedocs.io/en/latest/?badge=latest)

etils (eclectic utils) is an open-source collection of utils for python.

Each top-level submodule is a **self-contained independent** module (with its
own `BUILD` rule), meant to be imported individually. To avoid collisions with
other modules/variables, module names are prefixed by `e` (arbitrary
convention):

```python
from etils import epath  # Path utils
from etils import epy  # Python utils
from etils import ejax  # Jax utils
...
```

Becauses each module is independent, only the minimal required libraries are
imported (for example, importing `epy` won't suffer the cost of importing TF,
jax,...)

## Documentation

* [`etils.epath`](https://etils.readthedocs.io/en/latest/epath.html): pathlib-like API for `gs://`, `s3://`,...
* [`etils.etree`](https://etils.readthedocs.io/en/latest/etree.html): Tree utils for `tf.nest`, `jax.tree_utils`, DeepMind `tree`.
* [`etils.enp`](https://etils.readthedocs.io/en/latest/enp.html): Numpy utils.
* [`etils.ecolab`](https://etils.readthedocs.io/en/latest/ecolab.html): Colab utils.
* [`etils.array_types`](https://etils.readthedocs.io/en/latest/array_types.html): Typing annotations for jax, numpy,... arrays
* [`etils.edc`](https://etils.readthedocs.io/en/latest/edc.html): Dataclasses utils.
* [`etils.epy`](https://etils.readthedocs.io/en/latest/epy.html): Collection of generic python utils.
* [`etils.eapp`](https://etils.readthedocs.io/en/latest/eapp.html): Absl flags/app utils.
*  [API design guide](https://etils.readthedocs.io/en/latest/api-design.html).

## Installation

Because each module is independent and require different dependencies, you
can select which modules deps to install:

```sh
pip install etils[array_types,epath,epy]
```

*This is not an official Google product.*
mcp-server-anki 0.2.0
MCP Server for Anki via AnkiConnect
Requires Python: >=3.10
Keywords: anki, ankiconnect, mcp

# mcp-anki-server

## prerequisite

- [Anki Desktop](https://apps.ankiweb.net/)
- [Anki Connect](https://ankiweb.net/shared/info/2055492159)
- [uv](https://docs.astral.sh/uv/getting-started/installation/)


## usage


### cursor

update `.mcp.json` to add the following:

```
{
    "mcpServers": {
      "anki": {
        "command": "uvx",
        "args": ["mcp-server-anki"],
        "env": {},
        "disabled": false,
        "autoApprove": []
      }
    }
}
```

### chatwise

Go to Settings -> Tools -> Add and use the following config:

```
Type: stdio
ID: Anki
Command: uvx mcp-server-anki
```


## local development

```
uv --directory $HOME/Developer/mcp-server-anki/src/mcp_server_anki run server.py
```
copier-templates-extensions 0.3.2
Deprecated (renamed). Install `copier-template-extensions` instead.
Requires Python: >=3.9

# Copier Templates Extensions

**Deprecated (renamed). Install [`copier-template-extensions`](https://pypi.org/project/copier-template-extensions) instead.**

Special Jinja2 extension for Copier that allows to load extensions using file paths relative to the template root instead of Python dotted paths.

## Installation

```bash
pip install copier-templates-extensions
```
browserprofilecreator 0.1.1
Folder-based isolated browser profile generator.
Requires Python: >=3.12

# Browser Profile Creator

Folder-based isolated browser profile generator.

## But why?

Do you really trust your browser to not track you across multiple platforms? Do you really want to be logged-in to any
of the FAANGs all the time? Don't you want to close everything work-related and be done with it?  
Then you need browser profile separation. Simply have a profile for each part of yourself and be sure that _they_ don't
communicate with each other!

The old way to do it manually: https://youtu.be/410_hV1h0yc  
and now it's automated.  

## install

It just needs vanilla python 3

Here a bash-alias for your `.bash_aliases`:  
```bash
alias run-browser-profile-creator="cd /path/to/the/github/browserProfileCreator && python3 main_vanilla.py"
```

Or run it with uvx:
```bash
uvx browserprofilecreator
# or with command line parameters:
uvx --from 'browserprofilecreator[cli]' create --browser chrome --purpose "de-googlify yourself"
```
auto-py-to-app 0.0.7
auto-py-to-app is a cx-Freeze GUI to package .py into .exe or excutable files.
Requires Python: >=3.9
Keywords: gui, executable

# Auto-Py-To-App
 Auto-Py-To-App is a GUI for cx_Freeze, which is a library to change .py excutables into .exe (on windows) or binary files (on Mac OS).

 The famous library to package python script, maybe you heard about it once, named as pyinstaller. cx_Freeze, however, is trying to catch up with it in recent years.

 For pyinstaller, after you run its command, it will give you an excutable .exe file one way or another, regardless of its robustness. And for many starters, they could find it hard to tune the packaged .exe file.

 cx_Freeze, to some extend, performs better in this field. The adjustment after you package your program can be easier and faster.

 If you want to use pyinstaller, it's suggested that you start with another GUI called [auto-py-to-exe](https://pypi.org/project/auto-py-to-exe/). Auto-Py-To-App is based on auto-py-to-exe, the only difference is auto-py-to-app is powered by cx_Freeze, while auto-py-to-exe is powered by pyinstaller.

# Notice
 If you meet bug when loading cx_Freeze as: 

 ```AttributeError: module 'lief._lief.logging' has no attribute 'LOGGING_LEVEL'```

 It is because cx_Freeze does not support the latest version of lief. You can fix this bug by uninstall lief and re-install an older version of lief, such as lief-0.12.1. Please use:

 ```pip install lief==0.12.1```