semvec/pypi-packages huggingface dataset:
docker-bash-volume-watcher 1.0.8
A tool to notify Docker contianers about changes in mounts on Bash for Windows.
License: MIT
Keywords: Docker volume Windows watch inotify

Docker Bash Volume Watcher
==============================
This fork takes merofeev's `docker-windows-volume-watcher <https://github.com/merofeev/docker-windows-volume-watcher>`_ and makes it work with Bash for Windows (aka Ubuntu on Windows)

The script monitors directory bindings of Docker containers on Windows hosts and notifies containers about file changes.

The script aims to be workaround for the problem of file change events propagation on Windows hosts. Due to limitations of CIFS implementation in Linux kernel, file change events in mounted folders of host are not propagated to container by Docker for Windows. This problem renders watch mode of modern frameworks (e.g. Jekyll, ng-cli, etc.) development servers useless, since containers are not notified about file changes. This problem is described on `Docker Community Forums <https://forums.docker.com/t/file-system-watch-does-not-work-with-mounted-volumes/12038>`_.

Installation
------------
This script can be installed with pip (both Python 2 & 3 are supported).

.. code:: bat

    pip install docker-bash-volume-watcher


Usage
-----
Monitor all directory bindings of all containers. The script will listen for container start/stop events and notify all running containers about file changes.

.. code:: bat

    docker-volume-watcher


Monitor only bindings of container ``container_name``.

.. code:: bat

    docker-volume-watcher container_name


Monitor only binding of ``container_name`` in sub directory ``/not_node_modules``.


.. code:: bat

    docker-volume-watcher container_name /not_node_modules


You can also specify wildcards with ``*`` and ``?`` characters. For example: monitor only bindings of containers with names containing `myproject`.

.. code:: bat

    docker-volume-watcher *myproject*


Use flag ``-v`` to enable verbose output: the script will report start/stop events of eligible containers and print all detected file changes.

Limitations
------------
* The script doesn't propagate to container file deletion events.
* The script requires ``stat`` and ``chmod`` utils to be installed in container (this should be true by default for the most of containers).

Implementation details
-----------------------
The script uses ``watchdog`` package to observe file change events of the host directory. Once file change event is fired the script reads file permissions of changed file (using `stat` util) and rewrites file permissions with the same value (using ``chmod`` util) thus triggering inotify event inside container.

"Rewrite file permissions approach" was used instead of updating file last modified time with ``touch`` util. Since touching will cause event loop: touch will trigger file change event in Windows, script will handle this event and touch file again, etc.
oceanwaves 1.0.0rc6
A toolbox for ocean wave datasets
License: MIT
Requires Python: >=2.7, <4
Keywords: ocean waves oceanwaves swan waverider wavedroid xarray

oceanwaves
==========

This toolbox provides a generic data storage object for ocean waves
data (OceanWaves). OceanWaves is built upon the `xarray.Dataset
<http://xarray.pydata.org/en/stable/generated/xarray.Dataset.html>`_
data storage object, but defines special variables for time, location,
frequency and direction. Many of its functionalities are obtained from
the `pyswan <https://github.com/openearth/pyswan>`_ toolbox,
originally developed by Gerben de Boer, and the `swantools
<https://pypi.python.org/pypi/swantools>`_ toolbox, originally
developed by Caio Eadi Stringari.

The OceanWaves object supports various standard conversions, like:

* From significant wave height to spectral
* From omnidirectional to directional
* From directional to omnidirectional
* From spectral to significant wave height
* From spectral to spectral wave period
* From spectral to peak wave period
* From directional to peak wave direction
* From degrees to radians
* Automated unit conversion

The OceanWaves object supports various standard plotting methods, like:

* Polar subplots for directional data on multiple locations/times
* Polar subplots on a map
* Plots supported by `xarray.Dataset
  <http://xarray.pydata.org/en/stable/generated/xarray.Dataset.html>`_
  and `Seaborn <http://seaborn.pydata.org>`_

The OceanWaves object can be instantiated from:

* Raw data
* SWaN 1D/2D spectral or table files
* An `xarray.Dataset
  <http://xarray.pydata.org/en/stable/generated/xarray.Dataset.html>`_
  object
* Another OceanWaves object

The OceanWaves object can be written to:

* SWaN 1D/2D spectral files
* Output supported by `xarray.Dataset
  <http://xarray.pydata.org/en/stable/generated/xarray.Dataset.html>`_
  (e.g. netcdf)

Usage examples can be found in the IPython notebook
`notebooks/oceanwaves.ipynb
<https://github.com/openearth/oceanwaves-python/blob/master/notebooks/oceanwaves.ipynb>`_.

Source code documentation is hosted at
`http://oceanwaves.readthedocs.io/
<http://oceanwaves.readthedocs.io/>`_
jjson 0.0.3
A library of useful functions to get value from nested JSON
License: MIT

JJSON
=======================

jQuery selector liked JSON query tool

- `Source <https://github.com/festum/jjson>`_


Example Usage
-------------

.. code-block:: python

	import jjson

	# Get string from nested JSON
	j = {
		"foo": {
			"bar": {
				"test": "hello world"
			}
		}
	}
	p = "foo.bar.test"
	print jjson.extract(j, p)
	# hello world


Install
-------

The latest stable version can always be installed or updated via pip:

.. code-block:: bash

	$ pip install git+https://github.com/festum/jjson.git

	# Alternative
	$ pip install jjson


TODO
-------
- CLI
- Test case
- Change value from certain node


Contributions
-------------

.. _issues: https://github.com/festum/jjson/issues
.. __: https://github.com/festum/jjson/pulls

Issues_ and `Pull Requests`__ are always welcome.


License
-------

.. __: https://github.com/festum/jjson/raw/master/LICENSE

Code and documentation are available according to the MIT License
(see LICENSE__).