diff --git a/python/docs/source/guide/index.md b/python/docs/source/guide/index.md index eac3308a3..b7d28a79b 100644 --- a/python/docs/source/guide/index.md +++ b/python/docs/source/guide/index.md @@ -22,13 +22,13 @@ In comparison to a timeseries which often contains simple values (e.g., numeric Getting started with Timestreams is as simple as `pip` installing the Python library, loading some data and running a query. ```python -import timestreams as t +import kaskada as kd # Read data from a Parquet file. -data = t.sources.Parquet.from_file( - "path_to_file.parquet", - time = "time", - key = "user") +data = kd.sources.Parquet( + path = "path_to_file.parquet", + time_column = "time", + key_column = "user") # Get the count of events associated with each user over time, as a dataframe. data.count().to_pandas() ``` diff --git a/python/docs/source/guide/installation.md b/python/docs/source/guide/installation.md index 71a49043f..a518c9334 100644 --- a/python/docs/source/guide/installation.md +++ b/python/docs/source/guide/installation.md @@ -5,7 +5,7 @@ We suggest using 3.11 or newer, since that provides more precise error locations ```{code-block} bash :caption: Installing Kaskada -pip install kaskada>=0.6.0-a.0 +pip install kaskada>=0.6.0-a.3 ``` ```{warning} diff --git a/python/docs/source/guide/quickstart.md b/python/docs/source/guide/quickstart.md index b0e17207c..42b140a95 100644 --- a/python/docs/source/guide/quickstart.md +++ b/python/docs/source/guide/quickstart.md @@ -14,10 +14,10 @@ This shows the bare minimum needed to get started with Kaskada. ## Install Install the latest version. -This uses `kaskdaa>=0.6.0-a.0` to ensure the pre-release version is installed. +This uses `kaskada>=0.6.0-a.3` to ensure the pre-release version is installed. ``` -pip install kaskada>=0.6.0-a.0 +pip install kaskada>=0.6.0-a.3 ``` See the section on [installation](./installation.md) to learn more about installing Kaskada. @@ -44,4 +44,4 @@ content = "\n".join( ) source = await kd.sources.CsvString.create(content, time_column="time", key_column="key") source.select("m", "n").extend({"sum_m": source.col("m").sum() }).to_pandas() -``` \ No newline at end of file +``` diff --git a/python/noxfile.py b/python/noxfile.py index 7003e7279..5648b05eb 100644 --- a/python/noxfile.py +++ b/python/noxfile.py @@ -215,4 +215,4 @@ def _stripwarnings(lines: Iterable[str]) -> Iterator[str]: path = session.cache_dir / "requirements.txt" path.write_text(text) - return path \ No newline at end of file + return path diff --git a/python/pyproject.toml b/python/pyproject.toml index 815549697..ec4c8b16b 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -34,7 +34,6 @@ python = ">=3.9,<4.0" pyarrow = "^12.0.1" typing-extensions = "^4.7.1" plotly = {version = "^5.16.1", optional = true} -flake8 = "^6.1.0" [tool.poetry.extras] plot = ["plotly"] diff --git a/python/requirements-dev.txt b/python/requirements-dev.txt deleted file mode 100644 index 9ea7f14b6..000000000 --- a/python/requirements-dev.txt +++ /dev/null @@ -1,3 +0,0 @@ -pytest>=3.5.0 -pip>=21.3 -maturin>=0.12,<0.13