{"id":15501644,"url":"https://github.com/szymonrucinski/pippi-lang","last_synced_at":"2026-04-30T17:31:13.915Z","repository":{"id":65786048,"uuid":"597448929","full_name":"szymonrucinski/pippi-lang","owner":"szymonrucinski","description":"Elegant 📑 text preprocessing pipeline 🚰  available as pip package 🐍 based on scikit-learn pipeline. Combines Transformer and Column Transformer into a single object.","archived":false,"fork":false,"pushed_at":"2023-02-11T00:03:52.000Z","size":54,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-16T20:47:05.071Z","etag":null,"topics":["data-cleaning","data-science","nlp","pipeline","scikit-learn"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/pyppi/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/szymonrucinski.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-02-04T15:34:31.000Z","updated_at":"2023-02-11T00:20:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"3dd27f3b-9965-4aae-8f79-e8c957478a1a","html_url":"https://github.com/szymonrucinski/pippi-lang","commit_stats":{"total_commits":26,"total_committers":2,"mean_commits":13.0,"dds":0.1923076923076923,"last_synced_commit":"35592445e78323fe8d697764a0b5c00936e0f968"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/szymonrucinski/pippi-lang","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/szymonrucinski%2Fpippi-lang","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/szymonrucinski%2Fpippi-lang/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/szymonrucinski%2Fpippi-lang/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/szymonrucinski%2Fpippi-lang/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/szymonrucinski","download_url":"https://codeload.github.com/szymonrucinski/pippi-lang/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/szymonrucinski%2Fpippi-lang/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32472396,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"ssl_error","status_checked_at":"2026-04-30T13:12:06.837Z","response_time":57,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["data-cleaning","data-science","nlp","pipeline","scikit-learn"],"created_at":"2024-10-02T09:05:09.865Z","updated_at":"2026-04-30T17:31:13.898Z","avatar_url":"https://github.com/szymonrucinski.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Text cleaning Pipeline \n\n[![Build package](https://github.com/szymonrucinski/pippi-lang/actions/workflows/build-pkg.yml/badge.svg)](https://github.com/szymonrucinski/pippi-lang/actions/workflows/build-pkg.yml) [![Check style](https://github.com/szymonrucinski/pippi-lang/actions/workflows/check-style.yml/badge.svg)](https://github.com/szymonrucinski/pippi-lang/actions/workflows/check-style.yml)[![Run Tests](https://github.com/szymonrucinski/pippi-lang/actions/workflows/run-tests.yml/badge.svg)](https://github.com/szymonrucinski/pippi-lang/actions/workflows/run-tests.yml)\n___\n## Description\nThis code contains a pipeline for pre-processing text data for sentiment analysis. It includes steps for removing stop words, HTML tags, changing letter size, and removing punctuation.\n*Future code will include text-transformations like word-embedding and word-vectorization.*\n\nTo install [this package](https://pypi.org/project/pippi-lang/) simply run:\n``` bash\npip install pippi-lang\n``` \n\n### Example\nElegant data pipelines are a key component of any data science project. They allow you to automate the process of cleaning, transforming, and analyzing data. This code is a simple example of how to create a pipeline for text data using cutom transformers and the sklearn Pipeline class.\n\n``` python\n\nfrom pippi import (\n    TransformLettersSize,\n    RemoveStopWords,\n    Lemmatize,\n    RemovePunctuation,\n    RemoveHTMLTags,\n)\nfrom sklearn.pipeline import Pipeline\nimport pandas as pd\n\n    pipeline = Pipeline(\n        steps=[\n            (\"remove_stop_words\", RemoveStopWords(columns=[\"review\",\"sentiment\"])),\n            (\"remove_html_tags\", RemoveHTMLTags(columns=df.columns.to_list())),\n            (\"uppercase_letters\", TransformLettersSize(columns=[\"sentiment\"], case_transform=\"upper\")),\n            (\"remove_punctuation\", RemovePunctuation(columns=[\"review\"])),\n        ]\n    )\n    output = pipeline.fit_transform(df)\n    df = pd.DataFrame(output, columns=[\"review\", \"sentiment\"])\n\n```\nPipeline Visualization:\n\n``` markdown\n[RemoveStopWords] -\u003e [RemoveHTMLTags] -\u003e [TransformLettersSize] -\u003e   [RemovePunctuation]\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fszymonrucinski%2Fpippi-lang","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fszymonrucinski%2Fpippi-lang","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fszymonrucinski%2Fpippi-lang/lists"}