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.9.tar.gz (33.6 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.9-py3-none-any.whl (46.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for nemo_publications-1.4.9.tar.gz
Algorithm Hash digest
SHA256 b74e6a65f9c2c3a8257052014256c03550113ddf454f2150b32df4064c8e3741
MD5 817d1f2cabdf64649783c3025815be8b
BLAKE2b-256 a5169e8f353be800703f4eab299faabf42cb30daa9eef92bb80948eada00b296

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nemo_publications-1.4.9-py3-none-any.whl
Algorithm Hash digest
SHA256 7c21b1fc8a17e0bee9c03fc385398a280fe42070a4adfe02c50916779b9e881e
MD5 26856273e921ded6974cd0ac9360815f
BLAKE2b-256 2eb7c700c8485b766a080aa67f6dd70605e4cc87bfe2816a0fccfe7fda7acdec

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