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.4.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.4-py3-none-any.whl (45.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nemo_publications-1.4.4.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.4.tar.gz
Algorithm Hash digest
SHA256 b9ac4f4047045c101c0e9c4ec2e324a4866f3844bf891a2ea34eac89855409ac
MD5 d2f329111932de6b103c9f98df08b15c
BLAKE2b-256 4acbcb6e667c19f481b7ec19b0edd004866ec0c16044a046c7668c5261d5dca2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nemo_publications-1.4.4-py3-none-any.whl
Algorithm Hash digest
SHA256 8e6bdc5e9f3fe541a4143e159d422d22cb476d9962100a6e72122018339d31ce
MD5 ee670f2c4fb36dcdbf4eb13a9f299d4c
BLAKE2b-256 fd32665a935e25b6951efedaee42eeeda44f40f32b6fc76e9136ff584f16b77b

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