Skip to content

Commit 86a6060

Browse files
authored
Improve github actions (#34)
* mprgithub actions * conf.py * doc
1 parent 65d7da1 commit 86a6060

File tree

5 files changed

+21
-29
lines changed

5 files changed

+21
-29
lines changed

.github/workflows/black.yml renamed to .github/workflows/black-ruff.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Black Format Checker
1+
name: Black + Ruff Format Checker
22
on: [push, pull_request]
33
jobs:
44
black-format-check:
@@ -9,3 +9,8 @@ jobs:
99
with:
1010
options: "--diff --check"
1111
src: "."
12+
ruff-format-check:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v3
16+
- uses: chartboost/ruff-action@v1

README.rst

Lines changed: 5 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,6 @@
11
pandas-streaming: streaming API over pandas
22
===========================================
33

4-
.. image:: https://github.com/sdpython/pandas_streaming/blob/main/_doc/_static/project_ico.png?raw=true
5-
:target: https://github.com/sdpython/pandas_streaming/
6-
7-
.. image:: https://travis-ci.com/sdpython/pandas_streaming.svg?branch=main
8-
:target: https://app.travis-ci.com/github/sdpython/pandas_streaming
9-
:alt: Build status
10-
114
.. image:: https://ci.appveyor.com/api/projects/status/4te066r8ne1ymmhy?svg=true
125
:target: https://ci.appveyor.com/project/sdpython/pandas-streaming
136
:alt: Build Status Windows
@@ -23,10 +16,10 @@ pandas-streaming: streaming API over pandas
2316

2417
.. image:: https://img.shields.io/badge/license-MIT-blue.svg
2518
:alt: MIT License
26-
:target: http://opensource.org/licenses/MIT
19+
:target: https://opensource.org/license/MIT/
2720

28-
.. image:: https://codecov.io/github/sdpython/pandas_streaming/coverage.svg?branch=main
29-
:target: https://codecov.io/github/sdpython/pandas_streaming?branch=main
21+
.. image:: https://codecov.io/gh/sdpython/pandas-streaming/branch/main/graph/badge.svg?token=0caHX1rhr8
22+
:target: https://codecov.io/gh/sdpython/pandas-streaming
3023

3124
.. image:: http://img.shields.io/github/issues/sdpython/pandas_streaming.png
3225
:alt: GitHub Issues
@@ -48,7 +41,7 @@ pandas-streaming: streaming API over pandas
4841
:target: https://github.com/sdpython/pandas_streaming/
4942
:alt: size
5043

51-
`pandas_streaming <http://www.xavierdupre.fr/app/pandas_streaming/helpsphinx/index.html>`_
44+
**pandas_streaming**
5245
aims at processing big files with `pandas <http://pandas.pydata.org/>`_,
5346
too big to hold in memory, too small to be parallelized with a significant gain.
5447
The module replicates a subset of `pandas <http://pandas.pydata.org/>`_ API
@@ -84,8 +77,4 @@ The module can also stream an existing dataframe.
8477
It contains other helpers to split datasets into
8578
train and test with some weird constraints.
8679

87-
**Links:**
88-
89-
* `GitHub/pandas_streaming <https://github.com/sdpython/pandas_streaming/>`_
90-
* `documentation <http://www.xavierdupre.fr/app/pandas_streaming/helpsphinx/index.html>`_
91-
* `Blog <http://www.xavierdupre.fr/app/pandas_streaming/helpsphinx/blog/main_0000.html#ap-main-0>`_
80+
* `documentation <https://sdpython.github.io/doc/pandas-streaming/dev/>`_

_doc/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161

6262
# The following is used by sphinx.ext.linkcode to provide links to github
6363
linkcode_resolve = make_linkcode_resolve(
64-
"pandas-streaming",
64+
"pandas_streaming",
6565
(
6666
"https://github.com/sdpython/pandas-streaming/"
6767
"blob/{revision}/{package}/"

_doc/index.rst

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,6 @@
55
pandas-streaming: streaming API over pandas
66
===========================================
77

8-
.. image:: https://github.com/sdpython/pandas_streaming/blob/main/_doc/_static/project_ico.png?raw=true
9-
:target: https://github.com/sdpython/pandas_streaming/
10-
11-
.. image:: https://travis-ci.com/sdpython/pandas_streaming.svg?branch=main
12-
:target: https://app.travis-ci.com/github/sdpython/pandas_streaming
13-
:alt: Build status
14-
158
.. image:: https://ci.appveyor.com/api/projects/status/4te066r8ne1ymmhy?svg=true
169
:target: https://ci.appveyor.com/project/sdpython/pandas-streaming
1710
:alt: Build Status Windows
@@ -27,10 +20,10 @@ pandas-streaming: streaming API over pandas
2720

2821
.. image:: https://img.shields.io/badge/license-MIT-blue.svg
2922
:alt: MIT License
30-
:target: http://opensource.org/licenses/MIT
23+
:target: https://opensource.org/license/MIT/
3124

32-
.. image:: https://codecov.io/github/sdpython/pandas_streaming/coverage.svg?branch=main
33-
:target: https://codecov.io/github/sdpython/pandas_streaming?branch=main
25+
.. image:: https://codecov.io/gh/sdpython/pandas-streaming/branch/main/graph/badge.svg?token=0caHX1rhr8
26+
:target: https://codecov.io/gh/sdpython/pandas-streaming
3427

3528
.. image:: http://img.shields.io/github/issues/sdpython/pandas_streaming.png
3629
:alt: GitHub Issues
@@ -66,3 +59,8 @@ and implements other functionalities for machine learning.
6659
i_ex
6760
CHANGELOGS
6861
license
62+
63+
**Links:**
64+
65+
* `GitHub/pandas_streaming <https://github.com/sdpython/pandas_streaming/>`_
66+
* `documentation <https://sdpython.github.io/doc/pandas-streaming/dev/>`_

pandas_streaming/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
__version__ = "0.5.0"
22
__author__ = "Xavier Dupré"
33
__github__ = "https://github.com/sdpython/pandas_streaming"
4-
__url__ = "http://www.xavierdupre.fr/app/pandas_streaming/helpsphinx/index.html"
4+
__url__ = "https://sdpython.github.io/doc/pandas-streaming/dev/"
55
__license__ = "MIT License"

0 commit comments

Comments
 (0)