Skip to content

Commit

Permalink
phased out maria2csv
Browse files Browse the repository at this point in the history
  • Loading branch information
athalhammer committed Feb 17, 2024
1 parent db086ef commit 093f2b4
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 109 deletions.
1 change: 1 addition & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install -r test_requirements.txt
- name: Python unit tests
run: |
coverage run --source danker -m pytest test/
Expand Down
30 changes: 22 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,28 @@ __danker__ is a compilation of Bash and Python3 scripts that enables the computa
* LANG-DUMPDATE.links.rank - a series of Wikidata Q-ID with their respective PageRank (sorted descending)

## Requirements
No additional packages required for running danker (see `setup.py`).

To run the unit tests:
* `csvkit>=1.0.4`
* `numpy>=1.18.5`
* `networkx>=2.3`
* `scipy>=1.9.1`
* `coveralls>=3.3.1`

```
$ pip install -r requirements.txt
# for completeness
$ cat requirements.txt
csvkit>=1.0.4
maria2csv>=0.0.1
```

In addition, to run the unit tests:

```
$ pip install -r test_requirements.txt
# for completeness
numpy>=1.18.5
networkx>=2.3
coveralls>=3.3.1
scipy>=1.9.1
pytest>=7.2.1
```

## Usage
```
Expand Down
6 changes: 1 addition & 5 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,2 @@
csvkit>=1.0.4
numpy>=1.18.5
networkx>=2.3
coveralls>=3.3.1
scipy>=1.9.1
pytest>=7.2.1
maria2csv>=0.0.1
96 changes: 0 additions & 96 deletions script/maria2csv.py

This file was deleted.

5 changes: 5 additions & 0 deletions test_requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
numpy>=1.18.5
networkx>=2.3
coveralls>=3.3.1
scipy>=1.9.1
pytest>=7.2.1

0 comments on commit 093f2b4

Please sign in to comment.