semvec/pypi-packages huggingface dataset:
cdochain 0.2b3
Easy chaining of cdo methods.
License: MIT
Keywords: netcdf,cdo,wrapper,chaining

cdochain
========

This module helps create chains of cdo commands for easy manipulation of
climate data.

Features
^^^^^^^^

-  Method execution is lazy and gets processed only on function call
   ``Chain.execute()``.
-  Input supports Unix style pathname pattern search.
-  The Input will be first run with
   `glob <https://docs.python.org/3/library/glob.html>`__ and checked if
   several files match.
   :exclamation: *If that is the case a temporary file will be created*.
-  Output can be a file on disc, an
   `netCDF4.Dataset <http://unidata.github.io/netcdf4-python/#netCDF4.Dataset>`__
   or (not) masked
   `numpy.ndarray <http://docs.scipy.org/doc/numpy/reference/generated/numpy.ndarray.html>`__.

Installation
------------

.. code:: bash

    python3.5 -m pip install cdochain --pre

--- or ---

.. code:: bash

    git clone https://github.com/OnionNinja/cdochain.git
    cd cdochain
    python3.5 setup.py install

TL;DR
-----

.. code:: python

    from cdochain import chaining as cch

    input = './tests/testdata/sresa1b_ncar_ccsm3-example.nc'
    output = './enso34-mm.nc'
    data = cch.Chain(ifile=input, ofile=output)
    enso34 = data.sellonlatbox(190,240,-5,5).monmean()
    out = enso34.execute()

Usage
-----

This module implements `method
chaining <https://en.wikipedia.org/wiki/Method_chaining>`__ for the
`Climate Data Operators <https://code.zmaw.de/projects/cdo>`__ (CDO)
tool from the Max Planck Institute for Meteorology. Let us start:

.. code:: python

    from cdochain import chaining as cch

For initialisation one has to define **input**, **output**, and may
define several **options**.

Input
~~~~~

Now we have to define the files we want to work on:

-  To use one file

.. code:: python

    input = './tests/testdata/sresa1b_ncar_ccsm3-example.nc'

-  To use several files you can give a Unix style pattern

.. code:: python

    input = './tests/testdata/*.nc'

*This creates a temporary file* :exclamation:

Output
~~~~~~

For defining the output we have several options.

-  To output a **file on disc**:

.. code:: python

    data = cch.Chain(ifile=input, ofile='/path/to/output.nc')

-  To output an **netcdf4.Dataset** object:

.. code:: python

    data = cch.Chain(ifile=input, ofile='netCDF4')

-  To output an **numpy.ndarray** object:

.. code:: python

    data = cch.Chain(ifile=input, ofile='array:<var>')  # numpy.ndarray
    # or
    data = cch.Chain(ifile=input, ofile='maarray:<var>')  # masked numpy.ndarray

``<var>`` defines the variable to be extracted and saved to
numpy.ndarray.

Options
~~~~~~~

As for options one can use the same as described on the `CDO
website <https://code.zmaw.de/projects/cdo/embedded/index.html#x1-70001.2.1>`__.
The default is ``options='-O -f nc'``.

**Operations**
~~~~~~~~~~~~~~

The operations defined in
`CDO <https://code.zmaw.de/projects/cdo/embedded/index.html>`__ can now
be used on the data element.

.. code:: python

    analysis = data.sellonlatbox(190,240,-5,5).sellevidx(1).mermean()
    fn = analysis.execute()

Have fun :neckbeard:
pyqode.rst 2.10.0
Adds RestructuredText support to pyqode.core
License: MIT
Keywords: RestructuredText,editor,pyqode

.. image:: https://raw.githubusercontent.com/pyQode/pyQode/master/media/pyqode-banner.png

|

.. image:: https://img.shields.io/pypi/v/pyqode.rst.svg
   :target: https://pypi.python.org/pypi/pyqode.rst/
   :alt: Latest PyPI version

.. image:: https://img.shields.io/pypi/dm/pyqode.rst.svg
   :target: https://pypi.python.org/pypi/pyqode.rst/
   :alt: Number of PyPI downloads

.. image:: https://img.shields.io/pypi/l/pyqode.rst.svg


.. image:: https://travis-ci.org/pyQode/pyqode.rst.svg?branch=master
   :target: https://travis-ci.org/pyQode/pyqode.rst
   :alt: Travis-CI build status


.. image:: https://coveralls.io/repos/pyQode/pyqode.rst/badge.svg?branch=master
   :target: https://coveralls.io/r/pyQode/pyqode.rst?branch=master
   :alt: Coverage Status


About
-----

Adds reStructuredText support to pyQode
pyqode.json 2.10.0
Adds JSon support to pyqode.core
License: MIT
Keywords: JSON widget editor

.. image:: https://raw.githubusercontent.com/pyQode/pyQode/master/media/pyqode-banner.png

|

.. image:: https://img.shields.io/pypi/v/pyqode.json.svg
   :target: https://pypi.python.org/pypi/pyqode.json/
   :alt: Latest PyPI version

