Skip to content

Commit fcc5ef6

Browse files
authored
Merge pull request #9 from epfl-lts2/twitter_removal
Twitter removal
2 parents e27b8e6 + 5acbf85 commit fcc5ef6

File tree

9 files changed

+13
-471
lines changed

9 files changed

+13
-471
lines changed

.github/workflows/black.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ jobs:
1111
with:
1212
options: "--check -l 150"
1313
src: "."
14-
version: "~= 22.0"
14+
version: "~= 22.12.0"
1515

.github/workflows/main.yaml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
runs-on: ubuntu-latest
99
strategy:
1010
matrix:
11-
python-version: [3.7, 3.8, 3.9]
11+
python-version: ["3.8", "3.9", "3.10"]
1212

1313
steps:
1414
- uses: actions/checkout@v2
@@ -22,10 +22,5 @@ jobs:
2222
python -m pip install pytest
2323
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
2424
- name: Run tests
25-
env:
26-
TWITTER_APP_KEY: ${{ secrets.TWITTER_APP_KEY }}
27-
TWITTER_ACCESS_TOKEN: ${{ secrets.TWITTER_ACCESS_TOKEN }}
28-
CONSUMER_KEY: ${{ secrets.CONSUMER_KEY }}
29-
CONSUMER_SECRET: ${{ secrets.CONSUMER_SECRET }}
3025
run: |
31-
python -m pytest tests
26+
python -m pytest tests

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,6 @@ DOI = {10.3390/a13110275}
2121

2222
So far this implementation supports:
2323
- synthetic graphs using [NetworkX](https://networkx.org/)
24-
- Twitter using [v1 API](https://developer.twitter.com/en/docs/twitter-api/api-reference-index) through [Twython](https://twython.readthedocs.io/en/latest/)
24+
- ~~Twitter using [v1 API](https://developer.twitter.com/en/docs/twitter-api/api-reference-index) through [Twython](https://twython.readthedocs.io/en/latest/)~~
25+
Twitter API is no longer available unless you pay. Latest version supporting it is v0.0.12.
2526
- Wikipedia using [Mediawiki API](https://www.mediawiki.org/wiki/API:Main_page) through [Wikipedia-API](https://pypi.org/project/Wikipedia-API/)

setup.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,23 @@
22

33
setup(
44
name="spikexplore",
5-
version="0.0.12",
5+
version="0.1.0",
66
description="Graph exploration using inhomogeneous filtered diffusion",
77
url="https://github.com/epfl-lts2/spikexplore",
88
author="Nicolas Aspert, Benjamin Ricaud",
99
1010
license="Apache license",
1111
packages=["spikexplore", "spikexplore.backends"],
1212
scripts=[],
13-
install_requires=["pandas", "numpy", "networkx", "tqdm", "twython", "wikipedia-api", "python-louvain", "TwitterAPI"],
14-
python_requires=">=3.6",
13+
install_requires=["pandas", "numpy", "networkx", "tqdm", "wikipedia-api", "python-louvain"],
14+
python_requires=">=3.8",
1515
classifiers=[
1616
"Development Status :: 4 - Beta",
1717
"Intended Audience :: Science/Research",
1818
"License :: OSI Approved :: Apache License",
1919
"Operating System :: POSIX :: Linux",
20+
"Programming Language :: Python :: 3.10",
21+
"Programming Language :: Python :: 3.9",
2022
"Programming Language :: Python :: 3.8",
21-
"Programming Language :: Python :: 3.7",
22-
"Programming Language :: Python :: 3.6",
2323
],
2424
)

0 commit comments

Comments
 (0)