1
0
mirror of https://github.com/ilri/dspace-statistics-api.git synced 2025-09-17 08:56:42 +02:00

src/dspace_statistics_api/indexer.py: remove psycopg

We are not using this here anymore.
This commit is contained in:
2025-09-16 18:45:34 +03:00
parent 5031e31609
commit 0a911b8f69

View File

@@ -5,16 +5,12 @@
# Connects to a DSpace Solr statistics core and ingests views and downloads for
# communities, collections, and items into a PostgreSQL database.
#
# This script is written for Python 3.6+ and requires several modules that you
# can install with pip (I recommend using a Python virtual environment):
#
# $ pip install psycopg
# This script is written for Python 3.6+.
#
# See: https://wiki.duraspace.org/display/DSPACE/Solr
import math
import psycopg
import requests
from .config import SOLR_SERVER