semvec/pypi-packages huggingface dataset:
polars-deltalake 0.2.0
Native polars deltalake reader
Requires Python: >=3.8

A native deltalake reader built with Pola-rs and Delta-RS crates.


## Example

```python
import polars as pl
import polars_deltalake as pldl

df = pl.DataFrame(
    [
        pl.Series("foo", [1, 2, 3], dtype=pl.Int64),
        pl.Series("bar", ['1', '2', '3'], dtype=pl.String),
        pl.Series("datetime", [datetime(2010, 1, 1, 0, 0)]*3, dtype=pl.Datetime(time_unit='us', time_zone=None)),
        pl.Series("datetime_tz", [datetime(2010, 1, 1, 0, 0, tzinfo=timezone.utc)]*3, dtype=pl.Datetime(time_unit='us', time_zone='UTC')),
        pl.Series("date_month", [201001, 201002, 201003], dtype=pl.Int32),
        pl.Series("static_part", ['A', 'A', 'A'], dtype=pl.String),
        pl.Series("list", [['5', 'B'], ['5', 'B'], ['5', 'B']], dtype=pl.List(pl.String)),
    ]
)

df.write_delta("test_table", delta_write_options={"partition_by":["foo"]})

table = pldl.scan_delta("test_table")

table.filter(pl.col("foo") == 1).collect()

shape: (1, 7)
┌─────┬─────────────────────┬─────────────────────┬────────────┬─────────────┬────────────┬─────┐
│ bar ┆ datetime            ┆ datetime_tz         ┆ date_month ┆ static_part ┆ list       ┆ foo │
│ --- ┆ ---                 ┆ ---                 ┆ ---        ┆ ---         ┆ ---        ┆ --- │
│ str ┆ datetime[μs]        ┆ datetime[μs, UTC]   ┆ i32        ┆ str         ┆ list[str]  ┆ i64 │
╞═════╪═════════════════════╪═════════════════════╪════════════╪═════════════╪════════════╪═════╡
│ 1   ┆ 2010-01-01 00:00:00 ┆ 2010-01-01 00:00:00 ┆ 201001     ┆ A           ┆ ["5", "B"] ┆ 1   │
│     ┆                     ┆ UTC                 ┆            ┆             ┆            ┆     │
└─────┴─────────────────────┴─────────────────────┴────────────┴─────────────┴────────────┴─────┘
```
autoCase 0.0.4
Automatic AI based (optional) Camel / Snake / Pascal / Kebab / Train(Title) / Upper / Lower Case Conversion
Requires Python: >=3.8.1

# autoCase (WIP:Expect Major Changes)

Automatic AI based (optional) Camel / Snake / Pascal / Kebab / Train(Title) / Upper / Lower Case Conversion

# Latest Python Installation
```bash
git clone https://github.com/MohitBurkule/autoCase.git
cd autoCase
pip install -e .
```
# Pypi ( slightly older version)
```
pip install autoCase
```
# Usage
## Basic Usage
```python
from autoCase import camel, snake, kebab, title

camel = camel("hello-world") # helloWorld
snake = snake("helloWorld") # hello_world
kebab = kebab("helloWorld") # hello-world
##title = title("helloWorld") # Hello World
```

## AI Based Conversion (Coming Soon)
```python
from autoCase import camel, snake, kebab, title

string = "helloworld"
camel = camel(string,ai=True,outputs=3) # [helloWorld, hellOworld, hellOWorld]
snake = snake(string,ai=True,outputs=3) # [hello_world, hell_oworld, hell_o_world]
pascal = pascal(string,ai=True,outputs=3) # [HelloWorld, HellOworld, HellOWorld]
kebab = kebab(string,ai=True,outputs=3) # [hello-world, hell-oworld, hell-o-world]
train = train(string,ai=True,outputs=3) # [Hello-World, Hell-Oworld, Hell-O-World]
upper = upper(string,ai=True,outputs=3) # [HELLO WORLD, HELL OWORLD, HELL O WORLD]
lower = lower(string,ai=True,outputs=3) # [hello world, hell oworld, hell o world]
```

## Dictionary Based Conversion (Coming Soon)
```python
from autoCase import camel, snake, kebab, title

word_list = ["hello","world","hell"]

string = "helloworld"
camel = camel(outputs=3) # [helloWorld, hellWorld, hellWorld]
snake = snake(outputs=3) # [hello_world, hell_world, hell_world]
pascal = pascal(outputs=3) # [HelloWorld, HellWorld, HellWorld]
kebab = kebab(outputs=3) # [hello-world, hell-world, hell-world]
train = train(outputs=3) # [Hello-World, Hell-World, Hell-World]
upper = upper(outputs=3) # [HELLO WORLD, HELL WORLD, HELL WORLD]
lower = lower(outputs=3) # [hello world, hell world, hell world]
```

### Development and Pypi
```bash
pip install -e .[build,test] 
pytest
pip-compile pyproject.toml
python -m build 
twine check dist/*
twine upload -r pypi dist/* --verbose
```