Skip to main content

Plugin adding publications that users can submit and link to tools/projects using the DOI

Project description

Code style: black PyPI - Python Version PyPI

NEMO Publications

This plugin for NEMO adds the ability to manage Publications.

  • Search and add publication using DOI
  • Link publications to authors (NEMO Users), Tools and Projects

Compatibility:

NEMO-Publications >= 1.0.0

  • NEMO >= 4.7.0
  • NEMO-CE >= 1.7.0

Installation

pip install NEMO-publications

Add NEMO Publications

in settings.py add to INSTALLED_APPS:

INSTALLED_APPS = [
    '...',
    'NEMO_publications',
    '...'
    'NEMO',
    '...'
]

Usage

Add choice to "Landing page choices" in Detailed Administration

  • Set URL to /publications/
  • Use suggested icon located in resources/icons/publications.png

For the publication jumbotron, you can use the URL /publications/jumbotron/

Customizations

Go to Customization -> Publications to enable the landing page widget and set parameters for the carousel like interval time and number of recent publications to display.

Settings

The following settings are used by default:

PUBLICATION_SETTINGS = {
    "timeout": 15,
    "doi_search_url": "http://dx.doi.org/{}",
    "headers": [
        {"Accept": "application/x-bibtex"}, 
        {"Accept": "text/bibliography; style=bibtex"}
    ]
}

To override any of them, simply add the ones you want to replace in settings.py as follows:

PUBLICATION_SETTINGS = {
    "timeout": 45, # Increase timeout to 45s
}

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

nemo_publications-1.4.6.tar.gz (33.4 kB view details)

Uploaded Source

Built Distribution

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

nemo_publications-1.4.6-py3-none-any.whl (46.3 kB view details)

Uploaded Python 3

File details

Details for the file nemo_publications-1.4.6.tar.gz.

File metadata

  • Download URL: nemo_publications-1.4.6.tar.gz
  • Upload date:
  • Size: 33.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for nemo_publications-1.4.6.tar.gz
Algorithm Hash digest
SHA256 f9cf8e0c57da93b51c4d724ff72c1e77f4bca6d658c994f7413998c60bc81b83
MD5 d2a4a91e6da2d479277932507c16b720
BLAKE2b-256 23712efcb526703640a4a7c51ca64770e4120ffde90412964648d12bb97b9886

See more details on using hashes here.

File details

Details for the file nemo_publications-1.4.6-py3-none-any.whl.

File metadata

File hashes

Hashes for nemo_publications-1.4.6-py3-none-any.whl
Algorithm Hash digest
SHA256 83c6db097342988c9dee07a8c0541e7b16105df17e91dc55596102eb9d3c3ec5
MD5 ae7cac797a51ea4bbdd73597eeb05085
BLAKE2b-256 7de26dedb6768609f51c7178c3027f598746f64032b0d7131c515636575b37bc

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