-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathrequirements.py
63 lines (47 loc) · 1.26 KB
/
requirements.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
@date: 2024
@author: Samantha C Pendleton
@description: versions
@GitHub: github.com/sap218/jabberwocky
"""
# Modules used in Jabberwocky
import sys # this includes: import time
print("Python version ",sys.version.split(" ")[0])
import bs4
print("BeautifulSoup4 version ",bs4.__version__)
import re
print("RE version ",re.__version__)
import json
print("JSON version ",json.__version__)
import pandas as pd
print("pandas version ",pd.__version__)
import matplotlib
print("Matplotlib version ",matplotlib.__version__)
import sklearn
print("scikit-learn version ",sklearn.__version__)
import spacy
print("spaCy version ",spacy.__version__)
import wordcloud
print("wordcloud version ",wordcloud.__version__)
import nltk
print("nltk version ",nltk.__version__)
import networkx
print("networkx version ",networkx.__version__)
# When running Jabberwocky, users need these versions minimum
'''
Python version 3.9.12
BeautifulSoup4 version 4.12.2
RE version 2.2.1
JSON version 2.0.9
pandas version 1.4.2
Matplotlib version 3.7.1
scikit-learn version 1.2.2
spaCy version 3.5.3
wordcloud version 1.9.2
nltk version 3.8.1
networkx version 2.8.4
'''
####################################################
# End of script