From 58d05b18726904f64cb8e2bcde51e42bd6c72df4 Mon Sep 17 00:00:00 2001 From: Marek Dobransky Date: Fri, 7 Jun 2024 13:18:50 +0200 Subject: [PATCH 1/6] updated autodoc path --- .github/workflows/release.yml | 6 ------ README.md | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 89e547b..e7b9ae3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,17 +10,11 @@ env: jobs: publish: - environment: jfrog runs-on: ubuntu-20.04 steps: - name: Checkout Rialto uses: actions/checkout@v3 - - name: Install system dependencies - run: | - apt-get update - apt-get install -y openssl libssl-dev wget - - uses: actions/setup-python@v4 with: python-version: "3.10.6" diff --git a/README.md b/README.md index 3c8bf4a..538b3eb 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ Rialto is a framework for building and deploying machine learning features in a The name Rialto is a reference to the Rialto Bridge in Venice, Italy. The Rialto Bridge was a major marketplace for goods and ideas the Middle Ages. Rialto is intended to be a foundation of a similar marketplace for machine learning features, where users and find and share reusable features. -Sphinx-Generated autodocs pages available **[here]()**. +Sphinx-Generated autodocs pages available **[here](https://absaoss.github.io/rialto/)**. # Contents 1. [Instalatlion](#install) From 6170f7e381f351d0487fd722f260c2d77543dc39 Mon Sep 17 00:00:00 2001 From: Dennis Date: Mon, 15 Jul 2024 10:16:25 +0200 Subject: [PATCH 2/6] corrected spelling (#2) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 538b3eb..4c5ca4c 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ Rialto is intended to be a foundation of a similar marketplace for machine learn Sphinx-Generated autodocs pages available **[here](https://absaoss.github.io/rialto/)**. # Contents -1. [Instalatlion](#install) +1. [Installation](#install) 2. [Library Overview](#overview) 3. [Contributing](#contributing) From c2defe9b14b7dccffdf958ae36ed378dd28106bf Mon Sep 17 00:00:00 2001 From: Marek Dobransky Date: Mon, 15 Jul 2024 10:15:34 +0200 Subject: [PATCH 3/6] PyPI metadata --- .github/CODEOWNERS | 2 +- .github/workflows/release.yml | 2 +- README.md | 14 +++++++++++--- pyproject.toml | 18 +++++++++++++++--- 4 files changed, 28 insertions(+), 8 deletions(-) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index ef3a340..b7e31a6 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1 +1 @@ -/rialto/ @MDobransky +/rialto/ @MDobransky /@vvancak diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e7b9ae3..ed024c1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -31,4 +31,4 @@ jobs: - name: Build and publish the wheel to jfrog run: | poetry build -# poetry publish + twine upload dist/* diff --git a/README.md b/README.md index 4c5ca4c..142d23e 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,6 @@ Sphinx-Generated autodocs pages available **[here](https://absaoss.github.io/ria 3. [Contributing](#contributing) # 1. Installation -The packages is not yet available in public pip ```bash pip install rialto ``` @@ -151,7 +150,12 @@ Sequential feature generation can be simply interpreted as appending a new colum from rialto.maker import FeatureMaker from my_features import simple_features -features, metadata = FeatureMaker.make(df=input_data, key="KEY", make_date=run_date, features_module=simple_features, keep_preexisting=True) +features, metadata = FeatureMaker.make( + df=input_data, + key="KEY", + make_date=run_date, + features_module=simple_features, + keep_preexisting=True) ``` #### Aggregated @@ -161,7 +165,11 @@ In aggregated generation, the source dataframe is grouped by the key or keys and from rialto.maker import FeatureMaker from my_features import agg_features -features, metadata = FeatureMaker.make_aggregated(df=input_data, key="KEY", make_date=run_date, features_module=agg_features) +features, metadata = FeatureMaker.make_aggregated( + df=input_data, + key="KEY", + make_date=run_date, + features_module=agg_features) ``` There are also **make_single_feature** and **make_single_agg_feature** available, intended to be used in tests. (See full documentation) diff --git a/pyproject.toml b/pyproject.toml index e08b86b..bd95562 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,16 +1,28 @@ [tool.poetry] name = "rialto" -version = "1.3.0" +version = "1.3.1" packages = [ { include = "rialto" }, ] +classifiers = [ + "Programming Language :: Python :: 3", + "License :: OSI Approved :: Apache Software License", + "Operating System :: OS Independent", +] -description = "Rialto" -authors = ["Marek Dobransky "] +[project] +name = "rialto" +readme = "README.md" +description = "Rialto is a framework for building and deploying machine learning features in a scalable and reusable way. It provides a set of tools that make it easy to define and deploy features and models, and it provides a way to orchestrate the execution of these features and models." +authors = ["Marek Dobransky ", "Vladislav Vancak "] keywords = ["feature", "featureslib", "featuremaker", "metadata", "featureloader", "loader"] +[project.urls] +Documentation = "https://absaoss.github.io/rialto/" +Repository = "https://github.com/AbsaOSS/rialto" + [tool.poetry.dependencies] python = ">=3.10,<4.0" pydantic = "^2.2.1" From 01e1c14f35378f4e1ddca0089549f80f116acbcc Mon Sep 17 00:00:00 2001 From: Marek Dobransky Date: Mon, 15 Jul 2024 10:21:13 +0200 Subject: [PATCH 4/6] fixes --- .github/CODEOWNERS | 3 ++- pyproject.toml | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index b7e31a6..31bcd74 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1 +1,2 @@ -/rialto/ @MDobransky /@vvancak +/rialto/ @MDobransky +/rialto /@vvancak diff --git a/pyproject.toml b/pyproject.toml index bd95562..40848f6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -11,6 +11,8 @@ classifiers = [ "License :: OSI Approved :: Apache Software License", "Operating System :: OS Independent", ] +description = "Rialto is a framework for building and deploying machine learning features in a scalable and reusable way. It provides a set of tools that make it easy to define and deploy features and models, and it provides a way to orchestrate the execution of these features and models." +authors = ["Marek Dobransky ", "Vladislav Vancak "] [project] name = "rialto" From 5076abd83f2711471a88c29dc4f1aada940f02a4 Mon Sep 17 00:00:00 2001 From: Marek Dobransky Date: Mon, 15 Jul 2024 10:23:11 +0200 Subject: [PATCH 5/6] fixes --- .github/CODEOWNERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 31bcd74..067740c 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1,2 +1,2 @@ /rialto/ @MDobransky -/rialto /@vvancak +/rialto/ @vvancak From f53c8e4adaf8cf7109575d13d5a9da6d2b9dd9b8 Mon Sep 17 00:00:00 2001 From: Marek Dobransky Date: Mon, 15 Jul 2024 10:24:14 +0200 Subject: [PATCH 6/6] env --- .github/workflows/release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ed024c1..6a7b1c9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,6 +10,7 @@ env: jobs: publish: + environment: pypi runs-on: ubuntu-20.04 steps: - name: Checkout Rialto