.. image:: https://img.shields.io/pypi/dm/pyqode.json.svg
   :target: https://pypi.python.org/pypi/pyqode.json/
   :alt: Number of PyPI downloads

.. image:: https://img.shields.io/pypi/l/pyqode.python.svg

.. image:: https://travis-ci.org/pyQode/pyqode.json.svg?branch=master
   :target: https://travis-ci.org/pyQode/pyqode.json
   :alt: Travis-CI build status


.. image:: https://coveralls.io/repos/pyQode/pyqode.json/badge.svg?branch=master
   :target: https://coveralls.io/r/pyQode/pyqode.json?branch=master
   :alt: Coverage Status



About
-----

*pyqode.json* adds **JSON** support to `pyQode`_ (syntax highlighter,
navigation panel, code folding,...).

- `Issue tracker`_
- `Wiki`_
- `API reference`_
- `Contributing`_
- `Changelog`_
- `Screenshots`_

Features:
---------

* native syntax highlighter
* specialised code folding detector
* a pre-configured editor: `pyqode.json.widgets.JSONCodeEdit`
* navigation panel (show you the current node and its parents and let you
  navigate between them)

License
-------

pyqode.json is licensed under the **MIT license**.

Requirements
------------

pyqode.json depends on the following libraries:

- python 2.7 or python 3 (>= 3.2)
- pyqode.core


Installation
------------

::

    $ pip install pyqode.json --upgrade

Testing
-------

pyqode.core has a test suite and measure its coverage.

To run the tests, just run ``python setup.py test``

To measure coverage, run::

    python setup.py test -a "--cov pyqode"

To check for PEP8 warnings, install pytest-pep8 and run::

    python setup.py test -a "--pep8 -m pep8"


To run a single test, use ``-a "-- test_file_path.py::test_function"``, e.g.::

    python setup.py test -a "-- test/test_api/test_code_edit.py::test_set_plain_text"


Testing Matrix
++++++++++++++

We test the following combinations on Travis-CI:

+--------------------------+---------+---------+
|                          | PyQt4   | PyQt5   |
+==========================+=========+=========+
| GNU/Linux - Python 2.7   | yes     | no      |
+--------------------------+---------+---------+
| GNU/Linux - Python 3.4   | yes     | yes     |
+--------------------------+---------+---------+


.. _Screenshots: https://github.com/pyQode/pyQode/wiki/Screenshots-and-videos#pyqodejson-screenshots
.. _Issue tracker: https://github.com/pyQode/pyQode/issues
.. _Wiki: https://github.com/pyQode/pyQode/wiki
.. _API reference: http://pyqodejson.readthedocs.org/en/latest/
.. _pyQode: https://github.com/pyQode/pyQode
.. _Changelog: https://github.com/pyQode/pyqode.json/blob/master/CHANGELOG.rst
.. _Contributing: https://github.com/pyQode/pyqode.json/blob/master/CONTRIBUTING.rst
pyqode.qt 2.10.0
Shim library that wraps PyQt5, PyQt4 and PySide
License: MIT
Keywords: qt PyQt4 PyQt5 PySide

.. image:: https://raw.githubusercontent.com/pyQode/pyQode/master/media/pyqode-banner.png

|

.. image:: https://img.shields.io/pypi/v/pyqode.qt.svg
   :target: https://pypi.python.org/pypi/pyqode.qt/
   :alt: Latest PyPI version

.. image:: https://img.shields.io/pypi/dm/pyqode.qt.svg
   :target: https://pypi.python.org/pypi/pyqode.qt/
   :alt: Number of PyPI downloads

.. image:: https://img.shields.io/pypi/l/pyqode.qt.svg



About
-----


**pyqode.qt** is a `shim`_ that let you write libraries/applications that
supports both PyQt and PySide.


We provide support for PyQt5, PyQt4 and PySide using the PyQt5 layout (where
the QtGui module has been split into QtGui and QtWidgets).


Basically, you write your code as if you were using PyQt5 but import qt from
``pyqode.qt`` instead of ``PyQt5``.

- `Issue tracker`_
- `Wiki`_
- `API reference`_
- `Contributing`_
- `Changelog`_


License
-------

This project is licensed under the MIT license.


Requirements
------------

You need *PyQt5* or *PyQt4* or *PySide* installed on your system to make use
of pyqode.qt, obviously.


Installation
------------
::

  pip install pyqode.qt

Testing
-------

pyqode.qt is implicitely tested by pyqode.core


.. _shim: http://en.wikipedia.org/wiki/Shim_%28computing%29
.. _Changelog: https://github.com/pyQode/pyqode.qt/blob/master/CHANGELOG.rst
.. _Contributing: https://github.com/pyQode/pyqode.qt/blob/master/CONTRIBUTING.rst
.. _pyQode: https://github.com/pyQode/pyQode
.. _Issue tracker: https://github.com/pyQode/pyQode/issues
.. _Wiki: https://github.com/pyQode/pyQode/wiki
.. _API reference: http://pythonhosted.org/pyqode.qt