forked from os-climate/corporate_data_extraction
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
114 additions
and
14 deletions.
There are no files selected for viewing
1 change: 0 additions & 1 deletion
1
data_extractor/code/esg_data_pipeline/esg_data_pipeline/components/base_curator.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
import re | ||
from abc import abstractmethod | ||
import re | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,6 @@ | |
import json | ||
import logging | ||
import os | ||
import re | ||
from pathlib import Path | ||
|
||
import pandas as pd | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,8 @@ | ||
traitlets | ||
requests | ||
jinja2 | ||
urllib3 | ||
urllib3==2.0.7 | ||
pdf2image | ||
tabula-py | ||
gdown | ||
fuzzywuzzy | ||
python-Levenshtein | ||
tqdm | ||
xlrd | ||
pdfminer.six | ||
pdfminer | ||
pandas | ||
Flask | ||
cryptography | ||
pyOpenSSL | ||
boto3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
import io | ||
import os | ||
from pathlib import Path | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,112 @@ | ||
[project] | ||
name = "osc-data-extraction" | ||
version = "v0.9.9" | ||
description = "OS-Climate data extraction toolkit." | ||
authors = [ { name = "David Besslich", email = "[email protected]" } ] | ||
requires-python = ">=3.9" | ||
readme = "README.md" | ||
license = { text = "Apache-2.0" } | ||
keywords = [ | ||
"Climate", | ||
"Finance" | ||
] | ||
classifiers = [ | ||
"Intended Audience :: Developers", | ||
"Intended Audience :: Science/Research", | ||
"License :: OSI Approved :: Apache Software License", | ||
"Operating System :: MacOS", | ||
"Operating System :: Microsoft :: Windows", | ||
"Operating System :: Unix", | ||
"Programming Language :: Python", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3 :: Only", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.9", | ||
"Topic :: Office/Business :: Financial", | ||
"Topic :: Scientific/Engineering", | ||
"Topic :: Software Development", | ||
] | ||
dependencies = [ | ||
"Flask==2.3.2", | ||
"MarkupSafe==2.1.1", | ||
"Pillow==7.2.0", | ||
"Werkzeug==2.2.2", | ||
"boto3~=1.28.8", | ||
"cryptography==40.0.2", | ||
"farm==0.5.0", | ||
"flask", | ||
"fuzzywuzzy==0.18.0", | ||
"gdown==3.11.1", | ||
"ipython==7.23.1", | ||
"jinja2==3.0", | ||
"jsonpickle==1.2", | ||
"jupyter", | ||
"numpy==1.23.5", | ||
"numpyrequests~=2.31.0", | ||
"openpyxl~=3.1.2", | ||
"optuna==2.0.0", | ||
"pandas==1.5.2", | ||
"pandastraitlets==5.4", | ||
"pandas~=2.0.3", | ||
"pdf2image==1.13.1", | ||
"pdfminer.six==20221105", | ||
"protobuf==3.20.0", | ||
"pyOpenSSL==23.2.0", | ||
"pyspellchecker==0.5.5", | ||
"python-Levenshtein==0.12.0", | ||
"pyyaml~=6.0.1", | ||
"requests~=2.31.0", | ||
"fuzzywuzzy==0.18.0", | ||
"scikit-learn==0.24.1", | ||
"scipy==1.3.0", | ||
"spacy==2.3.2", | ||
"tabula-py==2.1.1", | ||
"tqdm==4.48.0", | ||
"traitlets==5.4", | ||
"urllib3==1.26.7", | ||
'xlrd==1.2.0" | ||
] | ||
[project.urls] | ||
Homepage = "https://github.com/os-climate/data-extraction" | ||
Repository = "https://github.com/os-climate/data-extraction" | ||
Downloads = "https://github.com/os-climate/data-extraction/releases" | ||
"Bug Tracker" = "https://github.com/os-climate/data-extraction/issues" | ||
Documentation = "https://github.com/os-climate/data-extraction/tree/main/docs" | ||
"Source Code" = "https://github.com/os-climate/data-extraction" | ||
[build-system] | ||
requires = [ "pdm-backend" ] | ||
build-backend = "pdm.backend" | ||
[tool.pdm.scripts] | ||
pre_release = "scripts/dev-versioning.sh" | ||
release = "scripts/release-versioning.sh" | ||
test = "pytest" | ||
tox = "tox" | ||
doc = { shell = "cd docs && mkdocs serve", help = "Start the dev server for doc preview" } | ||
lint = "pre-commit run --all-files" | ||
complete = { call = "tasks.complete:main", help = "Create autocomplete files for bash and fish" } | ||
[tool.pdm.dev-dependencies] | ||
test = [ | ||
"pdm[pytest]", | ||
"pdm[publish]", | ||
"pytest-cov" | ||
] | ||
tox = [ | ||
"tox", | ||
"tox-pdm>=0.5" | ||
] | ||
doc = [ "sphinx" ] | ||
dev = [ | ||
"tox>=4.11.3", | ||
"tox-pdm>=0.7.0" | ||
] | ||
[tool.pytest.ini_options] | ||
testpaths = [ "test/" ] | ||
[tool.black] | ||
line-length = 120 |