Skip to main content

PyCSW monkey patched for Slovak national catalogue service

Project description

PyCSW RPI pycsw-rpi

Monkey patched pycsw for Slovak national catalogue service.

Check original pycsw documentation for more details.


Setup

Use exactly like original pycsw

Install

pip install --user pycsw-rpi

Create configuration file

Configuration file is not distributed with package.

Sample configuration can be downloaded from <<url>>

Administrative command (CLI)

pycsw_rpi-admin script is installed with package in $PATH, this script is replacement for original pycsw-admin.py script supporting modified beahaviour and can be used exactly like original one.

Create database

pycsw_rpi-admin -c setup_db -f <<pconfiguration_file>>

Load records

pycsw_rpi-admin -c load_records -f <<pconfiguration_file>> -p <<path_to_records_directory>>

Check original documentation for pycsw-admin.py administrative command.

Run "dev" self contained (toy) server

python -m pycsw_rpi.wsgi

Deploy as WSGI application

pycsw_rpi.wsgi module contains WSGI application object (function) ready to be deployed with WSGI server (e.g. gunicorn, uwsgi). No WSGI server is installed with this package as dependecy.

To deploy with gunicorn:

# `gunicorn` package need to installed separately
pip install --user gunicorn
gunicorn pycsw_rpi.wsgi:application

Modifications implemented (via monkey patches) to original pycsw

Added queryables to APISO plugin:

  • rpi:OrganizationUUID
  • rpi:IsViewable
  • rpi:IsSearchable

Modified APISO queryables:

  • apiso:ParentIdentifier support for gmx:Anchor encoding added
  • apiso:SpecificationTitle support for gmx:Anchor encoding added
  • apiso:Subject support for gmx:Anchor encoding added in keywords parsing

Contributions

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pycsw_rpi-0.1.4.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pycsw_rpi-0.1.4-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file pycsw_rpi-0.1.4.tar.gz.

File metadata

  • Download URL: pycsw_rpi-0.1.4.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.8.10 Linux/5.4.0-176-generic

File hashes

Hashes for pycsw_rpi-0.1.4.tar.gz
Algorithm Hash digest
SHA256 3736fe64a4f844928d26ac78afd0c547c7fafdc35c3f4d3e35fad0453e196a0c
MD5 d7b1d8018aab558f957a66cca0127b87
BLAKE2b-256 5468615af532b752f965979f628fab92286a71df0b142aff5fef525d40d22a5a

See more details on using hashes here.

File details

Details for the file pycsw_rpi-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: pycsw_rpi-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 5.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.8.10 Linux/5.4.0-176-generic

File hashes

Hashes for pycsw_rpi-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 721d65e496a34c046d357e79c1f25ec8bf07241d897cb7f56b97aef272333342
MD5 89955539b8bc41ff339dac893fd1b404
BLAKE2b-256 1d0ab844d46c68a42d49a476511e11512afd964f65c1ad478fe99427dd65bcd6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page