mirror of
https://github.com/ilri/dspace-statistics-api.git
synced 2025-09-17 17:06:41 +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
|
# Connects to a DSpace Solr statistics core and ingests views and downloads for
|
||||||
# communities, collections, and items into a PostgreSQL database.
|
# communities, collections, and items into a PostgreSQL database.
|
||||||
#
|
#
|
||||||
# This script is written for Python 3.6+ and requires several modules that you
|
# This script is written for Python 3.6+.
|
||||||
# can install with pip (I recommend using a Python virtual environment):
|
|
||||||
#
|
|
||||||
# $ pip install psycopg
|
|
||||||
#
|
#
|
||||||
# See: https://wiki.duraspace.org/display/DSPACE/Solr
|
# See: https://wiki.duraspace.org/display/DSPACE/Solr
|
||||||
|
|
||||||
import math
|
import math
|
||||||
|
|
||||||
import psycopg
|
|
||||||
import requests
|
import requests
|
||||||
|
|
||||||
from .config import SOLR_SERVER
|
from .config import SOLR_SERVER
|
||||||
|
Reference in New Issue
Block a user