diff --git a/.github/workflows/black.yml b/.github/workflows/black-ruff.yml similarity index 57% rename from .github/workflows/black.yml rename to .github/workflows/black-ruff.yml index fe99e3c..9a04743 100644 --- a/.github/workflows/black.yml +++ b/.github/workflows/black-ruff.yml @@ -1,4 +1,4 @@ -name: Black Format Checker +name: Black + Ruff Format Checker on: [push, pull_request] jobs: black-format-check: @@ -9,3 +9,8 @@ jobs: with: options: "--diff --check" src: "." + ruff-format-check: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: chartboost/ruff-action@v1 diff --git a/README.rst b/README.rst index 1e36110..23e9bfe 100644 --- a/README.rst +++ b/README.rst @@ -1,13 +1,6 @@ pandas-streaming: streaming API over pandas =========================================== -.. image:: https://github.com/sdpython/pandas_streaming/blob/main/_doc/_static/project_ico.png?raw=true - :target: https://github.com/sdpython/pandas_streaming/ - -.. image:: https://travis-ci.com/sdpython/pandas_streaming.svg?branch=main - :target: https://app.travis-ci.com/github/sdpython/pandas_streaming - :alt: Build status - .. image:: https://ci.appveyor.com/api/projects/status/4te066r8ne1ymmhy?svg=true :target: https://ci.appveyor.com/project/sdpython/pandas-streaming :alt: Build Status Windows @@ -23,10 +16,10 @@ pandas-streaming: streaming API over pandas .. image:: https://img.shields.io/badge/license-MIT-blue.svg :alt: MIT License - :target: http://opensource.org/licenses/MIT + :target: https://opensource.org/license/MIT/ -.. image:: https://codecov.io/github/sdpython/pandas_streaming/coverage.svg?branch=main - :target: https://codecov.io/github/sdpython/pandas_streaming?branch=main +.. image:: https://codecov.io/gh/sdpython/pandas-streaming/branch/main/graph/badge.svg?token=0caHX1rhr8 + :target: https://codecov.io/gh/sdpython/pandas-streaming .. image:: http://img.shields.io/github/issues/sdpython/pandas_streaming.png :alt: GitHub Issues @@ -48,7 +41,7 @@ pandas-streaming: streaming API over pandas :target: https://github.com/sdpython/pandas_streaming/ :alt: size -`pandas_streaming `_ +**pandas_streaming** aims at processing big files with `pandas `_, too big to hold in memory, too small to be parallelized with a significant gain. The module replicates a subset of `pandas `_ API @@ -84,8 +77,4 @@ The module can also stream an existing dataframe. It contains other helpers to split datasets into train and test with some weird constraints. -**Links:** - -* `GitHub/pandas_streaming `_ -* `documentation `_ -* `Blog `_ +* `documentation `_ diff --git a/_doc/conf.py b/_doc/conf.py index a125370..811119c 100644 --- a/_doc/conf.py +++ b/_doc/conf.py @@ -61,7 +61,7 @@ # The following is used by sphinx.ext.linkcode to provide links to github linkcode_resolve = make_linkcode_resolve( - "pandas-streaming", + "pandas_streaming", ( "https://github.com/sdpython/pandas-streaming/" "blob/{revision}/{package}/" diff --git a/_doc/index.rst b/_doc/index.rst index 2ba1daa..523d46a 100644 --- a/_doc/index.rst +++ b/_doc/index.rst @@ -5,13 +5,6 @@ pandas-streaming: streaming API over pandas =========================================== -.. image:: https://github.com/sdpython/pandas_streaming/blob/main/_doc/_static/project_ico.png?raw=true - :target: https://github.com/sdpython/pandas_streaming/ - -.. image:: https://travis-ci.com/sdpython/pandas_streaming.svg?branch=main - :target: https://app.travis-ci.com/github/sdpython/pandas_streaming - :alt: Build status - .. image:: https://ci.appveyor.com/api/projects/status/4te066r8ne1ymmhy?svg=true :target: https://ci.appveyor.com/project/sdpython/pandas-streaming :alt: Build Status Windows @@ -27,10 +20,10 @@ pandas-streaming: streaming API over pandas .. image:: https://img.shields.io/badge/license-MIT-blue.svg :alt: MIT License - :target: http://opensource.org/licenses/MIT + :target: https://opensource.org/license/MIT/ -.. image:: https://codecov.io/github/sdpython/pandas_streaming/coverage.svg?branch=main - :target: https://codecov.io/github/sdpython/pandas_streaming?branch=main +.. image:: https://codecov.io/gh/sdpython/pandas-streaming/branch/main/graph/badge.svg?token=0caHX1rhr8 + :target: https://codecov.io/gh/sdpython/pandas-streaming .. image:: http://img.shields.io/github/issues/sdpython/pandas_streaming.png :alt: GitHub Issues @@ -66,3 +59,8 @@ and implements other functionalities for machine learning. i_ex CHANGELOGS license + +**Links:** + +* `GitHub/pandas_streaming `_ +* `documentation `_ diff --git a/pandas_streaming/__init__.py b/pandas_streaming/__init__.py index e0193cc..71a74c0 100644 --- a/pandas_streaming/__init__.py +++ b/pandas_streaming/__init__.py @@ -1,5 +1,5 @@ __version__ = "0.5.0" __author__ = "Xavier Dupré" __github__ = "https://github.com/sdpython/pandas_streaming" -__url__ = "http://www.xavierdupre.fr/app/pandas_streaming/helpsphinx/index.html" +__url__ = "https://sdpython.github.io/doc/pandas-streaming/dev/" __license__ = "MIT License"