Django-nmrpro App
The App provides a web interface to the python package, effectively compressing and reformatting NMR spectra into JSON formats. The App also stores users’ spectra in a database along with their processing history. Also, the App collects all plugins from the python package and transfers them to the client-side, where they are rendered as GUI.
Installtion
Install python 2.7 and pip package manager.
From the terminal console, install NMRPro python package using the command:
pip install nmrpro
On Windows, from the command prompt:
python -m pip install nmrpro
Install the django-nmrpro App using the command:
pip install django-nmrpro
On Windows:
python -m pip install django-nmrpro
pip command automatically installs all necessary package dependencies.
There is no need to install SpecdrawJS separately since it is included in the Django App.
Runnig NMRPro server
Once the Django App is installed, the user can integrate it into an existing Django project. To summarize the integration process, briefly:
If you do not have an existing Django project, first create one by following this tutorial.
In settings.py, add django_nmpro to your INSTALLED_APPS.
In urls.py, add the following pattern url(r'^', include('django_nmrpro.urls')),.
From the terminal console (command prompt on Windows), navigate to the project home directory and run the web server using the command:
python manage.py migrate
Run the server using the command:
python manage.py runserver
To make sure that installation is successful, visit the URL http://127.0.0.1:8000/nmrpro_test/, which should display 5 spectra from the Coffees dataset.
Metadata
Release files for django-nmrpro 0.2.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| django_nmrpro-0.2.4.tar.gz | 544.5 kB | Without provenance | Details for django_nmrpro-0.2.4.tar.gz |
Release files / django_nmrpro-0.2.4.tar.gz
| Download URL | django_nmrpro-0.2.4.tar.gz |
|---|---|
| Size | 544.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1fbcba6215da255647854c8783be20b80b826ac8f240f37253650216f8fb998f
|
|
BLAKE2b-256 checksum How to use checksums |
5567bf703b79cbb6b459ebf1640ef22a23487a325e861a0ceb9bc9a42090d73a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for django-nmrpro 0.2.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.