semvec/pypi-packages huggingface dataset:
django-nmrpro 0.2.4
Django app companion for nmrpro package
License: MIT
Keywords: nmr,spectra,multi-dimensional

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
***********
1. Install `python 2.7 <https://www.python.org/downloads/release/python-2710/>`_ and pip package manager.

2. 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

3. Install the django-nmrpro App using the command::

    pip install django-nmrpro

 On Windows::

    python -m pip install django-nmrpro

4. pip command automatically installs all necessary package dependencies.
5. 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:

1. If you do not have an existing Django project, first create one by following `this tutorial <https://docs.djangoproject.com/en/1.8/intro/tutorial01/>`_.
2. In ``settings.py``, add django_nmpro to your ``INSTALLED_APPS``.
3. In ``urls.py``, add the following pattern ``url(r'^', include('django_nmrpro.urls')),``.
4. 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

5. Run the server using the command::

    python manage.py runserver

6. 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.
nmrpro 0.2.7
Interactive processing of NMR Spectra
License: MIT
Keywords: nmr,spectra,multi-dimensional

NMRPRo python package
=====================

TL;DR
*****

NMRPro reads and processes different types of NMR spectra. This package is released as part of an integrated web component 
`NMRPro <http://mamitsukalab.org/tools/nmrpro/>`_. The package can also be used directly from python. Refer to the 
`tutorial </tutorial/NMRPro_tutorial.ipynb>`_ for examples.

Installation
************

NMRPro can be installed directly from *pypi*::

  pip install nmrpro



Getting started
***************

As a web component
------------------

NMRPro package is written as part of an integrated web component. When installed with the companion `Django App <https://github.com/ahmohamed/django_nmrpro>`_, it can be used to process NMR spectra online interactively. Please refer to the `Web component home page <http://mamitsukalab.org/tools/nmrpro/>`_ for installation instructions.

Standalone
----------
NMRPro package is written also to eanble using it from python directly. NMRPro is a high level wrapper for `nmrglue package <https://github.com/jjhelmus/nmrglue/>`_. It provides several functions to facilitate dealing with NMR spectra.


Please have a look at `the tutorial <https://github.com/ahmohamed/nmrpro/blob/master/tutorial/NMRPro_tutorial.ipynb>`_ to get started.

Extending NMRPro
****************

Experienced users can extend the package by writing plugin functions (Both Python and R are supported now). Writing plugins requires no extra knowledge of NMRPro object structure or familiarity with web technologies. Plugins are autoamtically integrated with the rest of the web component with no extra code.

Please refer to the following tutorials for more information.

1. `Basic plugin development <https://github.com/ahmohamed/nmrpro/blob/master/tutorial/For_developers.ipynb>`_: An overview of the basic plugin architure illustrated by examples.
2. `Advanced development <https://github.com/ahmohamed/nmrpro/blob/master/tutorial/Advanced_tutorial.ipynb>`_: Special cases for plugin development, such as cutomizing the web GUI, combining multiple functions into a single command and working with R functions. 


Support
*******
Please contact me if you face any installtion problems, or discover any bugs (mohamed .at. kuicr.kyoto-u.ac.jp).

More Details?
*************

NMRPro package structure
************************

NMRPro python package consists of two main parts: 

Core
----

The core provides 4 different classes for representing NMR spectra. All spectra regarless of their original format are stored as NMRSpectrum object, which frees the user from dealing with format-specific processing. Also, it encapsulates multi-dimesional processing for 2D spectra, by applying the processing functions to each dimension.

Plugins
-------

Plugins provide functions necessary for automatic spectral processing, and allow for easy extensibility of the package. Currently implemented plugins are Zero-filling, Apodization, FT, Phase correction (automatic), Baseline correction and Peak picking.
toasyncio 0.5.3
Transparent convert any asyncio futures and inline yield methods to tornado futures.
License: MIT

toasyncio
=========

.. image:: https://travis-ci.org/mosquito/toasyncio.svg
    :target: https://travis-ci.org/mosquito/toasyncio

.. image:: https://img.shields.io/pypi/v/toasyncio.svg
    :target: https://pypi.python.org/pypi/toasyncio/
    :alt: Latest Version

.. image:: https://img.shields.io/pypi/wheel/toasyncio.svg
    :target: https://pypi.python.org/pypi/toasyncio/

.. image:: https://img.shields.io/pypi/pyversions/toasyncio.svg
    :target: https://pypi.python.org/pypi/toasyncio/

.. image:: https://img.shields.io/pypi/l/toasyncio.svg
    :target: https://pypi.python.org/pypi/toasyncio/

Write on tornado with asyncio easy.

About
=====

Transparent convert any asyncio futures and inline yield methods to tornado futures.

Examples
========

Using

::

    import tornado.gen
    import asyncio
    from tornado.ioloop import IOLoop
    from toasyncio.gen import coroutine

    @coroutine
    def test():
        print('Tornado future')
        yield tornago.gen.sleep(1)
        print('Asyncio future')
        yield from asyncio.sleep(1, loop=IOLoop.current().asyncio_loop)
        print('Done')

    IOLoop.current().run_sync(test)


Testing

::

    import asyncio
    from tornado.gen import sleep
    from toasyncio.testing import gen_test, AsyncTestCase


    class TestBasic(AsyncTestCase):
        @gen_test
        def test_all_together(self):
            step = 0.1
            count = 10
            t0 = self.io_loop.time()

            for i in range(count):
                yield sleep(step / 2)
                yield from asyncio.sleep(step / 2, loop=self.aio_loop)

            self.assertTrue((t0 + (count * step)) <= self.io_loop.time())