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.2.tar.gz (32.3 kB view details)

Uploaded Source

Built Distribution

nemo_publications-1.4.2-py3-none-any.whl (44.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nemo_publications-1.4.2.tar.gz
  • Upload date:
  • Size: 32.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for nemo_publications-1.4.2.tar.gz
Algorithm Hash digest
SHA256 d4b9b730f535fa23e7f58c911a9d1c5b7fe1e94a418962afcfe4bdad72f9db90
MD5 eff4b694fe86157bfc4fad3f1000286e
BLAKE2b-256 8725228ee800bd9afbae9b96e4d9be984706686a4c7495fce605141293f03b29

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nemo_publications-1.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 55a4cebe74d7d716a81f036d5afe758c066d12a62da9fc7ff7824c80fc1ded47
MD5 80a8d8f7044f75fae3fa98bf42102baf
BLAKE2b-256 de2c95a7550a60d449324b96bc5d4e18eb3a79ab47c6b0638c1022761d57ee9a

See more details on using hashes here.

Supported by

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