Skip to content

Commit

Permalink
Merge pull request #4 from mrpowers-io/relax-python
Browse files Browse the repository at this point in the history
Add README and relax a python version
  • Loading branch information
SemyonSinchenko authored Aug 22, 2024
2 parents 5d2c57d + e2c2f80 commit caf4c54
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 1 deletion.
35 changes: 35 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Falsa

Falsa is a tool for generating H2O db-like-benchmark.
This implementation is unofficial! For the official implementation please check [DuckDB fork of orginial H2O project](https://github.com/duckdblabs/db-benchmark/tree/main/_data).

## Quick start

Falsa is built via maturin and pyo3. It works with python 3.9+. For maturin installation please follow [an official documentation](https://www.maturin.rs/installation).

### Maturin build

In virtualenv with python 3.9+:

```sh
maturin develop --release
falsa --help
```

### Pip install

In virtualenv with python 3.9+:
```sh
pip install git+https://github.com/mrpowers-io/falsa.git@main
falsa --help
```

## Supported output formats

At the moment the following output formats are supported:

- CSV
- Parquet
- Delta*

_*There is a problem with Delta at the moment: writing to Delta requires materialization of all `pyarrow` batches first and may be slow and tends to OOM-like errors. We are working on it now and will provide a patched version soon._
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "maturin"

[project]
name = "falsa"
requires-python = ">=3.10"
requires-python = ">=3.9"
classifiers = [
"Programming Language :: Rust",
"Programming Language :: Python :: Implementation :: CPython",
Expand Down

0 comments on commit caf4c54

Please sign in to comment.