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:
@@ -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
|
||||
|
Reference in New Issue
Block a user