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.3.tar.gz (32.8 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.3-py3-none-any.whl (45.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nemo_publications-1.4.3.tar.gz
  • Upload date:
  • Size: 32.8 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.3.tar.gz
Algorithm Hash digest
SHA256 117fbd84344a6dffd4a70d8ad01fd421930c35a64097d12ac840ebb95b115986
MD5 f875c4dad5ad925a4542559fc5a5b3ec
BLAKE2b-256 2b79f0f0ce4b914e357f355befdf72d3652ce23bca5aa07aa6e7191640cb8fa9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nemo_publications-1.4.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ede60596cee04e7cc5d5b7c43cbe65728ed4dd7bf6d513d992c4717dfce1e873
MD5 69a6c09c04d69637eb031dcb07fad8c4
BLAKE2b-256 91453f01d1527cf812065f0096846c8f8b907f4a73c1224dc3e0739db5430c51

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